|  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
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:
From: ko at sv01 dot de
New email:
PHP Version: OS:


 [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: Thu Jul 25 04:01:28 2024 UTC