3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1 + 87.6 + 7.1; var_dump($x); // 95.7 var_dump($x === 95.7); // FALSE $x = 1 + 87.6; var_dump($x); // 88.6 var_dump($x == 88.6); // TRUE
Output for git.master_jit, git.master, rfc.property-hooks
float(95.69999999999999) bool(false) float(88.6) bool(true)

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