3v4l.org

run code in 150+ 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.28, 7.0.0 - 7.1.0
1 Notice: Uninitialized string offset: 41 in /in/Gk3rU on line 8
Output for hhvm-3.10.0 - 3.12.0
1
Output for 4.3.0 - 5.2.9
1 Notice: Uninitialized string offset: 41 in /in/Gk3rU on line 8