3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234; $time = round($time, 2); echo $time; $timeOut = ''; if ($time > 60 * 60) { $timeOut .= gmdate('H', $time) . ' hours, '; } if ($time > 60) { $timeOut .= gmdate('i', $time) . ' min, '; } $timeOut .= number_format($time % 60, 2) . ' sec'; echo ' (' . $timeOut . ' sec)' . "\n\n";
Output for git.master, git.master_jit, rfc.property-hooks
935.28 Deprecated: Implicit conversion from float 935.28 to int loses precision in /in/eU6jT on line 14 Deprecated: Implicit conversion from float 935.28 to int loses precision in /in/eU6jT on line 16 (15 min, 35.00 sec sec)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
41.8 ms | 401 KiB | 8 Q