PHP - String Functions
Identify the error in this PHP code:
$text = "Hello";
$newText = substr($text, 2, 10);
echo $newText;
$text = "Hello";
$newText = substr($text, 2, 10);
echo $newText;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions