Hi!

> And then when the next people who want to build an alternative engine
> come along, they will include this constant, to make their engine as
> 'compatible' as possible with the current PHP engine.

Yes, same things that happened to user-agent string in browsers may
start happening here. But I still think that doesn't invalidate idea of
having user-agent identification. So we just need to make it very clear
what we expect from people that set this string *and* from people that
use this string (e.g. using "if(PHP_ENGINE !== 'php') die()" is
discouraged since then everybody would set their PHP_ENGINE to php just
so that software would work) - then we can hope it won't be abused too
much...

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to