3v4l.org

run code in 300+ PHP versions simultaneously
<?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 as $CONFIG['database']) print_r($db); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $db in /in/10rtm on line 19 Warning: foreach() argument must be of type array|object, null given in /in/10rtm on line 19

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.02 ms | 401 KiB | 8 Q