3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.gordon.se/?aguid=asdfasdfasdfasdfasdf'; $urlData = preg_split('/aguid\=/i', $url); print "urldata:" . print_r($urlData, 1); $aguid = preg_replace_callback('/([^\w{32}])/i', function($match){ return $match[0]; }, $urlData[1]); print "aguid:" . print_r($aguid, 1);
Output for git.master, git.master_jit, rfc.property-hooks
urldata:Array ( [0] => http://www.gordon.se/? [1] => asdfasdfasdfasdfasdf ) aguid:asdfasdfasdfasdfasdf

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