Re: [PHP] <?=$var?> on OS X



On 27/11/06, Chris <dmagick@xxxxxxxxx> wrote:
Dotan Cohen wrote:
> On 27/11/06, Brian Dunning <brian@xxxxxxxxxxxxxxxx> wrote:
>> I've got a new OS X box and for some reason <?=$var?> doesn't work
>> like it does on all my other OS X boxes - anyone know a quick reason
>> why not?
>>
>
> Exactly for that reason I don't recommend that you use it. Just use
> <?php print $var; ?> as it's portable and doesn't add that much
> typing- certainly not enough to justify the headache.

Good suggestion but it doesn't help if it's not his software that he
needs to get running ;)

Actually, it does. He can global replace "<?=" with "<?php print" and
be done with it. Then he could let the author of this non-portable
software know that his 'shortcut' makes using the software difficult.

Especially if it's not his own code (ie, code meant to be used by
others) it should not depend upon short tags.

Dotan Cohen

http://dotancohen.com/
http://what-is-what.com/what_is/website.html
.



Relevant Pages

  • Re: ATWT - CASTING NEWS
    ... all recurring meant was that if the show wanted you and you were ... I think that in DB's case, they never intended on keeping Chris ... whatever reason it's simply not worth it to you. ... but the writing didn't help. ...
    (rec.arts.tv.soaps.cbs)
  • Re: limiting table access and RWOP queries
    ... thanks again Chris, ... > Removing Database Window, AllowBypassKeys, Default Menus, are fundamental ... As important as User-Level Security, ... > (One reason for security is solely economic. ...
    (microsoft.public.access.security)
  • Re: Cross your fingers, cross your toes ...
    ... how did the job interview go? ... But the reason they didn't want me was ... I didn't see the original London Chris posting his pictures (but maybe I ...
    (soc.motss)
  • Re: Cross your fingers, cross your toes ...
    ... how did the job interview go? ... But the reason they didn't want me was ... To summarise: Chris H ... Chris "Nice pictures" Hansen ...
    (soc.motss)
  • Re: I need your input (non-HTML post)
    ... >visual atrocity. ... >There's rarely a good reason to move>away from a simple background ... First, I removed the image BG and replaced it with a few solid colors, ... Chris Zacho ~ "Your Friendly Neighborhood Wheelman" ...
    (rec.bicycles.misc)