long running php script may cause some strange thing happened , like memory leak, if you use some
resource handlers (like mysql connection or file handler), it should be careful considered for these resources are precious , which should be opened only when needed and closed after your works be done! especially in loop statement , there will allocate some memory to current method ,these increasing memory allocation is terrible