3v4l.org

run code in 300+ PHP versions simultaneously
<?php $world = 'world'; echo <<<'TEXT' hello $world TEXT; for($i = 0; $i < 1.02; $i += 0.17) { $a[$i] = $i; } count($a) ?>
Output for git.master, git.master_jit, rfc.property-hooks
hello $world Deprecated: Implicit conversion from float 0.17 to int loses precision in /in/NbgB8 on line 10 Deprecated: Implicit conversion from float 0.34 to int loses precision in /in/NbgB8 on line 10 Deprecated: Implicit conversion from float 0.51 to int loses precision in /in/NbgB8 on line 10 Deprecated: Implicit conversion from float 0.68 to int loses precision in /in/NbgB8 on line 10 Deprecated: Implicit conversion from float 0.8500000000000001 to int loses precision in /in/NbgB8 on line 10

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:
48.67 ms | 402 KiB | 8 Q