3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on eCsZQ
Output for 4.3.0 - 7.2.0
42.3bool(true) \x34\x32\x2E12bool(false) %5Cx34%5Cx32%5Cx2E