3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_cats = array( 3 => 'Lifestyle', 4 => 'Career', 5 => 'Stories', 6 => 'Technology', 27 => 'Food' ); foreach ( $_cats as $__key => $__value ) { var_dump( $__value ); continue; }
Output for 4.3.0 - 7.2.0
string(9) "Lifestyle" string(6) "Career" string(7) "Stories" string(10) "Technology" string(4) "Food"