note 127917 added to language.basic-syntax.instruction-separation

From: Date: Fri, 11 Nov 2022 13:56:55 +0000
Subject: note 127917 added to language.basic-syntax.instruction-separation
Groups: php.notes 
Request: Send a blank email to php-notes+get-219872@lists.php.net to get a copy of this message
It appears that the implicit closing tags are placed after the last line of text, not the end of the file. The implication is that if you have blank lines at the end of your included file, they will be found in the output. For example, if including a configuration file that has blank lines at the end, these extra '\n's will be sent to the client. This can cause problems in xml rpc calls for example. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 2601:285:8380:d040:4827:7293:b283:2800) ---- Manual Page -- https://php.net/manual/en/language.basic-syntax.instruction-separation.php Edit -- https://main.php.net/note/edit/127917 Del: integrated -- https://main.php.net/note/delete/127917/integrated Del: useless -- https://main.php.net/note/delete/127917/useless Del: bad code -- https://main.php.net/note/delete/127917/bad+code Del: spam -- https://main.php.net/note/delete/127917/spam Del: non-english -- https://main.php.net/note/delete/127917/non-english Del: in docs -- https://main.php.net/note/delete/127917/in+docs Del: other reasons-- https://main.php.net/note/delete/127917 Reject -- https://main.php.net/note/reject/127917 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219872) next »