3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = file_get_contents('http://www.bcb.gov.br/'); preg_match_all('/ORES-->(.+)<!--/s', $url, $conteudo); $exibir = $conteudo[0][0]; $retirar = array('mais moedas','atas Copom','mais detalhes','ORES-->','<!--'); $exibir = str_replace($retirar, '', $exibir); echo $exibir;

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.0070.00717.13
8.3.50.0070.01122.17
8.3.40.0090.00619.16
8.3.30.0080.00818.97
8.3.20.0070.00020.66
8.3.10.0050.00323.89
8.3.00.0030.00620.01
8.2.180.0120.00318.91
8.2.170.0110.00322.96
8.2.160.0160.00422.41
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00417.88
8.2.120.0030.00526.35
8.2.110.0070.00321.50
8.2.100.0080.00418.22
8.2.90.0080.00018.13
8.2.80.0000.00818.00
8.2.70.0000.00818.17
8.2.60.0050.00318.18
8.2.50.0040.00418.10
8.2.40.0050.00320.86
8.2.30.0020.00520.84
8.2.20.0060.00318.09
8.2.10.0040.00418.48
8.2.00.0040.00418.29
8.1.280.0090.00925.92
8.1.270.0060.00624.16
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0070.00422.22
8.1.230.0090.00321.16
8.1.220.0030.00617.93
8.1.210.0030.00518.77
8.1.200.0070.00317.48
8.1.190.0070.00317.60
8.1.180.0030.00618.10
8.1.170.0030.00618.77
8.1.160.0000.00722.05
8.1.150.0040.00419.10
8.1.140.0040.00719.80
8.1.130.0000.00717.75
8.1.120.0040.00417.78
8.1.110.0000.00717.79
8.1.100.0070.00017.73
8.1.90.0040.00417.66
8.1.80.0080.00017.66
8.1.70.0000.00817.61
8.1.60.0000.00817.88
8.1.50.0060.00317.70
8.1.40.0040.00417.74
8.1.30.0000.00917.81
8.1.20.0040.00417.78
8.1.10.0030.00617.82
8.1.00.0000.00817.76
8.0.300.0040.00420.10
8.0.290.0080.00017.12
8.0.280.0000.00818.71
8.0.270.0080.00017.63
8.0.260.0030.00517.43
8.0.250.0070.00017.32
8.0.240.0030.00517.44
8.0.230.0040.00717.26
8.0.220.0030.00317.13
8.0.210.0000.00817.22
8.0.200.0040.00417.16
8.0.190.0070.00017.42
8.0.180.0040.00417.25
8.0.170.0050.00317.22
8.0.160.0040.00317.20
8.0.150.0050.00217.18
8.0.140.0040.00417.06
8.0.130.0040.00413.67
8.0.120.0030.00517.20
8.0.110.0000.00917.36
8.0.100.0070.00017.29
8.0.90.0040.00417.27
8.0.80.0120.00617.29
8.0.70.0040.00417.21
8.0.60.0060.00317.25
8.0.50.0000.00817.19
8.0.30.0140.00717.40
8.0.20.0100.01117.50
8.0.10.0030.00517.31
8.0.00.0110.00717.11
7.4.330.0000.00617.04
7.4.320.0000.00616.71
7.4.300.0000.00616.78
7.4.290.0040.00416.85
7.4.280.0030.00516.77
7.4.270.0070.00316.80
7.4.260.0030.00316.77
7.4.250.0080.00016.93
7.4.240.0020.00616.98
7.4.230.0020.00516.70
7.4.220.0120.00816.93
7.4.210.0120.00316.87
7.4.200.0050.00316.71
7.4.160.0040.01117.02
7.4.150.0090.00917.40
7.4.140.0140.00817.86
7.4.130.0110.00816.94
7.4.120.0060.01316.90
7.4.110.0100.01017.09
7.4.100.0150.00616.94
7.4.90.0090.00916.66
7.4.80.0150.00319.39
7.4.70.0090.00916.90
7.4.60.0100.00716.76
7.4.50.0090.00616.96
7.4.40.0110.00617.00
7.4.30.0090.00916.75
7.4.00.0000.01115.31
7.3.330.0000.00513.76
7.3.320.0050.00013.76
7.3.310.0070.00016.66
7.3.300.0040.00416.78
7.3.290.0090.00616.83
7.3.280.0080.01116.84
7.3.270.0070.01117.40
7.3.260.0070.01116.79
7.3.250.0120.00816.93
7.3.240.0090.01216.82
7.3.230.0130.00616.85
7.3.210.0140.00616.68
7.3.200.0160.00616.81
7.3.190.0120.00616.82
7.3.180.0070.01116.90
7.3.170.0030.01316.97
7.3.160.0100.00716.79
7.3.120.0030.01317.15
7.3.110.0070.01117.15
7.3.100.0070.01017.15
7.3.90.0070.00717.15
7.3.80.0060.00917.15
7.3.70.0040.01217.15
7.3.60.0060.01217.15
7.3.50.0080.00617.15
7.3.40.0070.00717.15
7.3.30.0030.01417.15
7.3.20.0070.01117.25
7.3.10.0100.00617.15
7.3.00.0060.00917.15
7.2.330.0060.01216.96
7.2.320.0110.00717.13
7.2.310.0100.00717.16
7.2.300.0170.00016.96
7.2.290.0060.01216.92
7.2.240.0100.00317.15
7.2.230.0040.01117.15
7.2.220.0090.00917.15
7.2.210.0100.00617.15
7.2.200.0090.00617.15
7.2.190.0120.00617.15
7.2.180.0030.01417.15
7.2.170.0060.00917.15
7.2.160.0040.01217.15
7.2.150.0030.01317.28
7.2.140.0080.00817.34
7.2.130.0030.01017.15
7.2.120.0070.01017.40
7.2.110.0030.00917.18
7.2.100.0070.01017.15
7.2.90.0170.00017.59
7.2.80.0140.00417.35
7.2.70.0080.00817.55
7.2.60.0100.00617.38
7.2.50.0130.00317.22
7.2.40.0040.01517.36
7.2.30.0070.01017.52
7.2.20.0110.00417.25
7.2.10.0120.00817.44
7.2.00.0080.00618.54
7.1.330.0060.00917.15
7.1.320.0110.00717.15
7.1.310.0070.00717.15
7.1.300.0100.00717.15
7.1.290.0130.00317.15
7.1.280.0100.00717.15
7.1.270.0030.01317.15
7.1.260.0100.00317.15
7.1.250.0000.01517.15
7.1.200.0060.00316.48
7.1.100.0030.00918.41
7.1.70.0080.00017.47
7.1.60.0060.01919.48
7.1.50.0060.01617.38
7.1.00.0030.08022.79
7.0.200.0030.00617.27
7.0.100.0200.07320.19
7.0.90.0170.07020.29
7.0.80.0330.05320.19
7.0.70.0100.04720.41
7.0.60.0200.04020.34
7.0.50.0100.07020.77
7.0.40.0070.08720.41
7.0.30.0070.08720.30
7.0.20.0130.08020.58
7.0.10.0100.08020.52
7.0.00.0070.05720.43
5.6.280.0100.06321.21
5.6.250.0170.06721.04
5.6.240.0170.07320.92
5.6.230.0070.08320.91
5.6.220.0130.07321.01
5.6.210.0100.06020.75
5.6.200.0070.08721.34
5.6.190.0170.07321.59
5.6.180.0030.07021.30
5.6.170.0030.05021.57
5.6.160.0030.05021.33
5.6.150.0070.06321.17
5.6.140.0100.07721.36
5.6.130.0100.08021.49
5.6.120.0070.08021.41
5.6.110.0070.08321.52
5.6.100.0100.06721.33
5.6.90.0070.08721.41
5.6.80.0130.06020.76
5.6.70.0130.04320.60
5.6.60.0070.07020.80
5.6.50.0100.08020.80
5.6.40.0070.08320.94
5.6.30.0230.06320.80
5.6.20.0100.06020.73
5.6.10.0030.08320.84
5.6.00.0070.08320.84
5.5.380.0100.07720.89
5.5.370.0070.05720.65
5.5.360.0000.07720.77
5.5.350.0100.07320.75
5.5.340.0030.06021.02
5.5.330.0100.08721.18
5.5.320.0070.04021.18
5.5.310.0170.07321.27
5.5.300.0130.06021.16
5.5.290.0070.06321.32
5.5.280.0100.05321.08
5.5.270.0030.08021.13
5.5.260.0070.04020.98
5.5.250.0030.06320.98
5.5.240.0100.07720.40
5.5.230.0000.05020.65
5.5.220.0100.06720.67
5.5.210.0130.07720.63
5.5.200.0070.08320.56
5.5.190.0070.08320.47
5.5.180.0030.05320.53
5.5.160.0070.08020.36
5.5.150.0070.07320.62
5.5.140.0070.07720.39
5.5.130.0100.07320.67
5.5.120.0100.08320.57
5.5.110.0070.07720.48
5.5.100.0070.06320.34
5.5.90.0100.07720.50
5.5.80.0030.06320.45
5.5.70.0100.06320.55
5.5.60.0130.07020.41
5.5.50.0170.07020.24
5.5.40.0030.04720.27
5.5.30.0130.04720.46
5.5.20.0200.06720.49
5.5.10.0030.07720.35
5.5.00.0100.03720.28

preferences:
52.49 ms | 401 KiB | 5 Q