3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = '1AA/example/example'; $varInt = intval($var); $varString = strval($varInt); $varInt += 1; $result = strval($varInt).substr($var, strlen($varString)); echo $result;
based on RDU3u
Output for 5.6.38 - 7.3.0rc3
2AA/example/example