3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $h = "asdasd __asdasd__ frer __ desg df -+ br __"; preg_match_all('/_\_(.*?)_\_/i', $h, $r, PREG_PATTERN_ORDER); print_r($r);
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [0] => __asdasd__ [1] => __ desg df -+ br __ ) [1] => Array ( [0] => asdasd [1] => desg df -+ br ) )