original_string: private function GetArrayValueOrDefault($array, $key, $default = null) {
          $value = $default;
  
          try {
              $value = $array[$key];
              if (null === $value) {
                  $value = $default;
              }
          }
          catch( Exception $ex) {
              $value = $default;
          }
  
          return $value;
      }
code: private function GetArrayValueOrDefault($array, $key, $default = null) {
          $value = $default;
  
          try {
              $value = $array[$key];
              if (null === $value) {
                  $value = $default;
              }
          }
          catch( Exception $ex) {
              $value = $default;
          }
  
          return $value;
      }
code_tokens: private function GetArrayValueOrDefault ( $ array , $ key , $ default = null ) { $ value = $ default ; try { $ value = $ array [ $ key ] ; if ( null === $ value ) { $ value = $ default ; } } catch ( Exception $ ex ) { $ value = $ default ; } return $ value ; }
docstring: Returns the value of a key in an array, or if not found, returns the
  default provided.
  
  @param $array         The array to return the value from.
  @param $key           The key to lookup.
  @param null $default  The default value to return if the key does not exist.
  @return               The value requested or the default provided.
docstring_tokens: Returns the value of a key in an array or if not found returns the default provided .