Category
php-in-php · follow-up #8999 / #8430 / #4401
Problem
VmFsTouchNative and VmFsTempnamNative are libc FFI-only (utime, mkstemp). With PHP_COMPILER_DISABLE_FFI=1, touch()/tempnam() fail while other VmFs paths have Pure fallbacks.
php-src reference
- ext/standard/filestat.c — touch
- ext/standard/file.c — tempnam
Scope
| Path |
Work |
ext/standard/VmFsTouchPure.php |
create via VmFsOpenPure; set times via bootstrap touch |
ext/standard/VmFsTempnamPure.php |
exclusive-create loop |
ext/standard/VmFsTouchNative.php |
delegate to Pure; delete FFI |
ext/standard/VmFsTempnamNative.php |
delegate to Pure; delete FFI |
| Tests |
RuntimeShrink tests; FFI-disabled touch/tempnam |
Done when
Refs #1492
Category
php-in-php· follow-up #8999 / #8430 / #4401Problem
VmFsTouchNativeandVmFsTempnamNativeare libc FFI-only (utime,mkstemp). WithPHP_COMPILER_DISABLE_FFI=1,touch()/tempnam()fail while other VmFs paths have Pure fallbacks.php-src reference
Scope
ext/standard/VmFsTouchPure.phpext/standard/VmFsTempnamPure.phpext/standard/VmFsTouchNative.phpext/standard/VmFsTempnamNative.phpDone when
PHP_COMPILER_DISABLE_FFI=1touch/tempnam repro green on VMFFI::cdefin Touch/Tempnam natives./script/ci-fast.sh --filter FsTouchgreenRefs #1492