3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (phpversion() != '7.0.0') { die; } $time = time(); $randomString1 = bin2hex(random_bytes(20)); $randomString2 = bin2hex(random_bytes(10)); var_dump( phpversion(), $time, $randomString1, $randomString2 ); // md5(time() . browser-details-string . "some-salt-string")
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.1 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
Output for 7.0.0
string(5) "7.0.0" int(1449586017) string(40) "492986e8ac70a5b639d33f9c17934a8d77673116" string(20) "90eec72039980e78e61c"

preferences:
116.98 ms | 401 KiB | 131 Q