php.net |  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
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:
47 - 27 = ?
Subscribe to this entry?

 
 [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? :-)

Thanks.

Dan Kreft
Software Development Engineer
LiveBid Auctions
amazon.com

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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: Wed May 01 03:01:30 2024 UTC