3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(1.0, 0.111111111111111111, 1/3, 1e300, 1e-300, M_PI); 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 0.11111111111111 0.1111111111111111 0.33333333333333 0.3333333333333333 1.0E+300 1.0e+300 1.0E-300 1.0e-300 3.1415926535898 3.141592653589793

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