3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<NO_PCRE_ERROR +-----------------------------------------------------------+ | ! ERROR ! | | The test-suite requires that you have pcre extension | | enabled. To enable this extension either compile your PHP | | with --with-pcre-regex or if you've compiled pcre as a | | shared module load it via php.ini. | +-----------------------------------------------------------+ NO_PCRE_ERROR;

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.0080.00816.50
8.3.50.0120.00622.05
8.3.40.0110.00418.85
8.3.30.0000.01419.09
8.3.20.0070.00720.16
8.3.10.0000.00821.81
8.3.00.0110.00717.80
8.2.180.0040.01116.36
8.2.170.0110.00422.96
8.2.160.0100.00720.38
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0090.00026.16
8.2.120.0050.00221.09
8.2.110.0030.00620.39
8.2.100.0120.00017.59
8.2.90.0000.00819.10
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00717.92
8.2.50.0000.00918.07
8.2.40.0040.00418.16
8.2.30.0030.00617.86
8.2.20.0070.00017.47
8.2.10.0040.00417.92
8.2.00.0000.00817.54
8.1.280.0030.01025.92
8.1.270.0080.00023.96
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.96
8.1.230.0080.00419.12
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0030.00617.10
8.1.180.0030.00618.10
8.1.170.0050.00318.59
8.1.160.0040.00421.84
8.1.150.0050.00218.84
8.1.140.0050.00317.37
8.1.130.0030.00317.80
8.1.120.0040.00417.38
8.1.110.0040.00417.31
8.1.100.0070.00017.32
8.1.90.0030.00317.31
8.1.80.0000.00717.31
8.1.70.0030.00317.28
8.1.60.0020.00517.36
8.1.50.0040.00417.41
8.1.40.0080.00017.28
8.1.30.0000.00917.48
8.1.20.0080.00017.50
8.1.10.0040.00417.42
8.1.00.0000.00917.40
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.31
8.0.270.0040.00417.18
8.0.260.0060.00017.23
8.0.250.0000.00716.86
8.0.240.0030.00316.90
8.0.230.0000.00716.75
8.0.220.0030.00416.79
8.0.210.0040.00416.79
8.0.200.0050.00316.89
8.0.190.0070.00016.83
8.0.180.0050.00216.73
8.0.170.0030.00516.84
8.0.160.0080.00016.87
8.0.150.0070.00016.77
8.0.140.0070.00016.69
8.0.130.0030.00313.21
8.0.120.0060.00316.81
8.0.110.0000.00716.86
8.0.100.0000.00716.73
8.0.90.0030.00316.81
8.0.80.0030.01216.83
8.0.70.0030.00516.78
8.0.60.0050.00216.79
8.0.50.0030.00516.82
8.0.30.0110.00817.04
8.0.20.0080.01217.40
8.0.10.0040.00416.72
8.0.00.0110.00616.64
7.4.330.0050.00015.00
7.4.320.0000.00616.38
7.4.300.0060.00016.47
7.4.290.0050.00216.28
7.4.280.0000.00816.45
7.4.270.0030.00316.40
7.4.260.0030.00316.34
7.4.250.0050.00216.42
7.4.240.0030.00316.33
7.4.230.0070.00016.22
7.4.220.0100.01016.55
7.4.210.0090.00916.38
7.4.200.0000.00716.51
7.4.160.0060.00916.20
7.4.150.0170.00017.40
7.4.140.0150.01517.86
7.4.130.0070.01016.47
7.4.120.0100.00916.30
7.4.110.0090.00916.39
7.4.100.0180.00016.26
7.4.90.0060.01216.22
7.4.80.0140.00419.39
7.4.70.0100.00716.31
7.4.60.0070.01016.38
7.4.50.0030.00616.14
7.4.40.0100.00716.27
7.4.30.0090.00616.40
7.3.330.0000.00513.05
7.3.320.0020.00213.09
7.3.310.0040.00416.29
7.3.300.0000.00716.16
7.3.290.0080.00516.19
7.3.280.0090.00816.20
7.3.270.0090.00917.40
7.3.260.0090.00916.35
7.3.250.0080.00816.15
7.3.240.0090.00916.25
7.3.230.0100.01316.39
7.3.210.0040.01216.33
7.3.200.0170.00419.39
7.3.190.0150.00616.45
7.3.180.0070.01016.35
7.3.170.0060.01016.27
7.3.160.0060.00916.37
7.2.330.0100.01016.47
7.2.320.0100.00716.20
7.2.310.0130.00316.34
7.2.300.0060.01216.54
7.2.290.0120.00916.43
5.4.310.0050.03812.46
5.4.300.0050.03812.47
5.4.290.0060.03712.46
5.4.280.0050.03612.36
5.4.270.0060.03612.36
5.4.260.0050.03912.36
5.4.250.0050.03812.36
5.4.240.0080.03412.36
5.4.230.0060.03812.35
5.4.220.0030.03812.35
5.4.210.0100.03712.35
5.4.200.0040.03912.35
5.4.190.0040.03812.35
5.4.180.0100.03712.34
5.4.170.0080.03312.36
5.4.160.0050.03612.35
5.4.150.0060.04212.35
5.4.140.0060.04412.04
5.4.130.0050.03712.02
5.4.120.0030.03711.99
5.4.110.0060.04611.98
5.4.100.0060.04111.98
5.4.90.0060.04211.98
5.4.80.0090.05011.98
5.4.70.0100.02911.97
5.4.60.0080.03511.98
5.4.50.0070.04011.97
5.4.40.0100.03411.96
5.4.30.0040.03611.96
5.4.20.0070.03211.95
5.4.10.0050.03511.96
5.4.00.0070.03711.45
5.3.280.0040.04512.70
5.3.270.0050.05112.72
5.3.260.0080.03612.71
5.3.250.0040.04412.72
5.3.240.0090.04012.72
5.3.230.0050.04612.71
5.3.220.0040.03712.68
5.3.210.0040.04012.68
5.3.200.0050.03612.68
5.3.190.0100.04412.68
5.3.180.0110.03812.68
5.3.170.0060.03812.67
5.3.160.0080.03912.67
5.3.150.0060.03912.68
5.3.140.0070.04512.66
5.3.130.0100.05212.66
5.3.120.0070.04012.66
5.3.110.0070.03612.66
5.3.100.0070.03512.12
5.3.90.0060.04312.08
5.3.80.0070.04312.07
5.3.70.0060.04812.08
5.3.60.0060.04412.07
5.3.50.0060.03612.00
5.3.40.0080.05212.00
5.3.30.0050.03511.95
5.3.20.0060.03511.72
5.3.10.0070.03211.70
5.3.00.0050.03611.68
5.2.170.0040.0309.19
5.2.160.0060.0289.18
5.2.150.0090.0339.18
5.2.140.0050.0329.17
5.2.130.0080.0329.14
5.2.120.0070.0359.14
5.2.110.0020.0389.14
5.2.100.0060.0269.14
5.2.90.0030.0309.14
5.2.80.0070.0349.14
5.2.70.0080.0379.14
5.2.60.0040.0319.09
5.2.50.0050.0399.06
5.2.40.0060.0289.04
5.2.30.0070.0429.01
5.2.20.0060.0269.02
5.2.10.0050.0268.93
5.2.00.0030.0368.80
5.1.60.0040.0238.08
5.1.50.0070.0368.08
5.1.40.0040.0338.06
5.1.30.0060.0238.41
5.1.20.0040.0358.44
5.1.10.0040.0258.16
5.1.00.0040.0398.15
5.0.50.0050.0276.64
5.0.40.0020.0206.50
5.0.30.0060.0376.31
5.0.20.0030.0216.28
5.0.10.0040.0186.25
5.0.00.0050.0376.25
4.4.90.0020.0164.77
4.4.80.0030.0154.75
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0030.0254.70
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0040.0144.84
4.4.00.0040.0234.76
4.3.110.0030.0154.67
4.3.100.0020.0154.66
4.3.90.0020.0234.64
4.3.80.0030.0234.58
4.3.70.0030.0244.63
4.3.60.0030.0204.63
4.3.50.0050.0184.63
4.3.40.0010.0254.54
4.3.30.0010.0173.30
4.3.20.0020.0163.28
4.3.10.0010.0163.23
4.3.00.0070.01714.10

preferences:
30.9 ms | 401 KiB | 5 Q