Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
for ($i=0, $len=count($
PdotWang
Programming language:
PHP
2021-03-11 04:40:56
0
Q:
for ($i=0, $len=count($
BallpointBen
Code:
PHP
2021-01-15 03:38:13
<?php $str = 'abcdef'; echo strlen($str); // 6 $str = ' ab cd '; echo strlen($str); // 7 ?>
7
Tags
count
New to Communities?
Join the community