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('aabg7XSs') == md5('aabC9RqS')); // var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); // var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m')); // var_dump('0010e2' == '1e3'); // var_dump('0x1234Ab' == '1193131'); // var_dump('0xABCdef' == ' 0xABCdef');
based on Iedjj
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
string(32) "0e462097431906509019562988736854" string(32) "0e830400451993494058024219903391" bool(true) bool(true)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/oRgca on line 12
Process exited with code 255.