Req #77684 [Com]: print with newline
| From: | svnpenn at gmail dot com | Date: | Sat, 02 Mar 2019 18:37:59 +0000 |
| Subject: | Req #77684 [Com]: print with newline | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219819@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77684&edit=1
ID: 77684
Comment by: svnpenn at gmail dot com
Reported by: svnpenn at gmail dot com
Summary: print with newline
Status: Open
Type: Feature/Change Request
Package: *General Issues
PHP Version: 7.3.2
Block user comment: N
Private report: N
New Comment:
@spam2 you are a professional idiot.
but as the page this bug is hosted on might exist for many years into future, i feel it my duty to
give a proper refutation. results of the example you gave:
echo $a, $b, $c;
are well defined in other programming languages. Python will print the objects separated by
"sep" (default empty) and finally by "end" (default newline):
https://docs.python.org/library/functions#print
Perl will print the objects separated by "$," (default empty) and finally by
"$\" (default empty):
https://perldoc.perl.org/functions/print.html
Ruby will print the objects separated by "$," (default empty) and finally by
"$\" (default empty):
http://ruby-doc.org/core/Kernel.html#method-i-print
And even Awk will print the objects separated by "OFS" (default space) and finally by
"ORS" (default newline):
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html#tag_20_06_13_10
As you have proven your poor understanding of programming languages (and the english language), i
would strongly suggest that you simply stop posting. However i know this warning will fall on deaf
ears. dumb has no off button.
Previous Comments:
------------------------------------------------------------------------
[2019-03-02 15:15:26] spam2 at rhsoft dot net
what would you do with "echo $a, $b, $c"?
echo is *not* a method at all to begin with
http://www.phpknowhow.com/basics/language-constructs-vs-built-in-functions/
------------------------------------------------------------------------
[2019-03-02 15:13:13] spam2 at rhsoft dot net
> actively and purposefully harming the PHP community
by expect common sense while finding out the address of internals takes 10 seconds? while ideas like
"1. the echo method be modified such that it produces newline by default", even the
thinking about it proves lack of common sense?
------------------------------------------------------------------------
[2019-03-02 15:08:25] svnpenn at gmail dot com
@requinix thank you
the emails have now been added:
https://reddit.com/r/PHP/comments/awd2e4/-/ehmcbig
finally is it possible to ban spam2? at best he has a tenuous grasp on english, and at worst he is
actively and purposefully harming the PHP community
------------------------------------------------------------------------
[2019-03-02 04:17:51] requinix@php.net
Feel free to ignore spam2.
The list email is internals@lists.php.net.
------------------------------------------------------------------------
[2019-03-02 04:06:49] spam2 at rhsoft dot net
> people can post to a mailing list without subscribing
and you think you gain what with that when you not receive answers expect from idiots with borken
mail coiuents not knowing "reply to list button" and press "reply all" to flood
people with duplicate swhile you not see ny response from people knowing how to use a mailing list?
and NO post from a rndom unsibsucribed email to a list is not how it works typically because very
random spambot would spread it#s shit to hundrets our thounds of subscribers unfiltered
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=77684
--
Edit this bug report at https://bugs.php.net/bug.php?id=77684&edit=1