thrownewInvalidArgumentException(sprintf('Invalid "%s" name: only "word" characters are allowed.',$name));
}
if($this->has($name)){
$defaultValue=parent::get($name);
if(null!==$defaultValue&&!is_scalar($defaultValue)){// !is_string in 5.0
//throw new RuntimeException(sprintf('The default value of an env() parameter must be a string or null, but "%s" given to "%s".', \gettype($defaultValue), $name));
thrownewRuntimeException(sprintf('The default value of an env() parameter must be scalar or null, but "%s" given to "%s".',\gettype($defaultValue),$name));
@trigger_error(sprintf('A non-string default value of an env() parameter is deprecated since 4.3, cast "%s" to string instead.',$name),\E_USER_DEPRECATED);
@trigger_error(sprintf('A non-string default value of env parameter "%s" is deprecated since 4.3, cast it to string instead.',$env),\E_USER_DEPRECATED);
}
$this->parameters[$name]=(string)$default;
}elseif(null!==$default&&!is_scalar($default)){// !is_string in 5.0
//throw new RuntimeException(sprintf('The default value of env parameter "%s" must be a string or null, "%s" given.', $env, \gettype($default)));
thrownewRuntimeException(sprintf('The default value of env parameter "%s" must be scalar or null, "%s" given.',$env,\gettype($default)));
@trigger_error(sprintf('A non-string default value of env parameter "%s" is deprecated since 4.3, cast it to string instead.',$env),\E_USER_DEPRECATED);