3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = 'fsdfsdff{cta}http://fsdfdsfdsfsd.pl/sdfctasd.html?trewt=rgtrertret{cta}dupa <dfdsfsdf>'; $result = mb_ereg('{cta}.{100,}{cta}', $html, $cta); var_dump($result, $cta);
based on ahtag
Output for 7.1.0 - 7.2.0
bool(false) array(0) { }
Output for 5.3.20 - 7.0.20
bool(false) NULL