3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( '/category/arts_and_entertainment' => 'Arts And Entertainment', '/category/arts_and_entertainment/animation_and_comics' => 'Animation And Comics', '//twitter.com/share' => 'Tweet', '/website/mangafox.me' => 'Mangafox.me', '/website/mangareader.net' => 'Mangareader.net' ); $vals = array_intersect_key( $array, array_flip( preg_grep( '/^\/website\//', array_keys( $array ) ) ) ); echo "<pre>"; print_r($vals);exit;
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [/website/mangafox.me] => Mangafox.me [/website/mangareader.net] => Mangareader.net )

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