thrownewParseException((is_numeric($key)?'Numeric':'Non-string').' keys are not supported. Quote your evaluable mapping keys instead.',$this->getRealCurrentLineNb()+1,$this->currentLine);
}
// Convert float keys to strings, to avoid being converted to integers by PHP
thrownewParseException('YAML merge keys used with a scalar value instead of an array.',$this->getRealCurrentLineNb()+1,$this->currentLine,$this->filename);
thrownewParseException('YAML merge keys used with a scalar value instead of an array.',$this->getRealCurrentLineNb()+1,$this->currentLine,$this->filename);
}
if(isset($parsed[0])){
// If the value associated with the merge key is a sequence, then this sequence is expected to contain mapping nodes
// and each of these nodes is merged in turn according to its order in the sequence. Keys in mapping nodes earlier
// in the sequence override keys specified in later mapping nodes.
thrownewParseException(sprintf('The built-in tag "!%s" is not implemented.',$tag),$this->getRealCurrentLineNb()+1,$value,$this->filename);
}
if(Yaml::PARSE_CUSTOM_TAGS&$flags){
return$tag;
}
thrownewParseException(sprintf('Tags support is not enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "%s".',$matches['tag']),$this->getRealCurrentLineNb()+1,$value,$this->filename);