3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('240610708')); var_dump(md5('QNKCDZO')); var_dump(md5('240610708') == md5('QNKCDZO')); var_dump("0e462097431906509019562988736854" == "0e830400451993494058024219903391"); var_dump(md5('240610708') === md5('QNKCDZO')); var_dump("0e462097431906509019562988736854" === "0e830400451993494058024219903391"); var_dump("0e462097431906509019562988736854" < "0e830400451993494058024219903391"); var_dump("0e462097431906509019562988736854" > "0e830400451993494058024219903391"); var_dump("0e462097431906509019562988736854" <= "0e830400451993494058024219903391"); var_dump("0e462097431906509019562988736854" >= "0e830400451993494058024219903391"); var_dump(strcmp("0e462097431906509019562988736854", "0e830400451993494058024219903391")); var_dump(strcmp("0e830400451993494058024219903391","0e462097431906509019562988736854")); var_dump(strcmp("0e830400451993494058024219903391","0e830400451993494058024219903391"));
based on gY1pY
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0alpha1
string(32) "0e462097431906509019562988736854" string(32) "0e830400451993494058024219903391" bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) int(-4) int(4) int(0)
Output for hhvm-3.12.14 - 3.17.3
string(32) "0e462097431906509019562988736854" string(32) "0e830400451993494058024219903391" bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) int(-1) int(1) int(0)