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."; $subject = str_replace( '#', '', $subject ); print_r($subject); $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']);

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.0150.00016.73
8.3.50.0080.00821.92
8.3.40.0000.01519.12
8.3.30.0100.00319.09
8.3.20.0040.00420.33
8.3.10.0080.00023.64
8.3.00.0040.00419.79
8.2.180.0070.01418.75
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0050.00324.18
8.2.140.0110.00424.66
8.2.130.0040.00426.16
8.2.120.0090.00019.48
8.2.110.0060.00322.42
8.2.100.0080.00417.91
8.2.90.0030.00617.75
8.2.80.0050.00318.89
8.2.70.0040.00417.93
8.2.60.0080.00018.19
8.2.50.0030.00619.18
8.2.40.0040.00421.15
8.2.30.0050.00219.39
8.2.20.0050.00317.72
8.2.10.0050.00318.15
8.2.00.0000.00717.80
8.1.280.0110.00325.92
8.1.270.0090.00023.89
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0000.01024.02
8.1.230.0080.00317.77
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00717.25
8.1.190.0060.00317.23
8.1.180.0060.00319.04
8.1.170.0080.00018.70
8.1.160.0000.00819.10
8.1.150.0040.00418.78
8.1.140.0040.00417.60
8.1.130.0000.00717.83
8.1.120.0000.00817.50
8.1.110.0000.01017.60
8.1.100.0040.00417.57
8.1.90.0030.00317.51
8.1.80.0000.00817.60
8.1.70.0030.00317.54
8.1.60.0060.00317.73
8.1.50.0040.00417.58
8.1.40.0040.00417.51
8.1.30.0000.00817.75
8.1.20.0040.00417.76
8.1.10.0000.00817.64
8.1.00.0080.00017.57
8.0.300.0040.00418.87
8.0.290.0000.00816.75
8.0.280.0070.00018.34
8.0.270.0040.00418.01
8.0.260.0000.00717.22
8.0.250.0030.00317.05
8.0.240.0050.00216.96
8.0.230.0000.00716.95
8.0.220.0030.00316.95
8.0.210.0040.00417.00
8.0.200.0040.00416.94
8.0.190.0040.00416.98
8.0.180.0000.00717.04
8.0.170.0030.00516.92
8.0.160.0070.00016.93
8.0.150.0040.00416.87
8.0.140.0000.00716.99
8.0.130.0000.00513.46
8.0.120.0040.00416.97
8.0.110.0030.00516.89
8.0.100.0000.00816.84
8.0.90.0040.00417.01
8.0.80.0140.00316.95
8.0.70.0050.00216.82
8.0.60.0040.00416.95
8.0.50.0000.00817.05
8.0.30.0090.01017.25
8.0.20.0120.00817.40
8.0.10.0070.00016.96
8.0.00.0130.00516.90
7.4.330.0050.00015.00
7.4.320.0000.00616.75
7.4.300.0030.00316.80
7.4.290.0000.00716.78
7.4.280.0000.01016.75
7.4.270.0040.00416.66
7.4.260.0030.00616.68
7.4.250.0040.00416.73
7.4.240.0050.00316.62
7.4.230.0040.00416.65
7.4.220.0060.01316.88
7.4.210.0080.00516.85
7.4.200.0050.00316.87
7.4.160.0120.00316.71
7.4.150.0120.00617.40
7.4.140.0150.00717.86
7.4.130.0120.00616.68
7.4.120.0120.00716.74
7.4.110.0110.00716.64
7.4.100.0070.01016.65
7.4.90.0140.00516.58
7.4.80.0070.01319.39
7.4.70.0070.01016.89
7.4.60.0120.00616.48
7.4.50.0040.00016.55
7.4.40.0110.00816.55
7.4.30.0130.00416.54
7.4.00.0070.00715.13
7.3.330.0030.00313.16
7.3.320.0030.00313.09
7.3.310.0000.00716.30
7.3.300.0000.00716.41
7.3.290.0170.00616.45
7.3.280.0090.01016.43
7.3.270.0060.01117.40
7.3.260.0190.00316.37
7.3.250.0100.00816.63
7.3.240.0070.01116.72
7.3.230.0040.01216.39
7.3.210.0130.01016.50
7.3.200.0090.00619.39
7.3.190.0100.01316.64
7.3.180.0160.00016.54
7.3.170.0000.01516.79
7.3.160.0170.00316.48
7.3.120.0070.00714.72
7.2.330.0100.00716.92
7.2.320.0090.00916.61
7.2.310.0090.00916.91
7.2.300.0110.01116.94
7.2.290.0040.01217.02
7.2.60.0030.01317.22
7.2.00.0000.01219.82
7.1.200.0030.01215.62
7.1.100.0040.01118.34
7.1.70.0040.00817.34
7.1.60.0100.01419.70
7.1.50.0100.01616.83
7.1.00.0030.07322.42
7.0.200.0080.00416.71
7.0.140.0000.07722.10
7.0.60.0070.07020.08
7.0.50.0070.07717.81
7.0.40.0000.04720.26
7.0.30.0230.04720.03
7.0.20.0270.05320.02
7.0.10.0070.09320.20
7.0.00.0100.03720.14
5.6.280.0000.07320.99
5.6.210.0070.07720.75
5.6.200.0170.07318.17
5.6.190.0100.07020.57
5.6.180.0370.06720.39
5.6.170.0230.04320.60
5.6.160.0130.08320.51
5.6.150.0100.07718.18
5.6.140.0130.07318.21
5.6.130.0070.04018.15
5.6.120.0100.07721.12
5.6.110.0000.04721.11
5.6.100.0070.08320.97
5.6.90.0030.06020.96
5.6.80.0070.03720.43
5.5.350.0130.08720.33
5.5.340.0070.04718.02
5.5.330.0070.05020.40
5.5.320.0370.04020.29
5.5.310.0300.07020.12
5.5.300.0100.07317.92
5.5.290.0000.06017.93
5.5.280.0000.04320.94
5.5.270.0130.07720.86
5.5.260.0030.04020.77
5.5.250.0070.08020.54
5.5.240.0070.07320.28
5.4.450.0270.04743.92
5.4.440.0500.03743.91
5.4.430.0330.05043.90
5.4.420.0300.04743.89
5.4.410.0230.04043.87
5.4.400.0330.04343.82
5.4.390.0330.03743.79
5.4.380.0170.05318.61
5.4.370.0230.04318.58
5.4.360.0230.04718.66
5.4.350.0130.05318.61
5.4.340.0270.03718.68
5.4.320.0070.03512.45
5.4.310.0040.04012.45
5.4.300.0060.04012.46
5.4.290.0050.03812.45
5.4.280.0040.03712.35
5.4.270.0080.03412.35
5.4.260.0050.03812.35
5.4.250.0070.03612.35
5.4.240.0070.03512.35
5.4.230.0040.04012.34
5.4.220.0060.03512.34
5.4.210.0070.03812.34
5.4.200.0100.04112.34
5.4.190.0040.03812.34
5.4.180.0060.03512.34
5.4.170.0040.04412.35
5.4.160.0080.03312.35
5.4.150.0080.04012.34
5.4.140.0080.04012.03
5.4.130.0040.03612.01
5.4.120.0070.03311.97
5.4.110.0090.03111.97
5.4.100.0090.03811.96
5.4.90.0080.03711.97
5.4.80.0040.04411.96
5.4.70.0070.03411.96
5.4.60.0060.03511.96
5.4.50.0090.03111.96
5.4.40.0040.03911.96
5.4.30.0070.03911.95
5.4.20.0120.03511.95
5.4.10.0060.03411.95
5.4.00.0030.04211.44
5.3.290.0070.03912.80
5.3.280.0070.04512.70
5.3.270.0010.05412.72
5.3.260.0060.04212.72
5.3.250.0080.03512.71
5.3.240.0070.03512.72
5.3.230.0050.03812.70
5.3.220.0070.03612.68
5.3.210.0120.04012.68
5.3.200.0070.03612.68
5.3.190.0070.03612.68
5.3.180.0080.03512.67
5.3.170.0090.03712.67
5.3.160.0080.03612.68
5.3.150.0060.03712.67
5.3.140.0020.04212.66
5.3.130.0050.04112.66
5.3.120.0050.04012.66
5.3.110.0070.03812.66
5.3.100.0040.03912.12
5.3.90.0070.03412.09
5.3.80.0080.03312.07
5.3.70.0050.03612.07
5.3.60.0030.03812.07
5.3.50.0070.03412.00
5.3.40.0070.04012.00
5.3.30.0040.03611.95
5.3.20.0070.03311.72
5.3.10.0090.03611.69
5.3.00.0070.03911.68
5.2.170.0070.0319.18
5.2.160.0030.0319.18
5.2.150.0080.0269.18
5.2.140.0060.0359.18
5.2.130.0050.0279.14
5.2.120.0070.0259.13
5.2.110.0060.0289.14
5.2.100.0050.0279.14
5.2.90.0080.0299.14
5.2.80.0030.0329.13
5.2.70.0090.0269.14
5.2.60.0060.0289.09
5.2.50.0070.0279.06
5.2.40.0020.0319.04
5.2.30.0070.0289.01
5.2.20.0080.0339.00
5.2.10.0040.0318.92
5.2.00.0050.0288.78
5.1.60.0040.0258.07
5.1.50.0050.0248.06
5.1.40.0070.0228.04
5.1.30.0040.0368.39
5.1.20.0070.0358.41
5.1.10.0060.0318.14
5.1.00.0060.0268.14
5.0.50.0060.0196.61
5.0.40.0040.0196.47
5.0.30.0070.0346.29
5.0.20.0030.0206.26
5.0.10.0030.0206.24
5.0.00.0070.0276.23
4.4.90.0010.0254.78
4.4.80.0040.0174.75
4.4.70.0040.0154.75
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0040.0234.71
4.4.30.0020.0164.76
4.4.20.0030.0154.85
4.4.10.0070.0184.85
4.4.00.0040.0234.76
4.3.110.0030.0154.67
4.3.100.0010.0164.67
4.3.90.0020.0154.64
4.3.80.0030.0234.58
4.3.70.0020.0164.63
4.3.60.0020.0154.63
4.3.50.0020.0194.63
4.3.40.0030.0274.54
4.3.30.0040.0203.28
4.3.20.0020.0163.26
4.3.10.0040.0213.21
4.3.00.0000.01343.79

preferences:
42.39 ms | 401 KiB | 5 Q