symfony/symfony — comment on commit 6d324a6ba023fbf9c6f7605dffd277ae55d6719b
File:  line 0
By drak:

The problem with this way of doing things is that if you call enablePhpParsing() once, then Yaml::parse() will parse PHP for any subsequent calls. Why not change the `parse() signature`

static public function parse($input, $parsePhp = false)

And remove the static entirely.