3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'Josef 199 Kč Jan Kuchař 199 Kč monthly Karel Krenek 199 Kč Peter Lackner 10 $ Jan Dasovsky 2999 Kč Lukáš Jeschke 200 Kč Jakub Váňa, kanc. spol. Atollon 99 Kč monthly Karel Kolis 499 Kč Marek Hajer 499 Kč Václav Barnáš 99 Kč David Jeřábek 99 Kč monthly Martin Šturc 100 Kč Matouš Němec 200 Kč Jakub Chábek 500 Kč Michal Kurtulil - Yonix.sk 199 Kč monthly robert juricek 5 € Michal Seč 199 Kč monthly Martin Štěpař 499 Kč Petr Sykora 9 € monthly Vaclav Kraus 99 Kč monthly Tomas Mleziva 256 Kč Stanislav Kurinec 99 Kč monthly Jozef Jaššo 99 Kč monthly Jan Trejbal 99 Kč monthly Daniel Duran 199 Kč www.is1.cz 999 Kč Premek Koch 99 Kč monthly Nikol Ježková 99 Kč David Bouchner 199 Kč Vaclav Bohac 5 $ Pavel Hájek 199 Kč Tomas Bek 199 Kč Hubálek Martin 199 Kč Tomáš Hodboď 99 € Matej Kolesar 199 Kč Adam Klvač 199 Kč Libor Stránský 500 Kč Jakub Váňa, kanc. spol. Atollon 99 Kč monthly Jiří Švejda 100 Kč JOSEF DOHNAL 99 Kč monthly Martin Zikmund 99 Kč Matúš Matula 199 Kč Peter Zúber 199 Kč Jiří Špaček 99 Kč Tomáš Jacík 1000 Kč Vodrážka, Tomáš, Ing 100 Kč David Jeřábek 99 Kč monthly Michal Dobsovic 499 Kč Martin Lutonský 199 Kč Juraj Kovac 19 € Libor Geisler 199 Kč Ondrej Pospisil 199 Kč František Hrubeš 499 Kč Webwings s.r.o. 1999 Kč 2H C.s. s.r.o. 499 Kč Petr Holeček 123 Kč Appio Digital s.r.o. 666 Kč Jan Lorenc 499 Kč Michal Seč 199 Kč monthly Lukas Hladík 499 Kč Vaclav Kraus 99 Kč monthly Aleš Hladílek 256 Kč Pavel Půlpán 199 Kč Milan Kolčák 199 Kč Peter Kovalčík 5 € Ivan Mišák 199 Kč Lukáš Prudil 199 Kč Filip Lukac 199 Kč Jiri Glinz 128 Kč Roman Navrátil 199 Kč Lukas Kadlec 99 Kč Tomáš Ciboch 499 Kč Pavel Železný 200 Kč Peter Vojtech 300 Kč Tomáš Král 2000 Kč Miroslav Měřínský 500 Kč Adam Pisl 999 Kč Tomáš Vojtek 99 Kč Tomáš Valiašek 499 Kč Filip Vaněček 99 Kč Jakub Bouček 499 Kč Miloslav Strunc 499 Kč Jozef Jaššo 99 Kč monthly Alexandr Szöllös 99 Kč Václav Sedlář 99 Kč Litea Solution s.r.o. 999 Kč Jan Trejbal 99 Kč monthly Simplia, s.r.o. 499 Kč Matous Michalik 499 Kč Pavel Janda 199 Kč Petr Ogurcak 199 Kč Lukas Vana 499 Kč Daniel Robenek 222 Kč Lukáš Tomek 1200 Kč Patrik Hoffmann 99 Kč Vladimír Čamaj 199 Kč Válek Oldřich 199 Kč Aleš Tošovský 199 Kč Tomas Kulhanek 199 Kč Jan Novy 99 Kč Zdenek Spulak 223 Kč Ondřej Plšek 99 Kč Richard Fakenberg 99 Kč Peter Berta 5 € Jakub Bárta 666 Kč Jan Poláček 1 Kč Pospisil Jan 200 Kč Ševčík Michal 199 Kč JOSEF DOHNAL 99 Kč monthly Jakub Váňa, kanc. spol. Atollon 99 Kč monthly Vaclav Kraus 99 Kč monthly Jozef Jaššo 99 Kč monthly Pospisil Jan 200 Kč JOSEF DOHNAL 99 Kč monthly Jakub Váňa, kanc. spol. Atollon 99 Kč monthly Jan Pikl 333 Kč David Mach 100 Kč Vaclav Kraus 99 Kč monthly Jozef Jaššo 99 Kč monthly Jan Blaško 1440 Kč Pospisil Jan 200 Kč JOSEF DOHNAL 99 Kč monthly Jakub Váňa, kanc. spol. Atollon 99 Kč monthly David Mach 100 Kč Jan Střálka 222 Kč Jozef Jaššo 99 Kč monthly Pospisil Jan 200 Kč Ondřej Doktor 1001 Kč Michal Kurtulil - Yonix.sk 19 € JOSEF DOHNAL 99 Kč monthly Jakub Váňa, kanc. spol. Atollon 99 Kč monthly Martin Příhoda 200 Kč Jozef Jaššo 99 Kč monthly Pospisil Jan 200 Kč JOSEF DOHNAL 99 Kč monthly Jakub Váňa, kanc. spol. Atollon 99 Kč monthly David Mach 100 Kč Jozef Jaššo 99 Kč monthly JOSEF DOHNAL 99 Kč monthly'; preg_match_all('!\d+!', $str, $matches); print_r($matches);
based on KcBlY
Output for 4.3.0 - 7.2.0
Array ( [0] => Array ( [0] => 199 [1] => 199 [2] => 199 [3] => 10 [4] => 2999 [5] => 200 [6] => 99 [7] => 499 [8] => 499 [9] => 99 [10] => 99 [11] => 100 [12] => 200 [13] => 500 [14] => 199 [15] => 5 [16] => 199 [17] => 499 [18] => 9 [19] => 99 [20] => 256 [21] => 99 [22] => 99 [23] => 99 [24] => 199 [25] => 1 [26] => 999 [27] => 99 [28] => 99 [29] => 199 [30] => 5 [31] => 199 [32] => 199 [33] => 199 [34] => 99 [35] => 199 [36] => 199 [37] => 500 [38] => 99 [39] => 100 [40] => 99 [41] => 99 [42] => 199 [43] => 199 [44] => 99 [45] => 1000 [46] => 100 [47] => 99 [48] => 499 [49] => 199 [50] => 19 [51] => 199 [52] => 199 [53] => 499 [54] => 1999 [55] => 2 [56] => 499 [57] => 123 [58] => 666 [59] => 499 [60] => 199 [61] => 499 [62] => 99 [63] => 256 [64] => 199 [65] => 199 [66] => 5 [67] => 199 [68] => 199 [69] => 199 [70] => 128 [71] => 199 [72] => 99 [73] => 499 [74] => 200 [75] => 300 [76] => 2000 [77] => 500 [78] => 999 [79] => 99 [80] => 499 [81] => 99 [82] => 499 [83] => 499 [84] => 99 [85] => 99 [86] => 99 [87] => 999 [88] => 99 [89] => 499 [90] => 499 [91] => 199 [92] => 199 [93] => 499 [94] => 222 [95] => 1200 [96] => 99 [97] => 199 [98] => 199 [99] => 199 [100] => 199 [101] => 99 [102] => 223 [103] => 99 [104] => 99 [105] => 5 [106] => 666 [107] => 1 [108] => 200 [109] => 199 [110] => 99 [111] => 99 [112] => 99 [113] => 99 [114] => 200 [115] => 99 [116] => 99 [117] => 333 [118] => 100 [119] => 99 [120] => 99 [121] => 1440 [122] => 200 [123] => 99 [124] => 99 [125] => 100 [126] => 222 [127] => 99 [128] => 200 [129] => 1001 [130] => 19 [131] => 99 [132] => 99 [133] => 200 [134] => 99 [135] => 200 [136] => 99 [137] => 99 [138] => 100 [139] => 99 [140] => 99 ) )