For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > January 2008 > Re: [PHP-WIN] Recursive PHP method crashes Apache









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-WIN] Recursive PHP method crashes Apache
Stanislav Malyshev

2008-01-04, 4:03 am

> I call my method Assembler::PrefetchComponents with an array of valid
> components and it crashes only when I include the line
> " self::PrefetchComponents($dependencies);
" Please help me solve the
> error in this code.


Most probably you are getting infinite (or very very very deep)
recursion loop in this code, which in PHP would lead to a crash.

--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com
34434

2008-01-13, 3:23 am

Hilary Duff and Alyssa Milano licking each other all over by the truck!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com