Lines Matching refs:primary_file

2459 PHPAPI bool php_execute_script(zend_file_handle *primary_file)  in php_execute_script()  argument
2481 if(primary_file->filename) { in php_execute_script()
2482 UpdateIniFromRegistry(ZSTR_VAL(primary_file->filename)); in php_execute_script()
2488 if (primary_file->filename && !(SG(options) & SAPI_OPTION_NO_CHDIR)) { in php_execute_script()
2495 VCWD_CHDIR_FILE(ZSTR_VAL(primary_file->filename)); in php_execute_script()
2501 if (primary_file->filename && in php_execute_script()
2502 !zend_string_equals_literal(primary_file->filename, "Standard input code") && in php_execute_script()
2503 primary_file->opened_path == NULL && in php_execute_script()
2504 primary_file->type != ZEND_HANDLE_FILENAME in php_execute_script()
2506 if (expand_filepath(ZSTR_VAL(primary_file->filename), realfile)) { in php_execute_script()
2507 primary_file->opened_path = zend_string_init(realfile, strlen(realfile), 0); in php_execute_script()
2508 zend_hash_add_empty_element(&EG(included_files), primary_file->opened_path); in php_execute_script()
2528 …retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 3, prepend_file_p, primary_file, append_file_p)… in php_execute_script()
2561 PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret) in php_execute_simple_script() argument
2573 if(primary_file->filename) { in php_execute_simple_script()
2574 UpdateIniFromRegistry(ZSTR_VAL(primary_file->filename)); in php_execute_simple_script()
2580 if (primary_file->filename && !(SG(options) & SAPI_OPTION_NO_CHDIR)) { in php_execute_simple_script()
2582 VCWD_CHDIR_FILE(ZSTR_VAL(primary_file->filename)); in php_execute_simple_script()
2584 zend_execute_scripts(ZEND_REQUIRE, ret, 1, primary_file); in php_execute_simple_script()