Home
last modified time | relevance | path

Searched refs:z_script_name (Results 1 – 1 of 1) sorted by relevance

/PHP-8.3/ext/phar/
H A Dphar_object.c616 zval *z_script_name, *z_path_info; in PHP_METHOD() local
618 …if (NULL == (z_script_name = zend_hash_str_find(_server, "SCRIPT_NAME", sizeof("SCRIPT_NAME")-1)) … in PHP_METHOD()
619 IS_STRING != Z_TYPE_P(z_script_name) || in PHP_METHOD()
620 !strstr(Z_STRVAL_P(z_script_name), basename)) { in PHP_METHOD()
628 path_info = emalloc(Z_STRLEN_P(z_script_name) + entry_len + 1); in PHP_METHOD()
629 memcpy(path_info, Z_STRVAL_P(z_script_name), Z_STRLEN_P(z_script_name)); in PHP_METHOD()
630 memcpy(path_info + Z_STRLEN_P(z_script_name), entry, entry_len + 1); in PHP_METHOD()
635 path_info = Z_STRVAL_P(z_script_name); in PHP_METHOD()
638 pt = estrndup(Z_STRVAL_P(z_script_name), Z_STRLEN_P(z_script_name)); in PHP_METHOD()

Completed in 18 milliseconds