Lines Matching refs:primary_file
2503 PHPAPI bool php_execute_script_ex(zend_file_handle *primary_file, zval *retval) in php_execute_script_ex() argument
2525 if(primary_file->filename) { in php_execute_script_ex()
2526 UpdateIniFromRegistry(ZSTR_VAL(primary_file->filename)); in php_execute_script_ex()
2532 if (primary_file->filename && !(SG(options) & SAPI_OPTION_NO_CHDIR)) { in php_execute_script_ex()
2539 VCWD_CHDIR_FILE(ZSTR_VAL(primary_file->filename)); in php_execute_script_ex()
2545 if (primary_file->filename && in php_execute_script_ex()
2546 !zend_string_equals_literal(primary_file->filename, "Standard input code") && in php_execute_script_ex()
2547 primary_file->opened_path == NULL && in php_execute_script_ex()
2548 primary_file->type != ZEND_HANDLE_FILENAME in php_execute_script_ex()
2550 if (expand_filepath(ZSTR_VAL(primary_file->filename), realfile)) { in php_execute_script_ex()
2551 primary_file->opened_path = zend_string_init(realfile, strlen(realfile), 0); in php_execute_script_ex()
2552 zend_hash_add_empty_element(&EG(included_files), primary_file->opened_path); in php_execute_script_ex()
2576 result = zend_execute_script(ZEND_REQUIRE, retval, primary_file) == SUCCESS; in php_execute_script_ex()
2614 PHPAPI bool php_execute_script(zend_file_handle *primary_file) in php_execute_script() argument
2616 return php_execute_script_ex(primary_file, NULL); in php_execute_script()
2621 PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret) in php_execute_simple_script() argument
2633 if(primary_file->filename) { in php_execute_simple_script()
2634 UpdateIniFromRegistry(ZSTR_VAL(primary_file->filename)); in php_execute_simple_script()
2640 if (primary_file->filename && !(SG(options) & SAPI_OPTION_NO_CHDIR)) { in php_execute_simple_script()
2642 VCWD_CHDIR_FILE(ZSTR_VAL(primary_file->filename)); in php_execute_simple_script()
2644 zend_execute_scripts(ZEND_REQUIRE, ret, 1, primary_file); in php_execute_simple_script()