php-src/Zend/tests/bug32428.phpt
Stanislav Malyshev 02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00

14 lines
254 B
PHP

--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