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)) {
633 if (PHAR_G(persist)) {
966 } else if (PHAR_G(require_hash)) {
1030 mydata = pecalloc(1, sizeof(phar_archive_data), PHAR_G(persist));
1031 mydata->is_persistent = PHAR_G(persist);
1133 if (!PHAR_G(has_zlib)) {
1146 if (!PHAR_G(has_bz2)) {
1286 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1294 if (!PHAR_G(readonly) || (*test)->is_data) {
1349 if ((*pphar)->is_data || !PHAR_G(readonly)) {
1369 if (PHAR_G(readonly) && !is_data) {
1610 if (!PHAR_G(has_zlib)) {
1667 if (!PHAR_G(has_bz2)) {
1756 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_phars, realpath, strlen(realpath))) {
1929 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_alias, (char *) filename, pos - filename)) {
1936 if (zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)) || PHAR_G(manifest_cached)) {
1960 if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_find(&cached_phars, (char *) filename, filename_len, (void **)&pphar)) {
1999 if (PHAR_G(manifest_cached)) {
2160 if (PHAR_G(cwd_len) && use_cwd && path_length > 2 && path[0] == '.' && path[1] == '/') {
2161 newpath_len = PHAR_G(cwd_len);
2162 memcpy(newpath, PHAR_G(cwd), newpath_len);
2614 if (PHAR_G(readonly)) {
3431 if (!pphar && PHAR_G(manifest_cached)) {
3574 if (PHAR_G(manifest_cached)) {
3587 PHAR_G(last_phar) = NULL;
3588 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
3589 PHAR_G(has_bz2) = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
3590 PHAR_G(has_zlib) = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
3598 if (PHAR_G(manifest_cached)) {
3612 PHAR_G(cwd) = NULL;
3613 PHAR_G(cwd_len) = 0;
3614 PHAR_G(cwd_init) = 0;
3652 if (PHAR_G(cwd)) {
3653 efree(PHAR_G(cwd));
3656 PHAR_G(cwd) = NULL;
3657 PHAR_G(cwd_len) = 0;
3658 PHAR_G(cwd_init) = 0;
3678 if (PHAR_G(has_zlib)) {
3684 if (PHAR_G(has_bz2)) {