original_string: static function pathGet($values, $path, $default = NULL) {
          foreach ($path as $key) {
              if (!is_array($values) || !isset($values[$key])) {
                  return $default;
              }
              $values = $values[$key];
          }
          return $values;
      }
code: static function pathGet($values, $path, $default = NULL) {
          foreach ($path as $key) {
              if (!is_array($values) || !isset($values[$key])) {
                  return $default;
              }
              $values = $values[$key];
          }
          return $values;
      }
code_tokens: static function pathGet ( $ values , $ path , $ default = NULL ) { foreach ( $ path as $ key ) { if ( ! is_array ( $ values ) || ! isset ( $ values [ $ key ] ) ) { return $ default ; } $ values = $ values [ $ key ] ; } return $ values ; }
docstring: Get a single value from an array-tree.
  
  @param   array     $values   Ex: ['foo' => ['bar' => 123]].
  @param   array     $path     Ex: ['foo', 'bar'].
  @param   mixed     $default
  @return  mixed               Ex 123.
  
  @access  public
  @static
docstring_tokens: Get a single value from an array - tree .