3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fonts = array( 0 => ["index" => 0, "name" => "Arial", "path" => "assets/fonts/arial.ttf"], 1 => ["index" => 1, "name" => "Times", "path" => "assets/fonts/times.ttf"], 2 => ["index" => 2, "name" => "Roboto", "path" => "assets/fonts/roboto.ttf"], 3 => ["index" => 3, "name" => "AlexBrush", "path" => "assets/fonts/AlexBrush-Regular.ttf"], ); $fonts = array_column($fonts, null, "name"); ksort($fonts); $fonts = array_column($fonts, null, "index"); echo $fonts[3]["name"]; //Var_dump($fonts);
Output for git.master, git.master_jit, rfc.property-hooks
AlexBrush

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:
152.43 ms | 405 KiB | 5 Q