3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (phpversion() != '7.0.0') { die; } $time = time(); $randomString1 = bin2hex(random_bytes(20)); $randomString2 = bin2hex(random_bytes(10)); var_dump( $time, $randomString1, $randomString2, md5($time.$randomString1.$randomString2) );
based on fe9OF
Output for 5.5.0 - 5.6.28, 7.0.1 - 7.2.0
Output for 7.0.0
int(1449586061) string(40) "8fc4e9e6244be5b49bec1401b8441e30ae8d550b" string(20) "4d48c9486acacc801020" string(32) "aea41bab8099db2f59ed121c3478107c"