We can calculate the length of a string with strlen() function in PHP.

$var1 = “This is good interview Question”;
echo strlen($var1);

BY Best Interview Question ON 31 Mar 2019

Suggest An Answer