3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $CONFIG['databases'][] = Array( 'db_type'=>'mysql', 'db_host'=>'mysql-5.kardex.com.au:3306', 'db_username'=>'mykard1001', 'db_password'=>'aA5h9XCx', 'db_name'=>'kardexdb_kardex_com_au' ); $CONFIG['database'][] = Array( 'db_type'=>'mysql', 'db_host'=>'mysql-2.kardex.com.au:3306', 'db_username'=>'myoffe1001', 'db_password'=>'sKZmhqzh', 'db_name'=>'offertracking_kardex_com_au' ); for ($count = 0; $count < count($CONFIG['database']); $count++) { print_r($CONFIG['database'][$count]); } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [db_type] => mysql [db_host] => mysql-2.kardex.com.au:3306 [db_username] => myoffe1001 [db_password] => sKZmhqzh [db_name] => offertracking_kardex_com_au )
Output for hhvm-3.10.0

Process exited with code 153.