3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s="aaaaaa"; $q="str_replace"; $g = ""; 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 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
0
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/uLAtL on line 19
Process exited with code 255.