3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class SomeClass {} $instance = new SomeClass(); $reference = &$instance; echo (($instance === $reference) ? 'TRUE' : 'FALSE') ."\n"; $assigned = $instance; echo ($instance === $assigned) ? 'TRUE' : 'FALSE';
based on eFQiP
Output for 5.3.21 - 7.2.0
TRUE TRUE