|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2458 Added functionality for echo()
Submitted: 1999-10-06 20:35 UTC Modified: 1999-10-31 09:31 UTC
From: dkreft at amazon dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Latest CVS (06/10/1999) OS: universal
Private report: No CVE-ID: None
 [1999-10-06 20:35 UTC] dkreft at amazon dot com
'Twould be nice to have perl-like behavior for echo (like perl's print()) statement.

In perl, if I wanted to produce a line of 80 dashes (for example, in an e-mail message), I could type:

print "-" x 80, "\n";

Currently there is no way to do this in PHP (as far as I can see). Any chance we can get this added? :-)


Dan Kreft
Software Development Engineer
LiveBid Auctions


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-31 09:31 UTC] rasmus at cvs dot php dot net
See printf()
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 20:01:31 2024 UTC