3v4l.org

run code in 300+ PHP versions simultaneously
<?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['databases'][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' ); for ($count = 0; $count < count($CONFIG['databases']); $count++) { print_r($CONFIG['database'][$count]); } ?>
Output for git.master, git.master_jit
Warning: Undefined array key "database" in /in/7rn2L on line 21 Warning: Trying to access array offset on value of type null in /in/7rn2L on line 21 Warning: Undefined array key "database" in /in/7rn2L on line 21 Warning: Trying to access array offset on value of type null in /in/7rn2L on line 21
Output for rfc.property-hooks
Warning: Undefined array key "database" in /in/7rn2L on line 21 Warning: Trying to access array offset on null in /in/7rn2L on line 21 Warning: Undefined array key "database" in /in/7rn2L on line 21 Warning: Trying to access array offset on null in /in/7rn2L on line 21

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:
42.19 ms | 401 KiB | 8 Q