Bug #67392 [Opn->Csd]: dtrace breaks argument unpack
| From: | nikic@php.net | Date: | Fri, 06 Jun 2014 15:14:42 +0000 |
| Subject: | Bug #67392 [Opn->Csd]: dtrace breaks argument unpack | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186085@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67392&edit=1
ID: 67392
Updated by: nikic@php.net
Reported by: remi@php.net
Summary: dtrace breaks argument unpack
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: GNU/LInux
PHP Version: 5.6.0beta4
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6d1885342c1504a8697b41e075844b082f7b335f
Log: Fix bug #67392: dtrace breaks argument unpack
Previous Comments:
------------------------------------------------------------------------
[2014-06-06 14:43:38] remi@php.net
Description:
------------
When build with --enable-dtrace, some test in Zend/test/arg_unpack
Test script:
---------------
make test TESTS=Zend/tests/arg_unpack
Expected result:
----------------
With ./configure --disable-all --enable-debug
Tests failed : 0 ( 0.0%) ( 0.0%)
Actual result:
--------------
With ./configure --disable-all --enable-debug --enable-dtrace
Tests failed : 2 ( 16.7%) ( 16.7%)
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Argument unpacking with internal functions [Zend/tests/arg_unpack/internal.phpt]
Argument unpacking does not work with string keys (forward compatibility for named args)
[Zend/tests/arg_unpack/string_keys.phpt]
=====================================================================
$ cat Zend/tests/arg_unpack/internal.out
Warning: array_map() expects at least 2 parameters, 1 given in
/dev/shm/php-5.6.0beta4/Zend/tests/arg_unpack/internal.php on line 8
NULL
$ cat Zend/tests/arg_unpack/string_keys.out
string(36) "Cannot unpack array with string keys"
string(48) "var_dump() expects at least 1 parameter, 0 given"
string(42) "Cannot unpack Traversable with string keys"
string(48) "var_dump() expects at least 1 parameter, 0 given"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67392&edit=1