+ 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 Odpowiedź
0
$str='some value' ; $i=0; while($s[$i]! ='' ){ $i++; } echo $i ;//prints 10
20th Jun 2018, 12:13 PM
ᴋᵘⁿᵃˡ
ᴋᵘⁿᵃˡ - avatar