3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all('#\w#u','Zimbra KOBİ E-posta Servisi Firmaya Özel Kurulum',$f); var_dump($f); preg_match_all('#\pL#u','Orange HRM İnsan Kaynakları Yönetim Uygulaması',$f); var_dump($f);
Output for 5.3.4 - 7.1.0
array(1) { [0]=> array(41) { [0]=> string(1) "Z" [1]=> string(1) "i" [2]=> string(1) "m" [3]=> string(1) "b" [4]=> string(1) "r" [5]=> string(1) "a" [6]=> string(1) "K" [7]=> string(1) "O" [8]=> string(1) "B" [9]=> string(2) "İ" [10]=> string(1) "E" [11]=> string(1) "p" [12]=> string(1) "o" [13]=> string(1) "s" [14]=> string(1) "t" [15]=> string(1) "a" [16]=> string(1) "S" [17]=> string(1) "e" [18]=> string(1) "r" [19]=> string(1) "v" [20]=> string(1) "i" [21]=> string(1) "s" [22]=> string(1) "i" [23]=> string(1) "F" [24]=> string(1) "i" [25]=> string(1) "r" [26]=> string(1) "m" [27]=> string(1) "a" [28]=> string(1) "y" [29]=> string(1) "a" [30]=> string(2) "Ö" [31]=> string(1) "z" [32]=> string(1) "e" [33]=> string(1) "l" [34]=> string(1) "K" [35]=> string(1) "u" [36]=> string(1) "r" [37]=> string(1) "u" [38]=> string(1) "l" [39]=> string(1) "u" [40]=> string(1) "m" } } array(1) { [0]=> array(41) { [0]=> string(1) "O" [1]=> string(1) "r" [2]=> string(1) "a" [3]=> string(1) "n" [4]=> string(1) "g" [5]=> string(1) "e" [6]=> string(1) "H" [7]=> string(1) "R" [8]=> string(1) "M" [9]=> string(2) "İ" [10]=> string(1) "n" [11]=> string(1) "s" [12]=> string(1) "a" [13]=> string(1) "n" [14]=> string(1) "K" [15]=> string(1) "a" [16]=> string(1) "y" [17]=> string(1) "n" [18]=> string(1) "a" [19]=> string(1) "k" [20]=> string(1) "l" [21]=> string(1) "a" [22]=> string(1) "r" [23]=> string(2) "ı" [24]=> string(1) "Y" [25]=> string(2) "ö" [26]=> string(1) "n" [27]=> string(1) "e" [28]=> string(1) "t" [29]=> string(1) "i" [30]=> string(1) "m" [31]=> string(1) "U" [32]=> string(1) "y" [33]=> string(1) "g" [34]=> string(1) "u" [35]=> string(1) "l" [36]=> string(1) "a" [37]=> string(1) "m" [38]=> string(1) "a" [39]=> string(1) "s" [40]=> string(2) "ı" } }
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.3.3
array(1) { [0]=> array(39) { [0]=> string(1) "Z" [1]=> string(1) "i" [2]=> string(1) "m" [3]=> string(1) "b" [4]=> string(1) "r" [5]=> string(1) "a" [6]=> string(1) "K" [7]=> string(1) "O" [8]=> string(1) "B" [9]=> string(1) "E" [10]=> string(1) "p" [11]=> string(1) "o" [12]=> string(1) "s" [13]=> string(1) "t" [14]=> string(1) "a" [15]=> string(1) "S" [16]=> string(1) "e" [17]=> string(1) "r" [18]=> string(1) "v" [19]=> string(1) "i" [20]=> string(1) "s" [21]=> string(1) "i" [22]=> string(1) "F" [23]=> string(1) "i" [24]=> string(1) "r" [25]=> string(1) "m" [26]=> string(1) "a" [27]=> string(1) "y" [28]=> string(1) "a" [29]=> string(1) "z" [30]=> string(1) "e" [31]=> string(1) "l" [32]=> string(1) "K" [33]=> string(1) "u" [34]=> string(1) "r" [35]=> string(1) "u" [36]=> string(1) "l" [37]=> string(1) "u" [38]=> string(1) "m" } } array(1) { [0]=> array(41) { [0]=> string(1) "O" [1]=> string(1) "r" [2]=> string(1) "a" [3]=> string(1) "n" [4]=> string(1) "g" [5]=> string(1) "e" [6]=> string(1) "H" [7]=> string(1) "R" [8]=> string(1) "M" [9]=> string(2) "İ" [10]=> string(1) "n" [11]=> string(1) "s" [12]=> string(1) "a" [13]=> string(1) "n" [14]=> string(1) "K" [15]=> string(1) "a" [16]=> string(1) "y" [17]=> string(1) "n" [18]=> string(1) "a" [19]=> string(1) "k" [20]=> string(1) "l" [21]=> string(1) "a" [22]=> string(1) "r" [23]=> string(2) "ı" [24]=> string(1) "Y" [25]=> string(2) "ö" [26]=> string(1) "n" [27]=> string(1) "e" [28]=> string(1) "t" [29]=> string(1) "i" [30]=> string(1) "m" [31]=> string(1) "U" [32]=> string(1) "y" [33]=> string(1) "g" [34]=> string(1) "u" [35]=> string(1) "l" [36]=> string(1) "a" [37]=> string(1) "m" [38]=> string(1) "a" [39]=> string(1) "s" [40]=> string(2) "ı" } }
Output for 4.3.11, 5.0.0 - 5.0.4
array(1) { [0]=> array(39) { [0]=> string(1) "Z" [1]=> string(1) "i" [2]=> string(1) "m" [3]=> string(1) "b" [4]=> string(1) "r" [5]=> string(1) "a" [6]=> string(1) "K" [7]=> string(1) "O" [8]=> string(1) "B" [9]=> string(1) "E" [10]=> string(1) "p" [11]=> string(1) "o" [12]=> string(1) "s" [13]=> string(1) "t" [14]=> string(1) "a" [15]=> string(1) "S" [16]=> string(1) "e" [17]=> string(1) "r" [18]=> string(1) "v" [19]=> string(1) "i" [20]=> string(1) "s" [21]=> string(1) "i" [22]=> string(1) "F" [23]=> string(1) "i" [24]=> string(1) "r" [25]=> string(1) "m" [26]=> string(1) "a" [27]=> string(1) "y" [28]=> string(1) "a" [29]=> string(1) "z" [30]=> string(1) "e" [31]=> string(1) "l" [32]=> string(1) "K" [33]=> string(1) "u" [34]=> string(1) "r" [35]=> string(1) "u" [36]=> string(1) "l" [37]=> string(1) "u" [38]=> string(1) "m" } } Warning: preg_match_all(): Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 1 in /in/AAFr2 on line 5 array(0) { }
Output for 4.3.0 - 4.3.10
array(1) { [0]=> array(39) { [0]=> string(1) "Z" [1]=> string(1) "i" [2]=> string(1) "m" [3]=> string(1) "b" [4]=> string(1) "r" [5]=> string(1) "a" [6]=> string(1) "K" [7]=> string(1) "O" [8]=> string(1) "B" [9]=> string(1) "E" [10]=> string(1) "p" [11]=> string(1) "o" [12]=> string(1) "s" [13]=> string(1) "t" [14]=> string(1) "a" [15]=> string(1) "S" [16]=> string(1) "e" [17]=> string(1) "r" [18]=> string(1) "v" [19]=> string(1) "i" [20]=> string(1) "s" [21]=> string(1) "i" [22]=> string(1) "F" [23]=> string(1) "i" [24]=> string(1) "r" [25]=> string(1) "m" [26]=> string(1) "a" [27]=> string(1) "y" [28]=> string(1) "a" [29]=> string(1) "z" [30]=> string(1) "e" [31]=> string(1) "l" [32]=> string(1) "K" [33]=> string(1) "u" [34]=> string(1) "r" [35]=> string(1) "u" [36]=> string(1) "l" [37]=> string(1) "u" [38]=> string(1) "m" } } Warning: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 1 in /in/AAFr2 on line 5 array(0) { }