Pre-recorded question

Question #305
How to get string length in PHP?
Answer

In PHP, the function strlen(string) return the length of a string :

// Displays 6
echo strlen('abcdef'); 

$str = "abcdefg";
// Displays 7
echo strlen($str);

3 events in history
Answer by Alphonsio 11/11/2020 at 06:41:14 PM

In PHP, the function strlen(string) return the length of a string :

// Displays 6
echo strlen('abcdef'); 

$str = "abcdefg";
// Displays 7
echo strlen($str);

Answer by Alphonsio 11/11/2020 at 06:40:18 PM

In PHP, the function strlen(string) return the length of a string :

// Displays 6
echo strlen('abcdef'); 

Question by Alphonsio 11/11/2020 at 06:37:42 PM
How to get string length in PHP?
# ID Query URL Count

Icons proudly provided by Friconix.