How to write your own code for builtin functions of php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

21st Jan 2018, 4:57 PM
Bilal Asghar
Bilal Asghar - avatar
1 Answer
0
$str='some value' ; $i=0; while($s[$i]! ='' ){ $i++; } echo $i ;//prints 10
20th Jun 2018, 12:13 PM
ᴋᵘⁿᵃˡ
ᴋᵘⁿᵃˡ - avatar