3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $p = "upload/"; for ($x=0; $x<=10; $x++) { $p .= $x; echo "$p"; }
based on ai1RN
Output for 4.3.0 - 7.1.0
upload/0upload/01upload/012upload/0123upload/01234upload/012345upload/0123456upload/01234567upload/012345678upload/0123456789upload/012345678910