Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46747 invoked by uid 1010); 15 Jun 2006 21:19:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46732 invoked from network); 15 Jun 2006 21:19:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2006 21:19:34 -0000 X-PHP-List-Original-Sender: lsmith@php.net X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:34722] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 27/F4-00253-6EEC1944 for ; Thu, 15 Jun 2006 17:19:34 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 19D7CDF0021; Thu, 15 Jun 2006 23:20:46 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10539-10; Thu, 15 Jun 2006 23:20:37 +0200 (CEST) Received: from [127.0.0.1] (i577B63FC.versanet.de [87.123.99.252]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 54BC9DF0008; Thu, 15 Jun 2006 23:20:37 +0200 (CEST) Message-ID: <4491CED3.7030500@php.net> Date: Thu, 15 Jun 2006 23:19:15 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Hannes Magnusson Cc: internals@lists.php.net References: <7f3ed2c30606151021l250da506ld97a3025df7303ac@mail.gmail.com> In-Reply-To: <7f3ed2c30606151021l250da506ld97a3025df7303ac@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: Array type hinting for internal functions.. From: lsmith@php.net (Lukas Smith) Hannes Magnusson wrote: > Hi all > > I am sure this was decided upon long time ago, but there seem to be > few out there that do not want this... > should I revert array type hinting for internal functions or continue > adding them were appropriate while I add the argument info? > > Just to be clear; I'm introducing array type hinting for all internal > functions expecting array and removing therefor useless array type > checks inside the functions. > These changes however introduce tiny backward compatibility break > since it'll emit E_RECOVERABLE rather than E_WARNING... Is this a similar change as the array_merge() change? regards, Lukas