Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42686 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85247 invoked from network); 18 Jan 2009 19:31:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2009 19:31:13 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.21 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.218.21 mail-bw0-f21.google.com Received: from [209.85.218.21] ([209.85.218.21:49836] helo=mail-bw0-f21.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/56-49574-08383794 for ; Sun, 18 Jan 2009 14:31:13 -0500 Received: by bwz14 with SMTP id 14so6687328bwz.23 for ; Sun, 18 Jan 2009 11:31:09 -0800 (PST) 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 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=K2ixqok+XWOtxKN9Gp7YX9j4nFuRUYPl3jvuK0D9Ng0=; b=C83A/Bg/dt8qaV+/oX1twFaq7Wr8tF96Pe9qeOcgyfCiinG7vPidfrviK5Zmbk4WXl y9/Zb45XC5dTpS+9D4WLuTPJAXd78dnXDTnr+kx95NDBCSSHTz1+wgfhtMYfZYrefT8a HjB/mzZhJSRooejEIto59scHdErBltIApiTf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EIlKz96z6aYhTQlA2ZFJBVvi+KhnY2WB2qf82kJRUykXMxaw4TUH8h4joogJgKMV4l H3RN0/gMRYQsvrvr99/hH8wH6qvk2UuxtYoXxfJ61B3nrSDlDPr2sHgoA9re9JMI82lQ g4aDhf0shGsK2eIuS42vFyJxDk/cXnQenS3Ds= MIME-Version: 1.0 Received: by 10.181.141.7 with SMTP id t7mr1772707bkn.61.1232307069657; Sun, 18 Jan 2009 11:31:09 -0800 (PST) In-Reply-To: References: <58.5A.41390.72012794@pb1.pair.com> Date: Sun, 18 Jan 2009 20:31:09 +0100 Message-ID: <7f3ed2c30901181131x5f89eb55u3f25c75195d7279@mail.gmail.com> To: Lukas Kahwe Smith Cc: Nathan Rixham , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Really Need.. From: hannes.magnusson@gmail.com (Hannes Magnusson) On Sun, Jan 18, 2009 at 17:42, Lukas Kahwe Smith wrote: > > On 17.01.2009, at 18:06, Nathan Rixham wrote: > >> a: Optional Static Typing >> I'm finding an ever increasingly need to be able to staticly type >> properties, parameters, return types etc (in classes) I know there is type >> hinting but it's just not enough to do what one needs. Additionally support >> for staticly typing primatives. > > I am not a type hinting fan .. then again I think that PPP is mostly bogus > for a scripting language as well. I would not mind this stuff if it would > just all just throw E_STRICT's instead of E_FATAL. To me the point of a glue It doesn't throw E_FATAL. It throws E_RECOVERABLE_ERROR which doesn't do anything. bjori@jessica:~$ cat t.php $v) { printf("%s - %s\n", $k, $v); } } bar("hello world"); bjori@jessica:~$ php t.php Warning: Invalid argument supplied for foreach() in /home/bjori/t.php on line 8 Totally not what you expected, heh? -Hannes