Req #66527 [Opn->Nab]: For array of objects variables

From: Date: Tue, 21 Jan 2014 07:55:03 +0000
Subject: Req #66527 [Opn->Nab]: For array of objects variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183927@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66527&edit=1 ID: 66527 Updated by: rasmus@php.net Reported by: aroramanish63 at gmail dot com Summary: For array of objects variables -Status: Open +Status: Not a bug Type: Feature/Change Request Package: Performance problem Operating System: windows 7 PHP Version: 5.4.24 -Block user comment: No +Block user comment: Yes Private report: N New Comment: This is not a support forum, this is a bug tracking system. Previous Comments: ------------------------------------------------------------------------ [2014-01-21 07:38:38] aroramanish63 at gmail dot com Description: ------------ I have some code which is used to get objects properties in json using json_decode. In the objects properties some properties are private or protected. when i print array using var_dump then its not showing the protected data objects properties. So my question is that, How to create objects array which is use to include the protected and private properties. Thanks in advance. Test script: --------------- I have some code which is used to get objects properties in json using json_decode. In the objects properties some properties are private or protected. when i print array using var_dump then its not showing the protected data objects properties. So my question is that, How to create objects array which is use to include the protected and private properties. Thanks in advance. Expected result: ---------------- I have some code which is used to get objects properties in json using json_decode. In the objects properties some properties are private or protected. when i print array using var_dump then its not showing the protected data objects properties. So my question is that, How to create objects array which is use to include the protected and private properties. Thanks in advance. Actual result: -------------- I have some code which is used to get objects properties in json using json_decode. In the objects properties some properties are private or protected. when i print array using var_dump then its not showing the protected data objects properties. So my question is that, How to create objects array which is use to include the protected and private properties. Thanks in advance. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66527&edit=1

« previous php.bugs (#183927) next »