3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(1.0, 1.111111111111111111, 1/3, 1e300, 1e-300); array_walk($x, function($v) { echo "$v" . PHP_EOL; echo json_encode($v) . PHP_EOL; echo PHP_EOL; });
Output for git.master, git.master_jit, rfc.property-hooks
1 1 1.1111111111111 1.1111111111111112 0.33333333333333 0.3333333333333333 1.0E+300 1.0e+300 1.0E-300 1.0e-300

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:
35.84 ms | 401 KiB | 8 Q