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 ($db : $CONFIG['database']) print_r($db); ?>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.29
Parse error: syntax error, unexpected ':' in /in/jcO3R on line 19
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/jcO3R on line 19
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/jcO3R on line 19
Process exited with code 255.