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(); preg_match("/$matches[0](.*?)\The job is for/s", $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.0040.01516.88
8.3.50.0120.00722.05
8.3.40.0040.01119.07
8.3.30.0140.00019.22
8.3.20.0040.00420.16
8.3.10.0000.00823.54
8.3.00.0040.00419.44
8.2.180.0120.00317.13
8.2.170.0140.00322.96
8.2.160.0140.00020.19
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00619.63
8.2.110.0100.00019.27
8.2.100.0060.00918.03
8.2.90.0000.00819.30
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0060.00318.28
8.2.30.0000.00718.22
8.2.20.0030.00517.82
8.2.10.0070.00018.09
8.2.00.0000.00717.83
8.1.280.0090.00925.92
8.1.270.0040.00423.96
8.1.260.0030.00626.35
8.1.250.0000.00728.09
8.1.240.0030.00722.30
8.1.230.0110.00017.83
8.1.220.0040.00417.79
8.1.210.0000.01018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0070.00021.90
8.1.150.0000.00718.77
8.1.140.0050.00217.60
8.1.130.0030.00317.91
8.1.120.0040.00417.60
8.1.110.0000.00817.56
8.1.100.0040.00417.60
8.1.90.0000.00717.63
8.1.80.0000.00817.56
8.1.70.0030.00317.44
8.1.60.0030.00617.71
8.1.50.0030.00517.68
8.1.40.0040.00417.69
8.1.30.0040.00417.75
8.1.20.0000.00817.72
8.1.10.0000.00817.76
8.1.00.0030.00617.69
8.0.300.0050.00318.77
8.0.290.0000.00817.00
8.0.280.0000.00718.40
8.0.270.0040.00417.23
8.0.260.0000.00617.23
8.0.250.0030.00317.09
8.0.240.0060.00317.14
8.0.230.0000.00717.14
8.0.220.0000.00617.02
8.0.210.0000.00716.97
8.0.200.0000.01017.17
8.0.190.0000.00817.11
8.0.180.0050.00317.06
8.0.170.0090.00017.14
8.0.160.0080.00017.25
8.0.150.0040.00417.05
8.0.140.0000.00716.98
8.0.130.0060.00013.57
8.0.120.0000.00817.18
8.0.110.0020.00517.16
8.0.100.0000.00817.08
8.0.90.0070.00016.96
8.0.80.0070.01017.11
8.0.70.0050.00217.00
8.0.60.0000.00717.13
8.0.50.0040.00417.00
8.0.30.0090.01017.26
8.0.20.0070.01417.40
8.0.10.0000.00817.18
8.0.00.0040.01416.74
7.4.330.0000.00515.00
7.4.320.0070.00016.83
7.4.300.0040.00416.59
7.4.290.0040.00416.68
7.4.280.0080.00016.67
7.4.270.0070.00016.77
7.4.260.0030.00316.79
7.4.250.0040.00416.73
7.4.240.0030.00516.84
7.4.230.0030.00316.46
7.4.220.0110.00616.70
7.4.210.0110.00316.63
7.4.200.0000.00816.61
7.4.160.0120.00316.68
7.4.150.0130.00717.40
7.4.140.0050.01217.86
7.4.130.0100.00716.78
7.4.120.0110.00716.80
7.4.110.0130.00916.73
7.4.100.0060.01216.79
7.4.90.0090.00916.55
7.4.80.0100.01019.39
7.4.70.0130.01016.61
7.4.60.0000.01716.84
7.4.50.0000.00616.61
7.4.40.0090.00916.48
7.4.30.0080.00916.51
7.4.00.0100.00714.88
7.3.330.0020.00213.29
7.3.320.0000.00513.29
7.3.310.0030.00316.19
7.3.300.0040.00416.36
7.3.290.0060.00916.44
7.3.280.0090.00916.40
7.3.270.0100.00717.40
7.3.260.0100.01316.39
7.3.250.0050.01416.69
7.3.240.0090.00916.42
7.3.230.0160.00616.39
7.3.210.0110.00716.75
7.3.200.0030.01419.39
7.3.190.0110.00816.64
7.3.180.0040.01116.42
7.3.170.0130.00716.62
7.3.160.0100.01316.73
7.3.120.0080.00814.88
7.2.330.0080.01116.84
7.2.320.0060.01216.63
7.2.310.0060.01216.76
7.2.300.0060.01116.85
7.2.290.0060.00916.84
7.2.00.0040.00819.55
7.1.200.0110.00716.02
7.1.100.0080.00318.53
7.1.70.0030.00917.29
7.1.60.0150.00919.70
7.1.50.0130.01335.05
7.1.00.0070.07322.47
7.0.200.0060.00616.60
7.0.140.0000.07721.95
7.0.60.0100.07320.00
7.0.50.0100.08317.89
7.0.40.0030.06320.06
7.0.30.0400.04020.23
7.0.20.0200.04320.21
7.0.10.0300.08320.19
7.0.00.0100.03720.10
5.6.280.0000.07720.86
5.6.210.0070.03720.52
5.6.200.0030.05318.08
5.6.190.0100.04020.33
5.6.180.0070.06720.56
5.6.170.0200.05720.54
5.6.160.0070.04020.48
5.6.150.0070.08318.19
5.6.140.0000.06318.16
5.6.130.0070.08718.12
5.6.120.0030.07020.89
5.6.110.0100.06021.13
5.6.100.0030.09321.02
5.6.90.0170.07320.99
5.6.80.0100.07320.35
5.6.70.4100.04720.50
5.5.350.0070.08020.32
5.5.340.0070.05318.02
5.5.330.0070.08720.47
5.5.320.0430.06720.24
5.5.310.0330.07720.41
5.5.300.0070.05318.02
5.5.290.0100.04717.91
5.5.280.0000.06720.65
5.5.270.0100.03720.86
5.5.260.0100.07320.64
5.5.250.0130.07720.68
5.5.240.0100.08020.25
5.4.450.1000.03019.57
5.4.440.0000.05719.41
5.4.430.0100.03319.48
5.4.420.0930.04319.09
5.4.410.1770.04019.13
5.4.400.1400.04019.09
5.4.390.1100.04718.93
5.4.380.1230.04019.23
5.4.370.0970.03719.09
5.4.360.0970.04019.12
5.4.350.1030.03719.12
5.4.340.1030.05319.06
5.4.320.1270.03018.95
5.4.310.1130.04018.77
5.4.300.1400.03319.10
5.4.290.1730.03319.22
5.4.280.1870.04718.80
5.4.270.1670.03019.24
5.4.260.1600.04019.07
5.4.250.1630.04019.21
5.4.240.2200.02719.13
5.4.230.1000.04319.23
5.4.220.0030.03719.09
5.4.210.0070.06319.07
5.4.200.1470.03319.12
5.4.190.1670.04019.07
5.4.180.1600.04018.80
5.4.170.1700.03019.07
5.4.160.1930.03719.08
5.4.150.1600.04019.13
5.4.140.1630.03316.49
5.4.130.1630.03316.37
5.4.120.1800.05016.48
5.4.110.1900.04716.35
5.4.100.1770.03016.36
5.4.90.1500.03016.11
5.4.80.0030.06016.48
5.4.70.0100.03316.51
5.4.60.0970.03316.31
5.4.50.1970.04016.39
5.4.40.1630.03316.45
5.4.30.1630.03716.46
5.4.20.1570.03716.20
5.4.10.1830.04316.19
5.4.00.1830.03715.89
5.3.290.1870.03314.75
5.3.280.1670.04314.43
5.3.270.1730.04714.45
5.3.260.1870.04014.65
5.3.250.1800.04714.59
5.3.240.1570.03714.54
5.3.230.1800.03314.69
5.3.220.1830.04314.42
5.3.210.1600.04014.52
5.3.200.1770.04014.61
5.3.190.1530.04014.47
5.3.180.1870.03714.55
5.3.170.1770.05314.42
5.3.160.1870.04314.61
5.3.150.1730.05014.40
5.3.140.1600.03314.46
5.3.130.1230.04714.59
5.3.120.0070.07014.64
5.3.110.0030.04314.53
5.3.100.1400.04314.05
5.3.90.1730.04713.88
5.3.80.1700.04313.86
5.3.70.1630.05313.86
5.3.60.1670.04313.94
5.3.50.1770.04713.96
5.3.40.1500.04313.89
5.3.30.1430.03713.77
5.3.20.1670.03713.64
5.3.10.1530.03013.70
5.3.00.1500.03013.68
5.2.170.1230.02710.99
5.2.160.1370.03711.09
5.2.150.1230.02711.15
5.2.140.1430.03711.22
5.2.130.1370.03311.01
5.2.120.1230.03710.94
5.2.110.1230.03711.15
5.2.100.1530.03311.01
5.2.90.1600.02711.04
5.2.80.1600.04711.04
5.2.70.1500.03711.25
5.2.60.1500.04010.96
5.2.50.1370.03010.95
5.2.40.1030.02710.88
5.2.30.1130.03711.02
5.2.20.1030.03010.97
5.2.10.1200.03310.72
5.2.00.1230.03010.68
5.1.60.1200.0309.93
5.1.50.1130.0279.86
5.1.40.1170.0239.84
5.1.30.1070.02010.20
5.1.20.1000.02710.32
5.1.10.1000.0279.96
5.1.00.0970.03010.16
5.0.50.0500.0208.43
5.0.40.0500.0208.30
5.0.30.0470.0308.21
5.0.20.0530.0238.36
5.0.10.0670.0238.07
5.0.00.0530.0238.24
4.4.90.0470.0237.89
4.4.80.0470.0177.89
4.4.70.0470.0177.89
4.4.60.0500.0137.89
4.4.50.0470.0177.89
4.4.40.0470.0277.89
4.4.30.0530.0177.89
4.4.20.0600.0237.89
4.4.10.0470.0177.89
4.4.00.0470.0277.89
4.3.110.0570.0177.89
4.3.100.0470.0177.89
4.3.90.0500.0137.89
4.3.80.0500.0237.89
4.3.70.0470.0177.89
4.3.60.0430.0177.89
4.3.50.0470.0177.89
4.3.40.0500.0237.89
4.3.30.0230.0137.89
4.3.20.0230.0177.89
4.3.10.0230.0177.89
4.3.00.0300.0177.89

preferences:
33.35 ms | 401 KiB | 5 Q