3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "I have a very romantic and tender soul; my heart is full of love and passion, which I desire to share with my soul-mate. I am a very caring and friendly girl. I am also intelligent and a very understanding person with good sense of humor. I have many interests. For example, sports, art, nature, photography´┐Ż"; var_dump( preg_match_all('/[a-zA-Z0-9\,\.\'\"]+/U', $s, $matches), $matches );
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(250) array(1) { [0]=> array(250) { [0]=> string(1) "I" [1]=> string(1) "h" [2]=> string(1) "a" [3]=> string(1) "v" [4]=> string(1) "e" [5]=> string(1) "a" [6]=> string(1) "v" [7]=> string(1) "e" [8]=> string(1) "r" [9]=> string(1) "y" [10]=> string(1) "r" [11]=> string(1) "o" [12]=> string(1) "m" [13]=> string(1) "a" [14]=> string(1) "n" [15]=> string(1) "t" [16]=> string(1) "i" [17]=> string(1) "c" [18]=> string(1) "a" [19]=> string(1) "n" [20]=> string(1) "d" [21]=> string(1) "t" [22]=> string(1) "e" [23]=> string(1) "n" [24]=> string(1) "d" [25]=> string(1) "e" [26]=> string(1) "r" [27]=> string(1) "s" [28]=> string(1) "o" [29]=> string(1) "u" [30]=> string(1) "l" [31]=> string(1) "m" [32]=> string(1) "y" [33]=> string(1) "h" [34]=> string(1) "e" [35]=> string(1) "a" [36]=> string(1) "r" [37]=> string(1) "t" [38]=> string(1) "i" [39]=> string(1) "s" [40]=> string(1) "f" [41]=> string(1) "u" [42]=> string(1) "l" [43]=> string(1) "l" [44]=> string(1) "o" [45]=> string(1) "f" [46]=> string(1) "l" [47]=> string(1) "o" [48]=> string(1) "v" [49]=> string(1) "e" [50]=> string(1) "a" [51]=> string(1) "n" [52]=> string(1) "d" [53]=> string(1) "p" [54]=> string(1) "a" [55]=> string(1) "s" [56]=> string(1) "s" [57]=> string(1) "i" [58]=> string(1) "o" [59]=> string(1) "n" [60]=> string(1) "," [61]=> string(1) "w" [62]=> string(1) "h" [63]=> string(1) "i" [64]=> string(1) "c" [65]=> string(1) "h" [66]=> string(1) "I" [67]=> string(1) "d" [68]=> string(1) "e" [69]=> string(1) "s" [70]=> string(1) "i" [71]=> string(1) "r" [72]=> string(1) "e" [73]=> string(1) "t" [74]=> string(1) "o" [75]=> string(1) "s" [76]=> string(1) "h" [77]=> string(1) "a" [78]=> string(1) "r" [79]=> string(1) "e" [80]=> string(1) "w" [81]=> string(1) "i" [82]=> string(1) "t" [83]=> string(1) "h" [84]=> string(1) "m" [85]=> string(1) "y" [86]=> string(1) "s" [87]=> string(1) "o" [88]=> string(1) "u" [89]=> string(1) "l" [90]=> string(1) "m" [91]=> string(1) "a" [92]=> string(1) "t" [93]=> string(1) "e" [94]=> string(1) "." [95]=> string(1) "I" [96]=> string(1) "a" [97]=> string(1) "m" [98]=> string(1) "a" [99]=> string(1) "v" [100]=> string(1) "e" [101]=> string(1) "r" [102]=> string(1) "y" [103]=> string(1) "c" [104]=> string(1) "a" [105]=> string(1) "r" [106]=> string(1) "i" [107]=> string(1) "n" [108]=> string(1) "g" [109]=> string(1) "a" [110]=> string(1) "n" [111]=> string(1) "d" [112]=> string(1) "f" [113]=> string(1) "r" [114]=> string(1) "i" [115]=> string(1) "e" [116]=> string(1) "n" [117]=> string(1) "d" [118]=> string(1) "l" [119]=> string(1) "y" [120]=> string(1) "g" [121]=> string(1) "i" [122]=> string(1) "r" [123]=> string(1) "l" [124]=> string(1) "." [125]=> string(1) "I" [126]=> string(1) "a" [127]=> string(1) "m" [128]=> string(1) "a" [129]=> string(1) "l" [130]=> string(1) "s" [131]=> string(1) "o" [132]=> string(1) "i" [133]=> string(1) "n" [134]=> string(1) "t" [135]=> string(1) "e" [136]=> string(1) "l" [137]=> string(1) "l" [138]=> string(1) "i" [139]=> string(1) "g" [140]=> string(1) "e" [141]=> string(1) "n" [142]=> string(1) "t" [143]=> string(1) "a" [144]=> string(1) "n" [145]=> string(1) "d" [146]=> string(1) "a" [147]=> string(1) "v" [148]=> string(1) "e" [149]=> string(1) "r" [150]=> string(1) "y" [151]=> string(1) "u" [152]=> string(1) "n" [153]=> string(1) "d" [154]=> string(1) "e" [155]=> string(1) "r" [156]=> string(1) "s" [157]=> string(1) "t" [158]=> string(1) "a" [159]=> string(1) "n" [160]=> string(1) "d" [161]=> string(1) "i" [162]=> string(1) "n" [163]=> string(1) "g" [164]=> string(1) "p" [165]=> string(1) "e" [166]=> string(1) "r" [167]=> string(1) "s" [168]=> string(1) "o" [169]=> string(1) "n" [170]=> string(1) "w" [171]=> string(1) "i" [172]=> string(1) "t" [173]=> string(1) "h" [174]=> string(1) "g" [175]=> string(1) "o" [176]=> string(1) "o" [177]=> string(1) "d" [178]=> string(1) "s" [179]=> string(1) "e" [180]=> string(1) "n" [181]=> string(1) "s" [182]=> string(1) "e" [183]=> string(1) "o" [184]=> string(1) "f" [185]=> string(1) "h" [186]=> string(1) "u" [187]=> string(1) "m" [188]=> string(1) "o" [189]=> string(1) "r" [190]=> string(1) "." [191]=> string(1) "I" [192]=> string(1) "h" [193]=> string(1) "a" [194]=> string(1) "v" [195]=> string(1) "e" [196]=> string(1) "m" [197]=> string(1) "a" [198]=> string(1) "n" [199]=> string(1) "y" [200]=> string(1) "i" [201]=> string(1) "n" [202]=> string(1) "t" [203]=> string(1) "e" [204]=> string(1) "r" [205]=> string(1) "e" [206]=> string(1) "s" [207]=> string(1) "t" [208]=> string(1) "s" [209]=> string(1) "." [210]=> string(1) "F" [211]=> string(1) "o" [212]=> string(1) "r" [213]=> string(1) "e" [214]=> string(1) "x" [215]=> string(1) "a" [216]=> string(1) "m" [217]=> string(1) "p" [218]=> string(1) "l" [219]=> string(1) "e" [220]=> string(1) "," [221]=> string(1) "s" [222]=> string(1) "p" [223]=> string(1) "o" [224]=> string(1) "r" [225]=> string(1) "t" [226]=> string(1) "s" [227]=> string(1) "," [228]=> string(1) "a" [229]=> string(1) "r" [230]=> string(1) "t" [231]=> string(1) "," [232]=> string(1) "n" [233]=> string(1) "a" [234]=> string(1) "t" [235]=> string(1) "u" [236]=> string(1) "r" [237]=> string(1) "e" [238]=> string(1) "," [239]=> string(1) "p" [240]=> string(1) "h" [241]=> string(1) "o" [242]=> string(1) "t" [243]=> string(1) "o" [244]=> string(1) "g" [245]=> string(1) "r" [246]=> string(1) "a" [247]=> string(1) "p" [248]=> string(1) "h" [249]=> string(1) "y" } }