3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strcmp(”foo”, ”bar”)); echo "\n"; echo md5('240610708'); echo "\n"; echo md5('QNKCDZO'); ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant ”foo” - assumed '”foo”' in /in/hF0kG on line 2 Notice: Use of undefined constant ”bar” - assumed '”bar”' in /in/hF0kG on line 2 int(1024) 0e462097431906509019562988736854 0e830400451993494058024219903391
Output for hhvm-3.12.0
Notice: Use of undefined constant ”foo” - assumed '”foo”' in /in/hF0kG on line 2 Notice: Use of undefined constant ”bar” - assumed '”bar”' in /in/hF0kG on line 2 int(1) 0e462097431906509019562988736854 0e830400451993494058024219903391
Output for hhvm-3.10.0

Process exited with code 153.