Bug #80750 [Opn->Dup]: @ breaks functions

From: Date: Sun, 14 Feb 2021 09:04:30 +0000
Subject: Bug #80750 [Opn->Dup]: @ breaks functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232153@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80750&edit=1 ID: 80750 Updated by: requinix@php.net Reported by: pavlusha23 at gmail dot com Summary: @ breaks functions -Status: Open +Status: Duplicate Type: Bug Package: Scripting Engine problem Operating System: All PHP Version: 8.0.2 Block user comment: N Private report: N New Comment: Duplicate of bug #80700 Previous Comments: ------------------------------------------------------------------------ [2021-02-14 09:02:34] pavlusha23 at gmail dot com Description: ------------ When using the @ symbol, the error_reporting function does not work. Test script: --------------- @error_reporting(0); var_dump(error_reporting()); error_reporting(0); var_dump(error_reporting()); Expected result: ---------------- int(0) int(0) Actual result: -------------- int(32767) int(0) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80750&edit=1

« previous php.bugs (#232153) next »