xxxxxxxxxx
In these days you can use ISSET to compare a sting length
COOOL! I love php !!!!
<?php
//FIRST:try to run the script like this,
//THEN: try to uncomment the seccond $str=
$yes="SURE!!!";
$no="NOPE !";
$str="12345";//the string is long 5 bytes ?
//$str="123456";
echo !isset($str{5}) ? $yes : $no;
?>