Skip to content

Commit 4b59071

Browse files
committed
Switch to new ZPP
1 parent dd3bfb3 commit 4b59071

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/opcache/zend_accelerator_module.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ ZEND_FUNCTION(opcache_is_script_cached)
910910
{
911911
zend_string *script_name;
912912

913-
if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &script_name) == FAILURE) {
914-
RETURN_THROWS();
915-
}
913+
ZEND_PARSE_PARAMETERS_START(1, 1)
914+
Z_PARAM_STR(script_name)
915+
ZEND_PARSE_PARAMETERS_END();
916916

917917
if (!validate_api_restriction()) {
918918
RETURN_FALSE;

0 commit comments

Comments
 (0)