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."; $regx= "/$matches[0](.*?)\The job is for/s"; $matches = array(); $t = preg_match($regx, $text, $matches); foreach($matches[1] as $SN_match){ $var['subject']= $matches[1]; //this should be the fault message } $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']); 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.0000.01518.39
8.3.50.0140.00721.98
8.3.40.0150.00319.27
8.3.30.0100.00319.21
8.3.20.0040.00420.38
8.3.10.0090.00023.27
8.3.00.0000.00819.69
8.2.180.0160.00618.92
8.2.170.0070.00722.96
8.2.160.0030.01220.39
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0000.00726.16
8.2.120.0040.00419.73
8.2.110.0070.00422.15
8.2.100.0100.00319.72
8.2.90.0000.00819.40
8.2.80.0040.00417.97
8.2.70.0100.00017.75
8.2.60.0080.00318.05
8.2.50.0030.00618.07
8.2.40.0000.01120.07
8.2.30.0040.00418.36
8.2.20.0040.00418.06
8.2.10.0000.00718.05
8.2.00.0020.00517.93
8.1.280.0090.00625.92
8.1.270.0040.00423.88
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0060.00323.87
8.1.230.0000.01119.15
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.47
8.1.190.0080.00017.25
8.1.180.0080.00018.10
8.1.170.0060.00318.66
8.1.160.0030.00521.96
8.1.150.0040.00418.79
8.1.140.0030.00617.55
8.1.130.0070.00017.82
8.1.120.0000.00817.52
8.1.110.0100.00017.57
8.1.100.0080.00017.51
8.1.90.0000.00717.57
8.1.80.0000.00817.61
8.1.70.0070.00017.56
8.1.60.0060.00317.65
8.1.50.0040.00417.72
8.1.40.0040.00417.74
8.1.30.0030.00517.88
8.1.20.0030.00517.72
8.1.10.0000.00817.76
8.1.00.0040.00417.64
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0050.00318.47
8.0.270.0030.00317.20
8.0.260.0050.00317.29
8.0.250.0020.00517.05
8.0.240.0030.00517.22
8.0.230.0040.00417.19
8.0.220.0030.00317.11
8.0.210.0030.00317.02
8.0.200.0060.00317.14
8.0.190.0000.00817.24
8.0.180.0000.00717.03
8.0.170.0030.00617.11
8.0.160.0000.00717.12
8.0.150.0030.00517.08
8.0.140.0000.00816.95
8.0.130.0050.00013.58
8.0.120.0000.00916.95
8.0.110.0040.00416.96
8.0.100.0000.00717.05
8.0.90.0070.00017.23
8.0.80.0090.00617.08
8.0.70.0080.00017.00
8.0.60.0000.00717.11
8.0.50.0040.00417.05
8.0.30.0100.01317.27
8.0.20.0120.00717.40
8.0.10.0030.00517.13
8.0.00.0110.00716.94
7.4.330.0020.00215.21
7.4.320.0040.00416.76
7.4.300.0030.00616.83
7.4.290.0000.00816.79
7.4.280.0030.00616.77
7.4.270.0030.00316.87
7.4.260.0030.00316.84
7.4.250.0070.00016.67
7.4.240.0040.00416.81
7.4.230.0040.00416.73
7.4.220.0210.00716.72
7.4.210.0120.00316.89
7.4.200.0000.00716.83
7.4.160.0030.01316.72
7.4.150.0110.00817.40
7.4.140.0130.01117.86
7.4.130.0100.01016.69
7.4.120.0030.01416.73
7.4.110.0110.00716.57
7.4.100.0140.00316.91
7.4.90.0110.00716.77
7.4.80.0080.01119.39
7.4.70.0120.00616.86
7.4.60.0030.01416.79
7.4.50.0000.00916.77
7.4.40.0040.01416.73
7.4.30.0130.00316.77
7.4.00.0040.01215.30
7.3.330.0000.00513.29
7.3.320.0060.00013.14
7.3.310.0070.00016.39
7.3.300.0030.00316.23
7.3.290.0000.01516.51
7.3.280.0070.01316.53
7.3.270.0110.00717.40
7.3.260.0140.01016.52
7.3.250.0090.00916.73
7.3.240.0080.00916.56
7.3.230.0060.01216.70
7.3.210.0090.00916.88
7.3.200.0100.00719.39
7.3.190.0070.01016.56
7.3.180.0030.01516.68
7.3.170.0130.00316.52
7.3.160.0060.00916.87
7.3.120.0070.01015.05
7.2.330.0170.00716.69
7.2.320.0180.00016.80
7.2.310.0090.01516.98
7.2.300.0090.00816.78
7.2.290.0000.01716.69
7.2.00.0060.00619.84
7.1.200.0070.00715.96
7.1.100.0040.00818.25
7.1.70.0040.00417.16
7.1.60.0090.01519.70
7.1.50.0180.01435.04
7.1.00.0030.07722.53
7.0.200.0060.00617.00
7.0.140.0000.07722.00
7.0.110.0030.08719.95
7.0.100.0070.05319.96
7.0.90.0070.07719.95
7.0.80.0130.07319.86
7.0.70.0070.08020.07
7.0.60.0130.07719.67
7.0.50.0100.07720.47
7.0.40.0170.07320.16
7.0.30.0070.08320.28
7.0.20.0170.06720.18
7.0.10.0130.07720.23
7.0.00.0130.07720.09
5.6.280.0100.06321.06
5.6.250.0070.08020.53
5.6.240.0070.08020.47
5.6.230.0030.08320.63
5.6.220.0100.08020.70
5.6.210.0070.08020.58
5.6.200.0030.08021.12
5.6.190.0130.04721.21
5.6.180.0070.08021.14
5.6.170.0000.08721.14
5.6.160.0100.08021.16
5.6.150.0100.07321.04
5.6.140.0070.05721.10
5.6.130.0100.08320.98
5.6.120.0100.08321.10
5.6.110.0030.09321.01
5.6.100.0170.07021.13
5.6.90.0130.08321.16
5.6.80.0200.06320.50
5.6.70.0070.08020.56
5.6.60.0170.06320.51
5.6.50.0130.07720.34
5.6.40.0170.07320.48
5.6.30.0070.07320.45
5.6.20.0070.08020.44
5.6.10.0130.07720.37
5.6.00.0100.07320.43
5.5.380.0070.08720.52
5.5.370.0070.08320.56
5.5.360.0030.08320.36
5.5.350.0070.08720.47
5.5.340.0100.07020.97
5.5.330.0030.08320.89
5.5.320.0000.05320.90
5.5.310.0130.07020.70
5.5.300.0130.07320.70
5.5.290.0270.03320.95
5.5.280.0100.08020.81
5.5.270.0200.07021.01
5.5.260.0130.08320.77
5.5.250.0130.05320.66
5.5.240.0070.07020.12
5.5.230.0170.07020.14
5.5.220.0100.08020.36
5.5.210.0130.07720.22
5.5.200.0070.08020.30
5.5.190.0070.08320.16
5.5.180.0030.05320.16
5.5.160.0070.08020.24
5.5.150.0130.07320.26
5.5.140.0000.08720.22
5.5.130.0100.07320.31
5.5.120.0030.04020.38
5.5.110.0070.06720.08
5.5.100.0030.07720.05
5.5.90.0100.04020.27
5.5.80.0070.03720.24
5.5.70.0070.03719.99
5.5.60.0030.03720.04
5.5.50.0030.04020.14
5.5.40.0030.03719.96
5.5.30.0100.03320.02
5.5.20.0030.03720.18
5.5.10.0000.04320.01
5.5.00.0130.05320.16
5.4.450.0170.06719.45
5.4.440.0070.08319.45
5.4.430.0100.08019.42
5.4.420.0100.07719.45
5.4.410.0030.06319.36
5.4.400.0200.06719.17
5.4.390.0070.05719.17
5.4.380.0130.07019.11
5.4.370.0070.07319.25
5.4.360.0100.07318.95
5.4.350.0030.08319.12
5.4.340.0030.04719.11
5.4.320.0070.07319.02
5.4.310.0000.04319.29
5.4.300.0170.06018.92
5.4.290.0070.07318.97
5.4.280.0000.06019.00
5.4.270.0070.04019.00
5.4.260.0030.05719.07
5.4.250.0030.04019.09
5.4.240.0070.04719.01
5.4.230.0070.03318.94
5.4.220.0000.04019.24
5.4.210.0070.03719.00
5.4.200.0030.07719.00
5.4.190.0030.03718.97
5.4.180.0000.03718.91
5.4.170.0070.03318.94
5.4.160.0100.03319.09
5.4.150.0030.05318.98
5.4.140.0100.03016.42
5.4.130.0070.03716.31
5.4.120.0000.03716.39
5.4.110.0130.03716.54
5.4.100.0030.04316.58
5.4.90.0000.05316.43
5.4.80.0070.03016.23
5.4.70.0070.04716.41
5.4.60.0070.06316.26
5.4.50.0030.03716.39
5.4.40.0070.03016.40
5.4.30.0070.06016.35
5.4.20.0030.03716.34
5.4.10.0030.03716.47
5.4.00.0030.03715.61
5.3.290.0070.06014.45
5.3.280.0070.04014.61
5.3.270.0000.03714.46
5.3.260.0070.04014.55
5.3.250.0000.03714.55
5.3.240.0030.03714.70
5.3.230.0030.05314.52
5.3.220.0030.03714.57
5.3.210.0200.06714.63
5.3.200.0000.04314.50
5.3.190.0000.04014.51
5.3.180.0070.03314.35
5.3.170.0070.03014.46
5.3.160.0030.04714.39
5.3.150.0070.03314.66
5.3.140.0000.06014.62
5.3.130.0030.03714.39
5.3.120.0030.03314.64
5.3.110.0030.04714.54
5.3.100.0000.04013.96
5.3.90.0030.03313.96
5.3.80.0030.03713.96
5.3.70.0100.03713.90
5.3.60.0030.03713.94
5.3.50.0070.05713.75
5.3.40.0070.03313.77
5.3.30.0070.04013.84
5.3.20.0070.02713.76
5.3.10.0100.03013.67
5.3.00.0100.03013.59
5.2.170.0030.03011.22
5.2.160.0070.03711.22
5.2.150.0000.03011.15
5.2.140.0070.02711.04
5.2.130.0000.03311.01
5.2.120.0000.03011.06
5.2.110.0070.04311.11
5.2.100.0000.03011.17
5.2.90.0000.03011.03
5.2.80.0030.03011.09
5.2.70.0000.04311.02
5.2.60.0070.05011.06
5.2.50.0100.04710.91
5.2.40.0070.03710.90
5.2.30.0000.03011.05
5.2.20.0070.06310.88
5.2.10.0000.04710.81
5.2.00.0030.06310.79
5.1.60.0000.05310.05
5.1.50.0000.0439.98
5.1.40.0030.0539.89
5.1.30.0000.06710.41
5.1.20.0070.05010.42
5.1.10.0000.0579.97
5.1.00.0030.0439.99
5.0.50.0070.0238.41
5.0.40.0070.0408.35
5.0.30.0070.0538.17
5.0.20.0070.0378.36
5.0.10.0000.0438.16
5.0.00.0030.0538.13
4.4.90.0100.0208.00
4.4.80.0000.0178.00
4.4.70.0000.0308.00
4.4.60.0030.0338.00
4.4.50.0030.0338.00
4.4.40.0070.0238.00
4.4.30.0000.0378.00
4.4.20.0030.0378.00
4.4.10.0070.0338.00
4.4.00.0030.0538.00
4.3.110.0000.0278.00
4.3.100.0100.0278.00
4.3.90.0000.0238.00
4.3.80.0000.0408.00
4.3.70.0000.0278.00
4.3.60.0070.0308.00
4.3.50.0030.0178.00
4.3.40.0000.0408.00
4.3.30.0030.0308.00
4.3.20.0070.0308.00
4.3.10.0070.0308.00
4.3.00.0030.0278.00

preferences:
41.09 ms | 400 KiB | 5 Q