bug32428.phpt 248 B

12345678910111213
  1. --TEST--
  2. Bug #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--
  13. ok