xref: /PHP-8.0/Zend/tests/bug32428.phpt (revision 782352c5)
1--TEST--
2Bug #32428 (The @ warning error suppression operator is broken)
3--FILE--
4<?php
5  $data = @$not_exists;
6  $data = @($not_exists);
7  $data = @!$not_exists;
8  $data = !@$not_exists;
9  $data = @($not_exists+1);
10  echo "ok\n";
11?>
12--EXPECT--
13ok
14