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['databases'][] = 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['database']); $count++) { print_r($CONFIG['database'][$count]); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "database" in /in/kHfs2 on line 19 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/kHfs2:19 Stack trace: #0 {main} thrown in /in/kHfs2 on line 19
Process exited with code 255.

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