Bug #67392 [NEW]: dtrace breaks argument unpack
| From: | remi@php.net | Date: | Fri, 06 Jun 2014 14:43:39 +0000 |
| Subject: | Bug #67392 [NEW]: dtrace breaks argument unpack | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186083@lists.php.net to get a copy of this message | ||
From: remi
Operating system: GNU/LInux
PHP version: 5.6.0beta4
Package: *General Issues
Bug Type: Bug
Bug description:dtrace breaks argument unpack
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 bug report at https://bugs.php.net/bug.php?id=67392&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67392&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67392&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67392&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67392&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67392&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67392&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67392&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67392&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67392&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67392&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67392&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67392&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67392&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67392&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67392&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67392&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67392&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67392&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67392&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67392&r=mysqlcfg