|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71688 Can not write to properties when using index
Submitted: 2016-02-29 11:31 UTC Modified: 2016-03-20 04:22 UTC
From: ko at sv01 dot de Assigned:
Status: No Feedback Package: COM related
PHP Version: 5.6.18 OS: Windows Server 2012R2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
6 - 5 = ?
Subscribe to this entry?

 [2016-02-29 11:31 UTC] ko at sv01 dot de
When accessing a COM-application like SAP DI-Server, writing to a property (array) fails:

$vCard->Properties[1] = 1; // PHP crash
$vCard->Properties(1); // works, returns correct value, no write possible

oBP.Properties[1]; # Get value
oBP.Properties[1] = 1; # Set value

This seems to be a problem how PHP connects properties with multiple values (PHP: array). It somehow converts it to a method which works perfectly fine for reading but lacks write support.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-29 11:46 UTC] ko at sv01 dot de
looks like duplicate
 [2016-03-08 10:21 UTC]
-Status: Open +Status: Feedback
 [2016-03-08 10:21 UTC]
Thanks for the report. Could you please bring a short but functional reproduce snippet?

 [2016-03-20 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 06:01:27 2024 UTC