3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (class_exists('RecursiveDirectoryIterator')) { $i1 = new RecursiveDirectoryIterator('/tmp'); $i2 = new RecursiveDirectoryIterator('/tmp'); var_dump($i1 == $i2); } else { var_dump(false); }
based on lPhaH
Output for 5.0.0 - 7.2.0
bool(true)
Output for 4.3.0 - 4.4.9
bool(false)