3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $txt = ' fghssd ggggg '; if (preg_match('/([a-z])\1{2,}/s', $txt)) echo 'The string is not valid';
Output for 4.3.0 - 7.1.0
The string is not valid