3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var1 = md5('240610708'); $var2 = md5('QNKCDZO'); echo "\$var1 = md5('240610708') = " . $var1 . "\n"; echo "++\$var1 = " . ++$var1 . "\n\n"; echo "\$var2 = md5('QNKCDZO') = " . $var2 . "\n"; echo "++\$var2 = " . ++$var2 . "\n\n"; echo "var_dump(md5('240610708') == md5('QNKCDZO')) = \n\t "; var_dump(md5('240610708') == md5('QNKCDZO'));
based on ZmruH
Output for 4.3.0 - 7.2.0
$var1 = md5('240610708') = 0e462097431906509019562988736854 ++$var1 = 1 $var2 = md5('QNKCDZO') = 0e830400451993494058024219903391 ++$var2 = 1 var_dump(md5('240610708') == md5('QNKCDZO')) = bool(true)