|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-26 08:04 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Feb 08 18:00:01 2026 UTC |
Description: ------------ Hi, I do need dynimically access object parameters from xml parser.But donot have any ideas onhow to dynamically access object parameters.How to implement magic code on it. Here is my static code: foreach ($x->data->DIPENDRA20090320[0]->ENTRY as $valuei) { echo ?ID: ?.$valuei->_text->ID; echo ?Name: ?.$valuei->_text->NAME; echo ?Address: ?$car->_text->ADDRESS; } Let me know whenever you will get this message.I would really appreciate your help. Regards, Padma Reproduce code: --------------- --- From manual page: language.oop5.magic ---