3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matchVal = array(); $nowScore = 1; $matchVal[$nowScore] = array(); $matchVal[$nowScore][] = 56; $matchVal[$nowScore][] = 78; $nowScore = 4; $matchVal[$nowScore] = array(); $matchVal[$nowScore][] = 156; $matchVal[$nowScore][] = 178; ksort($matchVal); foreach($matchVal as $key => $val) { print($key." --> ".$val); } php?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/u8u8p on line 15 1 --> Array Warning: Array to string conversion in /in/u8u8p on line 15 4 --> Array Fatal error: Uncaught Error: Undefined constant "php" in /in/u8u8p:17 Stack trace: #0 {main} thrown in /in/u8u8p on line 17
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:
64.93 ms | 401 KiB | 8 Q