+ 1
How to write your own code for builtin functions of php
kindly tell me the code of strlen (string length function) with expanation of each line or if you have written any other
1 Respuesta
0
$str='some value' ;
$i=0;
while($s[$i]! ='' ){
$i++;
}
echo $i ;//prints 10