RE: php and javascript error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, March 11, 2007 9:21 am, tedd wrote:
> At 5:28 PM +0100 3/7/07, afan@xxxxxxxx wrote:
>>  > PS: If you want your code to validate, change the & to &  Add
>> the
>>>  closing </a> tag too.
>>>  PPS: It's advisable not to use the short tags, use <?php instead
>>> of <?
>>in such a cases I usually use <?= $var ?> instead <?php echo $var ?>.
>> At
>>least it's shorter. :)
>>
>>-afan
>
> But, while it's shorter, it's still NOT advisable to use the shorter
> tags.

I believe short tags is/was/maybe slated for removal completely in PHP
6...

That may have been shot down.

Or maybe <?= is kept, while the generic <? is going away...

I kinda LIKE <?= personally, but not enough to risk using it if I'll
have to rewrite a zillion lines of code in a few years.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux