Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2187 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49048 invoked from network); 5 Jun 2003 21:05:28 -0000 Received: from unknown (HELO hasele) (216.179.74.133) by pb1.pair.com with SMTP; 5 Jun 2003 21:05:28 -0000 Received: by hasele (Postfix, from userid 1000) id 5D0D04EA53; Thu, 5 Jun 2003 17:00:08 -0400 (EDT) To: Lars Torben Wilson Cc: internals@lists.php.net In-Reply-To: <1054846888.2348.81.camel@ali> References: <1054846888.2348.81.camel@ali> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1054846808.2406.28.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 05 Jun 2003 17:00:08 -0400 Subject: Re: [PHP-DEV] Quick question... From: sterling@bumblebury.com (Sterling Hughes) 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 ====----- > -- "Whether you think you can or think you can't -- you are right." - Henry Ford