3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((int) "0xa"); var_dump(+ "0xa"); var_dump("0xa" * 1); var_dump("0xa" >> 0); var_dump("0xa" % 20); var_dump("0xa" == 10);
Output for git.master, git.master_jit, rfc.property-hooks
int(0) Warning: A non-numeric value encountered in /in/rH6WZ on line 4 int(0) Warning: A non-numeric value encountered in /in/rH6WZ on line 5 int(0) Warning: A non-numeric value encountered in /in/rH6WZ on line 6 int(0) Warning: A non-numeric value encountered in /in/rH6WZ on line 7 int(0) bool(false)

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:
44.19 ms | 402 KiB | 8 Q