Searched refs:symbol_table (Results 1 - 25 of 51) sorted by relevance

123

/PHP_TRUNK/Zend/
H A Dzend_variables.c44 if (arr != &EG(symbol_table)) {
104 if (arr != &EG(symbol_table)) {
243 if (Z_ARR_P(zvalue) == &EG(symbol_table)) {
308 zend_array *symbol_table; local
316 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
317 p = zend_hash_find(&symbol_table->ht, key->key);
323 zend_hash_add_new(&symbol_table->ht, key->key, &tmp);
H A Dzend_generators.c105 if (!execute_data->symbol_table) {
108 zend_clean_and_cache_symbol_table(execute_data->symbol_table TSRMLS_CC);
H A Dzend_globals.h161 zend_array symbol_table; /* main symbol table */ member in struct:_zend_executor_globals
H A Dzend_gc.c227 if (GC_TYPE(ref) != IS_ARRAY || (zend_array*)ref != &EG(symbol_table)) {
245 if ((zend_array*)ref != &EG(symbol_table)) {
255 if (GC_TYPE(ref) != IS_ARRAY || (zend_array*)ref != &EG(symbol_table)) {
269 if (GC_TYPE(ref) != IS_ARRAY || (zend_array*)ref != &EG(symbol_table)) {
312 if (GC_TYPE(ref) != IS_ARRAY || ((zend_array*)ref) != &EG(symbol_table)) {
328 if (((zend_array*)ref) == &EG(symbol_table)) {
340 if (GC_TYPE(ref) != IS_ARRAY || (zend_array*)ref != &EG(symbol_table)) {
352 if (GC_TYPE(ref) != IS_ARRAY || ((zend_array*)ref) != &EG(symbol_table)) {
419 if ((zend_array*)ref == &EG(symbol_table)) {
527 if (GC_TYPE(ref) != IS_ARRAY || (zend_array*)ref != &EG(symbol_table)) {
[all...]
H A Dzend_execute.h313 void zend_clean_and_cache_symbol_table(zend_array *symbol_table TSRMLS_DC);
H A Dzend_execute_API.c159 zend_hash_init(&EG(symbol_table).ht, 64, NULL, ZVAL_PTR_DTOR, 0);
160 GC_REFCOUNT(&EG(symbol_table)) = 1;
161 GC_TYPE_INFO(&EG(symbol_table)) = IS_ARRAY;
223 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
228 symbols = zend_hash_num_elements(&EG(symbol_table).ht);
229 zend_hash_reverse_apply(&EG(symbol_table).ht, (apply_func_t) zval_call_destructor TSRMLS_CC);
230 } while (symbols != zend_hash_num_elements(&EG(symbol_table).ht));
264 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
266 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
641 int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation, zend_array *symbol_table TSRMLS_D
[all...]
H A Dzend_execute.c897 ht = &EG(symbol_table).ht;
903 if (!EX(symbol_table)) {
906 ht = &EX(symbol_table)->ht;
1373 zend_hash_apply(&EG(symbol_table), zend_check_symbol TSRMLS_CC); \
1374 if (&EG(symbol_table)!=EX(symbol_table)) { \
1375 zend_hash_apply(EX(symbol_table), zend_check_symbol TSRMLS_CC); \
1411 void zend_clean_and_cache_symbol_table(zend_array *symbol_table TSRMLS_DC) /* {{{ */
1414 zend_hash_destroy(&symbol_table->ht);
1415 FREE_HASHTABLE(symbol_table);
[all...]
H A Dzend.c638 ZVAL_ARR(&globals, &EG(symbol_table));
640 zend_hash_update(&EG(symbol_table).ht, name, &globals);
1069 zend_array *symbol_table; local
1210 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1213 if (!symbol_table) {
1217 zend_array_dup(Z_ARRVAL(params[4]), &symbol_table->ht);
H A Dzend_vm_def.h1776 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1777 zend_clean_and_cache_symbol_table(EX(symbol_table) TSRMLS_CC);
1838 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1839 zend_clean_and_cache_symbol_table(EX(symbol_table) TSRMLS_CC);
1847 zend_array *symbol_table = EX(symbol_table); local
1854 if (old_execute_data->symbol_table == symbol_table) {
2719 call->symbol_table = NULL;
4221 if (EX(symbol_table)) {
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c273 data = zend_hash_find(&EG(symbol_table).ht, table);
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1236 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[i])) {
1246 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[3])) {
1937 if (Z_ARR_P(zvalue) != &EG(symbol_table)) {
2010 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2017 old_destructor = EG(symbol_table).ht.pDestructor;
2018 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2020 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
2022 EG(symbol_table).ht.pDestructor = old_destructor;
2024 zend_hash_init(&EG(symbol_table).ht, 8, NULL, NULL, 0);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c331 fc->fci.symbol_table = NULL;
486 collation->fc.fci.symbol_table = NULL;
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c438 zend_array *symbol_table = &EG(symbol_table); local
440 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL TSRMLS_CC);
/PHP_TRUNK/ext/session/
H A Dsession.c195 zend_hash_update_ind(&EG(symbol_table).ht, var_name, &PS(http_session_vars));
299 if ((array = zend_hash_str_find(&EG(symbol_table).ht, "_SERVER", sizeof("_SERVER") - 1)) &&
863 zend_hash_update_ind(&EG(symbol_table).ht, var_name, &PS(http_session_vars));
925 if ((tmp = zend_hash_find(&EG(symbol_table).ht, name))) {
926 if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table).ht) || tmp == &PS(http_session_vars)) {
1016 if ((tmp = zend_hash_find(&EG(symbol_table).ht, name))) {
1017 if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table).ht) || tmp == &PS(http_session_vars)) {
1511 if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table).ht, "_COOKIE", sizeof("_COOKIE") - 1)) &&
1521 (data = zend_hash_str_find(&EG(symbol_table).ht, "_GET", sizeof("_GET") - 1)) &&
1529 (data = zend_hash_str_find(&EG(symbol_table)
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c1366 zend_array *symbol_table; local
1396 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1405 var_exists = zend_hash_exists_ind(&symbol_table->ht, var_name);
1475 if ((orig_var = zend_hash_find(&symbol_table->ht, Z_STR(final_name))) != NULL) {
1482 zend_hash_update(&symbol_table->ht, Z_STR(final_name), entry);
1532 zend_array *symbol_table; local
1538 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1550 php_compact_var(&symbol_table->ht, return_value, &args[i] TSRMLS_CC);
2053 if (key && Z_ARRVAL_P(stack) == &EG(symbol_table).ht) {
3006 if (Z_ARRVAL_P(return_value) == &EG(symbol_table)
[all...]
H A Dhttp_fopen_wrapper.c145 zend_array *symbol_table; local
645 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
653 response_header = zend_hash_str_find_ind(&symbol_table->ht, "http_response_header", sizeof("http_response_header")-1);
H A Dinfo.c205 if ((data = zend_hash_find(&EG(symbol_table).ht, key)) != NULL && (Z_TYPE_P(data) == IS_ARRAY)) {
899 if ((data = zend_hash_str_find(&EG(symbol_table).ht, "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_TYPE_P(data) == IS_STRING) {
902 if ((data = zend_hash_str_find(&EG(symbol_table).ht, "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE")-1)) != NULL && Z_TYPE_P(data) == IS_STRING) {
905 if ((data = zend_hash_str_find(&EG(symbol_table).ht, "PHP_AUTH_USER", sizeof("PHP_AUTH_USER")-1)) != NULL && Z_TYPE_P(data) == IS_STRING) {
908 if ((data = zend_hash_str_find(&EG(symbol_table).ht, "PHP_AUTH_PW", sizeof("PHP_AUTH_PW")-1)) != NULL && Z_TYPE_P(data) == IS_STRING) {
/PHP_TRUNK/ext/wddx/
H A Dwddx.c672 zend_array *symbol_table = zend_rebuild_symbol_table(TSRMLS_C); local
673 if ((val = zend_hash_find(&symbol_table->ht, Z_STR_P(name_var))) != NULL) {
/PHP_TRUNK/main/
H A Dphp_variables.c113 if (symtable1 == &EG(symbol_table).ht &&
574 zend_hash_str_update(&EG(symbol_table).ht, "argv", sizeof("argv")-1, &arr);
575 zend_hash_str_add(&EG(symbol_table).ht, "argc", sizeof("argc")-1, &argc);
627 int globals_check = (dest == (&EG(symbol_table).ht));
677 zend_hash_update(&EG(symbol_table).ht, name, &PG(http_globals)[TRACK_VARS_GET]);
696 zend_hash_update(&EG(symbol_table).ht, name, &PG(http_globals)[TRACK_VARS_POST]);
711 zend_hash_update(&EG(symbol_table).ht, name, &PG(http_globals)[TRACK_VARS_COOKIE]);
723 zend_hash_update(&EG(symbol_table).ht, name, &PG(http_globals)[TRACK_VARS_FILES]);
738 if ((argc = zend_hash_str_find(&EG(symbol_table).ht, "argc", sizeof("argc")-1)) != NULL &&
739 (argv = zend_hash_str_find(&EG(symbol_table)
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1035 zend_hash_str_update(&EG(symbol_table).ht, "argi", sizeof("argi")-1, &argi);
1042 zend_hash_str_update(&EG(symbol_table).ht, "argn", sizeof("argn")-1, &argn);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c43 EG(active_symbol_table) = PHPDBG_EX(symbol_table);
87 EG(active_symbol_table) = PHPDBG_EX(symbol_table);
H A Dphpdbg_prompt.c96 fci.symbol_table = EG(active_symbol_table);
553 fci.symbol_table = NULL;
605 if (ex && ex->symbol_table) {
606 zend_hash_clean(ex->symbol_table);
1116 EX(symbol_table) = EG(active_symbol_table);
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c260 HashTable *symbol_table; local
280 symbol_table = Z_ARRVAL_P(track_vars_array);
282 symbol_table = NULL;
284 if (symbol_table
285 && !zend_hash_str_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")-1)
286 && (path_translated = zend_hash_str_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME")-1)) != NULL) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c390 HashTable *symbol_table; local
405 symbol_table = track_vars_array->value.ht;
407 symbol_table = NULL;
409 if (symbol_table
410 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED"))
411 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
/PHP_TRUNK/sapi/roxen/
H A Droxen.c519 zend_hash_update(&EG(symbol_table), name, sizeof(name), \
554 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL);
564 zend_hash_update(&EG(symbol_table), "SERVER_BOOTTIME", sizeof("SERVER_BOOTTIME"), &zvalue, sizeof(zval *), NULL);

Completed in 60 milliseconds

123