3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('justaword83'); $prefix = "justaword"; $length = strlen( $prefix); foreach( $array as $x) { echo "The number is: " . substr( $x, $length); }
Output for 4.3.0 - 7.1.0
The number is: 83