Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83931 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94206 invoked from network); 26 Feb 2015 21:28:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2015 21:28:30 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.223.181 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.223.181 mail-ie0-f181.google.com Received: from [209.85.223.181] ([209.85.223.181:44217] helo=mail-ie0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/32-32582-DFF8FE45 for ; Thu, 26 Feb 2015 16:28:30 -0500 Received: by iecar1 with SMTP id ar1so21471832iec.11 for ; Thu, 26 Feb 2015 13:28:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=vICViBS7InyZOqbXIud5HER0noWaJkf3iYb8ewqfxBo=; b=YQFq9a0V/4wLByAWacfSCqbZzMTt9qT41BfcZlyMZ9Ri9h2KTV5xdJ7RKV0FgogNn9 kG9GUTyPU283NXUkBTXfaNK/p459yi/0EC6ZM5mWSYa0D24G1g85/Wbv/N+2ctTpfEUz kuj0zXrXUHvj1eFHSlT4XByVDXJahvA0AjHUdu9yZTyKIM0rSgEKIzTCimiywRGUdgZn tXYXa984W/E1eAH4OYci4ycaIn54LnQAdTMAv/pm05HEx9nQnQNnmdnFZF0MLX3xRnEg 0tFUvXdOSNJmL06LCvXJwpXsOci8vMnZAUL4mjiLz2i/Wz8KJOrml97FkqHrtD8MaDFd Euxg== X-Gm-Message-State: ALoCoQko7e6UqIF3z9cRqdlWUwu0wM/60VbUp1iWs1s0Ueh+2fZLR1ZGxUwLnApC3LYQCDnXUDxxbPUBGbIvYOGxKl70Hn4u1acmOhBRKWs5D/9u07ZVuufaja399timNfQ5YWpQpavaGyOdagHOSfWS36VFgx8GMA== X-Received: by 10.107.131.83 with SMTP id f80mr14641157iod.50.1424986107328; Thu, 26 Feb 2015 13:28:27 -0800 (PST) References: <3d639901ae85227b219e7ee59b3140fe@mail.gmail.com> <2a8b6b586398939a6cc6e5ad0ed67924@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGwbbdURx2shUG2o7Zj2Ywptu8MnAHNhHseASj3TG8CBU/YnAHY8IsNAja8iU0CV/sRfgD/+/f7AYCyb0kBGV9t5ZzLToyw Date: Thu, 26 Feb 2015 23:28:26 +0200 Message-ID: <172c4fd82ac7b6fba7b1aec1e01b15fc@mail.gmail.com> To: Mike Willbanks Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] A different user perspective on scalar type declarations From: zeev@zend.com (Zeev Suraski) > Yes, the database use case and exterior data has been my main concern over > the type hint proposals. Now, this could also be changed (fixed, etc) on > a > different layer (aka database extensions to deal with native types) but > that is > likely far more to bite off than one would want at this point. It is > relatively > painless to go in and cast all of those types but the amount of code out > there > which people are going to just 'expect' this to work will be fairly large > and > one of those cases that will possibly be cause for migration concerns. Thanks a lot for the input! We'll reconsider accepting "1"/"0" as valid Booleans as the original proposal did. Zeev