3v4l.org

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