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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 19:01:23 2020 UTC