[drupal-devel] [bug] XMLRPC array vs. struct type-checking

jvandyk drupal-devel at drupal.org
Mon Aug 8 18:03:50 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      4.6.2
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  jvandyk
 Updated by:   jvandyk
 Status:       patch (ready to be committed)
 Attachment:   http://drupal.org/files/issues/tripleequals.diff (712 bytes)

In the new xmlrpc libraries, when encoding values a check is made as to
whether the current value is an array or a struct. The test uses the ==
operator but should use the === operator to allow structs with numeric
keys that are strings to be distinguished from arrays, which have
PHP-autogenerated numeric indices.


More information about the drupal-devel mailing list