3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '1.23456789012345678'; $b = 111111111111111111.9; var_dump('Length : ' . strlen($a), (float) $a, $a == (float) $a, $b, 'Missing 8 ' . json_encode(array($a), JSON_NUMERIC_CHECK));
Output for git.master, git.master_jit, rfc.property-hooks
string(11) "Length : 19" float(1.2345678901234567) bool(true) float(1.111111111111111E+17) string(30) "Missing 8 [1.2345678901234567]"

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