<?php fopen( string $filename, string $mode, bool $use_include_path = false, ?resource $context = null): resource|false
<?php } if (isset($_GET['img'])) { $fp = fopen('https://bref.sh/img/logo-small.png', 'rb'); header('Content-Type: image/png'); fpassthru($fp); exit(0);
<?php unlink($downloadPath); } $fp = fopen($downloadPath, 'w'); $options = [ CURLOPT_HEADER => 0,
<?php } if ($_GET['stderr'] ?? false) { $stderr = fopen('php://stderr', 'a'); fwrite($stderr, 'This is a test log into stderr'); fclose($stderr); }