How to Grab stdClass Object Result

时间:2016-04-15 14:46:32

标签: php

can i ask ? . I have class cURL POST into a website ( API Integration ) , and if i post with class. The result is (i use print_r) :

stdClass Object
(
 [order] => 200029
)
1

How to grab [order] value?

1 个答案:

答案 0 :(得分:0)

You can use:

$yourVar->order;