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[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.0090.00616.63
8.3.50.0090.00921.97
8.3.40.0190.00319.09
8.3.30.0130.01019.21
8.3.20.0120.00620.25
8.3.10.0090.00023.66
8.3.00.0100.01019.80
8.2.180.0120.00318.79
8.2.170.0040.01122.96
8.2.160.0070.01420.27
8.2.150.0060.00324.18
8.2.140.0120.00624.66
8.2.130.0060.00326.16
8.2.120.0100.01019.74
8.2.110.0140.01119.39
8.2.100.0210.00417.91
8.2.90.0000.00919.26
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0050.00319.27
8.2.30.0000.00818.41
8.2.20.0040.00417.98
8.2.10.0040.00418.04
8.2.00.0060.00317.87
8.1.280.0120.00925.92
8.1.270.0060.01323.97
8.1.260.0030.00626.35
8.1.250.0060.01228.09
8.1.240.0050.00522.42
8.1.230.0040.00717.83
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0030.00618.10
8.1.170.0040.00418.64
8.1.160.0040.00421.98
8.1.150.0050.00318.64
8.1.140.0000.00817.55
8.1.130.0040.00417.91
8.1.120.0000.00717.41
8.1.110.0060.00317.47
8.1.100.0000.00717.57
8.1.90.0040.00417.61
8.1.80.0000.00817.57
8.1.70.0050.00317.50
8.1.60.0080.00017.73
8.1.50.0080.00017.63
8.1.40.0030.00517.58
8.1.30.0040.00717.73
8.1.20.0040.00417.68
8.1.10.0090.00017.75
8.1.00.0070.00317.70
8.0.300.0050.00518.77
8.0.290.0040.00416.88
8.0.280.0000.00718.35
8.0.270.0000.00717.19
8.0.260.0030.00318.39
8.0.250.0040.00317.21
8.0.240.0040.00417.04
8.0.230.0040.00417.17
8.0.220.0000.00717.07
8.0.210.0070.00017.01
8.0.200.0000.00817.16
8.0.190.0030.00517.20
8.0.180.0000.00817.18
8.0.170.0000.00917.03
8.0.160.0000.00817.14
8.0.150.0040.00416.98
8.0.140.0000.00816.97
8.0.130.0060.00013.47
8.0.120.0000.00817.08
8.0.110.0000.00717.11
8.0.100.0040.00416.98
8.0.90.0000.00717.13
8.0.80.0090.00617.05
8.0.70.0000.00717.11
8.0.60.0000.00717.22
8.0.50.0000.00817.01
8.0.30.0110.01117.17
8.0.20.0090.01317.43
8.0.10.0030.00617.12
8.0.00.0100.00717.15
7.4.330.0050.00015.00
7.4.320.0060.00016.59
7.4.300.0040.00416.68
7.4.290.0050.00316.64
7.4.280.0000.00816.70
7.4.270.0050.00316.69
7.4.260.0060.00616.55
7.4.250.0040.00416.66
7.4.240.0020.00616.73
7.4.230.0080.00016.61
7.4.220.0120.00616.82
7.4.210.0150.00016.54
7.4.200.0080.00016.67
7.4.160.0090.00616.53
7.4.150.0090.00917.40
7.4.140.0130.01617.86
7.4.130.0120.01016.68
7.4.120.0110.00716.63
7.4.110.0100.00716.70
7.4.100.0040.01416.54
7.4.90.0140.00316.76
7.4.80.0130.01019.39
7.4.70.0070.01416.57
7.4.60.0120.00616.77
7.4.50.0090.00016.54
7.4.40.0060.01016.82
7.4.30.0070.01016.84
7.4.00.0070.01015.21
7.3.330.0030.00313.19
7.3.320.0030.00313.07
7.3.310.0000.00716.18
7.3.300.0030.00316.33
7.3.290.0100.00316.48
7.3.280.0100.00916.47
7.3.270.0090.00917.40
7.3.260.0090.01116.39
7.3.250.0090.00816.56
7.3.240.0090.00816.74
7.3.230.0100.00816.73
7.3.210.0130.00716.58
7.3.200.0110.00619.39
7.3.190.0130.00716.66
7.3.180.0070.01116.67
7.3.170.0100.00716.36
7.3.160.0090.00616.47
7.3.120.0000.01315.30
7.3.10.0000.01216.84
7.3.00.0100.00616.77
7.2.330.0070.01116.80
7.2.320.0150.00316.75
7.2.310.0140.00416.90
7.2.300.0090.00916.96
7.2.290.0120.00416.79
7.2.130.0060.00317.19
7.2.120.0070.00717.11
7.2.110.0040.01116.99
7.2.100.0000.01317.07
7.2.90.0070.01017.12
7.2.80.0060.01016.93
7.2.70.0060.00617.36
7.2.60.0060.00616.99
7.2.50.0060.00616.83
7.2.40.0040.01017.13
7.2.30.0040.00717.05
7.2.20.0070.00717.17
7.2.10.0000.01016.94
7.2.00.0040.01018.42
7.1.250.0070.00715.85
7.1.200.0000.01116.05
7.1.100.0030.01018.23
7.1.70.0210.00017.16
7.1.60.0030.01719.70
7.1.50.0100.00317.20
7.1.00.0130.06322.50
7.0.200.0130.00716.97
7.0.140.0070.07321.92
7.0.60.0100.07720.04
7.0.50.0200.06717.95
7.0.40.0070.04320.29
7.0.30.0230.03320.04
7.0.20.0200.05020.34
7.0.10.0270.05020.03
7.0.00.0100.06720.18
5.6.280.0070.07021.02
5.6.210.0100.05320.53
5.6.200.0030.04018.22
5.6.190.0070.05320.57
5.6.180.0470.07720.41
5.6.170.0330.07020.48
5.6.160.0070.08020.49
5.6.150.0000.04318.17
5.6.140.0030.05018.21
5.6.130.0030.04318.21
5.6.120.0070.06721.09
5.6.110.0170.07321.11
5.6.100.0100.06321.04
5.6.90.0030.06021.00
5.6.80.0100.06320.37
5.6.70.4470.03320.39
5.5.350.0030.08320.36
5.5.340.0070.04317.96
5.5.330.0070.08020.47
5.5.320.0300.07320.42
5.5.310.0300.07720.33
5.5.300.0130.05317.91
5.5.290.0130.07317.98
5.5.280.0130.08720.96
5.5.270.0170.07720.74
5.5.260.0100.08320.83
5.5.250.0100.07320.56
5.5.240.0000.04020.23
5.4.450.0400.04743.90
5.4.440.0530.04743.87
5.4.430.0230.04343.79
5.4.420.0130.04343.79
5.4.410.0330.03743.77
5.4.400.0200.04043.77
5.4.390.0230.04343.77
5.4.380.0100.05718.68
5.4.370.0130.07318.52
5.4.360.0170.04718.67
5.4.350.0030.06318.47
5.4.340.0270.04018.58
5.4.320.0080.03512.46
5.4.310.0070.03612.45
5.4.300.0090.03312.46
5.4.290.0040.04012.45
5.4.280.0070.03412.35
5.4.270.0050.03812.35
5.4.260.0090.03512.35
5.4.250.0050.03912.35
5.4.240.0060.03612.35
5.4.230.0060.03712.34
5.4.220.0080.03512.34
5.4.210.0050.03712.34
5.4.200.0090.03512.34
5.4.190.0060.03712.34
5.4.180.0090.03312.34
5.4.170.0100.03312.35
5.4.160.0090.03312.34
5.4.150.0070.03512.34
5.4.140.0070.03612.02
5.4.130.0040.03712.01
5.4.120.0030.03811.97
5.4.110.0080.03411.96
5.4.100.0060.03611.97
5.4.90.0060.03711.97
5.4.80.0050.03811.97
5.4.70.0060.03611.96
5.4.60.0050.03611.96
5.4.50.0060.03511.96
5.4.40.0130.03511.95
5.4.30.0090.03511.95
5.4.20.0090.03611.95
5.4.10.0060.03911.95
5.4.00.0050.03811.44
5.3.290.0080.04512.80
5.3.280.0050.03912.71
5.3.270.0090.03812.72
5.3.260.0080.03712.72
5.3.250.0020.04312.71
5.3.240.0090.03512.72
5.3.230.0060.03912.71
5.3.220.0070.03812.68
5.3.210.0060.04112.68
5.3.200.0060.03712.68
5.3.190.0070.03712.68
5.3.180.0070.03712.68
5.3.170.0090.03612.67
5.3.160.0070.03512.67
5.3.150.0080.03512.67
5.3.140.0090.03412.66
5.3.130.0080.03812.66
5.3.120.0050.04012.66
5.3.110.0090.03612.66
5.3.100.0070.03712.11
5.3.90.0090.03512.09
5.3.80.0040.04012.08
5.3.70.0050.03812.08
5.3.60.0070.03712.06
5.3.50.0060.03912.00
5.3.40.0060.03712.00
5.3.30.0030.03811.96
5.3.20.0080.03411.74
5.3.10.0040.03711.70
5.3.00.0070.03611.69
5.2.170.0050.0329.19
5.2.160.0050.0309.20
5.2.150.0070.0299.19
5.2.140.0100.0269.18
5.2.130.0050.0299.15
5.2.120.0050.0289.15
5.2.110.0060.0289.15
5.2.100.0060.0289.15
5.2.90.0080.0259.15
5.2.80.0030.0319.15
5.2.70.0040.0319.14
5.2.60.0080.0279.10
5.2.50.0030.0329.07
5.2.40.0060.0309.05
5.2.30.0080.0289.03
5.2.20.0100.0259.02
5.2.10.0090.0258.93
5.2.00.0090.0258.78
5.1.60.0030.0268.07
5.1.50.0050.0268.06
5.1.40.0040.0278.05
5.1.30.0050.0278.39
5.1.20.0040.0278.42
5.1.10.0040.0278.14
5.1.00.0030.0288.14
5.0.50.0040.0206.63
5.0.40.0030.0206.49
5.0.30.0030.0326.30
5.0.20.0040.0196.28
5.0.10.0030.0216.25
5.0.00.0040.0316.25
4.4.90.0050.0134.78
4.4.80.0010.0174.75
4.4.70.0040.0144.75
4.4.60.0020.0164.75
4.4.50.0050.0134.77
4.4.40.0040.0244.71
4.4.30.0070.0134.76
4.4.20.0030.0164.84
4.4.10.0030.0174.85
4.4.00.0020.0264.76
4.3.110.0080.0104.67
4.3.100.0040.0204.66
4.3.90.0010.0164.63
4.3.80.0000.0274.58
4.3.70.0010.0164.63
4.3.60.0010.0224.62
4.3.50.0040.0164.63
4.3.40.0010.0264.54
4.3.30.0030.0153.30
4.3.20.0010.0183.27
4.3.10.0020.0163.21
4.3.00.0070.01743.77

preferences:
44.3 ms | 401 KiB | 5 Q