<? Deprecation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • uidzer0

    <? Deprecation

    Hey Everyone,

    I've heard that '<?' opening tags rather than <?php are now, or soon
    will be deprecated. Can anyone confirm this?

    thanks!

    Ben

  • adlerweb

    #2
    Re: &lt;? Deprecation

    Well. Current releases have still set short_open_tag in php.ini to 1. I
    dont know if this may change in later releases, but this form can cause
    conflicts with XML-Elements and as i already said: it can be disabled in
    the php.ini.

    Florian

    uidzer0 wrote:
    Hey Everyone,
    >
    I've heard that '<?' opening tags rather than <?php are now, or soon
    will be deprecated. Can anyone confirm this?
    >
    thanks!
    >
    Ben
    >

    Comment

    • Andy Hassall

      #3
      Re: &lt;? Deprecation

      On 10 Oct 2006 07:16:54 -0700, "uidzer0" <ben.lemasurier @gmail.comwrote :
      >I've heard that '<?' opening tags rather than <?php are now, or soon
      >will be deprecated. Can anyone confirm this?
      They're not deprecated at the moment and I couldn't find anything saying they
      would be from a quick search; the few relevant hits that came up from PHP
      development mailing lists implied it's not going to be.

      However, using short_open_tags is not recommended and hasn't been for some
      time - but that's not the same as being deprecated.

      --
      Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
      http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

      Comment

      • Kimmo Laine

        #4
        Re: &lt;? Deprecation

        "adlerweb" <adlerweb@arcor .dewrote in message
        news:452bae64$0 $13087$9b4e6d93 @newsspool2.arc or-online.net...
        Well. Current releases have still set short_open_tag in php.ini to 1. I
        dont know if this may change in later releases, but this form can cause
        conflicts with XML-Elements and as i already said: it can be disabled in
        the php.ini.

        I heard they recently added wisdom to php so that even if short open tags
        are enabled, they will not be confused with <?xml ?>, but that's only since
        php 5.?.? version.

        --
        "Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
        http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
        spam@outolempi. net | rot13(xvzzb@bhg byrzcv.arg)


        Comment

        • ZabMilenko

          #5
          Re: &lt;? Deprecation


          They WANT to deprecate them, but they won't.

          PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.





          uidzer0 wrote:
          Hey Everyone,
          >
          I've heard that '<?' opening tags rather than <?php are now, or soon
          will be deprecated. Can anyone confirm this?
          >
          thanks!
          >
          Ben
          >

          Comment

          Working...