mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Switch to new ZPP
This commit is contained in:
parent
dd3bfb3704
commit
4b59071844
@ -910,9 +910,9 @@ ZEND_FUNCTION(opcache_is_script_cached)
|
||||
{
|
||||
zend_string *script_name;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &script_name) == FAILURE) {
|
||||
RETURN_THROWS();
|
||||
}
|
||||
ZEND_PARSE_PARAMETERS_START(1, 1)
|
||||
Z_PARAM_STR(script_name)
|
||||
ZEND_PARSE_PARAMETERS_END();
|
||||
|
||||
if (!validate_api_restriction()) {
|
||||
RETURN_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user