Lines Matching refs:strlen
2 strlen() function
54 var_dump( strlen($strings[$i]) );
73 var_dump(strlen("$obj_string"));
78 var_dump(strlen($str_arr));
79 var_dump(strlen("$str_arr[1]"));
80 var_dump(strlen("$str_arr[2]"));
91 var_dump(strlen($string1)); // int(6)
94 var_dump(strlen($string2)); // int(1)
112 var_dump(strlen($string));
117 var_dump(strlen($str));
124 var_dump(strlen("$str"));
125 var_dump(strlen("$str'S"));
126 var_dump(strlen("$strS"));
129 var_dump(strlen("${str}S"));
130 var_dump(strlen("{$str}S"));
132 echo "\n--- strlen for long float values ---\n";
135 var_dump(strlen(10.55555555555555555555555555)); // len = 13
136 var_dump(strlen(10.55555555595555555555555555)); // len = 12
138 echo "\n--- Nested strlen() ---\n";
139 var_dump(strlen(strlen("Hello"))); // len=1
144 strlen();
146 strlen("string1", "string2");
147 strlen("", "");
200 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
224 --- strlen for long float values ---
228 --- Nested strlen() ---
232 Warning: strlen() expects exactly 1 parameter, 0 given in %s on line %d
234 Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d
236 Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d