Re: A different user perspective on scalar type declarations

From: Date: Fri, 27 Feb 2015 23:35:29 +0000
Subject: Re: A different user perspective on scalar type declarations
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-84058@lists.php.net to get a copy of this message
Hi Francois, On Fri, Feb 27, 2015 at 10:12 PM, François Laupretre <francois@php.net> wrote: > > If we allow for trailing blanks, we'll allow the same set of chars that is already allowed for leading blanks. > > I say'blanks' and not 'whitespaces', because here is the list currently allowed as leading blank (with ascii values) : Space (32) , tab (9) , linefeed (10), carriage-return (13), vertical tab (11), and form feed (12). I agree. Emitting E_STRICT and encouraging users to have proper validation/filer is far better. IMHO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#84058) next »