Re: '<?=' with PHP5.3.10
| From: | Marc ct | Date: | Mon, 05 Mar 2012 18:33:29 +0000 |
| Subject: | Re: '<?=' with PHP5.3.10 | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316911@lists.php.net to get a copy of this message | ||
2012/3/5 Alejandro Michelin Salomon <amichelins@hotmail.com>:
> Leste Wrote:
>
>>-----Mensagem original-----
>>De: Lester Caine [mailto:lester@lsces.co.uk]
>>Enviada em: segunda-feira, 5 de março de 2012 08:18
>>Para: php-general@lists.php.net
>>Assunto: Re: [PHP] '<?=' with PHP5.3.10
>
>>Ashley Sheridan wrote:
>>> You can set it in php.ini itself, or possibly from .htaccess. failing that,
>>> find/replace on the old short echo tags would do it.
>
>>But I thought that '<?=' was SUPPOSED to have been protected? When did that
>>change ...
>
> Protected only in php 5.4.x, not in 5.3.x
>
> Php 5.3 a prior, the only safe tag is <?php, in 5.4.x safes tags are <?php and <?=.
>
> In my codes, i only use this <?php, 100% safe.
>
> Alejandro M.S.
>
> --
And also as you say that it is based with codeigniter you can use a
feature of the framework for emulate it.
http://codeigniter.com/user_guide/general/alternative_php.html