use of var

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

    use of var

    Bizarre question (as always) but I am trying to think of the word describing
    the use var now? It is a word like obsolete or outdated.

    All I want is the actual word.

    Cheers

    Phil



  • Rik

    #2
    Re: use of var

    On Wed, 18 Jul 2007 02:13:51 +0200, Phil Latio
    <phil.latio@f-in-stupid.co.ukwro te:
    Bizarre question (as always) but I am trying to think of the word
    describing
    the use var now? It is a word like obsolete or outdated.
    >
    All I want is the actual word.
    deprecated

    --
    Rik Wasmus

    Comment

    • Phil Latio

      #3
      Re: use of var

      deprecated
      >
      --
      Rik Wasmus
      Thanks. It has been on the tip of my tongue for an hour.

      Cheers

      Phil


      Comment

      • Sanders Kaufman

        #4
        Re: use of var

        Rik wrote:
        On Wed, 18 Jul 2007 02:13:51 +0200, Phil Latio
        >Bizarre question (as always) but I am trying to think of the word
        >describing
        >the use var now? It is a word like obsolete or outdated.
        >>
        >All I want is the actual word.
        >
        deprecated
        Really?!
        I just went through a bunch of classes to make sure I used Var to
        pre-type my variables. I knew it wasn't necessary (except for
        maintainability and such) but I didn't know it was outright deprecated.

        Comment

        • Rik

          #5
          Re: use of var

          On Thu, 19 Jul 2007 00:56:34 +0200, Sanders Kaufman <bucky@kaufman. net>
          wrote:
          Rik wrote:
          >On Wed, 18 Jul 2007 02:13:51 +0200, Phil Latio
          >
          >>Bizarre question (as always) but I am trying to think of the word
          >>describing
          >>the use var now? It is a word like obsolete or outdated.
          >>>
          >>All I want is the actual word.
          > deprecated
          >
          Really?!
          I just went through a bunch of classes to make sure I used Var to
          pre-type my variables. I knew it wasn't necessary (except for
          maintainability and such) but I didn't know it was outright deprecated.
          It is in PHP5, there it's public/protected/private. There is backwards
          campatibility with PHP4 objects to take into account though, so 'var' is
          still processed correctly.
          --
          Rik Wasmus

          Comment

          • Andy Hassall

            #6
            Re: use of var

            On Wed, 18 Jul 2007 22:56:34 GMT, Sanders Kaufman <bucky@kaufman. netwrote:
            >Really?!
            >I just went through a bunch of classes to make sure I used Var to
            >pre-type my variables. I knew it wasn't necessary (except for
            >maintainabilit y and such) but I didn't know it was outright deprecated.
            It's deprecated in favour of "public", "private" or "protected" - you should
            still declare the member variables in the class.

            --
            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

            • Sanders Kaufman

              #7
              Re: use of var

              Rik wrote:
              It is in PHP5, there it's public/protected/private. There is backwards
              campatibility with PHP4 objects to take into account though, so 'var' is
              still processed correctly.
              Oh, OK. I'm still stuck in 4.

              Comment

              Working...