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); $var['subject']= $matches[0]; //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.0160.00316.75
8.3.50.0160.00422.03
8.3.40.0100.01019.22
8.3.30.0070.01419.27
8.3.20.0030.01120.34
8.3.10.0080.00023.53
8.3.00.0050.00319.68
8.2.180.0130.00717.13
8.2.170.0070.00722.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.73
8.2.110.0090.00022.38
8.2.100.0080.00318.16
8.2.90.0000.00819.25
8.2.80.0080.00017.97
8.2.70.0060.00317.88
8.2.60.0000.01218.03
8.2.50.0060.00318.07
8.2.40.0040.00418.22
8.2.30.0050.00218.28
8.2.20.0050.00218.06
8.2.10.0000.00718.25
8.2.00.0000.00717.91
8.1.280.0090.00925.92
8.1.270.0080.00023.97
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0080.00322.32
8.1.230.0130.00019.29
8.1.220.0030.00617.88
8.1.210.0000.00818.77
8.1.200.0030.00717.61
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0000.00818.76
8.1.160.0000.00722.09
8.1.150.0070.00018.81
8.1.140.0000.00717.70
8.1.130.0000.00717.76
8.1.120.0000.00817.56
8.1.110.0100.00017.62
8.1.100.0000.00817.46
8.1.90.0030.00317.57
8.1.80.0080.00017.49
8.1.70.0030.00317.58
8.1.60.0060.00317.60
8.1.50.0080.00017.66
8.1.40.0030.00517.66
8.1.30.0030.00617.71
8.1.20.0050.00317.88
8.1.10.0040.00417.71
8.1.00.0040.00417.71
8.0.300.0000.00818.77
8.0.290.0000.00817.00
8.0.280.0030.00318.45
8.0.270.0070.00017.23
8.0.260.0000.00717.23
8.0.250.0070.00017.12
8.0.240.0040.00417.25
8.0.230.0000.00817.20
8.0.220.0060.00017.05
8.0.210.0060.00017.15
8.0.200.0050.00517.22
8.0.190.0040.00417.20
8.0.180.0040.00417.15
8.0.170.0070.00017.12
8.0.160.0030.00317.26
8.0.150.0080.00017.19
8.0.140.0000.00717.00
8.0.130.0000.00613.64
8.0.120.0040.00417.03
8.0.110.0000.00717.14
8.0.100.0000.00717.12
8.0.90.0000.00717.04
8.0.80.0130.00317.20
8.0.70.0040.00416.97
8.0.60.0000.00717.09
8.0.50.0070.00017.09
8.0.30.0100.00817.22
8.0.20.0120.00917.40
8.0.10.0030.00617.07
8.0.00.0090.00917.03
7.4.330.0000.00515.10
7.4.320.0030.00316.80
7.4.300.0070.00316.61
7.4.290.0030.00316.75
7.4.280.0030.00616.70
7.4.270.0000.00716.68
7.4.260.0030.00316.81
7.4.250.0040.00416.64
7.4.240.0050.00316.77
7.4.230.0080.00016.81
7.4.220.0100.01016.65
7.4.210.0070.01116.86
7.4.200.0050.00316.77
7.4.160.0120.00916.83
7.4.150.0160.00317.40
7.4.140.0090.00917.86
7.4.130.0090.01216.75
7.4.120.0100.00616.80
7.4.110.0130.00316.79
7.4.100.0100.00716.72
7.4.90.0070.01716.57
7.4.80.0130.01019.39
7.4.70.0160.00616.79
7.4.60.0100.00716.76
7.4.50.0030.00516.39
7.4.40.0130.00416.84
7.4.30.0040.01216.69
7.4.00.0070.00715.13
7.3.330.0000.00613.27
7.3.320.0000.00513.09
7.3.310.0000.00616.40
7.3.300.0070.00016.38
7.3.290.0120.00916.42
7.3.280.0110.00716.45
7.3.270.0090.01517.40
7.3.260.0060.01316.51
7.3.250.0050.01416.61
7.3.240.0090.01216.71
7.3.230.0130.00316.78
7.3.210.0170.00016.45
7.3.200.0030.01319.39
7.3.190.0070.01016.49
7.3.180.0100.00716.86
7.3.170.0100.00616.70
7.3.160.0130.00816.50
7.3.120.0070.01015.02
7.2.330.0100.01316.57
7.2.320.0110.00916.66
7.2.310.0110.01216.89
7.2.300.0000.01616.98
7.2.290.0070.01016.69
7.2.00.0030.01319.67
7.1.100.0000.01218.40
7.1.70.0060.00317.29
7.1.60.0070.01719.70
7.1.50.0140.02134.85
7.1.00.0130.06722.42
7.0.200.0100.00716.98
7.0.140.0030.06722.11
7.0.60.0100.04021.81
7.0.50.0100.07317.84
7.0.40.0100.06720.06
7.0.30.0330.04320.15
7.0.20.0270.07320.01
7.0.10.0270.06720.35
7.0.00.0100.04020.18
5.6.210.0070.08320.63
5.6.200.0000.08718.19
5.6.190.0100.05320.43
5.6.180.0000.05320.58
5.6.170.0230.04720.51
5.6.160.0070.04020.51
5.6.150.0070.04318.22
5.6.140.0100.03318.16
5.6.130.0030.09018.21
5.6.120.0030.04320.97
5.6.110.0130.07721.00
5.6.100.0030.06021.13
5.6.90.0200.06720.88
5.6.80.0130.04720.44
5.5.350.0270.07320.46
5.5.340.0100.04017.97
5.5.330.0100.04720.56
5.5.320.0330.04020.31
5.5.310.0270.08320.32
5.5.300.0030.04017.89
5.5.290.0030.04018.02
5.5.280.0130.08020.87
5.5.270.0070.08320.79
5.5.260.0070.08720.86
5.5.250.0030.08320.68
5.5.240.0000.08020.33
5.4.450.2000.04719.11
5.4.440.1870.03719.45
5.4.430.1830.03719.42
5.4.420.1970.04719.40
5.4.410.0030.06719.13
5.4.400.0030.07719.08
5.4.390.0870.06019.09
5.4.380.1900.04319.25
5.4.370.2030.04018.93
5.4.360.2070.05019.13
5.4.350.2100.04019.07
5.4.340.2100.04019.12
5.4.320.1930.04719.24
5.4.310.2000.04018.90
5.4.300.2100.03718.93
5.4.290.2100.03718.93
5.4.280.2100.03719.04
5.4.270.2170.04018.80
5.4.260.2070.04019.05
5.4.250.2100.03719.15
5.4.240.1830.03718.79
5.4.230.2030.04318.93
5.4.220.2070.04718.80
5.4.210.2070.04018.73
5.4.200.2070.04318.89
5.4.190.2070.03719.07
5.4.180.1970.04019.23
5.4.170.2030.04019.09
5.4.160.2070.04019.05
5.4.150.1970.04719.10
5.4.140.2030.04316.29
5.4.130.2100.03716.27
5.4.120.1970.03316.32
5.4.110.2130.03716.43
5.4.100.1770.03716.48
5.4.90.1870.02716.39
5.4.80.1870.03016.45
5.4.70.1930.03316.35
5.4.60.1930.03316.21
5.4.50.1930.03716.31
5.4.40.1930.03316.19
5.4.30.2070.04316.33
5.4.20.2030.04016.46
5.4.10.1870.03316.38
5.4.00.2100.04015.99
5.3.290.2070.03314.51
5.3.280.2100.04714.42
5.3.270.1970.04014.70
5.3.260.1800.04314.51
5.3.250.2070.04714.46
5.3.240.2000.03714.54
5.3.230.2200.04314.58
5.3.220.2100.04714.61
5.3.210.2430.03314.39
5.3.200.1900.04314.41
5.3.190.1970.04014.57
5.3.180.1830.03714.41
5.3.170.2030.04014.55
5.3.160.1870.04014.40
5.3.150.2030.04014.44
5.3.140.2000.03314.39
5.3.130.1770.04014.61
5.3.120.2070.03714.64
5.3.110.1900.03314.39
5.3.100.2070.04713.98
5.3.90.1870.03713.86
5.3.80.2030.03714.06
5.3.70.1830.03313.97
5.3.60.1970.04013.86
5.3.50.1770.03713.72
5.3.40.2000.04713.88
5.3.30.2000.04313.92
5.3.20.1830.03013.50
5.3.10.2070.03713.48
5.3.00.2200.03313.61
5.2.170.1830.03011.15
5.2.160.1770.03311.20
5.2.150.1570.03011.30
5.2.140.1700.03711.15
5.2.130.1600.03010.94
5.2.120.1600.01711.04
5.2.110.1600.03310.96
5.2.100.1600.03310.91
5.2.90.1730.03710.93
5.2.80.1500.03311.00
5.2.70.1570.02310.96
5.2.60.1700.03310.93
5.2.50.1670.03011.04
5.2.40.1370.04010.85
5.2.30.1400.03310.93
5.2.20.1230.02710.81
5.2.10.1270.01710.79
5.2.00.1430.03310.82
5.1.60.0930.03710.01
5.1.50.1370.0309.97
5.1.40.1300.0179.87
5.1.30.1200.02710.24
5.1.20.1230.02710.42
5.1.10.1230.0279.98
5.1.00.1530.02710.05
5.0.50.0430.0238.72
5.0.40.0570.0238.38
5.0.30.0570.0378.38
5.0.20.0700.0238.38
5.0.10.0600.0178.38
5.0.00.0630.0308.38
4.4.90.0730.0208.38
4.4.80.0470.0138.38
4.4.70.0600.0178.38
4.4.60.0670.0208.38
4.4.50.0600.0208.38
4.4.40.0670.0238.38
4.4.30.0630.0138.38
4.4.20.0570.0108.38
4.4.10.0630.0178.38
4.4.00.0500.0238.38
4.3.110.0530.0178.38
4.3.100.0630.0138.38
4.3.90.0600.0138.38
4.3.80.0500.0238.38
4.3.70.0670.0138.38
4.3.60.0630.0138.38
4.3.50.0630.0138.38
4.3.40.0600.0278.38
4.3.30.0200.0178.38
4.3.20.0300.0138.38
4.3.10.0330.0208.38
4.3.00.0470.0138.38

preferences:
40.47 ms | 400 KiB | 5 Q