original_string: protected function _arrayToString(array $var)
      {
          foreach ($var as $rowIndex => $row) {
              foreach ($row as $k => $v) {
                  if (is_resource($var[$rowIndex][$k])) {
                      $var[$rowIndex][$k] = stream_get_contents($v);
                  }
              }
          }
  
          $var = json_decode(str_replace(['(', ')'], ['&#40', '&#41'], json_encode($var)), true);
          $var = var_export($var, true);
  
          return str_replace(['array (', ')', '&#40', '&#41'], ['[', ']', '(', ')'], $var);
      }
code: protected function _arrayToString(array $var)
      {
          foreach ($var as $rowIndex => $row) {
              foreach ($row as $k => $v) {
                  if (is_resource($var[$rowIndex][$k])) {
                      $var[$rowIndex][$k] = stream_get_contents($v);
                  }
              }
          }
  
          $var = json_decode(str_replace(['(', ')'], ['&#40', '&#41'], json_encode($var)), true);
          $var = var_export($var, true);
  
          return str_replace(['array (', ')', '&#40', '&#41'], ['[', ']', '(', ')'], $var);
      }
code_tokens: protected function _arrayToString ( array $ var ) { foreach ( $ var as $ rowIndex => $ row ) { foreach ( $ row as $ k => $ v ) { if ( is_resource ( $ var [ $ rowIndex ] [ $ k ] ) ) { $ var [ $ rowIndex ] [ $ k ] = stream_get_contents ( $ v ) ; } } } $ var = json_decode ( str_replace ( [ '(' , ')' ] , [ '&#40' , '&#41' ] , json_encode ( $ var ) ) , true ) ; $ var = var_export ( $ var , true ) ; return str_replace ( [ 'array (' , ')' , '&#40' , '&#41' ] , [ '[' , ']' , '(' , ')' ] , $ var ) ; }
docstring: Converts an array to code-string representation.
  
  @param array $var The array to convert
  @return string
docstring_tokens: Converts an array to code - string representation .