<?php if ($_GET['stderr'] ?? false) {
$stderr = fopen('php://stderr', 'a');
fwrite($stderr, 'This is a test log into stderr');
fclose($stderr);
}
if ($_GET['error_log'] ?? false) {
<?php if ($_GET['stderr'] ?? false) {
$stderr = fopen('php://stderr', 'a');
fwrite($stderr, 'This is a test log into stderr');
fclose($stderr);
}
if ($_GET['error_log'] ?? false) {