Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1364 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51865 invoked by uid 1007); 7 May 2003 21:35:50 -0000 Message-ID: <20030507213550.51862.qmail@pb1.pair.com> To: internals@lists.php.net Date: Wed, 07 May 2003 23:35:49 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de, en-us, en MIME-Version: 1.0 References: <1052329731.13471.6.camel@localhost.localdomain> In-Reply-To: <1052329731.13471.6.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 217.225.39.181 Subject: Re: IS_TYPE in zend_compile.c From: jan@horde.org (Jan Schneider) John Coggeshall wrote: > About 16 hours ago it looks like someone modified zend_compile.c to fix > a bug... the current head has around line 1161 (clean CVS checkout): > > if (type_hint->op_type == IS_TYPE) { > opline->opcode = ZEND_VERIFY_TYPE; > } else { > opline->opcode = ZEND_VERIFY_INSTANCEOF; > } > > But now i can't seem to compile it anymore... where is IS_TYPE defined? > I'm assuming if it exists at all, it has to have been in the engine for > awhile looking at the commit times (zend_compile.c is the only file > modified in the past 16 hours)... either way, neither myself or the > compiler can find it. > > Perhaps there is just something broken about my system... but I thought > I'd make sure before I went on a goose chase. No, I can confirm this. Updated a minute ago. Jan.