3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(1,2,3,4,5,6,7,8,9,10,a,b,c,d,e,f,g,h,i,j); var_dump($arr); ?>
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/DAqUX on line 2 Notice: Use of undefined constant b - assumed 'b' in /in/DAqUX on line 2 Notice: Use of undefined constant c - assumed 'c' in /in/DAqUX on line 2 Notice: Use of undefined constant d - assumed 'd' in /in/DAqUX on line 2 Notice: Use of undefined constant e - assumed 'e' in /in/DAqUX on line 2 Notice: Use of undefined constant f - assumed 'f' in /in/DAqUX on line 2 Notice: Use of undefined constant g - assumed 'g' in /in/DAqUX on line 2 Notice: Use of undefined constant h - assumed 'h' in /in/DAqUX on line 2 Notice: Use of undefined constant i - assumed 'i' in /in/DAqUX on line 2 Notice: Use of undefined constant j - assumed 'j' in /in/DAqUX on line 2 array(20) { [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]=> string(1) "a" [11]=> string(1) "b" [12]=> string(1) "c" [13]=> string(1) "d" [14]=> string(1) "e" [15]=> string(1) "f" [16]=> string(1) "g" [17]=> string(1) "h" [18]=> string(1) "i" [19]=> string(1) "j" }