3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<360;$i=$i+5) echo round(cos(deg2rad($i)),2).", ";
Output for git.master, git.master_jit, rfc.property-hooks
1, 1, 0.98, 0.97, 0.94, 0.91, 0.87, 0.82, 0.77, 0.71, 0.64, 0.57, 0.5, 0.42, 0.34, 0.26, 0.17, 0.09, 0, -0.09, -0.17, -0.26, -0.34, -0.42, -0.5, -0.57, -0.64, -0.71, -0.77, -0.82, -0.87, -0.91, -0.94, -0.97, -0.98, -1, -1, -1, -0.98, -0.97, -0.94, -0.91, -0.87, -0.82, -0.77, -0.71, -0.64, -0.57, -0.5, -0.42, -0.34, -0.26, -0.17, -0.09, -0, 0.09, 0.17, 0.26, 0.34, 0.42, 0.5, 0.57, 0.64, 0.71, 0.77, 0.82, 0.87, 0.91, 0.94, 0.97, 0.98, 1,

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