3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('justaword83'); $prefix = "justaword"; $length = strlen( $prefix); foreach( $array as $x) { echo "The number is: " . substr( $x, $length); }

preferences:
36.7 ms | 402 KiB | 5 Q