Site icon NgDeveloper

Array substring in php example

 

Program: array_substring.php

<?php
$rainbow = blUe;
print $rainbow[2];
?>

 

Output:

 

 

Thanks for reading this post……….!!!

 

Exit mobile version