Why, despite the text to the header I don't catch any errors?

<html>
<?php
/* This example will result in an error. Please note
 * on a tag at the top that is printed before the call to header() */
header('Location: http://www.example.com/');
exit;
?>

redirects me to the website www.example.com
April 4th 20 at 00:51
1 answer
April 4th 20 at 00:53
Solution
https://www.php.net/manual/ru/outcontrol.configura...

In any lamerskie assemblies, like WAMP and others, the default value is 4096.
So, on the one hand, the poor Nuba was not fought in the error headers already St, and on the other to absolutely not buried.
Good should be 0 to used to writing like human beings, not shoving output before header.

Find more questions by tags PHP