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 ...............................#12............You have been assigned to the job #3 Megastar 4(01923033) #4 MS Money(01980414) #6 Kings Coins Golden Relics(07993682) OSD jackpot needs adjusting. The job is for Icon's Stadium Bar - GMV1028. The job machines are - 01980414 , - 01923033 , - 07993682 This job has a priority of Non-Critical Fault / Medium. The job is scheduled for Monday, 14 July, 2014 at 02:29 PM. ........... 2109643887 - MAPIA 0 loucrrivou 8 HX.toOrran ..............2109914534 AIPITAKHE APTEMIOE n Avrtnopou 22 Reptcrrept ....._.........._......._................6977440896 , -10AN."; $regex = "/" & $matches & ".*?The job is for /"; preg_match_all($regex, $text, $matches); print_r($matches[0]);
Output for 7.1.0
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: A non-numeric value encountered in /in/2M3fH on line 10 Warning: A non-numeric value encountered in /in/2M3fH on line 10 Warning: preg_match_all(): Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11
Output for 5.2.0 - 5.6.28, 7.0.0 - 7.0.14
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: preg_match_all(): Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11
Output for hhvm-3.12.0
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.1.6
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: preg_match_all(): Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11 Notice: Undefined offset: 0 in /in/2M3fH on line 17
Output for 4.3.11 - 5.0.3
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: preg_match_all(): Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11 Notice: Undefined offset: 0 in /in/2M3fH on line 17
Output for 4.3.0 - 4.3.10
Notice: Undefined variable: matches in /in/2M3fH on line 10 Warning: Delimiter must not be alphanumeric or backslash in /in/2M3fH on line 11 Notice: Undefined offset: 0 in /in/2M3fH on line 17