3v4l.org

run code in 200+ 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.2.0
The string is not valid