Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44579 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94205 invoked from network); 1 Jul 2009 17:22:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2009 17:22:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=sgkelly4@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sgkelly4@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.222.198 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: sgkelly4@gmail.com X-Host-Fingerprint: 209.85.222.198 mail-pz0-f198.google.com Received: from [209.85.222.198] ([209.85.222.198:55657] helo=mail-pz0-f198.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/D0-24906-76B9B4A4 for ; Wed, 01 Jul 2009 13:22:47 -0400 Received: by pzk36 with SMTP id 36so1199769pzk.29 for ; Wed, 01 Jul 2009 10:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=oKoe2SuiCvkjecAKJQR8ZLbtd4MJ+sutsQ0Q+K1VFgc=; b=cWw9+9DKQeyzc9K1Xi9BO4wFfQRue7lza3PaJfAH7c2RVYVLttX5LdtQ9F7PBqounI 6t0jgCAPrP7ykgmfcMDYQIj/zzSghBfkf7GrON+RVGJN8Zh5QWy+xthtIrL1mSWrzx9t gQTaIHwsgBaDgwqXnlHsh5wVc3I30OrGfdBio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=RoliVaHsdMFwhqUfjss3xTB9YuUZuo+HsBy1Jbju0+O4ouBkYkzsyKOiKW1ObK6T+6 Alw6WMX/DAIuKU1Stew3E0Vv672nB8UpblVu1cYogTORnvMEu1BuR3pq45wLwZcMiB2m JEo94sPmY4qKGUgH/g+TJLouzoHv31rjEt4Qo= MIME-Version: 1.0 Received: by 10.142.226.7 with SMTP id y7mr622219wfg.303.1246468964131; Wed, 01 Jul 2009 10:22:44 -0700 (PDT) In-Reply-To: <20090701171533.GI4355@mint.phcomp.co.uk> References: <20090701171533.GI4355@mint.phcomp.co.uk> Date: Wed, 1 Jul 2009 10:22:24 -0700 Message-ID: To: Alain Williams Cc: Ilia Alshanetsky , PHP internals Content-Type: multipart/alternative; boundary=000e0cd32a66d4a4dd046da82bc3 Subject: Re: [PHP-DEV] RFC: Type hinting revisited for PHP 5.3 From: sgkelly4@gmail.com (Graham Kelly) --000e0cd32a66d4a4dd046da82bc3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit It also makes type analysis for potential compile time optimizations much easier. It reduces the unknowns that occure from functions! This is something that could be a big help with that. On Wed, Jul 1, 2009 at 10:15 AM, Alain Williams wrote: > On Wed, Jul 01, 2009 at 12:59:59PM -0400, Ilia Alshanetsky wrote: > > There has been quite a bit of discussion on this list, IRC, developer > > meetings, etc... about introduction of type hinting to PHP. Most > > people appear to think that this would be a good idea, but there is a > > reason why it is not in PHP already. The main source of conflict > > ... > > Another desirable result of type hinting is that it would strengthen > reflection ... one use of that would be automatic generation of > WSDL files. This is something that I am currently struggling to do, > not helped by the completely cr*p documentation of this - I am not > talking about PHP documentation here by W3 & other places :-( > > +1 to type hinting. > > -- > Alain Williams > Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT > Lecturer. > +44 (0) 787 668 0256 http://www.phcomp.co.uk/ > Parliament Hill Computers Ltd. Registration Information: > http://www.phcomp.co.uk/contact.php > Past chairman of UKUUG: http://www.ukuug.org/ > #include > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000e0cd32a66d4a4dd046da82bc3--