Array
(
[0] => 0
[1] => 55
[2] => 55
[3] => 55
[4] => 0
[5] => 6
[6] => TRUE
[7] => FALSE
)
Array
(
[0] => Array
(
[0] => Array
(
[0] => 100
[1] => 81
[2] => 64
[3] => 49
[4] => 36
[5] => 25
[6] => 16
[7] => 9
[8] => 4
[9] => 1
)
[1] => Array
(
[0] => 400
[1] => 324
[2] => 256
[3] => 196
[4] => 144
[5] => 100
[6] => 64
[7] => 36
[8] => 16
[9] => 4
[10] => 0
[11] => 4
[12] => 16
[13] => 36
[14] => 64
[15] => 100
[16] => 144
[17] => 196
[18] => 256
[19] => 324
[20] => 400
)
)
[1] => Array
(
[0] => 100
[1] => 81
[2] => 64
[3] => 49
[4] => 36
[5] => 25
[6] => 16
[7] => 9
[8] => 4
[9] => 1
)
[2] => Array
(
[0] => 100
[1] => 81
[2] => 64
[3] => 49
[4] => 36
[5] => 25
[6] => 16
[7] => 9
[8] => 4
[9] => 1
)
[3] => Array
(
[0] => 100
[1] => 81
[2] => 64
[3] => 49
[4] => 36
[5] => 25
[6] => 16
[7] => 9
[8] => 4
[9] => 1
)
[4] => Array
(
[0] => Array
(
[0] => Array
(
[0] => Array
(
[0] => Array
(
[0] => Array
(
[0] => BADABOOM
)
)
)
[1] => BIGBADABOOM
)
[1] => GIGABIGBOOM
)
)
[5] => Array
(
[0] => 3
[1] => 2
[2] => 1
)
[6] => TRUE
[7] => FALSE
)
int(67)
key: key => value
key: key0 => 0
key: key1 => 1
key: key2 => 2
key: key3 => 3
key: key4 => 4
key: key5 => 5
key: key6 => 8
key: key7 => 9
key: key8 => 40
key: key9 => 72
key: key10 => 74
key: key11 => 76
key: key12 => 77
Array
(
[0] => 0
[1] => 55
[2] => 55
[3] => 55
[4] => 0
[5] => 6
[6] => TRUE
[7] => FALSE
)
Array
(
[0] => 0
[1] => 3025
[2] => 3025
[3] => 3025
[4] => 0
[5] => 36
[6] => TRUE
[7] => FALSE
)
int(8)
array(27) {
["_GET"]=>
array(0) {
}
["_POST"]=>
array(0) {
}
["_COOKIE"]=>
array(0) {
}
["_FILES"]=>
array(0) {
}
["_SERVER"]=>
array(39) {
["PATH"]=>
string(49) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
["PP_CUSTOM_PHP_INI"]=>
string(52) "/home/httpd/vhosts/system/michaelster.ch/etc/php.ini"
["PP_CUSTOM_PHP_CGI_INDEX"]=>
string(7) "fastcgi"
["SCRIPT_NAME"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["REQUEST_URI"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["QUERY_STRING"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.0"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["REMOTE_PORT"]=>
string(5) "38342"
["SCRIPT_FILENAME"]=>
string(82) "/home/httpd/vhosts/michaelster.ch/httpdocs/jsTestFolder/array_map/TestArrayMap.php"
["SERVER_ADMIN"]=>
string(14) "root@localhost"
["CONTEXT_DOCUMENT_ROOT"]=>
string(42) "/home/httpd/vhosts/michaelster.ch/httpdocs"
["CONTEXT_PREFIX"]=>
string(0) ""
["REQUEST_SCHEME"]=>
string(5) "https"
["DOCUMENT_ROOT"]=>
string(42) "/home/httpd/vhosts/michaelster.ch/httpdocs"
["REMOTE_ADDR"]=>
string(14) "216.73.216.131"
["SERVER_PORT"]=>
string(3) "443"
["SERVER_ADDR"]=>
string(12) "80.74.145.85"
["SERVER_NAME"]=>
string(14) "michaelster.ch"
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["SERVER_SIGNATURE"]=>
string(0) ""
["HTTP_REFERER"]=>
string(61) "http://michaelster.ch/jsTestFolder/array_map/TestArrayMap.php"
["HTTP_ACCEPT_ENCODING"]=>
string(23) "gzip, br, zstd, deflate"
["HTTP_USER_AGENT"]=>
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
["HTTP_ACCEPT"]=>
string(3) "*/*"
["HTTP_CONNECTION"]=>
string(5) "close"
["HTTP_X_ACCEL_INTERNAL"]=>
string(31) "/internal-nginx-static-location"
["HTTP_X_REAL_IP"]=>
string(14) "216.73.216.131"
["HTTP_HOST"]=>
string(14) "michaelster.ch"
["HTTPS"]=>
string(2) "on"
["PERL5LIB"]=>
string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins"
["SCRIPT_URI"]=>
string(62) "https://michaelster.ch/jsTestFolder/array_map/TestArrayMap.php"
["SCRIPT_URL"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["UNIQUE_ID"]=>
string(27) "aMxV5ufv3rOVM-O7BDF7AwAAABA"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["REQUEST_TIME_FLOAT"]=>
float(1758221798.1674)
["REQUEST_TIME"]=>
int(1758221798)
}
["_REQUEST"]=>
array(0) {
}
["_ENV"]=>
array(0) {
}
["GLOBALS"]=>
array(27) {
["_GET"]=>
array(0) {
}
["_POST"]=>
array(0) {
}
["_COOKIE"]=>
array(0) {
}
["_FILES"]=>
array(0) {
}
["_SERVER"]=>
array(39) {
["PATH"]=>
string(49) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
["PP_CUSTOM_PHP_INI"]=>
string(52) "/home/httpd/vhosts/system/michaelster.ch/etc/php.ini"
["PP_CUSTOM_PHP_CGI_INDEX"]=>
string(7) "fastcgi"
["SCRIPT_NAME"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["REQUEST_URI"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["QUERY_STRING"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.0"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["REMOTE_PORT"]=>
string(5) "38342"
["SCRIPT_FILENAME"]=>
string(82) "/home/httpd/vhosts/michaelster.ch/httpdocs/jsTestFolder/array_map/TestArrayMap.php"
["SERVER_ADMIN"]=>
string(14) "root@localhost"
["CONTEXT_DOCUMENT_ROOT"]=>
string(42) "/home/httpd/vhosts/michaelster.ch/httpdocs"
["CONTEXT_PREFIX"]=>
string(0) ""
["REQUEST_SCHEME"]=>
string(5) "https"
["DOCUMENT_ROOT"]=>
string(42) "/home/httpd/vhosts/michaelster.ch/httpdocs"
["REMOTE_ADDR"]=>
string(14) "216.73.216.131"
["SERVER_PORT"]=>
string(3) "443"
["SERVER_ADDR"]=>
string(12) "80.74.145.85"
["SERVER_NAME"]=>
string(14) "michaelster.ch"
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["SERVER_SIGNATURE"]=>
string(0) ""
["HTTP_REFERER"]=>
string(61) "http://michaelster.ch/jsTestFolder/array_map/TestArrayMap.php"
["HTTP_ACCEPT_ENCODING"]=>
string(23) "gzip, br, zstd, deflate"
["HTTP_USER_AGENT"]=>
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
["HTTP_ACCEPT"]=>
string(3) "*/*"
["HTTP_CONNECTION"]=>
string(5) "close"
["HTTP_X_ACCEL_INTERNAL"]=>
string(31) "/internal-nginx-static-location"
["HTTP_X_REAL_IP"]=>
string(14) "216.73.216.131"
["HTTP_HOST"]=>
string(14) "michaelster.ch"
["HTTPS"]=>
string(2) "on"
["PERL5LIB"]=>
string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins"
["SCRIPT_URI"]=>
string(62) "https://michaelster.ch/jsTestFolder/array_map/TestArrayMap.php"
["SCRIPT_URL"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["UNIQUE_ID"]=>
string(27) "aMxV5ufv3rOVM-O7BDF7AwAAABA"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(40) "/jsTestFolder/array_map/TestArrayMap.php"
["REQUEST_TIME_FLOAT"]=>
float(1758221798.1674)
["REQUEST_TIME"]=>
int(1758221798)
}
["_REQUEST"]=>
array(0) {
}
["_ENV"]=>
array(0) {
}
["GLOBALS"]=>
*RECURSION*
["aroutine"]=>
string(268) "if(isset($u)) $u++;
else $u=0;
array_multisort(%placeholder%,SORT_NUMERIC,SORT_DESC);
//make the key available outside just for an example.It is just the same as pass a reference as argument
$GLOBALS['key'.$u] = %key%;
// %placeholder%=array_sum(%placeholder%);"
["vroutine"]=>
string(510) "global $myrefence;
$myrefence++;
if(is_string(%placeholder%)) %placeholder%=strtoUpper(%placeholder%);
elseif (is_numeric(%placeholder%)) {
%placeholder%*=%placeholder%;
}
else {
%placeholder%=is_bool(%placeholder%)?(%placeholder%===true?'TRUE':'FALSE'):%placeholder%;
%placeholder%=is_object(%placeholder%)?(array)%placeholder%:%placeholder%;
if(is_array(%placeholder%)) eval($aroutine);
if(!isset($aroutine))
%placeholder%=is_array(%placeholder%)?array_sum(%placeholder%):%placeholder%;
}"
["array"]=>
array(8) {
[0]=>
int(0)
[1]=>
int(3025)
[2]=>
int(3025)
[3]=>
int(3025)
[4]=>
int(0)
[5]=>
int(36)
[6]=>
string(4) "TRUE"
[7]=>
string(5) "FALSE"
}
["myrefence"]=>
int(8)
["value"]=>
int(77)
["key"]=>
string(5) "key12"
["key0"]=>
int(0)
["key1"]=>
int(1)
["key2"]=>
int(2)
["key3"]=>
int(3)
["key4"]=>
int(4)
["key5"]=>
int(5)
["key6"]=>
int(8)
["key7"]=>
int(9)
["key8"]=>
int(40)
["key9"]=>
int(72)
["key10"]=>
int(74)
["key11"]=>
int(76)
["key12"]=>
int(77)
}
["aroutine"]=>
string(268) "if(isset($u)) $u++;
else $u=0;
array_multisort(%placeholder%,SORT_NUMERIC,SORT_DESC);
//make the key available outside just for an example.It is just the same as pass a reference as argument
$GLOBALS['key'.$u] = %key%;
// %placeholder%=array_sum(%placeholder%);"
["vroutine"]=>
string(510) "global $myrefence;
$myrefence++;
if(is_string(%placeholder%)) %placeholder%=strtoUpper(%placeholder%);
elseif (is_numeric(%placeholder%)) {
%placeholder%*=%placeholder%;
}
else {
%placeholder%=is_bool(%placeholder%)?(%placeholder%===true?'TRUE':'FALSE'):%placeholder%;
%placeholder%=is_object(%placeholder%)?(array)%placeholder%:%placeholder%;
if(is_array(%placeholder%)) eval($aroutine);
if(!isset($aroutine))
%placeholder%=is_array(%placeholder%)?array_sum(%placeholder%):%placeholder%;
}"
["array"]=>
array(8) {
[0]=>
int(0)
[1]=>
int(3025)
[2]=>
int(3025)
[3]=>
int(3025)
[4]=>
int(0)
[5]=>
int(36)
[6]=>
string(4) "TRUE"
[7]=>
string(5) "FALSE"
}
["myrefence"]=>
int(8)
["value"]=>
int(77)
["key"]=>
string(5) "key12"
["key0"]=>
int(0)
["key1"]=>
int(1)
["key2"]=>
int(2)
["key3"]=>
int(3)
["key4"]=>
int(4)
["key5"]=>
int(5)
["key6"]=>
int(8)
["key7"]=>
int(9)
["key8"]=>
int(40)
["key9"]=>
int(72)
["key10"]=>
int(74)
["key11"]=>
int(76)
["key12"]=>
int(77)
}