php array and java sript array

Discussion in 'PHP' started by khalidfarooq, Apr 5, 2010.

  1. #1
    what is the difference between php array and java sript
     
    khalidfarooq, Apr 5, 2010 IP
  2. angelomaniac

    angelomaniac Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    javascript array can only contain numeric keys, while php array can be associative (use string as key).
     
    angelomaniac, Apr 5, 2010 IP