3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $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")
based on BdU8P
Output for 7.2.0
string(5) "7.2.0" int(1449585969) string(40) "35324b0f8a30c140bc7efb7611121e5012ecb38c" string(20) "c92a34cff54207675444"
Output for 7.1.10
string(6) "7.1.10" int(1449585969) string(40) "62ba541f2fc28f2845e7464d3eb5423dd99aeb46" string(20) "bed93fc215487a5ec681"
Output for 7.1.7
string(5) "7.1.7" int(1449585969) string(40) "52b87b04c7949c53137e616fbfe3e57b9412da95" string(20) "e3ec394cbcd0930f610f"
Output for 7.1.6
string(5) "7.1.6" int(1449585969) string(40) "344e2a5cb38d3f55e560e915af7f57e6c384e191" string(20) "75cd8db397376c938041"
Output for 7.1.5
string(5) "7.1.5" int(1449585969) string(40) "682442023fac243dbf85b4dfb0101de632d32367" string(20) "0bd1f0c47218c4402164"
Output for 7.1.0
string(5) "7.1.0" int(1449585969) string(40) "cbfccf7dd16820d8756247c8ca89608239c63412" string(20) "9f55732d1840f665d426"
Output for 7.0.20
string(6) "7.0.20" int(1449585969) string(40) "3a9870697b9085132e09170abed20f0121b7943e" string(20) "62c55930c1ee1f32f14f"
Output for 7.0.10
string(6) "7.0.10" int(1449585969) string(40) "f6435d457cd132fdcde0b104aa72b566cbcbcbf9" string(20) "dc877d3c26722d845728"
Output for 7.0.9
string(5) "7.0.9" int(1449585969) string(40) "6bdb705b3fa19ddc08c5ec9253133e769b2a9794" string(20) "2738654ea694508e5972"
Output for 7.0.8
string(5) "7.0.8" int(1449585969) string(40) "8117e8c11091b08461808759de02f0a58b48f83b" string(20) "faf3577f2e60b659262a"
Output for 7.0.7
string(5) "7.0.7" int(1449585969) string(40) "80a220adde7cc9ca68cf58dd1a9b74814e847f71" string(20) "fb553e3c17157e08b012"
Output for 7.0.6
string(5) "7.0.6" int(1449585969) string(40) "6776eaba51885f98e599902a8e724afd0bcf0fa2" string(20) "a46fb8ad7f7063e38365"
Output for 7.0.5
string(5) "7.0.5" int(1449585969) string(40) "1adda2b06c30533db0b6a810085a87aad581ce45" string(20) "3f4e622170c473f1513d"
Output for 7.0.4
string(5) "7.0.4" int(1449585969) string(40) "3dbe18894eb3a389008adf1f49d93eb681a97186" string(20) "768cf0b36481668c2e74"
Output for 7.0.3
string(5) "7.0.3" int(1449585969) string(40) "581b489f94c9f1fc4282894a2056b9391e4f0b2c" string(20) "a040e50440ff24e1a930"
Output for 7.0.2
string(5) "7.0.2" int(1449585969) string(40) "89978873191ffd25282a0ae6a8d098b5ed0de43a" string(20) "071a7a2c8e8e8a67dcba"
Output for 7.0.1
string(5) "7.0.1" int(1449585969) string(40) "c7c3e01510da0c5d21edbf3dd1b840b058542038" string(20) "2ba4bbc2782dc39b69cd"
Output for 7.0.0
string(5) "7.0.0" int(1449585969) string(40) "43b86b3ded394d6ffa948a7ec05a6e1a588c9a92" string(20) "8ff6e6180bb194b4f73d"
Output for 5.5.0 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/Iagfc on line 5
Process exited with code 255.