3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/^Clic Sortant : [0-9]*/', 'Vote : 10265</a><br><br>Clic Sortant : 3491</td></tr><tr><', $matches); echo $matches[1]; // 1234

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.0120.00816.75
8.3.50.0110.00722.14
8.3.40.0120.00318.93
8.3.30.0100.00319.07
8.3.20.0040.00420.29
8.3.10.0030.00523.53
8.3.00.0070.00320.69
8.2.180.0160.00317.13
8.2.170.0030.01022.96
8.2.160.0070.00720.37
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0070.00721.96
8.2.110.0030.00622.15
8.2.100.0080.00418.09
8.2.90.0000.00719.22
8.2.80.0030.00617.97
8.2.70.0080.00017.88
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0040.00418.08
8.2.20.0000.00817.75
8.2.10.0080.00017.80
8.2.00.0040.00417.89
8.1.280.0140.00725.92
8.1.270.0060.00323.96
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0090.00023.91
8.1.230.0070.00719.16
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0040.00417.41
8.1.180.0000.00818.10
8.1.170.0090.00018.46
8.1.160.0030.00621.96
8.1.150.0040.00418.69
8.1.140.0030.00517.38
8.1.130.0030.00317.80
8.1.120.0000.00717.50
8.1.110.0030.00517.32
8.1.100.0040.00417.52
8.1.90.0000.00717.52
8.1.80.0040.00417.46
8.1.70.0000.00717.42
8.1.60.0050.00317.52
8.1.50.0000.00717.50
8.1.40.0030.00517.56
8.1.30.0040.00417.56
8.1.20.0030.00617.55
8.1.10.0040.00417.57
8.1.00.0040.00417.55
8.0.300.0070.00018.77
8.0.290.0070.00017.16
8.0.280.0050.00218.31
8.0.270.0040.00417.23
8.0.260.0050.00316.95
8.0.250.0000.00617.07
8.0.240.0000.00816.93
8.0.230.0000.00716.93
8.0.220.0040.00417.02
8.0.210.0000.00616.98
8.0.200.0000.00716.93
8.0.190.0070.00016.93
8.0.180.0050.00316.91
8.0.170.0000.00816.91
8.0.160.0050.00316.93
8.0.150.0030.00316.80
8.0.140.0030.00316.84
8.0.130.0040.00413.34
8.0.120.0060.00316.86
8.0.110.0000.00717.01
8.0.100.0000.00717.03
8.0.90.0020.00516.94
8.0.80.0150.00016.92
8.0.70.0000.00716.81
8.0.60.0000.00917.02
8.0.50.0050.00216.92
8.0.30.0110.00817.13
8.0.20.0080.01217.40
8.0.10.0030.00616.96
8.0.00.0140.00816.83
7.4.330.0060.00015.04
7.4.320.0030.00316.59
7.4.300.0030.00316.54
7.4.290.0040.00416.50
7.4.280.0060.00016.68
7.4.270.0000.00716.73
7.4.260.0000.00716.66
7.4.250.0040.00416.55
7.4.240.0050.00216.65
7.4.230.0030.00316.51
7.4.220.0150.00316.74
7.4.210.0050.01016.64
7.4.200.0070.00016.67
7.4.190.0000.00716.71
7.4.160.0060.01216.62
7.4.150.0040.01417.40
7.4.140.0080.00917.86
7.4.130.0110.00816.77
7.4.120.0090.01116.58
7.4.110.0100.00716.71
7.4.100.0070.01016.59
7.4.90.0120.00616.67
7.4.80.0160.01116.81
7.4.70.0140.00316.68
7.4.60.0060.01416.47
7.4.50.0040.00416.60
7.4.40.0070.00722.77
7.4.30.0100.00716.63
7.4.00.0060.01215.05
7.3.330.0050.00013.16
7.3.320.0050.00013.34
7.3.310.0070.00016.24
7.3.300.0070.00016.32
7.3.290.0040.01116.45
7.3.280.0080.00916.49
7.3.270.0030.01517.40
7.3.260.0090.00916.52
7.3.250.0160.00316.56
7.3.240.0110.01116.79
7.3.230.0170.00316.44
7.3.210.0100.00716.83
7.3.200.0030.01319.39
7.3.190.0090.01316.63
7.3.180.0130.00316.71
7.3.170.0060.01116.55
7.3.160.0110.00716.58
7.3.120.0070.01014.97
7.2.330.0080.00816.62
7.2.320.0160.00616.69
7.2.310.0090.00916.82
7.2.300.0130.00916.87
7.2.290.0100.00716.77
7.2.00.0030.01419.61
7.1.100.0140.01418.00
7.1.70.0070.00017.00
7.1.60.0140.01119.29
7.1.50.0030.01717.18
7.1.00.0000.08022.38
7.0.200.0040.01416.80
7.0.140.0070.06722.20
7.0.60.0070.05319.99
7.0.50.0070.03717.68
7.0.40.0030.07020.07
7.0.30.0130.08020.01
7.0.20.0130.05320.05
7.0.10.0070.05720.19
7.0.00.0100.08020.05
5.6.280.0030.07321.09
5.6.210.0130.08320.62
5.6.200.0070.08018.12
5.6.190.0100.03720.61
5.6.180.0100.06720.27
5.6.170.0200.04320.71
5.6.160.0030.04320.54
5.6.150.0100.05318.11
5.6.140.0170.05318.19
5.6.130.0030.09018.21
5.6.120.0030.04321.11
5.6.110.0130.07020.93
5.6.100.0030.04020.97
5.6.90.0030.08720.98
5.6.80.0100.08020.50
5.5.350.0070.08020.43
5.5.340.0030.04717.98
5.5.330.0130.07320.15
5.5.320.0230.06320.27
5.5.310.0400.07020.30
5.5.300.0070.07718.00
5.5.290.0030.08317.91
5.5.280.0100.05320.80
5.5.270.0100.05320.96
5.5.260.0070.08320.72
5.5.250.0070.08320.68
5.5.240.0100.07020.18
5.4.450.0730.04719.46
5.4.440.1070.07319.41
5.4.430.1300.07319.09
5.4.420.1330.06319.63
5.4.410.0830.05719.41
5.4.400.0900.05319.23
5.4.390.0970.05319.08
5.4.380.0370.04318.72
5.4.370.0230.05718.49
5.4.360.0300.05018.70
5.4.350.0330.06318.70
5.4.340.0370.06718.63
5.4.320.0050.03712.45
5.4.310.0090.04312.45
5.4.300.0060.04012.45
5.4.290.0070.03712.45
5.4.280.0090.04612.34
5.4.270.0050.03912.34
5.4.260.0090.03612.34
5.4.250.0090.03612.34
5.4.240.0040.03812.34
5.4.230.0040.04112.34
5.4.220.0050.03612.34
5.4.210.0050.04112.34
5.4.200.0030.04112.34
5.4.190.0030.04012.33
5.4.180.0090.03812.33
5.4.170.0050.03612.34
5.4.160.0050.03612.34
5.4.150.0050.03612.33
5.4.140.0080.03712.02
5.4.130.0060.03912.00
5.4.120.0050.03611.96
5.4.110.0050.03511.96
5.4.100.0030.03711.96
5.4.90.0040.03911.96
5.4.80.0040.03911.96
5.4.70.0030.04411.96
5.4.60.0040.03711.96
5.4.50.0070.03611.95
5.4.40.0080.03711.95
5.4.30.0020.03911.94
5.4.20.0030.04511.95
5.4.10.0050.04111.95
5.4.00.0040.03811.43
5.3.290.0080.03712.80
5.3.280.0080.03512.71
5.3.270.0100.03512.73
5.3.260.0050.04412.72
5.3.250.0100.03512.72
5.3.240.0040.04012.72
5.3.230.0120.03512.71
5.3.220.0080.03812.68
5.3.210.0060.04012.68
5.3.200.0080.03612.68
5.3.190.0050.04112.67
5.3.180.0050.03612.68
5.3.170.0060.03712.67
5.3.160.0060.05112.68
5.3.150.0080.03512.67
5.3.140.0080.04412.66
5.3.130.0060.04712.66
5.3.120.0040.04512.66
5.3.110.0110.03812.66
5.3.100.0070.03512.12
5.3.90.0030.04012.08
5.3.80.0090.04312.07
5.3.70.0070.04112.08
5.3.60.0050.03712.06
5.3.50.0040.03812.00
5.3.40.0040.03712.00
5.3.30.0050.03511.96
5.3.20.0060.03411.74
5.3.10.0030.03611.70
5.3.00.0020.03911.68
5.2.170.0060.0289.19
5.2.160.0080.0349.20
5.2.150.0050.0339.20
5.2.140.0060.0379.19
5.2.130.0050.0319.15
5.2.120.0030.0319.15
5.2.110.0020.0349.16
5.2.100.0040.0309.16
5.2.90.0040.0299.15
5.2.80.0030.0319.14
5.2.70.0060.0279.14
5.2.60.0030.0319.10
5.2.50.0060.0339.07
5.2.40.0040.0309.05
5.2.30.0030.0309.02
5.2.20.0040.0289.02
5.2.10.0030.0338.92
5.2.00.0080.0408.78
5.1.60.0040.0248.07
5.1.50.0050.0248.06
5.1.40.0040.0248.05
5.1.30.0040.0268.40
5.1.20.0050.0258.43
5.1.10.0090.0288.14
5.1.00.0030.0258.14
5.0.50.0030.0256.62
5.0.40.0040.0236.48
5.0.30.0030.0356.30
5.0.20.0020.0206.27
5.0.10.0050.0186.24
5.0.00.0020.0316.23
4.4.90.0040.0144.78
4.4.80.0020.0154.75
4.4.70.0050.0174.75
4.4.60.0020.0204.75
4.4.50.0020.0164.77
4.4.40.0030.0254.71
4.4.30.0020.0254.76
4.4.20.0040.0214.85
4.4.10.0050.0194.85
4.4.00.0050.0244.76
4.3.110.0060.0154.67
4.3.100.0050.0164.66
4.3.90.0020.0144.63
4.3.80.0020.0304.59
4.3.70.0020.0234.63
4.3.60.0050.0164.63
4.3.50.0020.0204.63
4.3.40.0030.0284.54
4.3.30.0010.0163.29
4.3.20.0020.0163.26
4.3.10.0020.0153.22
4.3.00.0070.02013.14

preferences:
38.54 ms | 401 KiB | 5 Q