check string length in php
<?php
$name = 'abcdef';
echo strlen($str); // 6
$string = ' ab cd ';
echo strlen($str); // 7
?><?php
$str = 'abcdef';
echo strlen($str); // 6
$str = ' ab cd ';
echo strlen($str); // 7
?><?php
$str = 'php';
echo strlen($str); // 3
$str = 's p a c e';
echo strlen($str); // 9
?>
Also in PHP:
- check laravel version
- array unique php index not getting organised
- check text in string php
- convertidos de 24 12 hr php
- all php errors
- check array key php
- date( w ) php
- add display_errors in funtion php
- date in php in dats
- check if string contains string php
- .htacess to remove index.php on codeigniter localhost
- date time php
- $_SESSION php example
- * in array key php
- !array_key_exists($id, $this->items)
- composer require guzzlehttp/guzzle
- event click right mouse
- fetch data from live website curl php
- all cache clear laravel
- check array key exit php
- Add 3D à now date php
- consol log put in php
- all letters capital php
- download laravel composer