@@ 428-434 (lines=7) @@ | ||
425 | switch($name) |
|
426 | { |
|
427 | // optimize for speed switch cases: most common cases first |
|
428 | case 'VALUE': |
|
429 | /// @todo we could check for 2 VALUE elements inside a MEMBER or PARAM element |
|
430 | $GLOBALS['_xh']['vt']='value'; // indicator: no value found yet |
|
431 | $GLOBALS['_xh']['ac']=''; |
|
432 | $GLOBALS['_xh']['lv']=1; |
|
433 | $GLOBALS['_xh']['php_class']=null; |
|
434 | break; |
|
435 | case 'I4': |
|
436 | case 'INT': |
|
437 | case 'STRING': |
|
@@ 729-736 (lines=8) @@ | ||
726 | $GLOBALS['_xh']['method']=preg_replace('/^[\n\r\t ]+/', '', $GLOBALS['_xh']['ac']); |
|
727 | break; |
|
728 | case 'NIL': |
|
729 | case 'EX:NIL': |
|
730 | if ($GLOBALS['xmlrpc_null_extension']) |
|
731 | { |
|
732 | $GLOBALS['_xh']['vt']='null'; |
|
733 | $GLOBALS['_xh']['value']=null; |
|
734 | $GLOBALS['_xh']['lv']=3; |
|
735 | break; |
|
736 | } |
|
737 | // drop through intentionally if nil extension not enabled |
|
738 | case 'PARAMS': |
|
739 | case 'FAULT': |