|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-07-11 01:25 UTC] cmb@php.net
-Package: *Compression related
+Package: COM related
[2016-07-11 13:22 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2016-07-11 13:22 UTC] ab@php.net
[2016-07-11 15:41 UTC] deivid dot garcia dot garcia at gmail dot com
[2016-07-12 12:59 UTC] ab@php.net
[2016-07-12 12:59 UTC] ab@php.net
-Status: Feedback
+Status: Closed
[2016-07-12 13:01 UTC] ab@php.net
-Status: Closed
+Status: Feedback
[2016-07-12 13:01 UTC] ab@php.net
[2016-07-12 13:43 UTC] deivid dot garcia dot garcia at gmail dot com
[2016-07-12 15:03 UTC] ab@php.net
-Status: Feedback
+Status: Closed
-Assigned To:
+Assigned To: ab
[2016-07-12 15:03 UTC] ab@php.net
[2016-07-20 11:30 UTC] davey@php.net
[2016-10-17 10:11 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
Description: ------------ Arrays passed to .Net when calling .Net object methods using COM class (probably DOTNET too but have not tested) arrive as empty arrays. This was NOT happening in PHP < 7, it's a regression. Other simple types are passed on properly (such as strings). Test script: --------------- The bug CANNOT be demonstrated without building a specific .Net dll that takes an array as input. In .Net: public object MyNiceMethod(object[] parameters) { // In PHP7 parameters comes in as an EMPTY array // when in PHP < 7 it was an array of string, integers and whatever // you passed in from PHP. } In PHP: $a = new COM("{CLASSID}"); $a->MyNiceMethod(["string1", "string2", 56, "string3", [1, 2, 3]]);