php-src/Zend/tests/bug32428.phpt

14 lines
254 B
Plaintext
Raw Normal View History

--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";
?>
2005-06-15 09:23:28 +00:00
--EXPECT--
ok