Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38252 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97850 invoked from network); 15 Jun 2008 12:50:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2008 12:50:27 -0000 Authentication-Results: pb1.pair.com header.from=steph@phparch.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=steph@phparch.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phparch.com from 64.99.136.149 cause and error) X-PHP-List-Original-Sender: steph@phparch.com X-Host-Fingerprint: 64.99.136.149 smtprelay-virgin0149.hostedemail.com Linux 2.5 (sometimes 2.4) (4) Received: from [64.99.136.149] ([64.99.136.149:59708] helo=smtprelay-virgin.hostedemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/1E-06776-01015584 for ; Sun, 15 Jun 2008 08:50:24 -0400 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay05.hostedemail.com (Postfix) with SMTP id 209EE96308; Sun, 15 Jun 2008 12:50:22 +0000 (UTC) X-SpamScore: 1 Received: from foxbox (host86-143-244-1.range86-143.btcentralplus.com [86.143.244.1]) (Authenticated sender: steph.fox) by omf12.hostedemail.com (Postfix) with ESMTP; Sun, 15 Jun 2008 12:50:21 +0000 (UTC) Message-ID: <007c01c8cee6$8fd5c2d0$4401a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Cc: "Dmitry Stogov" , "Johannes Schlueter" Date: Sun, 15 Jun 2008 13:51:41 +0100 Organization: php|architect MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-session-marker: 73746570682E666F78 X-Spam-Summary: 2,0,0,f202f66a1af14f43,6af6a12960ecf63e,steph@phparch.com,,RULES_HIT:152:355:379:539:540:541:542:543:567:973:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1538:1566:1587:1593:1594:1676:1711:1714:1730:1747:1766:1792:2073:2075:2078:2379:2393:2559:2562:3280:3865:3866:3867:3869:3870:3871:3874:4605:5007:6119:6120:6261:7875:8660,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none Subject: Back to call_time_pass_reference - backport PHP 6 behaviour? From: steph@phparch.com ("Steph Fox") Hi all, I just noticed (don't ask) there are a couple of checks in zend_do_pass_param() in CVS HEAD that don't exist in PHP_5_3: if (original_op==ZEND_SEND_REF) { if (function_ptr && function_ptr->common.function_name.v && function_ptr->common.type == ZEND_USER_FUNCTION && !ARG_SHOULD_BE_SENT_BY_REF(function_ptr, (zend_uint) offset)) { zend_error(E_DEPRECATED, "Call-time pass-by-reference has been deprecated; "... Is there any chance of back-porting the common.type check to 5_3? - Steph