3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $search_tags = array( "happy", "summer", "beach", "glasses", "umbrella", "funny", "people", "music", "rap" ); $accounts = array( "account A", "account B", "account C" ); $accounts = new InfiniteIterator(new ArrayIterator((object) $accounts)); echo ucfirst($accounts->current()), PHP_EOL; echo ucfirst($accounts->current()), PHP_EOL;
Output for 5.2.14 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0