> On Feb 3, 2016, at 2:00 PM, Davey Shafik <[email protected]> wrote: > > On Wednesday, February 3, 2016, Sara Golemon <[email protected] > <mailto:[email protected]>> wrote: > > Unfortunately Sara, the types of things you generally have to work around > are minor things, like differences in DOM, or the inability to json_encode > DateTimeImmuteable
It seems like the main thing this RFC would change is that you could easily do “if ($engine !== ‘php’)” - but for almost all the examples I can think of, and yours, what’s actually needed is if "($engine === ‘specific_engine_that_needs_a_workaround’)”, so I don’t see a benefit over using HHVM_VERSION or similar. The one exception I can think of is if someone’s reimplementing phpinfo() or similar. Regards, - Fred
