php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51440 request extend echo print sentences
Submitted: 2010-03-30 19:55 UTC Modified: 2010-03-30 21:41 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: datamine dot maramirezc at gmail dot com Assigned:
Status: Wont fix Package: Output Control
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: datamine dot maramirezc at gmail dot com
New email:
PHP Version: OS:

 

 [2010-03-30 19:55 UTC] datamine dot maramirezc at gmail dot com
Description:
------------
This is a request. 
Please, add <i>println</i> and <i>echoln</i> sentences.

Instead of writing this <b>several times</b>:

<pre>
print "whatever\n";
echo "whatever\n";
</pre>

We could use a more compact:

<pre>
println "whatever";
echoln "whatever";
</pre>


It's useful when the program outputs a single string for a H.T.M.L. single line.
This way, it's easier to debug the H.T.M.L. code generated.

Thanks.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-30 21:41 UTC] fa@php.net
-Status: Open +Status: Wont fix -Type: Bug +Type: Feature/Change Request
 [2010-03-30 21:41 UTC] fa@php.net
This is not Pascal.
 [2010-07-13 21:04 UTC] php at guerrillamailblock dot com
No, this is not Pascal, this is PHP. So what?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 15:01:31 2025 UTC