mirror of
https://github.com/php/php-src.git
synced 2026-04-17 13:01:02 +02:00
For rationale, see https://github.com/php/php-src/pull/6787 Extensions migrated in this part: * bcmath * bz2 * calendar * com_dotnet * ctype Closes GH-6797.
26 lines
487 B
PHP
26 lines
487 B
PHP
--TEST--
|
|
Bug #78650 (new COM Crash)
|
|
--EXTENSIONS--
|
|
com_dotnet
|
|
--FILE--
|
|
<?php
|
|
$fname = __DIR__ . '/bug78650/foo/bar';
|
|
mkdir($fname, 0777, true);
|
|
|
|
$fso = new COM("Scripting.FileSystemObject");
|
|
$folder = $fso->GetFolder($fname);
|
|
$folder->ParentFolder->Name = 'baz';
|
|
|
|
print('OK');
|
|
?>
|
|
--EXPECT--
|
|
OK
|
|
--CLEAN--
|
|
<?php
|
|
rmdir(__DIR__ . '/bug78650/baz/bar');
|
|
rmdir(__DIR__ . '/bug78650/foo/bar');
|
|
rmdir(__DIR__ . '/bug78650/baz');
|
|
rmdir(__DIR__ . '/bug78650/foo');
|
|
rmdir(__DIR__ . '/bug78650');
|
|
?>
|