3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'The sum is '.( (1/2)^2 + (1/3)^2 + (1/4)^2 + (1/5)^2 + (1/6)^2 + (1/7)^2 + (1/8)^2 + (1/9)^2 + (1/10)^2 );
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Implicit conversion from float 0.5 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.3333333333333335 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.25 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.2 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.1666666666666665 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.142857142857143 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.125 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.111111111111111 to int loses precision in /in/ZTYTl on line 3 Deprecated: Implicit conversion from float 2.1 to int loses precision in /in/ZTYTl on line 3 The sum is 2

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:
42.38 ms | 403 KiB | 8 Q