3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = md5('240610708'); $b = md5('QNKCDZO'); echo "$a\n"; echo "$b\n"; echo "\n"; var_dump($a == $b); var_dump($a === $b); var_dump(hash_equals($a, $b));
based on Zvk50
Output for 5.6.0 - 7.1.0
0e462097431906509019562988736854 0e830400451993494058024219903391 bool(true) bool(false) bool(false)
Output for 5.0.0 - 5.5.38
0e462097431906509019562988736854 0e830400451993494058024219903391 bool(true) bool(false) Fatal error: Call to undefined function hash_equals() in /in/SUMkd on line 12
Process exited with code 255.
Output for 4.4.5 - 4.4.9
0e462097431906509019562988736854 0e830400451993494058024219903391 bool(true) bool(false) Fatal error: Call to undefined function: hash_equals() in /in/SUMkd on line 12
Process exited with code 255.
Output for 4.3.2 - 4.4.4
0e462097431906509019562988736854 0e830400451993494058024219903391 bool(true) bool(false) Fatal error: Call to undefined function: hash_equals() in /in/SUMkd on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1
0e462097431906509019562988736854 0e830400451993494058024219903391 bool(true) bool(false) Fatal error: Call to undefined function: hash_equals() in /in/SUMkd on line 12