News for hackers. Stuff that matters.
Re:PHP 8: Before and After by thinkindie on Friday October 23, 2020 @04:53AM (#24867303)
Symfony supports YAML files too since... almost forever.
Re:PHP 8: Before and After by malinens on Friday October 23, 2020 @02:55PM (#24872629)
actually in future versions symfony will move mostly to php based configs instead of yamk, xml. at least parts of internal configs which were xml now are rewritten to php
Re:PHP 8: Before and After by gregoriol on Friday October 23, 2020 @05:37AM (#24867574)
Which is a sad choice on it's own
Re:PHP 8: Before and After by welly on Friday October 23, 2020 @05:39AM (#24867588)
Is it? Why is that?
Re:PHP 8: Before and After by gregoriol on Friday October 23, 2020 @06:03AM (#24867742)
First because you don't really have completion or templating over its content: you mostly do copy/pasting or guessing what you have to put in there.

Second because they are using all kind of tricks to add variables into it (ENV, ...): the configuration is often dynamic by nature or by re-use.

Third because it's only strings, which is prone to mistakes: they are having a huge lot of code to check those configurations.