1--TEST-- 2Bug #78650 (new COM Crash) 3--SKIPIF-- 4<?php 5if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available'); 6?> 7--FILE-- 8<?php 9$fname = __DIR__ . '/bug78650/foo/bar'; 10mkdir($fname, 0777, true); 11 12$fso = new COM("Scripting.FileSystemObject"); 13$folder = $fso->GetFolder($fname); 14$folder->ParentFolder->Name = 'baz'; 15 16print('OK'); 17?> 18--EXPECT-- 19OK 20--CLEAN-- 21<?php 22rmdir(__DIR__ . '/bug78650/baz/bar'); 23rmdir(__DIR__ . '/bug78650/foo/bar'); 24rmdir(__DIR__ . '/bug78650/baz'); 25rmdir(__DIR__ . '/bug78650/foo'); 26rmdir(__DIR__ . '/bug78650'); 27?> 28