3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(time()); var_dump(time() / 100); var_dump(hash_hmac('md5', '' . time() / 100, 'nonce'));
based on ihWIb
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(1409023625) float(14090236.25) string(32) "2fbb38a88523c095ff4a7aa87025e820"
Output for 5.0.0 - 5.1.1
int(1409023625) float(14090236.25) Fatal error: Call to undefined function hash_hmac() in /in/EC5UR on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
int(1409023625) float(14090236.25) Fatal error: Call to undefined function: hash_hmac() in /in/EC5UR on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
int(1409023625) float(14090236.25) Fatal error: Call to undefined function: hash_hmac() in /in/EC5UR on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
int(1409023625) float(14090236.25) Fatal error: Call to undefined function: hash_hmac() in /in/EC5UR on line 5