mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
20 lines
293 B
PHP
20 lines
293 B
PHP
--TEST--
|
|
SPL: SplObjectStorage comapred with ==
|
|
--FILE--
|
|
<?php
|
|
$a = new SplObjectStorage;
|
|
$b = new SplObjectStorage;
|
|
var_dump($a == $b);
|
|
$b[$b] = 2;
|
|
var_dump($a == $b);
|
|
$a[$b] = 2;
|
|
var_dump($a == $b);
|
|
$a[$b] = 3;
|
|
var_dump($a == $b);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(false)
|
|
bool(true)
|
|
bool(false)
|