{"id":475,"date":"2024-10-23T04:48:08","date_gmt":"2024-10-23T03:48:08","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=475"},"modified":"2024-10-23T04:48:08","modified_gmt":"2024-10-23T03:48:08","slug":"mwnci-setenv-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-setenv-function\/","title":{"rendered":"Mwnci setenv() Function"},"content":{"rendered":"<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>setenv(<i><b>string<\/b><\/i>, <i><b>value<\/b><\/i>)<\/p>\n<h2>Description<\/h2>\n<p>The <em>setenv()<\/em> function sets the value of the environment variable named by the string. It returns <em>true<\/em> on success, otherwise\u00a0<em>false<\/em>.<\/p>\n<h2>Example<\/h2>\n<pre>setenv(\"PATH\", \"\/usr\/bin:\/usr\/local\/bin\")\r\n\r\ntrue<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax setenv(string, value) Description The setenv() function sets the value of the environment variable named by the string. It returns true on success, otherwise\u00a0false. Example setenv(&#8220;PATH&#8221;, &#8220;\/usr\/bin:\/usr\/local\/bin&#8221;) true<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-475","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/475\/revisions"}],"predecessor-version":[{"id":476,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/475\/revisions\/476"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}