Array VS String

Test


:4:w
4:1:w

Code

<?php

$tab = array ('w','o','r','d');
echo ':'.count($tab);
echo ':'.$tab[0];

echo "<br />";

$mot = 'word';
echo strlen($mot);
echo ':'.count($mot);
echo ':'.$mot[0];

?>