Re: [PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Curt Zirzow
Doug La Farge <[EMAIL PROTECTED]> wrote: > [...] > After that, how would this convert: > > $quote{class_name} = $text; > quote is a hash where class_name is the key. Php treats arrays and hashes the same, infact there really isn't any difference with them. so the syntax is always the same for ha

[PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Doug La Farge
First let me thank Tyler Lane for pointing out my XML issue. I'm an idiot (= vs. ==) was holding me up. D'uh! Now allow me to ask a Perl to PHP conversion question or three. As any Perl and PHP programmer is aware PHP does not have the cool reference thing going that Perl does (yeah, I hear th