php-src/Zend/tests/object-null.phpt
2006-05-12 10:02:13 +00:00

22 lines
244 B
PHP

--TEST--
Test whether an object is NULL or not.
--FILE--
<?php
class Bla
{
}
$b = new Bla;
var_dump($b != null);
var_dump($b == null);
var_dump($b !== null);
var_dump($b === null);
?>
--EXPECT--
bool(true)
bool(false)
bool(true)
bool(false)