3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = array(); for( $i=0; $i < 1000000; $i++ ) { $count = 0; if ( isset( $foo[$i]['foo'] ) ) $count = count( $foo[$i]['bar'] ); }
based on kbFKq
Output for 4.3.0 - 7.2.0