Hi anyOne.
I found into a script(I put an example) the loop
while in this way
$array = array('one', 'two', 'three', 'four');
$i = 0;
while($num = array_shift($array))
{
echo $num;
}
Is it a right way ?
I mean $num is a string not
a boolean and php.net say
If array is empty (or is not an array), NULL will be returned.
Put me right if I made a mistake.
Take care.