I using this code
$dato = array_shift($datos);
while($dato!=''){...}
Is it correct?
Is the same to put:
while($dato!=''){...}
Than
while($dato!=null){...}
Edit: This is on the oficial documentation php
Returns the shifted value, or NULL if array is empty or is not an array.
But my code is actually running