Home : Products : Gossamer Links : PHP Front End :

Products: Gossamer Links: PHP Front End: Conver this perl to php?: Edit Log

Here is the list of edits for this post
Conver this perl to php?

Can anyone tell me how to conver this perl into php code?

foreach (keys %$ATTRIBS) {
$self->{$_} = ref $ATTRIBS->{$_} eq 'HASH'
? {%{$ATTRIBS->{$_}}}
: $ATTRIBS->{$_};

The $ATTRIBS hash above would be an array in php, which could also contain other arrays as the values.

getting slightly confused with myself...

Last edited by:

ryel01: Nov 8, 2005, 6:16 PM

Edit Log: