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

123

/PHP_TRUNK/Zend/
H A Dzend_globals.h160 zend_array symbol_table; /* main symbol table */ member in struct:_zend_executor_globals
H A Dzend.c552 ZVAL_ARR(&globals, &EG(symbol_table));
554 zend_hash_update(&EG(symbol_table).ht, name, &globals);
979 zend_array *symbol_table; local
1119 symbol_table = zend_rebuild_symbol_table();
1122 if (!symbol_table) {
1126 zend_array_dup(Z_ARRVAL(params[4]), &symbol_table->ht);
H A Dzend_execute_API.c155 zend_hash_init(&EG(symbol_table).ht, 64, NULL, ZVAL_PTR_DTOR, 0);
156 GC_REFCOUNT(&EG(symbol_table)) = 1;
157 GC_TYPE_INFO(&EG(symbol_table)) = IS_ARRAY;
216 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
221 symbols = zend_hash_num_elements(&EG(symbol_table).ht);
222 zend_hash_reverse_apply(&EG(symbol_table).ht, (apply_func_t) zval_call_destructor);
223 } while (symbols != zend_hash_num_elements(&EG(symbol_table).ht));
257 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
259 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
627 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) /* {{{ */ argument
[all...]
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_generators.c95 if (!execute_data->symbol_table) {
98 zend_clean_and_cache_symbol_table(execute_data->symbol_table);
H A Dzend_variables.c43 if (arr != &EG(symbol_table)) {
101 if (arr != &EG(symbol_table)) {
237 if (Z_ARR_P(zvalue) == &EG(symbol_table)) {
303 zend_array *symbol_table; local
311 symbol_table = zend_rebuild_symbol_table();
312 p = zend_hash_find(&symbol_table->ht, key->key);
318 zend_hash_add_new(&symbol_table->ht, key->key, &tmp);
H A Dzend_execute.h257 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
H A Dzend_execute.c1039 ht = &EG(symbol_table).ht;
1045 if (!EX(symbol_table)) {
1048 ht = &EX(symbol_table)->ht;
1515 zend_hash_apply(&EG(symbol_table), zend_check_symbol); \
1516 if (&EG(symbol_table)!=EX(symbol_table)) { \
1517 zend_hash_apply(EX(symbol_table), zend_check_symbol); \
1553 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table) /* {{{ */ argument
1556 zend_array_destroy(&symbol_table->ht);
1557 efree_size(symbol_table, sizeo
[all...]
H A Dzend_vm_def.h1839 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1840 zend_clean_and_cache_symbol_table(EX(symbol_table));
1897 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1898 zend_clean_and_cache_symbol_table(EX(symbol_table));
1906 zend_array *symbol_table = EX(symbol_table); local
1913 if (old_execute_data->symbol_table == symbol_table) {
2849 call->symbol_table = NULL;
4352 if (EX(symbol_table)) {
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1237 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[i])) {
1247 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[3])) {
1929 if (Z_ARR_P(zvalue) != &EG(symbol_table)) {
2000 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2007 old_destructor = EG(symbol_table).ht.pDestructor;
2008 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2010 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
2012 EG(symbol_table).ht.pDestructor = old_destructor;
2014 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;
482 collation->fc.fci.symbol_table = NULL;
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c431 zend_array *symbol_table = &EG(symbol_table); local
433 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL);
/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)) &&
842 zend_hash_update_ind(&EG(symbol_table).ht, var_name, &PS(http_session_vars));
904 if ((tmp = zend_hash_find(&EG(symbol_table).ht, name))) {
905 if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table).ht) || tmp == &PS(http_session_vars)) {
995 if ((tmp = zend_hash_find(&EG(symbol_table).ht, name))) {
996 if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table).ht) || tmp == &PS(http_session_vars)) {
1490 if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table).ht, "_COOKIE", sizeof("_COOKIE") - 1)) &&
1500 (data = zend_hash_str_find(&EG(symbol_table).ht, "_GET", sizeof("_GET") - 1)) &&
1508 (data = zend_hash_str_find(&EG(symbol_table)
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_engine.h68 fci.symbol_table = NULL;
/PHP_TRUNK/ext/standard/
H A Dhttp_fopen_wrapper.c147 zend_array *symbol_table; local
656 symbol_table = zend_rebuild_symbol_table();
664 response_header = zend_hash_str_find_ind(&symbol_table->ht, "http_response_header", sizeof("http_response_header")-1);
H A Dinfo.c208 if ((data = zend_hash_find(&EG(symbol_table).ht, key)) != NULL && (Z_TYPE_P(data) == IS_ARRAY)) {
903 if ((data = zend_hash_str_find(&EG(symbol_table).ht, "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_TYPE_P(data) == IS_STRING) {
906 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) {
909 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) {
912 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/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/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/phpdbg/
H A Dphpdbg_prompt.c116 fci.symbol_table = zend_rebuild_symbol_table();
558 fci.symbol_table = NULL;
601 if (ex && ex->symbol_table) {
602 zend_hash_clean(&ex->symbol_table->ht);
708 phpdbg_parse_variable(param->str, param->len, &EG(symbol_table).ht, 0, phpdbg_output_ev_variable, 0);
H A Dphpdbg_wait.c31 if ((zvp = zend_hash_str_find(&EG(symbol_table).ht, name, strlen(name)))) {
160 zend_hash_clean(&EG(symbol_table).ht);
161 EG(symbol_table) = *Z_ARR_P(zvp);
H A Dphpdbg_watch.c410 zend_hash_str_add(&EG(current_execute_data)->symbol_table->ht, ZEND_STRL("this"), &EG(current_execute_data)->This);
413 if (phpdbg_is_auto_global(input, len) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table).ht, 0, callback, 1) != FAILURE) {
417 return phpdbg_watchpoint_parse_input(input, len, &EG(current_execute_data)->symbol_table->ht, 0, callback, 0);
H A Dphpdbg_webdata_transfer.c46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table).ht, NULL);
/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);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c272 data = zend_hash_find(&EG(symbol_table).ht, table);

Completed in 55 milliseconds

123