3v4l.org

run code in 200+ PHP versions simultaneously
<?php $r = floor((3710 % 3600) / 60) + 1; echo $r; echo 'c';
Output for 5.0.0 - 7.3.10
2c