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; exit();

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.0040.01216.38
8.3.50.0100.01222.04
8.3.40.0040.01118.96
8.3.30.0140.00318.78
8.3.20.0070.00720.04
8.3.10.0000.00821.72
8.3.00.0080.00017.79
8.2.180.0070.00716.38
8.2.170.0110.00422.96
8.2.160.0100.00320.47
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00021.10
8.2.110.0060.00322.20
8.2.100.0080.00419.70
8.2.90.0000.00819.05
8.2.80.0000.00917.97
8.2.70.0050.00317.50
8.2.60.0060.00317.80
8.2.50.0030.00518.07
8.2.40.0050.00218.09
8.2.30.0000.00818.00
8.2.20.0000.00717.55
8.2.10.0070.00017.97
8.2.00.0040.00417.58
8.1.280.0100.00325.92
8.1.270.0040.00423.92
8.1.260.0030.00626.35
8.1.250.0000.00828.09
8.1.240.0030.00623.97
8.1.230.0070.00318.83
8.1.220.0090.00017.79
8.1.210.0080.00018.77
8.1.200.0060.00317.11
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0050.00318.43
8.1.160.0000.00721.98
8.1.150.0070.00018.77
8.1.140.0000.00817.30
8.1.130.0030.00317.68
8.1.120.0040.00417.40
8.1.110.0020.00517.21
8.1.100.0040.00417.23
8.1.90.0070.00017.29
8.1.80.0000.00817.20
8.1.70.0040.00417.31
8.1.60.0050.00517.50
8.1.50.0040.00417.47
8.1.40.0070.00017.34
8.1.30.0030.00517.50
8.1.20.0050.00317.64
8.1.10.0020.00517.45
8.1.00.0080.00017.36
8.0.300.0070.00018.77
8.0.290.0080.00016.75
8.0.280.0000.00718.43
8.0.270.0050.00517.17
8.0.260.0000.00817.19
8.0.250.0030.00316.75
8.0.240.0030.00316.85
8.0.230.0000.00716.87
8.0.220.0020.00516.79
8.0.210.0000.00816.75
8.0.200.0030.00316.86
8.0.190.0030.00316.86
8.0.180.0040.00416.83
8.0.170.0000.00716.80
8.0.160.0000.00816.72
8.0.150.0040.00416.72
8.0.140.0000.00716.77
8.0.130.0000.00513.21
8.0.120.0000.00816.67
8.0.110.0000.00816.86
8.0.100.0070.00016.69
8.0.90.0040.00416.78
8.0.80.0040.01216.77
8.0.70.0030.00316.85
8.0.60.0000.00716.78
8.0.50.0070.00016.77
8.0.30.0080.01117.04
8.0.20.0130.00917.40
8.0.10.0000.00816.96
8.0.00.0070.01016.57
7.4.330.0000.00515.00
7.4.320.0000.00716.39
7.4.300.0000.00616.47
7.4.290.0060.00016.41
7.4.280.0040.00416.46
7.4.270.0030.00316.27
7.4.260.0030.00316.33
7.4.250.0000.00716.42
7.4.240.0020.00516.45
7.4.230.0050.00216.40
7.4.220.0000.01816.56
7.4.210.0070.00716.40
7.4.200.0070.00016.36
7.4.160.0110.00516.37
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0090.00916.78
7.4.120.0080.00916.31
7.4.110.0100.00716.31
7.4.100.0120.00616.64
7.4.90.0090.00916.38
7.4.80.0100.00719.39
7.4.70.0100.00716.52
7.4.60.0100.01316.32
7.4.50.0040.00015.99
7.4.40.0120.00416.36
7.4.30.0030.01316.47
7.4.00.0070.00314.82
7.3.330.0000.00613.04
7.3.320.0020.00212.88
7.3.310.0040.00316.13
7.3.300.0030.00316.26
7.3.290.0060.00816.22
7.3.280.0100.00816.20
7.3.270.0090.00917.40
7.3.260.0070.01016.14
7.3.240.0070.01116.20
7.3.230.0090.01216.43
7.3.210.0060.01116.37
7.3.200.0110.00719.39
7.3.190.0000.01716.40
7.3.180.0030.01316.43
7.3.170.0090.00616.38
7.3.160.0060.00916.34
7.3.120.0070.00714.81
7.2.330.0130.01016.39
7.2.320.0130.00316.30
7.2.310.0090.00616.57
7.2.300.0120.01216.36
7.2.290.0170.00316.41
7.2.60.0030.01316.93
7.2.00.0000.01419.04
7.1.200.0000.01215.54
7.1.100.0030.00917.99
7.1.70.0050.00217.04
7.1.60.0070.00317.04
7.1.50.0100.01016.64
7.1.00.0000.07722.29
7.0.200.0060.00916.84
7.0.140.0030.07322.09
7.0.60.0000.05020.02
7.0.50.0100.08017.88
7.0.40.0070.08720.30
7.0.30.0330.06720.09
7.0.20.0230.04020.02
7.0.10.0000.06320.21
7.0.00.0070.06719.99
5.6.280.0070.07021.06
5.6.210.0270.04320.64
5.6.200.0100.08018.08
5.6.190.0100.06020.59
5.6.180.0170.07720.48
5.6.170.0100.04720.48
5.6.160.0130.05020.48
5.6.150.0100.06318.11
5.6.140.0030.05318.16
5.6.130.0130.08018.21
5.6.120.0270.03320.91
5.6.110.0070.08021.01
5.6.100.0000.04320.99
5.6.90.0200.07721.00
5.6.80.0030.07020.39
5.5.350.0330.06320.43
5.5.340.0100.04317.92
5.5.330.0030.06020.06
5.5.320.0330.06320.27
5.5.310.0270.05020.20
5.5.300.0070.05018.02
5.5.290.0070.07717.90
5.5.280.0100.07320.89
5.5.270.0030.07020.75
5.5.260.0070.07720.75
5.5.250.0200.07020.46
5.5.240.0000.03320.25
5.4.450.0470.06019.13
5.4.440.0600.05719.55
5.4.430.0330.05319.62
5.4.420.0230.05319.62
5.4.410.0170.04719.41
5.4.400.0100.06319.05
5.4.390.0130.05319.13
5.4.380.0370.07318.61
5.4.370.0300.06318.73
5.4.360.0330.06718.73
5.4.350.0300.05718.59
5.4.340.0200.06018.68
5.4.320.0050.03712.45
5.4.310.0050.03812.45
5.4.300.0070.03512.45
5.4.290.0030.04912.45
5.4.280.0050.03512.34
5.4.270.0050.03712.35
5.4.260.0070.05012.35
5.4.250.0070.03612.34
5.4.240.0050.03612.34
5.4.230.0050.03812.34
5.4.220.0020.03912.34
5.4.210.0050.03612.34
5.4.200.0090.04412.34
5.4.190.0080.03812.33
5.4.180.0070.04812.33
5.4.170.0100.03712.34
5.4.160.0080.04812.34
5.4.150.0070.03412.34
5.4.140.0050.03712.02
5.4.130.0050.04512.01
5.4.120.0060.04711.96
5.4.110.0080.04111.96
5.4.100.0090.04811.96
5.4.90.0060.03711.96
5.4.80.0080.04611.96
5.4.70.0050.03511.96
5.4.60.0030.04211.96
5.4.50.0090.03511.96
5.4.40.0100.04011.95
5.4.30.0080.04011.95
5.4.20.0080.04311.95
5.4.10.0060.03411.95
5.4.00.0050.03611.44
5.3.290.0060.04112.80
5.3.280.0040.03912.70
5.3.270.0030.04112.72
5.3.260.0070.03912.72
5.3.250.0060.03612.72
5.3.240.0060.04312.71
5.3.230.0030.03912.71
5.3.220.0050.03712.68
5.3.210.0100.03412.68
5.3.200.0080.03512.68
5.3.190.0070.03612.68
5.3.180.0060.03612.67
5.3.170.0060.03612.67
5.3.160.0060.03512.67
5.3.150.0080.04412.68
5.3.140.0040.03812.66
5.3.130.0060.04712.66
5.3.120.0040.04012.66
5.3.110.0090.03512.66
5.3.100.0060.03612.12
5.3.90.0080.03312.08
5.3.80.0060.03612.07
5.3.70.0050.03712.08
5.3.60.0070.03612.06
5.3.50.0070.03512.00
5.3.40.0110.04112.00
5.3.30.0070.03311.94
5.3.20.0110.04011.72
5.3.10.0040.03611.69
5.3.00.0080.04611.67

preferences:
41.33 ms | 400 KiB | 5 Q