From: Dmitry Stogov Date: Wed, 6 May 2015 19:53:48 +0000 (+0300) Subject: Fixed return without value X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=500b884f17d76629cb066da55145a83659b8acfb;p=php Fixed return without value --- diff --git a/Zend/zend_gc.c b/Zend/zend_gc.c index dc5a4580e9..e223a49906 100644 --- a/Zend/zend_gc.c +++ b/Zend/zend_gc.c @@ -796,7 +796,7 @@ tail_call: if (Z_TYPE_P(zv) != IS_UNDEF) { count++; } - if (p == end) return; + if (p == end) return count; } while (p != end) { zv = &p->val;