oh got it.
PHP Code:
new myArray //global
myArray = ArrayCreate(32)
while(!feof(file))
{
fgets(file, linea, 127)
ArrayPushString(Array:myArray, linea)
}
The above piece of code means dynamic sized array created with each cell limits of 32 chars. Using ArrayPushString we can grow its size as per requirement.