3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = array(); for( $i=0; $i < 10000000; $i++ ) { $count = 0; if ( isset( $foo[$i]['foo'] ) ) $count = count( $foo[$i]['bar'] ); }
based on 3e2WC
Output for 5.3.11 - 5.3.12, 5.3.16, 5.3.18 - 5.3.19, 5.3.21 - 5.3.26, 5.3.28 - 7.2.0
Output for 5.3.13 - 5.3.15, 5.3.17, 5.3.20, 5.3.27

Process exited with code 137.