Bug #68388 [Opn->Fbk]: proto string implode([string glue,] array pieces)
| From: | requinix@php.net | Date: | Mon, 10 Nov 2014 09:20:37 +0000 |
| Subject: | Bug #68388 [Opn->Fbk]: proto string implode([string glue,] array pieces) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188528@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68388&edit=1
ID: 68388
Updated by: requinix@php.net
Reported by: zxh312007 at gmail dot com
Summary: proto string implode([string glue,] array pieces)
-Status: Open
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: fedora 20
PHP Version: 5.4.34
Block user comment: N
Private report: N
New Comment:
I see you're using Xdebug. What other Zend extensions are you using? Disable them all and try
again.
Previous Comments:
------------------------------------------------------------------------
[2014-11-10 08:36:14] zxh312007 at gmail dot com
Description:
------------
$ php -r "echo implode(array(1,2));"
PHP Warning: implode() expects exactly 2 parameters, 1 given in Command line code on line 1
PHP Stack trace:
PHP 1. {main}() Command line code:0
PHP 2. implode() Command line code:1
Warning: implode() expects exactly 2 parameters, 1 given in Command line code on line 1
Call Stack:
0.0001 252880 1. {main}() Command line code:0
0.0002 254792 2. implode() Command line code:1
PHP Warning: Wrong parameter count for implode() in Command line code on line 1
PHP Stack trace:
PHP 1. {main}() Command line code:0
PHP 2. implode() Command line code:1
Warning: Wrong parameter count for implode() in Command line code on line 1
Call Stack:
0.0001 252880 1. {main}() Command line code:0
0.0002 254792 2. implode() Command line code:1
Test script:
---------------
php -r "echo implode(array(1,2));"
Expected result:
----------------
12
Actual result:
--------------
$ php -r "echo implode(array(1,2));"
PHP Warning: implode() expects exactly 2 parameters, 1 given in Command line code on line 1
PHP Stack trace:
PHP 1. {main}() Command line code:0
PHP 2. implode() Command line code:1
Warning: implode() expects exactly 2 parameters, 1 given in Command line code on line 1
Call Stack:
0.0001 252880 1. {main}() Command line code:0
0.0002 254792 2. implode() Command line code:1
PHP Warning: Wrong parameter count for implode() in Command line code on line 1
PHP Stack trace:
PHP 1. {main}() Command line code:0
PHP 2. implode() Command line code:1
Warning: Wrong parameter count for implode() in Command line code on line 1
Call Stack:
0.0001 252880 1. {main}() Command line code:0
0.0002 254792 2. implode() Command line code:1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68388&edit=1