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