run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_match('/\b\pL{2,4}\b/ui', array('очень длинные слова', 'a тут короткие слова'));
Output for 4.3.3 - 7.1.0
Warning: preg_match() expects parameter 2 to be string, array given in /in/Zs737 on line 2
Output for 4.3.0 - 4.3.2
Notice: Array to string conversion in /in/Zs737 on line 2 Warning: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 3 in /in/Zs737 on line 2