3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $contents=chr(2).chr(2).chr(2)."122222234567890vwxyz".chr(3).chr(3).chr(3); var_dump(preg_match_all('/([\x00-\x09])\1{2,}/', $contents,$res)); var_dump($res); die();
Output for 5.2.15 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(2) array(2) { [0]=> array(2) { [0]=> string(3) "" [1]=> string(3) "" } [1]=> array(2) { [0]=> string(1) "" [1]=> string(1) "" } }