Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18438, comment 8


Ignore:
Timestamp:
02/12/2012 05:04:04 AM (13 years ago)
Author:
nprasath002
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18438, comment 8

    initial v1  
    99We use $object->key to get the value from the object.
    1010To use $object['key'] you must cast the object to an array.
    11 Of course we can use $object-key through out.
     11Of course we can use $object->key through out.
    1212But all of the other functions are coded in $object['key'] style.
    1313For consistency i casted it to an array.