3v4l.org

run code in 500+ PHP versions simultaneously
<?php function acceptInt(int $i) { var_dump($i); } acceptInt(3.1415);
Output for rfc.property-hooks, git.master, git.master_jit
Deprecated: Implicit conversion from float 3.1415 to int loses precision in /in/C1bD3 on line 3 int(3)

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:
116.79 ms | 1426 KiB | 4 Q