<?php function silence(callable $cb, ...$args) { $previous = error_reporting(0); $ret = $cb(...$args); error_reporting($previous); return $ret; } $fp = silence(fn () => fopen("foo.txt", 4096));
You have javascript disabled. You will not be able to edit any code.