Replacement of PHP_API