note 82476 added to function.xml-parse-into-struct

From: Date: Sat, 12 Apr 2008 15:36:10 +0000
Subject: note 82476 added to function.xml-parse-into-struct
Groups: php.notes 
Request: Send a blank email to php-notes+get-138236@lists.php.net to get a copy of this message
To beaudurrant - that class is great and structures things in a very sensible way. Only problem is that it raises an error if a tag is empty, so would suggest a simple mod to the parse method just to add an isset test. if (isset($val['value'])) { $this->setArrayValue($this->output, $stack, $val['value']); } ---- Server IP: 92.48.74.199 Probable Submitter: 82.0.79.217 ---- Manual Page -- http://www.php.net/manual/en/function.xml-parse-into-struct.php Edit -- https://master.php.net/note/edit/82476 Del: integrated -- https://master.php.net/note/delete/82476/integrated Del: useless -- https://master.php.net/note/delete/82476/useless Del: bad code -- https://master.php.net/note/delete/82476/bad+code Del: spam -- https://master.php.net/note/delete/82476/spam Del: non-english -- https://master.php.net/note/delete/82476/non-english Del: in docs -- https://master.php.net/note/delete/82476/in+docs Del: other reasons-- https://master.php.net/note/delete/82476 Reject -- https://master.php.net/note/reject/82476 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138236) next »