php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35352 php-cli uses > for array dump.
Submitted: 2005-11-23 18:03 UTC Modified: 2005-12-07 01:00 UTC
From: purewell at gmail dot com Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.0.5 OS: Fedora Core 4
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 31 = ?
Subscribe to this entry?

 
 [2005-11-23 18:03 UTC] purewell at gmail dot com
Description:
------------
php-cli needs not '>' however for dumpping arraies uses it.

Reproduce code:
---------------
#/usr/bin/php
<? phpinfo(); ?>

Expected result:
----------------
...
_SERVER["argv"] => Array
(
    [0] => /home/purewell/bin/myphp
    [1] => --help
)
...

Actual result:
--------------
...
_SERVER["argv"] => Array
(
    [0] =&gt; /home/purewell/bin/myphp
    [1] =&gt; --help
)
...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-23 20:22 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-12-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 16:01:27 2023 UTC