Hi Greg.
The intention is to avoid problems with files ending with "?>".
So instead of closing the php tag just enter a new line.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To post to this group, send email to php...@googlegroups.com.
To unsubscribe from this group, send email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/cfxJvzTw3qkJ.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Greg.
The intention is to avoid problems with files ending with "?>".
So instead of closing the php tag just enter a new line.
Em 05/08/2012 22:20, "Greg Sherwood" <gshe...@gmail.com> escreveu:
Hi all,I'd like to know what this part of the standards requires: "All PHP files MUST end with a single blank line."It seems that there is some confusion as to what a "blank line" actually is, probably not helped by the fact they are represented differently by different text editors.Does this mean:that the end of the file must contain a single newline character (i.e., stop the "no newline at end of file" messages in vi); orthat the end of the file must contain 2 newlines characters (providing a visual blank line in all text editors, and 2 in some like ST2)The standard is not very clear here, so I can't figure out the intention of it. I'm really looking for some voting members to help me out here please, or maybe some pointers to where this might have been discussed.Thanks--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To post to this group, send email to php...@googlegroups.com.
To unsubscribe from this group, send email to php-fig+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/ZYG3QpJQrF0J.To unsubscribe from this group, send email to php-fig+u...@googlegroups.com.
> Is this something that needs to be discussed between voting members (maybe a minor change to the standard even?) or should I just go ahead and code in the check this way?
Seeing as your code stands outside the voting process, you are free to do as you wish. I say go ahead and code it, and we can submit a vote for amendment if necessary.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To post to this group, send email to php...@googlegroups.com.
To unsubscribe from this group, send email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/QegOySRba-QJ.