|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37588 COM Property propputref converts to PHP function and can't be accesed
Submitted: 2006-05-25 09:38 UTC Modified: 2006-12-24 10:05 UTC
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dtyschenko at soft-ukraine dot com Assigned:
Status: Closed Package: COM related
PHP Version: 5.1.4 OS: Windows XP SP2
Private report: No CVE-ID:
 [2006-05-25 09:38 UTC] dtyschenko at soft-ukraine dot com
When COM property is marked with propputref it looks like function in com_print_typeinfo and can't be accessed by:

$a->property = $b

I'm just get com_exception with message 'Error [0x80020003] Member not found.'

Reproduce code:
	$Engine = new COM("SAPI.SpVoice");
	$File = new COM("SAPI.SpFileStream");
	$File->Open("C:\\1.wav", 3, false);
	$Engine->AudioOutputStream = $File; // com_exception
	$Engine->Speak("Hello World!", 0);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-24 10:05 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:01:31 2015 UTC