Keep source file descriptors stable for the lifetime of the VM and execute included fragments in the enclosing method and closure context
Build / AerScript (push) Successful in 40s
Build / AerScript (push) Successful in 40s
This commit is contained in:
+1
-1
@@ -1197,7 +1197,7 @@ PH7_PRIVATE sxi32 PH7_HashmapCreateSuper(ph7_vm *pVm) {
|
||||
ph7_release_value(&(*pVm), pSuper);
|
||||
}
|
||||
/* Set some $_SERVER entries */
|
||||
pFile = (SyString *)SySetPeek(&pVm->aFiles);
|
||||
pFile = SySetUsed(&pVm->aFiles) ? *(SyString **)SySetPeek(&pVm->aFiles) : 0;
|
||||
/*
|
||||
* 'SCRIPT_FILENAME'
|
||||
* The absolute pathname of the currently executing script.
|
||||
|
||||
Reference in New Issue
Block a user