php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33889 Array_map will not accept print() or echo() functions
Submitted: 2005-07-27 18:26 UTC Modified: 2005-07-27 20:05 UTC
From: wckits at rit dot edu Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.3 OS: SunOS
Private report: No CVE-ID: None
 [2005-07-27 18:26 UTC] wckits at rit dot edu
Description:
------------
The array_map will not accept print() or echo() as callback functions.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-27 18:28 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Because print & echo are language constructs, not functions.
 [2005-07-27 20:04 UTC] wckits at rit dot edu
This bug is just another instance of PHP's current near-complete lack of orthogonality. This is a 'serious flaw' more than a bug, but there is no 'fundemental problems with the language that no one will admit to' database.
 [2005-07-27 20:05 UTC] wckits at rit dot edu
This bug is just another instance of PHP's current near-complete lack of orthogonality. This is a 'serious flaw' more than a bug, but there is no 'fundimental problems with the language that no one will admit to' database.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 10:00:03 2025 UTC