Lines Matching refs:PHAR_G
56 old = PHAR_G(readonly_orig);
58 old = PHAR_G(require_hash_orig);
77 PHAR_G(readonly_orig) = ini;
79 PHAR_G(require_hash_orig) = ini;
86 PHAR_G(readonly) = ini;
91 PHAR_G(require_hash) = ini;
124 PHAR_G(has_bz2) = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
125 PHAR_G(has_zlib) = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
151 zend_hash_destroy(&(PHAR_G(phar_fname_map)));
153 zend_hash_destroy(&(PHAR_G(phar_alias_map)));
189 PHAR_G(cache_list) = new_value;
287 PHAR_G(last_phar) = NULL;
288 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
498 pefree(signature, PHAR_G(persist));\
567 if (PHAR_G(readonly) && FAILURE == zend_hash_find(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1, (void **)&stub)) {
627 if (PHAR_G(persist)) {
956 } else if (PHAR_G(require_hash)) {
1020 mydata = pecalloc(1, sizeof(phar_archive_data), PHAR_G(persist));
1021 mydata->is_persistent = PHAR_G(persist);
1130 if (!PHAR_G(has_zlib)) {
1143 if (!PHAR_G(has_bz2)) {
1283 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1291 if (!PHAR_G(readonly) || (*test)->is_data) {
1346 if ((*pphar)->is_data || !PHAR_G(readonly)) {
1366 if (PHAR_G(readonly) && !is_data) {
1607 if (!PHAR_G(has_zlib)) {
1664 if (!PHAR_G(has_bz2)) {
1751 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_phars, realpath, strlen(realpath))) {
1920 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_alias, (char *) filename, pos - filename)) {
1927 if (zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)) || PHAR_G(manifest_cached)) {
1951 if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_find(&cached_phars, (char *) filename, filename_len, (void **)&pphar)) {
1990 if (PHAR_G(manifest_cached)) {
2151 if (PHAR_G(cwd_len) && use_cwd && path_length > 2 && path[0] == '.' && path[1] == '/') {
2152 newpath_len = PHAR_G(cwd_len);
2154 memcpy(newpath, PHAR_G(cwd), newpath_len);
2612 if (PHAR_G(readonly)) {
3451 if (!pphar && PHAR_G(manifest_cached)) {
3594 if (PHAR_G(manifest_cached)) {
3607 PHAR_G(last_phar) = NULL;
3608 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
3609 PHAR_G(has_bz2) = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
3610 PHAR_G(has_zlib) = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
3618 if (PHAR_G(manifest_cached)) {
3632 PHAR_G(cwd) = NULL;
3633 PHAR_G(cwd_len) = 0;
3634 PHAR_G(cwd_init) = 0;
3672 if (PHAR_G(cwd)) {
3673 efree(PHAR_G(cwd));
3676 PHAR_G(cwd) = NULL;
3677 PHAR_G(cwd_len) = 0;
3678 PHAR_G(cwd_init) = 0;
3698 if (PHAR_G(has_zlib)) {
3704 if (PHAR_G(has_bz2)) {