/
proc
/
3430793
/
cwd
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
file
/
File Upload :
llllll
Current File: //proc/3430793/cwd/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/file/bug47517.phpt
--TEST-- Bug #47517 test registry virtualization disabled --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip only for Windows'); } exec('net session 2>&1', $out, $status); if (!$status) { die('skip test runs under an elevated user account'); } ?> --FILE-- <?php /* This has to behave same way on both 64- and 32-bits. */ file_put_contents('C:\Program Files\myfile.txt', 'hello'); ?> --EXPECTF-- Warning: file_put_contents(C:\Program Files\myfile.txt): Failed to open stream: Permission denied in %sbug47517.php on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure