3v4l.org

run code in 300+ PHP versions simultaneously
<?php $floatlike = '12,34'; var_dump(is_float($floatlike)); var_dump(is_numeric($floatlike)); var_dump(24/$floatlike); var_dump(10 * $floatlike); var_dump(10 + $floatlike); var_dump(10 - $floatlike);
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) bool(false) Warning: A non-numeric value encountered in /in/MU78Z on line 8 int(2) Warning: A non-numeric value encountered in /in/MU78Z on line 9 int(120) Warning: A non-numeric value encountered in /in/MU78Z on line 10 int(22) Warning: A non-numeric value encountered in /in/MU78Z on line 11 int(-2)

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