Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18004 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43860 invoked by uid 1010); 13 Aug 2005 22:31:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43839 invoked from network); 13 Aug 2005 22:31:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2005 22:31:46 -0000 X-Host-Fingerprint: 64.233.170.200 rproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.170.200:26186] helo=rproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 13/FA-33075-1D47EF24 for ; Sat, 13 Aug 2005 18:31:46 -0400 Received: by rproxy.gmail.com with SMTP id c51so650719rne for ; Sat, 13 Aug 2005 15:31:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ADv3oZiOHMTHgxwZaGIMnCXZiqOW+kSnJgCTDom44WiiALg2QaDh1cELWVa+tYlXw7y7mCjR+r8uF3NhYcdIn9fsg0Y86nj9esbT9FklNn5GLE3fmt4ZS4La3aDhDOUvWsCsPpRhVB1I8pt4+2+cFNDp4glKOlvvK/4nCRpe3DI= Received: by 10.39.3.21 with SMTP id f21mr1482855rni; Sat, 13 Aug 2005 15:31:42 -0700 (PDT) Received: by 10.38.78.76 with HTTP; Sat, 13 Aug 2005 15:31:42 -0700 (PDT) Message-ID: <8d9a42800508131531176f24e1@mail.gmail.com> Date: Sat, 13 Aug 2005 18:31:42 -0400 To: PHP Internals In-Reply-To: <4299A67D-9247-45E5-9696-E99AE13D0492@omniti.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1987_2742710.1123972302333" References: <42FCE0E4.604@lerdorf.com> <42FDDF11.2050308@cschneid.com> <6E8568FA-5893-476A-A88F-E5504C638F37@omniti.com> <42FE6AE7.1040405@hristov.com> <210C80B1-DFA3-40C9-A1A0-D8E5EE6AAAD9@omniti.com> <42FE6CC4.8080705@hristov.com> <4299A67D-9247-45E5-9696-E99AE13D0492@omniti.com> Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: codebowl@gmail.com (Joseph Crawford) ------=_Part_1987_2742710.1123972302333 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I would like to see the Type Hinting expanded in PHP 6. In 5 now you can do class Test { public function testDatabase( Database $db ) { } } what if i wanted to make sure it was a String, Integer, Boolean, Float,=20 etc.. i would like to see that added to the type hinting ;) --=20 Joseph Crawford Jr. Codebowl Solutions, Inc. 1-802-671-2021 codebowl@gmail.com ------=_Part_1987_2742710.1123972302333--