Bug #70993 [Csd]: Array key references break argument processing

From: Date: Wed, 30 Nov 2016 03:32:27 +0000
Subject: Bug #70993 [Csd]: Array key references break argument processing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205688@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70993&edit=1 ID: 70993 User updated by: php at ontheroad dot net dot nz Reported by: php at ontheroad dot net dot nz Summary: Array key references break argument processing Status: Closed Type: Bug Package: SOAP related Operating System: Ubuntu 14.04 PHP Version: 7.0.0RC8 Assigned To: laruence Block user comment: N Private report: N New Comment: Original submitter here: I've just seem the same problem crop up again; is there a chance that this fix has been reverted? The affected versions are "7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )" (ubuntu) and "PHP 7.0.13 (cli) (built: Nov 18 2016 01:43:37)" (amazon linux). Previous Comments: ------------------------------------------------------------------------ [2016-07-20 11:35:09] davey@php.net Automatic comment on behalf of laruence@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=5df6f9f20ee571caf30c005fc2eae5eb780ba002 Log: Fixed bug #70993 (Array key references break argument processing) ------------------------------------------------------------------------ [2016-06-01 12:10:32] e at eriktelford dot net Same issue here. ------------------------------------------------------------------------ [2016-01-25 08:45:39] eli dot demayo at gmail dot com We are still encountering this issue even on PHP 7.0.1 and PHP 7.0.2. We're using SalesForce PHP Toolkit (https://github.com/developerforce/Force.com-Toolkit-for-PHP). You can see in SforceEnterpriseClient.php (https://github.com/developerforce/Force.com-Toolkit-for-PHP/blob/master/soapclient/SforceEnterpriseClient.php#L53) that they are using references to array keys and that cause the request to go out with no arguments. Removing the references solves the problem. ------------------------------------------------------------------------ [2015-11-30 02:50:42] laruence@php.net Automatic comment on behalf of laruence@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=5df6f9f20ee571caf30c005fc2eae5eb780ba002 Log: Fixed bug #70993 (Array key references break argument processing) ------------------------------------------------------------------------ [2015-11-30 01:33:38] php at ontheroad dot net dot nz Yes, your patch does resolve the problem for me. Thanks for such a quick response and my apologies for not being able to give a more reproducible test case for you (but good guess). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70993 -- Edit this bug report at https://bugs.php.net/bug.php?id=70993&edit=1

« previous php.bugs (#205688) next »