Print Curl array

1

I make a curl in php in a url and it returns me:

array(2) { ["tip"]=> int(1) ["msg"]=> string(3) "826" }

I just want to get the number 826 and work with it in php.

Can anyone help me?

    
asked by anonymous 23.05.2016 / 15:26

1 answer

5

In this case, you will:

echo $array_retornado['msg']; // 826
    
23.05.2016 / 15:31