FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Variable expansion <?=$foo?> not working anymore
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Variable expansion <?=$foo?> not working anymore [message #170661 is a reply to message #170655] Sun, 14 November 2010 09:32 Go to previous messageGo to previous message
Johannes Bauer is currently offline  Johannes Bauer
Messages: 2
Registered: November 2010
Karma:
Junior Member
Am 13.11.2010 23:58, schrieb Gregor Kofler:

>> Since I do not know what that type of expansion is called and searches
>> for "php <?=$" were not really successful, I'd like to know: Is this
>> deprecated? If not, how do I reenable it?
>
> The setting short_open_tag is disabled [1].

It is indeed, thank you very much. Previously it was always enabled -
now it seems that with Gentoo it's disabled by default.

> Either enable it in your php.ini or - much better - switch to proper
> notation (in your case replace the <?= ... ?> with <?php echo ... ?>).

Hm - is the <?= variant deprecated? What's the problem with it?

Kind regards,
Johannes

--
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
> Zumindest nicht öffentlich!
Ah, der neueste und bis heute genialste Streich unsere großen
Kosmologen: Die Geheim-Vorhersage.
- Karl Kaos über Rüdiger Thomas in dsa <hidbv3$om2$1(at)speranza(dot)aioe(dot)org>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: where else can this list be found?
Next Topic: newbie question: Is config.php necessary?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:56:01 GMT 2024

Total time taken to generate the page: 0.04267 seconds