anuj607 / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Patch for /trunk/examples/analytics/simple.php #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
important finish php comand

Original issue reported on code.google.com by otin...@digiocio.es on 30 May 2012 at 3:01

Attachments:

GoogleCodeExporter commented 9 years ago
It's general practice to not put a closing ?> tag at the end of a PHP file. 
Adding the tag can lead to blank lines, white space, or other characters being 
outputted if they are accidentally added after the closing ?> tag, but if the 
tag is not present they generate a syntax error instead. Omitting the closing 
?> tag leads to cleaner code.

Original comment by markr...@markrose.ca on 26 Jun 2012 at 5:19

GoogleCodeExporter commented 9 years ago
Agreed, closing tag not needed.

Original comment by ianbar...@google.com on 22 Mar 2013 at 2:13