Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22451 invoked by uid 1010); 14 Aug 2005 01:35:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22436 invoked from network); 14 Aug 2005 01:35:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2005 01:35:37 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:54836] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FF/D5-33075-9EF9EF24 for ; Sat, 13 Aug 2005 21:35:37 -0400 Received: from [192.168.1.3] (dsl-082-083-245-204.arcor-ip.net [82.83.245.204]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id F002235C27E; Sun, 14 Aug 2005 03:55:06 +0200 (CEST) Date: Sun, 14 Aug 2005 03:35:51 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <802260392.20050814033551@marcus-boerger.de> To: Joseph Crawford Cc: PHP Internals In-Reply-To: <8d9a42800508131531176f24e1@mail.gmail.com> 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> <8d9a42800508131531176f24e1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: helly@php.net (Marcus Boerger) Hello Joseph, Sunday, August 14, 2005, 12:31:42 AM, you wrote: > 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, > etc.. i would like to see that added to the type hinting ;) we often enough decided against that (for the most we don't want to be another language like java). Best regards, Marcus