note 125161 added to function.syslog
| From: | OWM@php.net | Date: | Thu, 02 Jul 2020 04:45:17 +0000 |
| Subject: | note 125161 added to function.syslog | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214826@lists.php.net to get a copy of this message | ||
Syslog autodetects newline control characters and therefore splits the message by multiple lines. To
prevent this behavior in PHP 7.3+ you can use undocumented (at this moment) ini setting:
<?php
ini_set('syslog.filter', 'raw');
# more info here: https://bugs.php.net/bug.php?id=77913
----
Server IP: 45.112.84.4
Probable Submitter: 103.51.166.36 (proxied: 46.246.63.155)
----
Manual Page -- http://php.net/manual/en/function.syslog.php
Edit -- https://master.php.net/note/edit/125161
Del: integrated -- https://master.php.net/note/delete/125161/integrated
Del: useless -- https://master.php.net/note/delete/125161/useless
Del: bad code -- https://master.php.net/note/delete/125161/bad+code
Del: spam -- https://master.php.net/note/delete/125161/spam
Del: non-english -- https://master.php.net/note/delete/125161/non-english
Del: in docs -- https://master.php.net/note/delete/125161/in+docs
Del: other reasons-- https://master.php.net/note/delete/125161
Reject -- https://master.php.net/note/reject/125161
Search -- https://master.php.net/manage/user-notes.php