3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "/gdc/md/ea8h1hfaj4ayiwt823si8dskw4ab6oo6/obj/406"; preg_match('/^\/gdc\/md\/([a-z0-9]+)\/obj\/([0-9]+)$/', $s, $result); print_r($result);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Array ( [0] => /gdc/md/ea8h1hfaj4ayiwt823si8dskw4ab6oo6/obj/406 [1] => ea8h1hfaj4ayiwt823si8dskw4ab6oo6 [2] => 406 )
Output for Array change keys
Array ( [0] => /gdc/md/ea8h1hfaj4ayiwt823si8dskw4ab6oo6/obj/406 [1] => ea8h1hfaj4ayiwt823si8dskw4ab6oo6 [2] => 406 )
Output for Lexical anon
Array ( [0] => /gdc/md/ea8h1hfaj4ayiwt823si8dskw4ab6oo6/obj/406 [1] => ea8h1hfaj4ayiwt823si8dskw4ab6oo6 [2] => 406 )

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