Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31911 invoked by uid 1010); 15 Jan 2008 20:48:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31895 invoked from network); 15 Jan 2008 20:48:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2008 20:48:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=webmaster@keryx.se; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=webmaster@keryx.se; sender-id=pass Received-SPF: pass (pb1.pair.com: domain keryx.se designates 208.69.121.33 as permitted sender) X-PHP-List-Original-Sender: webmaster@keryx.se X-Host-Fingerprint: 208.69.121.33 supavet.nexcess.net Received: from [208.69.121.33] ([208.69.121.33:45708] helo=supavet.nexcess.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/E0-13448-C1C1D874 for ; Tue, 15 Jan 2008 15:48:30 -0500 Received: (qmail 6578 invoked by uid 108); 15 Jan 2008 20:48:26 -0000 Received: from unknown (HELO ?127.0.0.1?) (gunther@keryx.se@87.227.57.139) by supavet.nexcess.net with ESMTPA; 15 Jan 2008 20:48:26 -0000 Message-ID: <478D1C15.6040507@keryx.se> Date: Tue, 15 Jan 2008 21:48:21 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: internals Mailing List References: <477DB7BF.10201@chiaraquartet.net> <20080104105558.GC7861@mint.phcomp.co.uk> <477E5649.2080104@chiaraquartet.net> <477E619C.2050107@sektioneins.de> <477E78D0.3050501@zend.com> <698DE66518E7CA45812BD18E807866CE01103ED3@us-ex1.zend.net> <1199472536.15292.185.camel@sbarrow-desktop> <698DE66518E7CA45812BD18E807866CE01103EE2@us-ex1.zend.net> <477ED01F.3090300@dealnews.com> <477FC27A.2070309@lerdorf.com> In-Reply-To: <477FC27A.2070309@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080114-3, 2008-01-14), Outbound message X-Antivirus-Status: Clean Subject: Re: [PHP-DEV] type hinting From: webmaster@keryx.se (Keryx Web) Rasmus Lerdorf skrev: > PHP is first and foremost a Web scripting language. Everything we do > and every decision is based on that. There is one aspect that has popped up in the discussion about array syntax but not here where it is almost as applicable. ECMAScript 4 will have introduce *optional* strong typing. Not as type hints in functions, but when one is declaring the variable as such. Ergo: Web developers may very well start thinking more about types very soon. Even if we are not talking about exactly the same thing for PHP. The developers of Tamarin claim huge performance benefits. Stefan Esser has predicted that type hints may facilitate speed improvements for PHP as well. Nobody has picked up on that thought, as far as I can see. If he is right - and I am not in a position to say if he is or not - that would count as a really strong argument, IMHO. A lot stronger than "less typing". Lars Gunther