adds a convenience method isPhpRuntime()