3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "\x34\x32\x2E"; echo $a; echo strlen($a); var_dump($a=="42"); $b = '\x34\x32\x2E'; echo $b; echo strlen($b); var_dump($b=="42"); echo urlencode($b);
Output for git.master, git.master_jit, rfc.property-hooks
42.3bool(true) \x34\x32\x2E12bool(false) %5Cx34%5Cx32%5Cx2E

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