3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(md5("foo", true)); // parameter 2 is type boolean var_dump(md5("foo", "1")); // parameter 2 is type boolean
Output for 5.0.0 - 5.0.5, 5.1.1 - 7.1.0
string(16) "���L�\��eO�Ĥ�" string(16) "���L�\��eO�Ĥ�"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/7S0XN on line 3
Process exited with code 255.
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for md5() in /in/7S0XN on line 2 NULL Warning: Wrong parameter count for md5() in /in/7S0XN on line 3 NULL