3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "You have been assigned to the job #3 Megastar 4(01923033) 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."; $var['machine']="1Action == machine"; preg_match("/(?<!\d)\d{8}(?!\d)/", strip_tags($subject), $matches); $var['serial']=$matches[0]; print_r($var['machine']); print_r($var['serial']); $regx= "/$matches[0](.*?)\The job is for/s"; $matches = array(); $t = preg_match($regx, $subject, $matches); foreach($matches[1] as $SN_match){ $var['subject']= $matches[1]; //this should be the fault message } print_r($var['subject']);

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.60.0130.00616.88
8.3.50.0090.00722.17
8.3.40.0060.01619.04
8.3.30.0100.00319.04
8.3.20.0000.00720.34
8.3.10.0040.00423.65
8.3.00.0080.00019.79
8.2.180.0210.00016.75
8.2.170.0090.00622.96
8.2.160.0040.01119.24
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0040.00421.00
8.2.110.0090.00020.41
8.2.100.0130.00617.81
8.2.90.0090.00018.13
8.2.80.0080.00019.11
8.2.70.0060.00318.00
8.2.60.0000.00917.93
8.2.50.0030.00618.07
8.2.40.0000.00820.26
8.2.30.0040.00418.41
8.2.20.0000.00717.97
8.2.10.0040.00418.04
8.2.00.0020.00517.84
8.1.280.0170.00325.92
8.1.270.0040.00423.87
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0140.01023.92
8.1.230.0120.00017.60
8.1.220.0030.00517.79
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0090.00017.48
8.1.180.0000.00818.10
8.1.170.0040.00418.80
8.1.160.0040.00422.05
8.1.150.0020.00518.79
8.1.140.0000.00717.60
8.1.130.0000.00817.90
8.1.120.0040.00417.71
8.1.110.0000.00917.67
8.1.100.0040.00417.51
8.1.90.0020.00517.64
8.1.80.0000.00717.57
8.1.70.0030.00317.57
8.1.60.0080.00017.79
8.1.50.0040.00417.70
8.1.40.0040.00417.70
8.1.30.0030.00617.85
8.1.20.0030.00517.73
8.1.10.0020.00517.76
8.1.00.0070.00017.74
8.0.300.0000.00718.92
8.0.290.0000.00816.88
8.0.280.0000.00818.35
8.0.270.0000.00717.20
8.0.260.0000.00817.15
8.0.250.0030.00317.19
8.0.240.0030.00517.06
8.0.230.0040.00417.16
8.0.220.0070.00016.99
8.0.210.0000.00717.00
8.0.200.0070.00317.06
8.0.190.0040.00417.19
8.0.180.0070.00017.13
8.0.170.0000.00917.05
8.0.160.0000.00717.16
8.0.150.0000.00817.10
8.0.140.0030.00517.07
8.0.130.0050.00013.55
8.0.120.0000.00817.06
8.0.110.0030.00517.00
8.0.100.0000.00717.18
8.0.90.0000.00717.23
8.0.80.0080.00817.09
8.0.70.0040.00417.17
8.0.60.0050.00216.89
8.0.50.0000.00716.93
8.0.30.0040.01517.23
8.0.20.0090.01117.54
8.0.10.0000.00817.34
8.0.00.0070.01117.03
7.4.330.0030.00315.11
7.4.320.0000.00616.73
7.4.300.0000.00716.68
7.4.290.0000.00816.73
7.4.280.0100.00016.73
7.4.270.0000.00716.74
7.4.260.0040.00416.83
7.4.250.0000.00716.62
7.4.240.0040.00416.83
7.4.230.0030.00516.89
7.4.220.0220.00616.73
7.4.210.0100.00716.94
7.4.200.0000.00716.73
7.4.160.0150.00316.66
7.4.150.0120.00617.40
7.4.140.0070.01017.86
7.4.130.0080.01216.78
7.4.120.0120.00616.66
7.4.110.0070.01516.70
7.4.100.0060.01216.81
7.4.90.0070.01016.76
7.4.80.0120.01219.39
7.4.70.0090.00816.80
7.4.60.0060.01316.50
7.4.50.0080.00016.88
7.4.40.0040.01716.58
7.4.30.0120.00316.72
7.4.00.0120.00315.33
7.3.330.0020.00213.35
7.3.320.0000.00513.25
7.3.310.0030.00316.31
7.3.300.0040.00416.45
7.3.290.0070.00716.48
7.3.280.0100.00916.50
7.3.270.0070.01117.40
7.3.260.0040.01816.45
7.3.250.0150.00716.55
7.3.240.0110.01116.46
7.3.230.0130.00316.50
7.3.210.0170.00616.65
7.3.200.0120.00819.39
7.3.190.0100.00716.51
7.3.180.0030.01316.76
7.3.170.0190.00016.64
7.3.160.0140.00316.48
7.3.120.0090.00614.89
7.2.330.0090.00916.80
7.2.320.0150.00316.90
7.2.310.0160.00916.78
7.2.300.0060.01216.65
7.2.290.0030.01316.96
7.2.00.0060.00619.92
7.1.200.0090.00616.12
7.1.100.0000.01118.40
7.1.70.0030.00517.26
7.1.60.0030.01719.70
7.1.50.0250.01434.96
7.1.00.0030.07722.46
7.0.200.0030.01216.89
7.0.140.0070.07021.95
7.0.60.0070.04319.95
7.0.50.0070.07717.81
7.0.40.0030.05320.14
7.0.30.0100.04720.20
7.0.20.0270.04320.22
7.0.10.0230.06720.20
7.0.00.0100.07320.35
5.6.210.0130.04320.71
5.6.200.0070.03718.13
5.6.190.0070.04720.49
5.6.180.0370.04720.60
5.6.170.0270.05020.42
5.6.160.0070.04320.53
5.6.150.0070.03718.07
5.6.140.0030.08318.12
5.6.130.0030.05718.09
5.6.120.0070.06020.98
5.6.110.0100.08020.89
5.6.100.0000.09021.12
5.6.90.0070.08321.13
5.6.80.0000.04020.50
5.6.70.3030.03320.41
5.5.350.0070.08020.30
5.5.340.0070.06017.95
5.5.330.0070.07020.21
5.5.320.0330.04020.27
5.5.310.0330.07020.29
5.5.300.0070.03717.91
5.5.290.0100.07318.06
5.5.280.0100.06320.84
5.5.270.0000.05320.64
5.5.260.0200.06320.76
5.5.250.0070.08020.61
5.5.240.0070.03320.12
5.4.450.4900.05319.30
5.4.440.0000.04319.29
5.4.430.1170.04719.40
5.4.420.3330.04019.38
5.4.410.3870.03319.32
5.4.400.4030.04019.16
5.4.390.3930.03318.87
5.4.380.3800.03318.90
5.4.370.3830.04318.89
5.4.360.4000.03019.13
5.4.350.3730.04019.06
5.4.340.0130.06718.96
5.4.320.3830.03719.14
5.4.310.3930.03319.00
5.4.300.4100.03719.14
5.4.290.3700.03718.87
5.4.280.4400.05019.19
5.4.270.3570.05019.13
5.4.260.3900.03718.99
5.4.250.3800.03319.02
5.4.240.0000.05319.14
5.4.230.0000.04319.06
5.4.220.3300.04718.86
5.4.210.3100.04019.13
5.4.200.3600.03719.02
5.4.190.3870.04019.21
5.4.180.3200.03718.88
5.4.170.3600.03719.13
5.4.160.3170.04319.13
5.4.150.3600.04019.13
5.4.140.3600.04016.50
5.4.130.3800.04016.44
5.4.120.3970.02716.18
5.4.110.4270.03716.20
5.4.100.3730.03316.63
5.4.90.3830.03716.40
5.4.80.3830.03316.19
5.4.70.3930.03316.45
5.4.60.3700.03316.22
5.4.50.3630.04016.44
5.4.40.3900.03716.29
5.4.30.4130.04016.39
5.4.20.3730.04316.36
5.4.10.3900.03016.46
5.4.00.3730.03015.89
5.3.290.3630.03314.60
5.3.280.3530.03714.48
5.3.270.3670.04014.42
5.3.260.3630.03714.39
5.3.250.3470.03714.55
5.3.240.3700.03314.70
5.3.230.3670.03714.54
5.3.220.3900.03314.50
5.3.210.3930.03314.49
5.3.200.3600.03314.50
5.3.190.3630.03014.36
5.3.180.3830.03314.48
5.3.170.3770.03014.54
5.3.160.3730.03714.48
5.3.150.3800.03714.52
5.3.140.3930.03314.34
5.3.130.3730.03314.42
5.3.120.3930.03314.38
5.3.110.3800.04314.57
5.3.100.3800.03713.97
5.3.90.3600.03313.95
5.3.80.3730.03713.94
5.3.70.3800.03313.86
5.3.60.3930.03013.93
5.3.50.3800.03713.88
5.3.40.3800.03713.77
5.3.30.4000.02713.85
5.3.20.3800.03013.53
5.3.10.3870.03313.59
5.3.00.4000.02713.57
5.2.170.2970.03310.97
5.2.160.3100.03011.03
5.2.150.3000.02711.11
5.2.140.3170.03311.04
5.2.130.3170.03311.07
5.2.120.3030.02311.09
5.2.110.3470.03311.09
5.2.100.2830.03011.18
5.2.90.3070.02711.08
5.2.80.2970.03011.09
5.2.70.2770.02310.98
5.2.60.3230.03010.98
5.2.50.3170.03010.89
5.2.40.2530.03010.95
5.2.30.2400.03010.86
5.2.20.2600.03010.96
5.2.10.2630.03310.86
5.2.00.2300.02710.74
5.1.60.2670.02310.14
5.1.50.2600.0279.97
5.1.40.2730.02010.02
5.1.30.2700.02010.23
5.1.20.2700.02710.35
5.1.10.2670.02710.05
5.1.00.2430.0279.93
5.0.50.1430.0208.53
5.0.40.1300.0178.43
5.0.30.1530.0308.23
5.0.20.1200.0178.18
5.0.10.1430.0238.14
5.0.00.1700.0338.13
4.4.90.1130.0236.25
4.4.80.1470.0176.25
4.4.70.1200.0136.25
4.4.60.1300.0176.25
4.4.50.1430.0136.25
4.4.40.1200.0276.25
4.4.30.1370.0176.25
4.4.20.1200.0176.25
4.4.10.1470.0176.25
4.4.00.1400.0236.25
4.3.110.1400.0136.25
4.3.100.1330.0136.25
4.3.90.1400.0136.25
4.3.80.1670.0236.25
4.3.70.1630.0206.25
4.3.60.1730.0136.25
4.3.50.1470.0136.25
4.3.40.1730.0236.25
4.3.30.0800.0206.25
4.3.20.0830.0176.25
4.3.10.0730.0136.25
4.3.00.0970.0176.25

preferences:
55.2 ms | 401 KiB | 5 Q