3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = "the number of letters in mississippi = 11"; $i=0; $cp = $input; while( !(ctype_digit($cp[$i++]) ) ) ; echo $cp[$i],$cp[$i+1],"\n";
Output for 5.2.10 - 5.6.30, hhvm-3.13.2 - 3.17.3, 7.0.0 - 7.3.0rc4
1 Notice: Uninitialized string offset: 41 in /in/Gk3rU on line 8
Output for hhvm-3.10.1 - 3.12.14
1
Output for 4.3.0 - 5.2.9
1 Notice: Uninitialized string offset: 41 in /in/Gk3rU on line 8