Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79057 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43228 invoked from network); 21 Nov 2014 01:48:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2014 01:48:51 -0000 Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.51 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.192.51 mail-qg0-f51.google.com Received: from [209.85.192.51] ([209.85.192.51:39790] helo=mail-qg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/71-32541-20A9E645 for ; Thu, 20 Nov 2014 20:48:50 -0500 Received: by mail-qg0-f51.google.com with SMTP id l89so2975373qgf.38 for ; Thu, 20 Nov 2014 17:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=6TP2hL3whj2RHgb+EK0SJPrbxo1b+YE3Q1xsvLkcA+U=; b=iqzvv93SMTFjdtNfujIAhoXf8w5Q+EyiQB5tplvD6Uunpdde8yFYrWoKWzEDIOAmHX Hs10acAMKx9/f3b2brxQMO9In5dRHMOJyRHRrkdpHJ79vTmxc59vSBjFOAZE4F8UhGxR 5zvF1wXKCKzBAXkz271xyKp6vIAQTTaiQ7Ox/TBKusU/iS5ZtE/10gOeaKjoptNRpVD2 4KhvPuaUoWbvOx2aTd+91mVfgheTnr+oQvky1LB1jTtczGs1/oFPBffYwvuoAe4uuYqT BvxsRuvgNlqYjiUcNPgM8TwsvOzO7ZMPI2B0fSbumH3RB+B11mN541jxPXIGjzdyU5TI qozg== X-Received: by 10.224.22.197 with SMTP id o5mr2556260qab.56.1416534527919; Thu, 20 Nov 2014 17:48:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.37.112 with HTTP; Thu, 20 Nov 2014 17:48:27 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: <3A69F0F5-C5FE-415D-A894-193D9F146854@gmail.com> References: <3A69F0F5-C5FE-415D-A894-193D9F146854@gmail.com> Date: Thu, 20 Nov 2014 22:48:27 -0300 Message-ID: To: David Muir Cc: Adam Harvey , Levi Morrison , Andrea Faulds , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE][RFC] Safe Casting Functions From: marcio.web2@gmail.com (Marcio Almada) > Not a voter, but I don't really see the usefulness of this in core either. True. This could be on packagist or a php ext, but should not be in core. Main problem is that it carries too much ambiguity between validation and coercion while doesn't solve the real problem: strict typing.