Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24133 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51908 invoked by uid 1010); 15 Jun 2006 17:21:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51893 invoked from network); 15 Jun 2006 17:21:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2006 17:21:10 -0000 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 66.249.82.201 wx-out-0102.google.com Linux 2.4/2.6 Received: from ([66.249.82.201:34532] helo=wx-out-0102.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A4/3C-00253-60791944 for ; Thu, 15 Jun 2006 13:21:10 -0400 Received: by wx-out-0102.google.com with SMTP id s14so334506wxc for ; Thu, 15 Jun 2006 10:21:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KAeWQGvSG8VMiDJ420C0pufX0jgF3p8ul4bLNAgmXEzQKCzyv1IO6URXH1HfW1cSnXRHPLmbUFyXjSSXglsYCtCfQ1xtsZchfA8OBK2VxKs9QdMtbfrvhnIrZiK8aMJXoiOWqYrvHRXlilF84+TZaPuh9MtwAyiMocaCijWpmL8= Received: by 10.70.19.6 with SMTP id 6mr2539774wxs; Thu, 15 Jun 2006 10:21:04 -0700 (PDT) Received: by 10.70.91.5 with HTTP; Thu, 15 Jun 2006 10:21:04 -0700 (PDT) Message-ID: <7f3ed2c30606151021l250da506ld97a3025df7303ac@mail.gmail.com> Date: Thu, 15 Jun 2006 19:21:04 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Array type hinting for internal functions.. From: hannes.magnusson@gmail.com ("Hannes Magnusson") 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... -Hannes ---------- Forwarded message ---------- From: Hannes Magnusson Date: Jun 15, 2006 6:25 PM Subject: [PHP-CVS] cvs: php-src /ext/curl interface.c /ext/dbase dbase.c /ext/gd gd.c To: php-cvs@lists.php.net bjori Thu Jun 15 16:25:12 2006 UTC Modified files: /php-src/ext/dbase dbase.c /php-src/ext/gd gd.c /php-src/ext/curl interface.c Log: Add array type hinting Remove unnecessary array checkes