Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61433 invoked from network); 5 Jun 2003 21:12:01 -0000 Received: from unknown (HELO pd5mo2so.prod.shaw.ca) (24.71.223.10) by pb1.pair.com with SMTP; 5 Jun 2003 21:12:01 -0000 Received: from pd5mr3so.prod.shaw.ca (pd5mr3so-qfe3.prod.shaw.ca [10.0.141.144]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HG10039Q1CSMD@l-daemon> for internals@lists.php.net; Thu, 05 Jun 2003 15:07:40 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca (pn2ml6so-qfe0.prod.shaw.ca [10.0.121.150]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HG100EDD1CSHI@l-daemon> for internals@lists.php.net; Thu, 05 Jun 2003 15:07:40 -0600 (MDT) Received: from h24-68-30-122.vc.shawcable.net (h24-68-30-122.vc.shawcable.net [24.68.30.122]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HG1009TO1CRCZ@l-daemon> for internals@lists.php.net; Thu, 05 Jun 2003 15:07:40 -0600 (MDT) Date: Thu, 05 Jun 2003 14:07:13 -0700 In-reply-to: <1054846808.2406.28.camel@hasele> To: Sterling Hughes Cc: internals@lists.php.net Message-ID: <1054847232.2348.83.camel@ali> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Content-type: text/plain Content-transfer-encoding: 7BIT References: <1054846888.2348.81.camel@ali> <1054846808.2406.28.camel@hasele> Subject: Re: [PHP-DEV] Quick question... From: torben@php.net (Lars Torben Wilson) On Thu, 2003-06-05 at 14:00, Sterling Hughes wrote: > Yep. > > -Sterling > > On Thu, 2003-06-05 at 17:01, Lars Torben Wilson wrote: > > Just wanted to check that I'm reading this right before committing > > to the docs: does print() return 1, always? The following seems to > > indicate so: > > > > case ZEND_PRINT: > > zend_print_variable(get_zval_ptr(&EX(opline)->op1, EX(Ts), > > &EG(free_op1), BP_VAR_R)); > > EX(Ts)[EX(opline)->result.u.var].tmp_var.value.lval = 1; > > EX(Ts)[EX(opline)->result.u.var].tmp_var.type = IS_LONG; > > FREE_OP(EX(Ts), &EX(opline)->op1, EG(free_op1)); > > NEXT_OPCODE(); Thanks! Torben -- Torben Wilson +1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www.hybrid17.com http://www.themainonmain.com -----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----