3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wp_map_sidebars_widgets( $existing_sidebars_widgets ) { return $existing_sidebars_widgets; } $sidebars_widgets = array( 'sidebar-1' => array(), 'sidebar-2' => array(), 'sidebar-3' => null ); $sidebars_widgets = wp_map_sidebars_widgets( $sidebars_widgets ); // Find hidden/lost multi-widget instances. $shown_widgets = array_merge( ...array_values( $sidebars_widgets ) );
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: array_merge(): Argument #3 must be of type array, null given in /in/i45nZ:11 Stack trace: #0 /in/i45nZ(11): array_merge(Array, Array, NULL) #1 {main} thrown in /in/i45nZ on line 11
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:
59.9 ms | 405 KiB | 5 Q