Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11891 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11654 invoked by uid 1010); 4 Aug 2004 08:12:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11476 invoked from network); 4 Aug 2004 08:12:37 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 4 Aug 2004 08:12:37 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i748Cbor001430 for ; Wed, 4 Aug 2004 10:12:37 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i748CXYF001416; Wed, 4 Aug 2004 10:12:34 +0200 Date: Wed, 4 Aug 2004 10:12:33 +0200 (CEST) X-X-Sender: derick@localhost To: Jakub Vrana cc: internals@lists.php.net In-Reply-To: <131164997375.20040804100719@vrana.cz> Message-ID: References: <131164997375.20040804100719@vrana.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] Document call_time_pass_reference From: derick@php.net (Derick Rethans) On Wed, 4 Aug 2004, Jakub Vrana wrote: > Hello! > > I want to document, why call_time_pass_reference was deprecated by > establishing allow_call_time_pass_reference. I assume code cleanliness > or performance reasons but I want to document official reason. Erm, no. This is wrong :) allow_call_time_pass_reference just disables the warning for now. You should just not pass parameters as a reference but instead specify them as "reference parameter" in the function declaration. Why this is better (except from a cleanliness reason) I can't tell you. Derick