3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = range(1,100); class P { function _() { var_dump(func_get_args()); } } call_user_func_array(array('P', '_'), $array);
Output for 7.0.0 - 7.1.0
Deprecated: Non-static method P::_() should not be called statically in /in/6qOuf on line 9 array(100) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(47) [47]=> int(48) [48]=> int(49) [49]=> int(50) [50]=> int(51) [51]=> int(52) [52]=> int(53) [53]=> int(54) [54]=> int(55) [55]=> int(56) [56]=> int(57) [57]=> int(58) [58]=> int(59) [59]=> int(60) [60]=> int(61) [61]=> int(62) [62]=> int(63) [63]=> int(64) [64]=> int(65) [65]=> int(66) [66]=> int(67) [67]=> int(68) [68]=> int(69) [69]=> int(70) [70]=> int(71) [71]=> int(72) [72]=> int(73) [73]=> int(74) [74]=> int(75) [75]=> int(76) [76]=> int(77) [77]=> int(78) [78]=> int(79) [79]=> int(80) [80]=> int(81) [81]=> int(82) [82]=> int(83) [83]=> int(84) [84]=> int(85) [85]=> int(86) [86]=> int(87) [87]=> int(88) [88]=> int(89) [89]=> int(90) [90]=> int(91) [91]=> int(92) [92]=> int(93) [93]=> int(94) [94]=> int(95) [95]=> int(96) [96]=> int(97) [97]=> int(98) [98]=> int(99) [99]=> int(100) }
Output for 4.3.0 - 4.4.9, hhvm-3.10.0 - 3.12.0
array(100) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(47) [47]=> int(48) [48]=> int(49) [49]=> int(50) [50]=> int(51) [51]=> int(52) [52]=> int(53) [53]=> int(54) [54]=> int(55) [55]=> int(56) [56]=> int(57) [57]=> int(58) [58]=> int(59) [59]=> int(60) [60]=> int(61) [61]=> int(62) [62]=> int(63) [63]=> int(64) [64]=> int(65) [65]=> int(66) [66]=> int(67) [67]=> int(68) [68]=> int(69) [69]=> int(70) [70]=> int(71) [71]=> int(72) [72]=> int(73) [73]=> int(74) [74]=> int(75) [75]=> int(76) [76]=> int(77) [77]=> int(78) [78]=> int(79) [79]=> int(80) [80]=> int(81) [81]=> int(82) [82]=> int(83) [83]=> int(84) [84]=> int(85) [85]=> int(86) [86]=> int(87) [87]=> int(88) [88]=> int(89) [89]=> int(90) [90]=> int(91) [91]=> int(92) [92]=> int(93) [93]=> int(94) [94]=> int(95) [95]=> int(96) [96]=> int(97) [97]=> int(98) [98]=> int(99) [99]=> int(100) }
Output for 5.3.0 - 5.6.28
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method P::_() should not be called statically in /in/6qOuf on line 9 array(100) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(47) [47]=> int(48) [48]=> int(49) [49]=> int(50) [50]=> int(51) [51]=> int(52) [52]=> int(53) [53]=> int(54) [54]=> int(55) [55]=> int(56) [56]=> int(57) [57]=> int(58) [58]=> int(59) [59]=> int(60) [60]=> int(61) [61]=> int(62) [62]=> int(63) [63]=> int(64) [64]=> int(65) [65]=> int(66) [66]=> int(67) [67]=> int(68) [68]=> int(69) [69]=> int(70) [70]=> int(71) [71]=> int(72) [72]=> int(73) [73]=> int(74) [74]=> int(75) [75]=> int(76) [76]=> int(77) [77]=> int(78) [78]=> int(79) [79]=> int(80) [80]=> int(81) [81]=> int(82) [82]=> int(83) [83]=> int(84) [84]=> int(85) [85]=> int(86) [86]=> int(87) [87]=> int(88) [88]=> int(89) [89]=> int(90) [90]=> int(91) [91]=> int(92) [92]=> int(93) [93]=> int(94) [94]=> int(95) [95]=> int(96) [96]=> int(97) [97]=> int(98) [98]=> int(99) [99]=> int(100) }
Output for 5.1.2 - 5.2.17
Strict Standards: Non-static method P::_() cannot be called statically in /in/6qOuf on line 9 Strict Standards: Non-static method P::_() cannot be called statically in /in/6qOuf on line 9 array(100) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(47) [47]=> int(48) [48]=> int(49) [49]=> int(50) [50]=> int(51) [51]=> int(52) [52]=> int(53) [53]=> int(54) [54]=> int(55) [55]=> int(56) [56]=> int(57) [57]=> int(58) [58]=> int(59) [59]=> int(60) [60]=> int(61) [61]=> int(62) [62]=> int(63) [63]=> int(64) [64]=> int(65) [65]=> int(66) [66]=> int(67) [67]=> int(68) [68]=> int(69) [69]=> int(70) [70]=> int(71) [71]=> int(72) [72]=> int(73) [73]=> int(74) [74]=> int(75) [75]=> int(76) [76]=> int(77) [77]=> int(78) [78]=> int(79) [79]=> int(80) [80]=> int(81) [81]=> int(82) [82]=> int(83) [83]=> int(84) [84]=> int(85) [85]=> int(86) [86]=> int(87) [87]=> int(88) [88]=> int(89) [89]=> int(90) [90]=> int(91) [91]=> int(92) [92]=> int(93) [93]=> int(94) [94]=> int(95) [95]=> int(96) [96]=> int(97) [97]=> int(98) [98]=> int(99) [99]=> int(100) }
Output for 5.0.0 - 5.1.1
Strict Standards: Non-static method P::_() cannot be called statically in /in/6qOuf on line 9 array(100) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(47) [47]=> int(48) [48]=> int(49) [49]=> int(50) [50]=> int(51) [51]=> int(52) [52]=> int(53) [53]=> int(54) [54]=> int(55) [55]=> int(56) [56]=> int(57) [57]=> int(58) [58]=> int(59) [59]=> int(60) [60]=> int(61) [61]=> int(62) [62]=> int(63) [63]=> int(64) [64]=> int(65) [65]=> int(66) [66]=> int(67) [67]=> int(68) [68]=> int(69) [69]=> int(70) [70]=> int(71) [71]=> int(72) [72]=> int(73) [73]=> int(74) [74]=> int(75) [75]=> int(76) [76]=> int(77) [77]=> int(78) [78]=> int(79) [79]=> int(80) [80]=> int(81) [81]=> int(82) [82]=> int(83) [83]=> int(84) [84]=> int(85) [85]=> int(86) [86]=> int(87) [87]=> int(88) [88]=> int(89) [89]=> int(90) [90]=> int(91) [91]=> int(92) [92]=> int(93) [93]=> int(94) [94]=> int(95) [95]=> int(96) [96]=> int(97) [97]=> int(98) [98]=> int(99) [99]=> int(100) }