{"id":57,"date":"2024-09-25T04:09:10","date_gmt":"2024-09-25T03:09:10","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=57"},"modified":"2026-01-13T18:30:08","modified_gmt":"2026-01-13T18:30:08","slug":"built-in-commands","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/built-in-commands\/","title":{"rendered":"Built-in Functions"},"content":{"rendered":"<p><span class=\"confluence-anchor-link\">\u00a0<\/span><strong>Built-in Functions<\/strong><\/p>\n<div class=\"table-wrap\">\n<table class=\"confluenceTable\">\n<tbody>\n<tr>\n<td class=\"confluenceTd\"><strong>Command<\/strong><\/td>\n<td class=\"confluenceTd\"><strong>Definition<\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-abs-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">abs()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return the absolute value of a number.<\/td>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-arch-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">arch()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string containing the architecture type of the calling machine.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-accept-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">accept()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Accept a socket connection<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-acos-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">acos()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return the arcosine of the argument<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-args-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">args()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array containing the calling application command line arguments.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-asctime-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">asctime()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the formatted date\/time of seconds since 1970-01-01 00:00:00 UTC<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-asin-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">asin()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the arcsine of sine, that is, the length in radians of the arc.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-assert-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">assert()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Exits the program immediately with a non-zero status if `expr` is `false` optionally displaying `msg` to standard error.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-atan-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">atan()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">returns the arctangent of tangent<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-basename-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">basename()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the last element of path.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-base64dec-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">base64dec()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the base64 decoded output<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-base64enc-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">base64enc()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the base64 encoded output of the given string<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-batch-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">batch()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array split into smaller batch (chunk) sizes.<\/td>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-bin-function-2\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">bin()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the binary equivalent of a given number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mnwci-bind-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">bind()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Connect to a socket file descriptor using <em>host<\/em>:<em>port<\/em><br \/>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-bool-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">bool()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Converts the given value to a boolean..<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">bzcat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the contents of a bzip compressed file <em>filename<\/em> as a single string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cargs-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cargs()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of arguments from a given string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the contents of file <em>filename<\/em> as a single string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cbrt-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cbrt()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns cubed root of a given value.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cd-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cd()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Move to a different directory.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-checkip-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">checkip()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Checks the given IP address is valid<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-chmod-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">chmod()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Change the access permissions of the named file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-chown-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">chown()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Change the numeric uid and gid of the named file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-chr-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">chr()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the ASCII character of the given integer.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cls-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cls()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Clears the screen and places the cursor at the top left.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-copy-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">copy()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array populated with the contents of the originato<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cos-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cos()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the cosine of radians. The output range for the cos() function is -1 \u2264 cos() \u2264 1.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cosh-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cosh()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the hyperbolic cosine of the number given<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-count-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">count()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return the number of elements with the specified value.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mnwci-cp-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cp()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Copies a file to another named file or destination.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cumulative-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cumulative()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array by increasing by one element after another, and including all the amounts that have been added before.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cut-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">cut()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the text before and after the given separator.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-date-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">date()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the current date and time as a 24-character string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-delete-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">delete()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Remove the designated key and it\u2019s content from the named hash.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-difference-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">difference()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return the list of elements that are unique to a specified array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-dirpath-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">dirpath()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns all but the last element of a given path,.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-exit-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">exit()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Exit script immediately with a given status.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-extend-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">extend()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Adds the specified list elements to the end of the first named list.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-fields-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">fields()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of a string split around one or more consecutive white spaces.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-file-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">file()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns information about a file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-float-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">float()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string or integer as a floating point number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-fromkeys-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">fromkeys()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a hash with the specified keys and the specified value.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getegid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getegid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the numeric effective group id of the calling process.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-geteuid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">geteuid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the numeric effective user id of the caller.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getgid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getgid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the numeric group id of the calling process.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getpid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getpid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the process id of the running program.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getppid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getppid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the process id of the running program&#8217;s parent process.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getuid-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getuid()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the numeric user id of the running process.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getwd-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">getwd()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a rooted path name corresponding to the current directory.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-glob-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">glob()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of file names matching the glob pattern.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-cat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">gzcat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the contents of a gzip compressed file <em>filename<\/em> as a single string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-hasprefix-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">hasprefix()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Tests whether a string begins with the chosen prefix.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-hassuffix-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">hassuffix()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Tests whether the string ends with suffix.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-hex-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">hex()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the hexadecimal version of a decimal number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-hostname-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">hostname()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the host name of the computer.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-include-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">include()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Inserts the contents of another file into the source code<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-index-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">index()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the position in a string or array at which search string begins.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-input-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">input()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return result of a string entered by keyboard.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-insert-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">insert()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the result of inserting the specified value at the specified position of an array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-int-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">int()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string or floating point number as an integer.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ipincidr-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">ipincidr()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the IP address if it belongs in a CIDR block.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mnwci-issorted-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">issorted()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Checks if an array is already sorted.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-items-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">items()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array containing the key-value pairs of the hash.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-join-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">join()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string created from a concatenated array and separator.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-keys-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">keys()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of hash keys.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-kill-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">kill()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Terminate a given process.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-len-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">len()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return the length of a string, hash, or array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ltrim-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">ltrim()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string with all leading characters contained in cutset removed.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-match-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">match()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string holding the text of the leftmost match of the regular expression.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-mkdir-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">mkdir()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Create a directory.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-mkdirhier-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">mkdirhier()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Create a directory and any parent directory.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-oct-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">oct()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the octal equivalent of a decimal number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ord-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">ord()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the ASCII value of a given character.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-pop-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">pop()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Removes and returns the element from the end of the array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-print-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">print()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Prints text to the current console\/terminal.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-printf-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">printf()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Formats according to a format specifier and writes to standard output.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-println-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">println()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Prints text to the current console\/terminal.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-push-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">push()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array with the appended value.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-random-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">random()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a pseudo-random integer.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-range-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">range()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a sequence of numbers.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-readpw-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">readpw()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns non-echoed keyboard input.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-regexp-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">regexp()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of matched lines from a file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-repeat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">repeat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new string consisting of n copies of the string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-replace-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">replace()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a copy of the string s with the first n non-overlapping instances of old replaced by new.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-replaceall-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">replaceall()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a copy of the string s with all non-overlapping instances of old replaced by new.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-reverse-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">reverse()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the reversed contents of an array or string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-rtrim-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">rtrim()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string with all trailing characters contained in cutset removed.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sec2time-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sec2time()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns elapsed days, hours, minutes seconds as a hash for the given amount of seconds.\n<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-set-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">set()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Return hash or array with modified\/added key\/pair, or array index.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-setenv-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">setenv()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Sets the value of the environment variable named by the key.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-shift-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">shift()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array with the first element of `array` removed..<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-shuffle-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">shuffle()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array with the elements in a random order.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sin-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sin()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the sine of a number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sinh-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sinh()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the hyperbolic sine of a number.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sleep-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sleep()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Pauses the application for the stated duration.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-socket-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">socket()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a file descriptor of a socket awaiting configuration.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sort-function-2\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sort()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array with data in ascending order.<\/td>\n<\/tr>\n<tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-split-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">split()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Splits a string into an array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-splithostport-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">splithostport()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Splits a string of host:port values into an array<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-printf-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sprintf()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Formats according to a format specifier and returns the result.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-string-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">string()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns any data type as a string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-substr-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">substr()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a substring of a given string indicated by the starting position and the substring length.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sum-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">sum()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a number, the sum of all items in an array.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-swap-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">swap()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array, with the values of the given indexes swapped.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-syslog-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">syslog()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Simple interface to the system log service.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-system-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">system()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the output of a system command as a string.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-tan-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">tan()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the tangent of the radian argument.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-tanh-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">tanh()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the hyperbolic tangent of the argument.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-time-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">time()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the number of seconds since 00:00:00 GMT January 1, 1970.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-tmpnam-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">tmpnam()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Creates a new temporary file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-tolower-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">tolower()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string where all characters are lower case.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-touch-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">touch()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Updates the modification time of a given file.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-toupper-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">toupper()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string where all characters are upper case.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-trim-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">trim()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string with all leading and trailing characters contained in cutset removed.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-trimprefix-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">trimprefix()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a string with the stated prefix removed.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-trimsuffix-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">trimsuffix()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a strings with the stated suffix removed.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-type-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">type()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the data type of the given value.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-ucount-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">ucount()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a hash containing a count of unique elements in an array<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-union-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">union()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a set that contains all items from the original array, and all items from the specified array(s).<br \/>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-uniq-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">uniq()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array with all duplicates removed.<br \/>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-unlink-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">unlink()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Removes the named file or empty directory.<br \/>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-unzip-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">unzip()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns an array of zipped data into separate arrays within an array container.\n<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-unsetenv-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">unsetenv()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Unsets a single environment variable.<br \/>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-whoami-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">whoami()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns the username (login name) of the user that is running the current process.<br \/>\n<\/tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-zip-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">zip()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a new array using combined elements of named arrays.<br \/>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Built-in Functions Command Definition abs() Return the absolute value of a number. arch() Returns a string containing the architecture type of the calling machine. accept() Accept a socket connection acos() Return the arcosine of the argument args() Returns an array containing the calling application command line arguments. asctime() Returns the formatted date\/time of seconds since &hellip; <a href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/built-in-commands\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Built-in Functions&#8221;<\/span><\/a><\/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-57","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/57","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=57"}],"version-history":[{"count":109,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/57\/revisions"}],"predecessor-version":[{"id":1355,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/57\/revisions\/1355"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}