3v4l.org

run code in 300+ PHP versions simultaneously
<?php $artigos = [ "Art. 1 lala 23", "Art. 2 lala 23", "Art. 3 lala 23", "Art. 4345 lala 23", ]; $artigos_len = count($artigos) -1; for ($i=0; $i <= $artigos_len; $i++) { preg_match("/Art\. (\d+)/i",$artigos[$i],$match); echo "<ul class='artigo {$match[1]}'></ul>\n\r"; }

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.4.10.0000.00917.77
8.3.140.0070.01116.53
8.3.130.0040.00418.53
8.3.120.0060.00320.66
8.3.110.0000.00816.82
8.3.100.0060.00318.73
8.3.90.0050.00326.77
8.3.80.0090.00017.97
8.3.70.0140.00716.75
8.3.60.0140.00016.88
8.3.50.0140.00522.06
8.3.40.0100.00719.09
8.3.30.0040.01119.04
8.3.20.0020.00520.39
8.3.10.0000.00821.80
8.3.00.0040.00419.38
8.2.250.0130.00716.95
8.2.240.0030.01317.16
8.2.230.0000.00820.94
8.2.220.0040.00424.06
8.2.210.0060.01026.77
8.2.200.0030.00616.75
8.2.190.0110.00418.54
8.2.180.0150.00716.88
8.2.170.0100.00619.04
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00221.30
8.2.110.0060.00321.25
8.2.100.0060.00618.04
8.2.90.0000.00819.17
8.2.80.0050.00317.97
8.2.70.0040.00417.88
8.2.60.0000.00817.93
8.2.50.0040.00418.09
8.2.40.0000.00720.60
8.2.30.0060.00318.16
8.2.20.0070.00017.86
8.2.10.0030.00518.25
8.2.00.0080.00017.89
8.1.300.0030.00618.02
8.1.290.0060.00318.88
8.1.280.0090.00625.92
8.1.270.0080.00020.78
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00722.61
8.1.230.0070.00417.64
8.1.220.0040.00417.91
8.1.210.0030.00518.77
8.1.200.0030.00617.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0080.00018.71
8.1.160.0030.00522.05
8.1.150.0050.00318.84
8.1.140.0020.00517.61
8.1.130.0050.00517.55
8.1.120.0040.00817.47
8.1.110.0040.00417.57
8.1.100.0040.00417.63
8.1.90.0000.00717.51
8.1.80.0000.00717.66
8.1.70.0030.00517.61
8.1.60.0090.00017.75
8.1.50.0060.00317.57
8.1.40.0030.00617.65
8.1.30.0060.00317.77
8.1.20.0040.00417.83
8.1.10.0060.00317.59
8.1.00.0070.00017.54
8.0.300.0040.00418.84
8.0.290.0050.00316.88
8.0.280.0000.00718.39
8.0.270.0000.00817.36
8.0.260.0080.00016.93
8.0.250.0030.00317.03
8.0.240.0000.00717.09
8.0.230.0030.00317.12
8.0.220.0070.00017.00
8.0.210.0060.00317.09
8.0.200.0000.01016.98
8.0.190.0050.00317.15
8.0.180.0030.00417.09
8.0.170.0040.00417.07
8.0.160.0000.00817.04
8.0.150.0030.00716.92
8.0.140.0000.00716.95
8.0.130.0000.00513.52
8.0.120.0040.00416.91
8.0.110.0040.00417.11
8.0.100.0000.00717.04
8.0.90.0040.00416.91
8.0.80.0030.01217.00
8.0.70.0000.00717.09
8.0.60.0020.00516.96
8.0.50.0000.00717.06
8.0.30.0080.01317.24
8.0.20.0110.01017.51
8.0.10.0040.00417.19
8.0.00.0050.01216.90
7.4.330.0000.00515.08
7.4.320.0000.00616.81
7.4.300.0030.00316.79
7.4.290.0030.00316.75
7.4.280.0000.00716.64
7.4.270.0040.00416.69
7.4.260.0000.00716.73
7.4.250.0070.00016.77
7.4.240.0030.00316.77
7.4.230.0030.00316.53
7.4.220.0090.00916.89
7.4.210.0080.00816.86
7.4.200.0080.00016.82
7.4.160.0090.00616.78
7.4.150.0340.01817.40
7.4.140.0140.00817.86
7.4.130.0070.01016.86
7.4.120.0110.01316.68
7.4.110.0220.00016.83
7.4.100.0130.00716.48
7.4.90.0110.00716.72
7.4.80.0160.00319.39
7.4.70.0090.00916.91
7.4.60.0140.00316.68
7.4.50.0020.00216.64
7.4.40.0070.01316.70
7.4.30.0160.00616.52
7.4.00.0060.01014.91
7.3.330.0000.00613.23
7.3.320.0100.00313.17
7.3.310.0030.00316.41
7.3.300.0000.00716.46
7.3.290.0080.00616.44
7.3.280.0090.00616.41
7.3.270.0110.01117.40
7.3.260.0000.01716.46
7.3.250.0110.00816.55
7.3.240.0140.00816.66
7.3.230.0100.01016.49
7.3.210.0080.00916.79
7.3.200.0090.00919.39
7.3.190.0120.00916.65
7.3.180.0110.00416.54
7.3.170.0090.00916.48
7.3.160.0060.01016.66
7.2.330.0160.00016.88
7.2.320.0070.01316.73
7.2.310.0070.01016.82
7.2.300.0130.00716.79
7.2.290.0030.01516.80
7.2.60.0030.01417.08
7.2.00.0070.01019.84
7.1.200.0050.00515.84
7.1.100.0040.00818.34
7.1.70.0070.00017.29
7.1.60.0100.01419.46
7.1.50.0190.00317.00
7.1.00.0030.07722.41
7.0.200.0090.00616.61
7.0.140.0030.06322.00
7.0.60.0100.08319.96
7.0.50.0070.06717.83
7.0.40.0070.08319.97
7.0.30.0200.03720.18
7.0.20.0270.04320.03
7.0.10.0200.06320.18
7.0.00.0070.05020.14
5.6.280.0030.07321.04
5.6.210.0070.08020.72
5.6.200.0030.08018.22
5.6.190.0030.09320.60
5.6.180.0230.06320.23
5.6.170.0230.08020.41
5.6.160.0100.06320.40
5.6.150.0030.04018.12
5.6.140.0070.07018.20
5.6.130.0130.07718.20
5.6.120.0070.08321.14
5.6.110.0100.04721.03
5.6.100.0130.06320.88
5.6.90.0030.07321.13
5.6.80.0130.08020.28
5.6.70.0070.07320.42
5.5.350.0100.08020.41
5.5.340.0030.05017.96
5.5.330.0100.08320.06
5.5.320.0030.04320.57
5.5.310.0270.08020.21
5.5.300.0070.05717.91
5.5.290.0030.05017.98
5.5.280.0130.03720.96
5.5.270.0100.03320.86
5.5.260.0030.04320.95
5.5.250.0130.06720.61
5.5.240.0070.08020.15
5.4.450.0500.06719.63
5.4.440.0930.04719.45
5.4.430.0700.05319.63
5.4.420.0900.04719.54
5.4.410.0670.06319.50
5.4.400.0130.05718.50
5.4.390.0170.05318.49
5.4.380.0200.05318.51
5.4.370.0170.05718.65
5.4.360.0070.07018.77
5.4.350.0130.06018.65
5.4.340.0170.06718.58
5.4.320.0270.05318.56
5.4.310.0170.05718.49
5.4.300.0070.07718.65
5.4.290.0100.06718.45
5.4.280.0130.06018.59
5.4.270.0170.05718.78
5.4.260.0330.05718.44
5.4.250.0230.04718.51
5.4.240.0130.05718.64
5.4.230.0200.05318.75
5.4.220.0170.08018.60
5.4.210.0330.04018.57
5.4.200.0270.04016.52
5.4.190.0430.04018.65
5.4.180.0270.05018.63
5.4.170.0130.05718.56
5.4.160.0230.07018.70
5.4.150.0170.06318.66
5.4.140.0130.05716.18
5.4.130.0230.04716.21
5.4.120.0170.05016.27
5.4.110.0100.06016.12
5.4.100.0200.04716.26
5.4.90.0170.05316.25
5.4.80.0070.06016.23
5.4.70.0100.05716.26
5.4.60.0200.05016.25
5.4.50.0130.05316.15
5.4.40.0170.05316.09
5.4.30.0130.05016.17
5.4.20.0230.04716.23
5.4.10.0230.04316.28
5.4.00.0170.05015.67
5.3.290.0170.05714.63
5.3.280.0170.05014.50
5.3.270.0230.04714.66
5.3.260.0200.05714.50
5.3.250.0230.04714.56
5.3.240.0100.06014.59
5.3.230.0270.05714.58
5.3.220.0230.05014.66
5.3.210.0270.06714.55
5.3.200.0230.05714.61
5.3.190.0170.05314.49
5.3.180.0070.06014.55
5.3.170.0230.04714.62
5.3.160.0130.05314.56
5.3.150.0130.05314.46
5.3.140.0200.05014.63
5.3.130.0100.07014.60
5.3.120.0370.03714.46
5.3.110.0130.05714.46
5.3.100.0230.04313.95
5.3.90.0200.05013.92
5.3.80.0200.05313.96
5.3.70.0200.06713.91
5.3.60.0200.04713.96
5.3.50.0100.06013.93
5.3.40.0200.05013.87
5.3.30.0170.05013.88
5.3.20.0230.05713.61
5.3.10.0130.06013.61
5.3.00.0230.04313.65
5.2.170.0130.04011.18
5.2.160.0230.05011.10
5.2.150.0130.04311.09
5.2.140.0270.04311.12
5.2.130.0170.04011.03
5.2.120.0130.04311.25
5.2.110.0170.04011.07
5.2.100.0130.04311.09
5.2.90.0070.04711.25
5.2.80.0070.05011.25
5.2.70.0130.04311.13
5.2.60.0130.04011.10
5.2.50.0170.03711.15
5.2.40.0230.04311.02
5.2.30.0170.03711.00
5.2.20.0030.04711.07
5.2.10.0170.03310.92
5.2.00.0130.04010.81
5.1.60.0100.03310.01
5.1.50.0130.03010.11
5.1.40.0070.0439.98
5.1.30.0170.03310.38
5.1.20.0230.03010.38
5.1.10.0070.04010.10
5.1.00.0130.03010.08
5.0.50.0030.0308.57
5.0.40.0000.0338.48
5.0.30.0200.0478.27
5.0.20.0000.0338.23
5.0.10.0030.0308.27
5.0.00.0030.0438.23
4.4.90.0100.0175.93
4.4.80.0070.0205.96
4.4.70.0070.0205.86
4.4.60.0070.0205.85
4.4.50.0100.0175.82
4.4.40.0070.0335.91
4.4.30.0070.0205.86
4.4.20.0100.0175.97
4.4.10.0000.0275.95
4.4.00.0070.0335.95
4.3.110.0100.0205.84
4.3.100.0030.0235.81
4.3.90.0130.0135.84
4.3.80.0070.0335.78
4.3.70.0000.0275.79
4.3.60.0030.0235.79
4.3.50.0000.0275.79
4.3.40.0030.0405.73
4.3.30.0030.0234.61
4.3.20.0000.0234.54
4.3.10.0000.0234.48
4.3.00.0000.0308.77

preferences:
25.6 ms | 403 KiB | 5 Q