PHP long open tag

Recommend this page to a friend!

      Google Rank Checker  >  All threads  >  PHP long open tag  >  (Un) Subscribe thread alerts  
Subject:PHP long open tag
Summary:class.googlepr.php missing long open tag
Messages:2
Author:Scott Greenberg
Date:2005-12-03 13:25:29
Update:2005-12-09 23:53:00
 

  1. PHP long open tag   Reply   Report abuse  
Picture of Scott Greenberg Scott Greenberg - 2005-12-03 13:25:29
The file class.googlepr.php uses a php short open tag (<?), line 1.

Using short tags should be avoided when developing applications or libraries that are meant for redistribution, because short tags may not be supported on the target server. For portable, redistributable code, be sure not to use short tags.

Please change line 1 to <?php

  2. Re: PHP long open tag   Reply   Report abuse  
Picture of Emre Odabas Emre Odabas - 2005-12-09 23:53:00 - In reply to message 1 from Scott Greenberg
uhm.. that's just easier when coding to type <??> then <?php?>. but yes you're definitely right, size does matter ;) so corrected now.

 

For more information send a message to info at phpclasses dot org.