3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $saida = 'vazio'; $array = array( 'Foo' => NULL ); for( $i = 0; $i <= 10000; $i++ ) { if (array_key_exists('Foo', $array)){ $saida = $i; } } echo $saida;
Output for 4.3.0 - 7.1.10
10000