Lines Matching refs:PHAR_G

54 		old = PHAR_G(readonly_orig);
56 old = PHAR_G(require_hash_orig);
75 PHAR_G(readonly_orig) = ini;
77 PHAR_G(require_hash_orig) = ini;
84 PHAR_G(readonly) = ini;
89 PHAR_G(require_hash) = ini;
122 PHAR_G(has_bz2) = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
123 PHAR_G(has_zlib) = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
149 zend_hash_destroy(&(PHAR_G(phar_fname_map)));
151 zend_hash_destroy(&(PHAR_G(phar_alias_map)));
187 PHAR_G(cache_list) = new_value;
285 PHAR_G(last_phar) = NULL;
286 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
496 pefree(signature, PHAR_G(persist));\
565 if (PHAR_G(readonly) && FAILURE == zend_hash_find(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1, (void **)&stub)) {
626 if (PHAR_G(persist)) {
955 } else if (PHAR_G(require_hash)) {
1019 mydata = pecalloc(1, sizeof(phar_archive_data), PHAR_G(persist));
1020 mydata->is_persistent = PHAR_G(persist);
1129 if (!PHAR_G(has_zlib)) {
1142 if (!PHAR_G(has_bz2)) {
1282 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1290 if (!PHAR_G(readonly) || (*test)->is_data) {
1345 if ((*pphar)->is_data || !PHAR_G(readonly)) {
1365 if (PHAR_G(readonly) && !is_data) {
1606 if (!PHAR_G(has_zlib)) {
1663 if (!PHAR_G(has_bz2)) {
1750 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_phars, realpath, strlen(realpath))) {
1919 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_alias, (char *) filename, pos - filename)) {
1926 if (zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)) || PHAR_G(manifest_cached)) {
1950 if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_find(&cached_phars, (char *) filename, filename_len, (void **)&pphar)) {
1989 if (PHAR_G(manifest_cached)) {
2150 if (PHAR_G(cwd_len) && use_cwd && path_length > 2 && path[0] == '.' && path[1] == '/') {
2151 newpath_len = PHAR_G(cwd_len);
2153 memcpy(newpath, PHAR_G(cwd), newpath_len);
2615 if (PHAR_G(readonly)) {
3508 if (PHAR_G(manifest_cached)) {
3521 PHAR_G(last_phar) = NULL;
3522 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
3523 PHAR_G(has_bz2) = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
3524 PHAR_G(has_zlib) = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
3532 if (PHAR_G(manifest_cached)) {
3546 PHAR_G(cwd) = NULL;
3547 PHAR_G(cwd_len) = 0;
3548 PHAR_G(cwd_init) = 0;
3586 if (PHAR_G(cwd)) {
3587 efree(PHAR_G(cwd));
3590 PHAR_G(cwd) = NULL;
3591 PHAR_G(cwd_len) = 0;
3592 PHAR_G(cwd_init) = 0;
3612 if (PHAR_G(has_zlib)) {
3618 if (PHAR_G(has_bz2)) {