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/61Xjf on line 3 Deprecated: Implicit conversion from float 0.3333333333333333 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.25 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.2 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.16666666666666666 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.14285714285714285 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.125 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.1111111111111111 to int loses precision in /in/61Xjf on line 3 Deprecated: Implicit conversion from float 0.1 to int loses precision in /in/61Xjf on line 3 The sum is 18

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