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' ); foreach ($CONFIG['database'] as $db) { print_r($db); } ?>
Output for 4.3.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 )