|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46909 COM object not allowing calls to methods
Submitted: 2008-12-19 20:33 UTC Modified: 2009-08-19 16:59 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: Assigned:
Status: Not a bug Package: COM related
PHP Version: 6CVS-2008-12-19 (snap) OS: Windows Server 2008 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2008-12-19 20:33 UTC]
Having trouble access the COM methods for an object; getting Fatal errors that the method is undefined. Works fine under PHP 5.2.8 on the same machine.

Reproduce code:
$filename = 'Test File Name.txt';
$fso = new COM("Scripting.FileSystemObject");
$file = $fso->GetFile($filename);
echo $file;

Expected result:

Actual result:
Fatal error: Call to undefined method com::GetFile()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-19 16:29 UTC]
Dublicate of #45836, its because theres not any unicode support in com_dotnet yet
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Oct 02 17:05:52 2022 UTC