3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'indexColor' => '#0FF0FF', 'faviURL' => get_stylesheet_directory_uri() . '/favicon.ico', 'secondColor' => '#0FFF0F', 'background' => array( 'image' => NULL, 'color' => '#DDDDDD', 'repeat' => 'no-repeat' ), 'blog' => array( 'animations' => array( 'title_classes' => 'wow animated fadeIn' ) ), 'sidebar' => array( 'position' => 'right' ) ); function flatten_array(array $array) { $flattened_array = array(); array_walk_recursive($array, function($a) use (&$flattened_array) { $flattened_array[] = $a; }); return $flattened_array; } print_r(flatten_array($arr));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function get_stylesheet_directory_uri() in /in/XPiM6:4 Stack trace: #0 {main} thrown in /in/XPiM6 on line 4
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:
37.05 ms | 401 KiB | 8 Q