php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67392 dtrace breaks argument unpack
Submitted: 2014-06-06 14:43 UTC Modified: -
From: remi@php.net Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.6.0beta4 OS: GNU/LInux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2014-06-06 14:43 UTC] 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"



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-06 15:14 UTC] nikic@php.net
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
 [2014-06-06 15:14 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2014-06-07 13:28 UTC] tyrael@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-06-07 13:29 UTC] tyrael@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-06-12 01:08 UTC] dmitry@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-06-12 01:08 UTC] dmitry@php.net
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
 [2014-06-19 00:53 UTC] tyrael@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-06-19 00:53 UTC] tyrael@php.net
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
 [2014-07-02 08:26 UTC] ab@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-07-02 08:26 UTC] ab@php.net
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
 [2014-07-02 08:34 UTC] ab@php.net
Automatic comment on behalf of tyrael
Revision: http://git.php.net/?p=php-src.git;a=commit;h=016b1f089e90af2e6a72c78107edce8eb2dcb31f
Log: Fix bug #67392: token_name() does not return name for T_POW and T_POW_EQUAL token
 [2014-07-02 08:34 UTC] ab@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC