Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58984 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9651 invoked from network); 17 Mar 2012 13:38:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2012 13:38:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=simonsimcity@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=simonsimcity@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: simonsimcity@googlemail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:57823] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/7C-43639-4D3946F4 for ; Sat, 17 Mar 2012 08:38:29 -0500 Received: by yhfq11 with SMTP id q11so5681505yhf.29 for ; Sat, 17 Mar 2012 06:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EzOqxCu9VFE56+zNEk2QzfeIQrzoSkGRK6lxd5rd0Zk=; b=zV1bYIuUXWC2w4LM2tZwSU5DDknUBWnuU1Fx6zxm8HmTRvntjzs9wNH88BGIaSwsbu EtptdEbJX3sg28re4JqlNMmWBm+H15oJ+NtUiJElhBubbYE0/FUKnpbnB2dwNPs8yeIx b8Z40YGdEgDcRbKvpUrBaxCk2+8FHqBZubfttzcrvRy5xuJkXyQ0E5s8v2rD89NwlmZG G9BUjrUpmrzj1sKibr901nNBKgCiU7q741uq6Y8MoUGxujg59EbXUUo5/rRSN/i4/VsZ LovzClhVugU0vjmyz95cuCfEDDMXsMALZPnC0Nn0HhifY9IPycSTT/KgV+uouoTkEMMf M6kg== MIME-Version: 1.0 Received: by 10.60.4.170 with SMTP id l10mr6837064oel.67.1331991506037; Sat, 17 Mar 2012 06:38:26 -0700 (PDT) Received: by 10.60.18.162 with HTTP; Sat, 17 Mar 2012 06:38:26 -0700 (PDT) Date: Sat, 17 Mar 2012 14:38:26 +0100 Message-ID: To: PHP Internals List Content-Type: text/plain; charset=UTF-8 Subject: [PHP-DEV] Scalar-type-hinting - which way is the best to go? From: simonsimcity@googlemail.com (Simon Schick) Hi, all Today I read a post around that: http://nikic.github.com/2012/03/06/Scalar-type-hinting-is-harder-than-you-think As some of us are leading to the 3rd and some to the 4th or other ways described in here (I think we can simply exclude the first one ...) Would it be an option (to get this moved forward) to let people vote which way they like most (or which comes closest to their best-solution)? I pretty much like the 3rd way ... the only thing I see that has not been discussed enough is how to handle integers on 64bit and 32bit installations. Bye Simon