php-src/Zend/tests/bug32428.phpt
2018-10-14 12:07:20 -03:00

14 lines
248 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