3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $numbers = [0,1,100,00100] foreach ($numbers as $number) { echo 'strlen('.$number.')' . strlen($number) . "\n"; }
Output for 7.3.0rc3
Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in /in/esn5T on line 4
Process exited with code 255.