3v4l.org

run code in 300+ PHP versions simultaneously
<?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."; preg_match_all("/(?<!\d)\d{8}(?!\d)/", $text, $matches); $regex = $matches & ".*?The job is for"; preg_match_all("/$regex/", $text, $matches2); print_r($matches2[0]);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0110.01118.36
8.3.60.0110.00418.56
8.3.50.0090.00622.11
8.3.40.0140.00419.05
8.3.30.0040.01119.21
8.3.20.0040.00420.21
8.3.10.0040.00423.53
8.3.00.0080.00019.05
8.2.180.0100.00717.00
8.2.170.0040.01122.96
8.2.160.0070.00720.53
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00419.63
8.2.110.0090.00021.18
8.2.100.0070.00717.90
8.2.90.0000.00819.15
8.2.80.0060.00317.97
8.2.70.0110.00017.75
8.2.60.0040.00418.04
8.2.50.0030.00718.07
8.2.40.0050.00318.16
8.2.30.0050.00218.28
8.2.20.0000.00817.80
8.2.10.0040.00418.02
8.2.00.0090.00019.85
8.1.280.0170.00325.92
8.1.270.0060.00323.84
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0000.00822.12
8.1.230.0060.00618.99
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.60
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0000.00721.96
8.1.150.0040.00418.71
8.1.140.0030.00617.55
8.1.130.0000.00817.84
8.1.120.0020.00517.62
8.1.110.0050.00317.44
8.1.100.0070.00017.57
8.1.90.0030.00317.43
8.1.80.0040.00317.45
8.1.70.0070.00017.53
8.1.60.0060.00317.56
8.1.50.0050.00317.71
8.1.40.0000.00917.67
8.1.30.0040.00417.68
8.1.20.0040.00417.82
8.1.10.0040.00417.66
8.1.00.0050.00217.52
8.0.300.0050.00318.77
8.0.290.0000.00816.88
8.0.280.0000.00718.52
8.0.270.0030.00317.28
8.0.260.0030.00317.23
8.0.250.0000.00717.07
8.0.240.0060.00317.06
8.0.230.0000.00817.16
8.0.220.0030.00317.13
8.0.210.0000.00717.09
8.0.200.0030.00317.06
8.0.190.0040.00417.22
8.0.180.0060.00317.14
8.0.170.0050.00316.99
8.0.160.0050.00317.10
8.0.150.0040.00417.00
8.0.140.0000.00916.89
8.0.130.0050.00013.47
8.0.120.0020.00516.91
8.0.110.0040.00416.91
8.0.100.0000.00816.82
8.0.90.0040.00416.88
8.0.80.0150.00316.95
8.0.70.0000.00716.88
8.0.60.0000.00716.98
8.0.50.0000.00716.94
8.0.30.0090.01117.21
8.0.20.0120.00717.40
8.0.10.0080.00017.02
8.0.00.0080.01116.90
7.4.330.0030.00315.04
7.4.320.0000.00616.74
7.4.300.0000.00616.66
7.4.290.0030.00316.64
7.4.280.0040.00416.64
7.4.270.0000.00716.73
7.4.260.0030.00316.75
7.4.250.0030.00616.53
7.4.240.0000.00716.69
7.4.230.0030.00316.66
7.4.220.0140.00416.83
7.4.210.0100.00316.69
7.4.200.0000.00716.77
7.4.160.0110.00516.69
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0060.01116.76
7.4.120.0090.00816.66
7.4.110.0110.00616.48
7.4.100.0170.00016.78
7.4.90.0060.01516.63
7.4.80.0060.01319.39
7.4.70.0070.01016.65
7.4.60.0120.00916.66
7.4.50.0000.00716.41
7.4.40.0150.00316.61
7.4.30.0100.00716.71
7.4.00.0090.00615.16
7.3.330.0030.00313.27
7.3.320.0030.00313.18
7.3.310.0050.00216.31
7.3.300.0030.00316.45
7.3.290.0120.00616.59
7.3.280.0110.00416.55
7.3.270.0100.00717.40
7.3.260.0060.01316.77
7.3.250.0060.01216.69
7.3.240.0070.01016.71
7.3.230.0030.01416.81
7.3.210.0090.00916.81
7.3.200.0120.00619.39
7.3.190.0160.00416.80
7.3.180.0080.00816.70
7.3.170.0070.01016.82
7.3.160.0060.01016.63
7.3.120.0110.00315.06
7.3.110.0140.00314.95
7.3.100.0100.00915.30
7.3.90.0070.01114.90
7.3.80.0090.00614.73
7.3.70.0000.00815.10
7.3.60.0040.01114.69
7.3.50.0030.00915.17
7.3.40.0120.00914.86
7.3.30.0000.01115.00
7.3.20.0040.00816.94
7.3.10.0030.00916.72
7.3.00.0090.00616.71
7.2.330.0110.00716.71
7.2.320.0100.01216.79
7.2.310.0100.01016.79
7.2.300.0120.00416.67
7.2.290.0180.00416.94
7.2.250.0090.00915.14
7.2.240.0100.01015.42
7.2.230.0090.00915.17
7.2.220.0040.01515.04
7.2.210.0100.00315.29
7.2.200.0000.01515.25
7.2.190.0030.00614.78
7.2.180.0080.00814.80
7.2.170.0100.00615.05
7.2.60.0060.01016.92
7.2.00.0000.01219.47
7.1.330.0090.00616.12
7.1.320.0110.00316.18
7.1.310.0100.00616.24
7.1.300.0040.00715.72
7.1.290.0100.00715.90
7.1.280.0120.00916.18
7.1.270.0070.00715.74
7.1.260.0030.00616.08
7.1.200.0060.01016.00
7.1.100.0000.01018.22
7.1.70.0040.00417.55
7.1.60.0150.00619.70
7.1.50.0120.00917.20
7.1.00.0030.07722.38
7.0.200.0000.01416.63
7.0.140.0030.07322.05
7.0.60.0130.07319.93
7.0.50.0030.04017.89
7.0.40.0070.08720.04
7.0.30.0270.03720.14
7.0.20.0200.04320.09
7.0.10.0030.09720.10
7.0.00.0070.05720.21
5.6.280.0070.07021.09
5.6.210.0100.07320.52
5.6.200.0100.06718.30
5.6.190.0070.06020.52
5.6.180.0270.05720.67
5.6.170.0300.05320.54
5.6.160.0070.05020.61
5.6.150.0070.07318.18
5.6.140.0130.06018.18
5.6.130.0100.05718.26
5.6.120.0100.07720.96
5.6.110.0130.04021.00
5.6.100.0130.07721.05
5.6.90.0100.07020.87
5.6.80.0130.06020.52
5.5.350.0200.07720.41
5.5.340.0070.08017.94
5.5.330.0170.07720.56
5.5.320.0330.06020.36
5.5.310.0330.05720.24
5.5.300.0070.04717.98
5.5.290.0000.09318.03
5.5.280.0130.04720.86
5.5.270.0070.04020.95
5.5.260.0070.08720.73
5.5.250.0030.07320.68
5.5.240.0070.03720.15
5.4.450.0470.04743.77
5.4.440.0400.04743.75
5.4.430.0270.04337.17
5.4.420.0200.04336.20
5.4.410.0330.04733.64
5.4.400.0530.04033.62
5.4.390.0530.04033.62
5.4.380.0100.06018.75
5.4.370.0170.05018.77
5.4.360.0170.04718.73
5.4.350.0230.04318.73
5.4.340.0130.05318.64
5.4.320.0080.03512.48
5.4.310.0070.04212.48
5.4.300.0090.04412.48
5.4.290.0070.03712.48
5.4.280.0060.04712.38
5.4.270.0060.04312.38
5.4.260.0070.03712.38
5.4.250.0110.03312.38
5.4.240.0080.03712.38
5.4.230.0050.03912.38
5.4.220.0080.04412.37
5.4.210.0100.03612.37
5.4.200.0060.03812.37
5.4.190.0040.03812.37
5.4.180.0110.03112.37
5.4.170.0070.03412.38
5.4.160.0060.03512.38
5.4.150.0060.04212.37
5.4.140.0100.04412.06
5.4.130.0070.03512.04
5.4.120.0100.03912.00
5.4.110.0100.03712.00
5.4.100.0080.04412.00
5.4.90.0050.03712.00
5.4.80.0090.03412.00
5.4.70.0050.03712.00
5.4.60.0090.04812.00
5.4.50.0070.03411.99
5.4.40.0080.03311.98
5.4.30.0060.03611.98
5.4.20.0060.03511.98
5.4.10.0070.03311.98
5.4.00.0070.04311.47
5.3.290.0070.03912.80
5.3.280.0070.04212.71
5.3.270.0110.03612.72
5.3.260.0080.03712.72
5.3.250.0060.03712.72
5.3.240.0090.03412.72
5.3.230.0090.03512.71
5.3.220.0120.05112.68
5.3.210.0090.04312.68
5.3.200.0110.03212.68
5.3.190.0050.04012.68
5.3.180.0070.03712.68
5.3.170.0110.03412.67
5.3.160.0110.03312.67
5.3.150.0090.04812.68
5.3.140.0090.04112.66
5.3.130.0090.04212.66
5.3.120.0060.04312.66
5.3.110.0070.03712.66
5.3.100.0070.03812.12
5.3.90.0050.03712.09
5.3.80.0070.03512.08
5.3.70.0080.03412.08
5.3.60.0060.03612.06
5.3.50.0080.04112.02
5.3.40.0060.04912.01
5.3.30.0060.04411.98
5.3.20.0070.03411.75
5.3.10.0040.03611.72
5.3.00.0040.03811.71
5.2.170.0060.0399.21
5.2.160.0090.0289.21
5.2.150.0120.0319.21
5.2.140.0110.0399.21
5.2.130.0030.0319.16
5.2.120.0050.0289.17
5.2.110.0040.0309.17
5.2.100.0040.0359.17
5.2.90.0060.0339.17
5.2.80.0140.0379.16
5.2.70.0070.0289.17
5.2.60.0060.0309.12
5.2.50.0070.0289.09
5.2.40.0060.0289.07
5.2.30.0080.0349.04
5.2.20.0080.0269.03
5.2.10.0000.0328.94
5.2.00.0090.0388.80
5.1.60.0060.0358.09
5.1.50.0060.0328.08
5.1.40.0060.0278.06
5.1.30.0020.0288.41
5.1.20.0060.0248.44
5.1.10.0040.0318.16
5.1.00.0050.0328.16
5.0.50.0040.0226.64
5.0.40.0050.0256.50
5.0.30.0040.0306.31
5.0.20.0010.0216.28
5.0.10.0040.0256.26
5.0.00.0010.0436.25
4.4.90.0050.0244.78
4.4.80.0030.0144.75
4.4.70.0040.0224.76
4.4.60.0060.0124.76
4.4.50.0030.0214.77
4.4.40.0050.0344.71
4.4.30.0040.0144.76
4.4.20.0030.0244.84
4.4.10.0050.0184.85
4.4.00.0030.0264.75
4.3.110.0020.0164.67
4.3.100.0020.0234.67
4.3.90.0050.0304.63
4.3.80.0020.0354.59
4.3.70.0030.0214.63
4.3.60.0030.0204.63
4.3.50.0070.0204.63
4.3.40.0040.0244.54
4.3.30.0010.0183.30
4.3.20.0030.0173.28
4.3.10.0030.0173.23
4.3.00.0030.01733.61

preferences:
44.55 ms | 401 KiB | 5 Q