RES: [PHP] '<?=' with PHP5.3.10
| From: | Alejandro Michelin Salomon | Date: | Mon, 05 Mar 2012 12:49:27 +0000 |
| Subject: | RES: [PHP] '<?=' with PHP5.3.10 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316880@lists.php.net to get a copy of this message | ||
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.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php