error out of length in php

PHP
$str = 'abcdef';
echo strlen($str); // 6
Source

Also in PHP: