Incorrect result when comparing two empty SimpleXMLElements for equality
Open
low-pri
php5 incompatibility
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
``` PHP
');
$y = new SimpleXMLElement('');
$z = new SimpleXMLElement('');
var_dump($x == $y); // PHP5.2+: false, HHVM: true
var_dump($x == $z); // as above
```
http://3v4l.org/gkfr3
Contributor guide
Assessment
This issue has not been assessed yet.