How to access a member of an stdClass in PHP that starts with an @

前端 未结 4 496
不知归路
不知归路 2021-01-04 09:10

I have some json object that I decoded, and one of the attributes starts with an \"@\" and I can\'t access the element with php because it throws an error.

          


        
4条回答
提交回复
热议问题