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

123

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c273 data = zend_hash_find(&EG(symbol_table).ht, 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);
/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 TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_engine.h68 fci.symbol_table = NULL;
/PHP_TRUNK/Zend/
H A Dzend_globals.h160 zend_array symbol_table; /* main symbol table */ member in struct:_zend_executor_globals
H A Dzend.c546 ZVAL_ARR(&globals, &EG(symbol_table));
548 zend_hash_update(&EG(symbol_table).ht, name, &globals);
976 zend_array *symbol_table; local
1117 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1120 if (!symbol_table) {
1124 zend_array_dup(Z_ARRVAL(params[4]), &symbol_table->ht);
H A Dzend_variables.c44 if (arr != &EG(symbol_table)) {
106 if (arr != &EG(symbol_table)) {
246 if (Z_ARR_P(zvalue) == &EG(symbol_table)) {
313 zend_array *symbol_table; local
321 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
322 p = zend_hash_find(&symbol_table->ht, key->key);
328 zend_hash_add_new(&symbol_table->ht, key->key, &tmp);
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.c936 ht = &EG(symbol_table).ht;
942 if (!EX(symbol_table)) {
945 ht = &EX(symbol_table)->ht;
1392 zend_hash_apply(&EG(symbol_table), zend_check_symbol TSRMLS_CC); \
1393 if (&EG(symbol_table)!=EX(symbol_table)) { \
1394 zend_hash_apply(EX(symbol_table), zend_check_symbol TSRMLS_CC); \
1430 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table TSRMLS_DC) /* {{{ */
1433 zend_array_destroy(&symbol_table->ht TSRMLS_CC);
1434 efree_size(symbol_table, sizeo
[all...]
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;
221 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
226 symbols = zend_hash_num_elements(&EG(symbol_table).ht);
227 zend_hash_reverse_apply(&EG(symbol_table).ht, (apply_func_t) zval_call_destructor TSRMLS_CC);
228 } while (symbols != zend_hash_num_elements(&EG(symbol_table).ht));
262 EG(symbol_table).ht.pDestructor = zend_unclean_zval_ptr_dtor;
264 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
639 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_generators.c95 if (!execute_data->symbol_table) {
98 zend_clean_and_cache_symbol_table(execute_data->symbol_table TSRMLS_CC);
H A Dzend_vm_def.h1745 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1746 zend_clean_and_cache_symbol_table(EX(symbol_table) TSRMLS_CC);
1803 if (UNEXPECTED(EX(symbol_table) != NULL)) {
1804 zend_clean_and_cache_symbol_table(EX(symbol_table) TSRMLS_CC);
1812 zend_array *symbol_table = EX(symbol_table); local
1819 if (old_execute_data->symbol_table == symbol_table) {
2732 call->symbol_table = NULL;
4212 if (EX(symbol_table)) {
[all...]
/PHP_TRUNK/ext/standard/
H A Dhttp_fopen_wrapper.c147 zend_array *symbol_table; local
656 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
664 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) {
H A Darray.c1367 zend_array *symbol_table; local
1397 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1406 var_exists = zend_hash_exists_ind(&symbol_table->ht, var_name);
1476 if ((orig_var = zend_hash_find(&symbol_table->ht, Z_STR(final_name))) != NULL) {
1483 zend_hash_update(&symbol_table->ht, Z_STR(final_name), entry);
1533 zend_array *symbol_table; local
1539 symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
1551 php_compact_var(&symbol_table->ht, return_value, &args[i] TSRMLS_CC);
2044 if (Z_ARRVAL_P(stack) == &EG(symbol_table).ht) {
2101 if (Z_ARRVAL_P(stack) == &EG(symbol_table)
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c182 symtable = &EG(symbol_table);
184 phpdbg_error("inactive", "type=\"symbol_table\"", "No active symbol table!");
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 TSRMLS_CC) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table).ht, 0, callback, 1 TSRMLS_CC) != FAILURE) {
417 return phpdbg_watchpoint_parse_input(input, len, &EG(current_execute_data)->symbol_table->ht, 0, callback, 0 TSRMLS_CC);
H A Dphpdbg_webdata_transfer.c46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table).ht, NULL);
H A Dphpdbg_prompt.c116 fci.symbol_table = zend_rebuild_symbol_table(TSRMLS_C);
558 fci.symbol_table = NULL;
601 if (ex && ex->symbol_table) {
602 zend_hash_clean(&ex->symbol_table->ht);
707 phpdbg_parse_variable(param->str, param->len, &EG(symbol_table).ht, 0, phpdbg_output_ev_variable, 0 TSRMLS_CC);
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);
/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/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/opcache/
H A DZendAccelerator.c1234 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[i])) {
1244 if (zend_hash_exists(&EG(symbol_table).ht, jit_auto_globals_str[3])) {
1928 if (Z_ARR_P(zvalue) != &EG(symbol_table)) {
2001 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2008 old_destructor = EG(symbol_table).ht.pDestructor;
2009 EG(symbol_table).ht.pDestructor = accel_fast_zval_dtor;
2011 zend_hash_graceful_reverse_destroy(&EG(symbol_table).ht);
2013 EG(symbol_table).ht.pDestructor = old_destructor;
2015 zend_hash_init(&EG(symbol_table).ht, 8, NULL, NULL, 0);

Completed in 51 milliseconds

123