3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $CONFIG['databases'][0] = 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'][1] = Array( 'db_type'=>'mysql', 'db_host'=>'mysql-2.kardex.com.au:3306', 'db_username'=>'myoffe1001', 'db_password'=>'sKZmhqzh', 'db_name'=>'offertracking_kardex_com_au' }; print_r($CONFIG['database'][0]); ?>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.29
Parse error: syntax error, unexpected '}', expecting ')' in /in/0rPIq on line 9
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 '}', expecting ')' in /in/0rPIq on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/0rPIq on line 9
Process exited with code 255.