original_string: private function characterdata($parser, $data) {
          $current = &$this->current;
          $level = &$this->level;
          if (($data == "0") || (!empty($data) && trim($data) != "")) {
              $siz = count($current[$level]);
              if ($siz == 0) {
                  $current[$level][0] = $data;
              } else {
                  $key = max(array_keys($current[$level]));
                  if (is_int($key)) {
                      end($current[$level]);
                      if (is_int(key($current[$level]))) { // If last index is nummeric we have CDATA and concat.
                          $current[$level][$key] = $current[$level][$key] . $data;
                      } else {
                          $current[$level][$key + 1] = $data; // Otherwise we make a new key.
                      }
                  } else {
                      $current[$level][0] = $data;
                  }
              }
          }
      }
code: private function characterdata($parser, $data) {
          $current = &$this->current;
          $level = &$this->level;
          if (($data == "0") || (!empty($data) && trim($data) != "")) {
              $siz = count($current[$level]);
              if ($siz == 0) {
                  $current[$level][0] = $data;
              } else {
                  $key = max(array_keys($current[$level]));
                  if (is_int($key)) {
                      end($current[$level]);
                      if (is_int(key($current[$level]))) { // If last index is nummeric we have CDATA and concat.
                          $current[$level][$key] = $current[$level][$key] . $data;
                      } else {
                          $current[$level][$key + 1] = $data; // Otherwise we make a new key.
                      }
                  } else {
                      $current[$level][0] = $data;
                  }
              }
          }
      }
code_tokens: private function characterdata ( $ parser , $ data ) { $ current = & $ this -> current ; $ level = & $ this -> level ; if ( ( $ data == "0" ) || ( ! empty ( $ data ) && trim ( $ data ) != "" ) ) { $ siz = count ( $ current [ $ level ] ) ; if ( $ siz == 0 ) { $ current [ $ level ] [ 0 ] = $ data ; } else { $ key = max ( array_keys ( $ current [ $ level ] ) ) ; if ( is_int ( $ key ) ) { end ( $ current [ $ level ] ) ; if ( is_int ( key ( $ current [ $ level ] ) ) ) { // If last index is nummeric we have CDATA and concat. $ current [ $ level ] [ $ key ] = $ current [ $ level ] [ $ key ] . $ data ; } else { $ current [ $ level ] [ $ key + 1 ] = $ data ; // Otherwise we make a new key. } } else { $ current [ $ level ] [ 0 ] = $ data ; } } } }
docstring: Is called for text between the start and the end of tags.
  
  Note: Used by xml element handler as callback.
  
  @author Kilian Singer
  @param resource $parser The XML parser resource.
  @param string $data The XML source to parse.
docstring_tokens: Is called for text between the start and the end of tags .