Am 07.04.2012 15:43, schrieb Stuart Dallas:
> On 7 Apr 2012, at 14:39, Tom Boutell wrote:
>
>> From the viewpoint of someone writing reusable classes, the need to
>> start with <?php and reprimand anybody who accidentally puts a newline
>> above it is a silly annoyance they don't experience with other tools.
>>
>> That said, you are making valid points, I'm not convinced myself that
>> "file extensions" necessarily should or could be determined in every
>> context. But it seems the most viable way of addressing the issue - if
>> a viable way even exists. Partly I want to convince myself that this
>> either can or can't ever be improved, and move on either way (:
>
> If accidental newlines above the <?php are your only issue surely it makes more sense to
> have PHP ignore any whitespace before an initial <?php in the file, just like it ignores a
> carriage return after ?>.
the main question is why making them and where should php start
and where better stop to hold users hands?
what is the next? making ; optional and change the interpreter
to a gambling-machine because someone comes out whining it does
not work if he makes syntax errors?
April 1st is over so please stop this useless discussion
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc