I have a script which would need to understand whether it runs under HHVM or the standard Zend engine.
Using zend_version() outputs different version tags - 2.5 for PHP5 and 2.4.99 for HHVM master as of current, and I don't feel safe using this method at all due to potential overlaps.
Using phpversion() just gives me the supported PHP version, again I don't see this as safe due to potential overlaps.
What would be the best way to safely determine exactly which runtime the script is executing on?