3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s="aaaaaa"; $q="str_replace"; echo strlen($g); /* $g = ""; while (strlen($g)<strlen($s)) { echo "aaa"; //$q = pack("H*",md5($g.$q."q1w2e3r4")); $g.=substr($q,0,8); } */ //echo $s^$g;
Output for 5.0.4 - 5.0.5, 5.1.1 - 7.1.0
Notice: Undefined variable: g in /in/S2AJ3 on line 6 0
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/S2AJ3 on line 18
Process exited with code 255.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: g in /in/S2AJ3 on line 6 0