3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "A-MTP-"; $i = 1; $j=1; $ss=1; $s=1; $ch="ch".$ss ; $ch= "$".$ch; $$ch =array(); while ($i < 4) { while($j < 13) { $$ch[$s] = $a."-".$i."-".$j ; if($j % 4 == 0) { $s++; } $j++; } $i++; } //print_r($$ch1);
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/d83FX on line 27
Process exited with code 255.