Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14330 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84567 invoked by uid 1010); 10 Jan 2005 21:00:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84436 invoked from network); 10 Jan 2005 21:00:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2005 21:00:07 -0000 X-Host-Fingerprint: 212.204.192.51 jdi.jdimedia.nl Linux 2.4/2.6 Received: from ([212.204.192.51:35878] helo=jdi.jdimedia.nl) by pb1.pair.com (ecelerity HEAD (r4059)) with SMTP id 62/DE-31705-5DCE2E14 for ; Mon, 10 Jan 2005 16:00:06 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j0AKwR3P002678 for ; Mon, 10 Jan 2005 21:58:27 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j0AKwNsO002665; Mon, 10 Jan 2005 21:58:25 +0100 Date: Mon, 10 Jan 2005 21:58:19 +0100 (CET) X-X-Sender: derick@localhost To: Leonardo Pedretti cc: internals@lists.php.net In-Reply-To: <200501101315.32968.lpedretti@suserver.com> Message-ID: References: <20050110140943.99185.qmail@web41415.mail.yahoo.com> <200501101315.32968.lpedretti@suserver.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] Basic types hinting and variable hinting From: derick@php.net (Derick Rethans) On Mon, 10 Jan 2005, Leonardo Pedretti wrote: > Are there any plans to include type hinting with basic types and type hinting > for variables? (such as optional declaration) There are no such things planned, except for "array" afaik. > It would be useful to declare the type of a data member of a class, for > example, for automation of data fetching from SQL databases or such things. That is *definitely* not on the list - PHP is weakly typed and will remain so. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org