3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(sin('15')); var_dump(sin('0xF')); var_dump(round('15')); var_dump(round('0xF')); ?>
based on vK7T2
Output for 7.0.0 - 7.2.0
float(0.65028784015712) Notice: A non well formed numeric value encountered in /in/ODHrv on line 3 float(0) float(15) float(0)
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2, 5.3.0 - 5.6.28
float(0.65028784015712) float(0.65028784015712) float(15) float(15)
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.17
float(0.65028784015712) float(0) float(15) float(15)