Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

02- object 添加到array

Language: Layout:
+ ] Show input
Absolute running time: 0.51 sec, cpu time: 0.37 sec, memory peak: 8 Mb, absolute service time: 0,52 sec 
edit mode |  history
Array
(
    [0] => stdClass Object
        (
            [key1] => fooValue
            [key2] => fooValue2
            [key3] => fooValue3
        )

    [1] => stdClass Object
        (
            [key1] => fooValue
            [key2] => fooValue2
            [key3] => fooValue3
        )

)
stdClass Object
(
    [key1] => fooValue
    [key2] => fooValue2
    [key3] => fooValue3
)
fooValuekey1: fooValue
key2: fooValue2
key3: fooValue3