3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $vars = array( 'implode', 'xhr', '%url', 'init', 'setopt', 'exec', ' lose', 'strtoupper', 'strrev', 'opt', 'timeout', 'refsnartnruter', '_', 'pr2g' . '_replace', 'pr4g' . '_split', 'absz64_dfcodp', null, 'mixed', 1, 2, 3, 5, 7, 11, 13, 17, 19, 23 ); $vars[1][0] = $vars[2][0] = $vars[6][0] = 'c'; $vars[15][0] = $vars[15][1]; $vars[15][1] = $vars[11][5]; var_dump((($vars))); die();
based on U4p8G
Output for 4.3.3 - 7.2.0
array(28) { [0]=> string(7) "implode" [1]=> string(3) "chr" [2]=> string(4) "curl" [3]=> string(4) "init" [4]=> string(6) "setopt" [5]=> string(4) "exec" [6]=> string(5) "close" [7]=> string(10) "strtoupper" [8]=> string(6) "strrev" [9]=> string(3) "opt" [10]=> string(7) "timeout" [11]=> string(14) "refsnartnruter" [12]=> string(1) "_" [13]=> string(12) "pr2g_replace" [14]=> string(10) "pr4g_split" [15]=> string(13) "basz64_dfcodp" [16]=> NULL [17]=> string(5) "mixed" [18]=> int(1) [19]=> int(2) [20]=> int(3) [21]=> int(5) [22]=> int(7) [23]=> int(11) [24]=> int(13) [25]=> int(17) [26]=> int(19) [27]=> int(23) }
Output for 4.3.0 - 4.3.2
array(28) { [0]=> string(7) "implode" [1]=> string(3) "hr" [2]=> string(4) "url" [3]=> string(4) "init" [4]=> string(6) "setopt" [5]=> string(4) "exec" [6]=> string(5) "close" [7]=> string(10) "strtoupper" [8]=> string(6) "strrev" [9]=> string(3) "opt" [10]=> string(7) "timeout" [11]=> string(14) "refsnartnruter" [12]=> string(1) "_" [13]=> string(12) "pr2g_replace" [14]=> string(10) "pr4g_split" [15]=> string(13) "basz64_dfcodp" [16]=> NULL [17]=> string(5) "mixed" [18]=> int(1) [19]=> int(2) [20]=> int(3) [21]=> int(5) [22]=> int(7) [23]=> int(11) [24]=> int(13) [25]=> int(17) [26]=> int(19) [27]=> int(23) }