未显示php数组的一部分

问题描述 投票:-2回答:1

我正在连接到第三方站点。我正在获取请求。我得到了一个数据数组。浏览器模式下的阵列检查->网络正常显示。

[objects] => Array
        (
            [0] => stdClass Object
                (
                    [active_number] => 115 906
                    [description] => Shok
                    [elitsupplier] => stdClass Object
                        (
                            [id] => 170
                            [name] => SACHS
                        )

                    [erp_id] => 150100
                    [full_availability] => Array
                        (
                        )

                    [id] => 54961
                    [internal_number] => 115 906
                    [main_image] => stdClass Object
                        (
                            [document_format] => JPG
                            [product_id] => 54961
                            [uri] => https:................jpg

                        )

                    [old_part_product] => 
                    [parts] => 
                    [preferedsupplier] => stdClass Object
                        (
                        )

                    [price] => 2 033,11.
                    [priority] => 2
                    [special_offers] => Array
                        (
                        )

                    [time_availability] => Array
                        (
                        )

                    [units] => 
                )

无法在数组下获取数据-[time_availability] =>数组(?????

php arrays function class php-7
1个回答
0
投票

没有错误显示。以及处于检查器模式的浏览器如何显示数组的内容?enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.