Req #77684 [Com]: print with newline

From: Date: Sun, 03 Mar 2019 00:59:52 +0000
Subject: Req #77684 [Com]: print with newline
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219820@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: spam2 at rhsoft dot net 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: when I want the behavior of other programming languages I use them, that's why there are so many Previous Comments: ------------------------------------------------------------------------ [2019-03-02 18:37:58] svnpenn at gmail dot com @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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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

« previous php.bugs (#219820) next »