3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); var_dump(floor(123)); var_dump(floor(1.2)); var_dump(floor(-1)); var_dump(floor('123')); var_dump(floor('1.2')); var_dump(floor(true)); var_dump(floor(false)); var_dump(floor('Hello, World!')); var_dump(floor(array(123))); var_dump(floor(new stdClass));
Output for git.master, git.master_jit, rfc.property-hooks
float(123) float(1) float(-1) float(123) float(1) float(1) float(0)
Process exited with code 255.

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:
179.44 ms | 405 KiB | 5 Q