3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = new ArrayIterator(array()); $foo->propi = 'test'; echo $foo->propi;
Output for 5.0.0 - 7.1.7
test
Output for 4.3.2 - 4.4.9
<br /> <b>Fatal error</b>: Cannot instantiate non-existent class: arrayiterator in <b>/in/81RLp</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Cannot instantiate non-existent class: arrayiterator in <b>/in/81RLp</b> on line <b>3</b><br />