Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dphar_object.c624 zval *z_script_name, *z_path_info; in PHP_METHOD() local
626 …if (NULL == (z_script_name = zend_hash_str_find(_server, "SCRIPT_NAME", sizeof("SCRIPT_NAME")-1)) … in PHP_METHOD()
627 IS_STRING != Z_TYPE_P(z_script_name) || in PHP_METHOD()
628 !strstr(Z_STRVAL_P(z_script_name), basename)) { in PHP_METHOD()
636 path_info = emalloc(Z_STRLEN_P(z_script_name) + entry_len + 1); in PHP_METHOD()
637 memcpy(path_info, Z_STRVAL_P(z_script_name), Z_STRLEN_P(z_script_name)); in PHP_METHOD()
638 memcpy(path_info + Z_STRLEN_P(z_script_name), entry, entry_len + 1); in PHP_METHOD()
643 path_info = Z_STRVAL_P(z_script_name); in PHP_METHOD()
646 pt = estrndup(Z_STRVAL_P(z_script_name), Z_STRLEN_P(z_script_name)); in PHP_METHOD()

Completed in 12 milliseconds