mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
22 lines
244 B
PHP
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)
|