Re: Catch line indetation

From: Date: Sat, 29 Oct 2016 05:49:32 +0000
Subject: Re: Catch line indetation
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-325791@lists.php.net to get a copy of this message
On Fri, Oct 28, 2016 at 10:40 PM, David Harkness <david.h@highgearmedia.com> wrote: > if ($input && ($input = (str) $input)) { ... > Luckily, PHP's automatic string conversion -- (bool) "0" === false -- does not ignore leading spaces. (bool) " 0" === true. Phew! Ciao! David

« previous php.general (#325791) next »