3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = 60; if ($time >= 60){ $rem = $time%60; $time = round($time/60); $time = strval($time); $time = $time.":".$rem." Minutes"; } echo $time; echo $time%60;
Output for 7.1.0
1:0 Minutes Notice: A non well formed numeric value encountered in /in/brAlK on line 10 1
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
1:0 Minutes1