3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = ".........12129018 - ZQH X Bop. Hrtepou 50 flerpoUrroXn ........01983413 - 0E000PA E KapaoAn Anpn-rPou 21 EAArivtg .....................................................09007121 - MAPIA KapaoAri Arpn-rptou 21 Elanvolo .. 12135589 - MAPIA E ...................................................... 2109643887 - MAPIA 0 loucrrivou 8 HX.toOrran ..............2109914534 AIPITAKHE APTEMIOE n Avrtnopou 22 Reptcrrept ....._.........._......._................6977440896 , -10AN."; preg_match_all("//(?<!\d)\d{8}(?!\d)/", $text, $matches); print_r($matches[0]);
Output for 5.2.0 - 7.1.0
Warning: preg_match_all(): Unknown modifier '(' in /in/4bUEa on line 5
Output for 4.3.11 - 5.1.6
Warning: preg_match_all(): Unknown modifier '(' in /in/4bUEa on line 5 Notice: Undefined offset: 0 in /in/4bUEa on line 6
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier '(' in /in/4bUEa on line 5 Notice: Undefined offset: 0 in /in/4bUEa on line 6