Posted by Duende on 12/31/42 11:31
On 07 Nov 2005 Toby Inkster wrote in alt.html
> brucie wrote:
>
>> AFAIK php is insensitive to white space/hard returns
>
> Obviously there are some places where it's important. e.g.
>
> print "Foo";
>
> will work.
>
> print"Foo";
>
> will not.
>
> But overall, PHP is fairly flexible about white space: it certainly
> doesn't need any after a statement terminator (semi-colon). More
> generally, it doesn't usually need white space after a "punctuation
mark".
> e.g.
>
> if(1==1){$v=4;$p=9;}else{$v=3;$p=10;}print($v+$p)."\n";
>
Thank ye kind sir.
--
D?
[Back to original message]
|