3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2.5; $c = 0xFF; $d = $b + $c; echo "Value of D : ".$d."<br/>"; $e = $d * $b; echo "Value of E : ".$e."<br/>"; $f = ($d + $e) % $a; echo "Value of F : ".$f."<br/>"; print ($f + $e); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Value of D : 257.5<br/>Value of E : 643.75<br/> Deprecated: Implicit conversion from float 901.25 to int loses precision in /in/9s5OE on line 11 Value of F : 0<br/>643.75

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.94 ms | 401 KiB | 8 Q