Re: /ext/simplexml
| From: | Derick Rethans | Date: | Wed, 21 Jan 2004 22:52:03 +0000 |
| Subject: | Re: /ext/simplexml | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358361@lists.php.net to get a copy of this message | ||
On Wed, 21 Jan 2004, Ken Tossell wrote:
> http://php.kennyt.com/newdocs/?q=ref.simplexml might help :)
One thing I just see:
In the last example on that page there is this code:
if (is_array($xml->movie)) {
$movies =& $xml->movie;
} else {
$movies =& array(&$xml->movie);
}
why are you assigning by reference?
Derick