I hit an array on the debug build when I tried to run the following program: <?php function f() { for (;;) {} } f(); This diff removes the offending assert since it is technically possible to have m_maxStackDepth be equal to 0.