3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = 'List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/>'; $getCampListEmailid =preg_match("/^List-Unsubscribe: <http:\/\/a.mydomain.com\/u\/([0-9]+)[\/]([0-9]+)[\/]([0-9]+)[\/][a-f0-9]{32}[\/>]/",$body,$match); var_dump($getCampListEmailid); var_dump($match[1]); var_dump($match[2]); if($getCampListEmailid && isset($match[1]) && isset($match[2])){ print 'yep'; }
Output for git.master, git.master_jit, rfc.property-hooks
int(1) string(1) "1" string(3) "100" yep

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