anonymous arrays

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prakashspatil
    New Member
    • Oct 2006
    • 7

    anonymous arrays

    can any body clear the concept of anonymous arrays .
  • GunnarH
    New Member
    • Nov 2006
    • 83

    #2
    Thought about consulting the docs?

    Comment

    • lordspace
      New Member
      • Nov 2006
      • 10

      #3
      one of the differences is using ->

      normal array
      $arr[0] = 1;

      annonymous array
      $anon_arr->[0];

      also you can pass annonymous array as it was a scalar and then dereference it when needed.
      Last edited by lordspace; Dec 27 '06, 11:38 AM. Reason: adding 1 paragraph

      Comment

      Working...