{"id":978,"date":"2024-12-16T10:11:41","date_gmt":"2024-12-16T10:11:41","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=978"},"modified":"2024-12-16T10:11:41","modified_gmt":"2024-12-16T10:11:41","slug":"mwnci-oct2sym-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-oct2sym-function\/","title":{"rendered":"Mwnci oct2sym() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>oct2sym<strong>(<em>string|number<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>oct2sym()<\/i> function returns symbolic notation of file permissions for the given octal number.<\/p>\n<pre>\r\na=oct2sym(1775)\r\nprintln(\"Permissions=\", a)\r\na=oct2sym(\"1775\")\r\nprintln(\"Permissions=\", a)\r\n\r\n\r\nPermissions=rwxrwxr-t\r\nPermissions=rwxrwxr-t\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax oct2sym(string|number) Description The oct2sym() function returns symbolic notation of file permissions for the given octal number. a=oct2sym(1775) println(&#8220;Permissions=&#8221;, a) a=oct2sym(&#8220;1775&#8221;) println(&#8220;Permissions=&#8221;, a) Permissions=rwxrwxr-t Permissions=rwxrwxr-t<\/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-978","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/978","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=978"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/978\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/978\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}