php-src/Zend/tests/bug32428.phpt
2005-06-15 09:23:28 +00:00

14 lines
253 B
PHP
Executable File

--TEST--
Bug #32428 (The @ warning error supression 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