mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
25 lines
320 B
PHP
25 lines
320 B
PHP
--TEST--
|
|
comparing objects with strings/NULL
|
|
--FILE--
|
|
<?php
|
|
|
|
$o=new stdClass;
|
|
|
|
var_dump($o == "");
|
|
var_dump($o != "");
|
|
var_dump($o < "");
|
|
var_dump("" < $o);
|
|
var_dump("" > $o);
|
|
var_dump($o != null);
|
|
var_dump(is_null($o));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
bool(true)
|
|
bool(false)
|
|
bool(true)
|
|
bool(false)
|
|
bool(true)
|
|
bool(false)
|