php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71552 string function implode does not allow left shift arrows
Submitted: 2016-02-09 03:57 UTC Modified: 2016-02-09 06:55 UTC
From: yuvaaji at gmail dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.6.18 OS: Debian Ubuntu 15.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 + 43 = ?
Subscribe to this entry?

 
 [2016-02-09 03:57 UTC] yuvaaji at gmail dot com
Description:
------------
implode('<<', $array) yields improper result. Result contains array from 2nd values.

Test script:
---------------
implode('<<', $array);

Expected result:
----------------
Networking Concepts<<Principles and Concepts<<Information Technology

Actual result:
--------------
Networking Concepts< Array

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-09 06:55 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2016-02-09 06:55 UTC] requinix@php.net
1. Do a View Source to see the actual output of your PHP code.
2. Use print_r() or var_dump() to see what $array actually contains.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 17:01:29 2024 UTC