3v4l.org

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