PHP - Programming Language
This course covers the basics of programming in PHP. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!


Lesson 8
Author : Mike Dane
Last Updated : November, 2017


Copy$greeting = "Hello";
//indexes:   01234

echo  strlen($greeting)."<br>";
echo  $greeting[0]."<br>";
echo  $greeting[-1]."<br>";
echo  str_replace("l", "Z", $greeting)."<br>";
echo  strchr($greeting, "ll")."<br>";