: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
include_once 'function.php';
$path = isset($_GET['path']) && !empty($_GET['path']) ? rawurldecode($_GET['path']) : null;
&& isPathNotPermission($path) == false
&& getimagesize($path) !== false