3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all( '/\[([\w]*?)\:([\w\W\s]*?)\]/' , '[email:optin|<u>Optin</u>]' , $matches); echo stristr($matches[1][0], 'email'));
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/YFUJG on line 4
Process exited with code 255.