3v4l.org

run code in 300+ PHP versions simultaneously
<?php header( 'Content-type: text/plain' ); error_reporting(-1); ini_set('display_errors', 1); echo 'foo'; session_start(); header( 'Content-encoding: UTF-8' );

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.0090.01218.53
8.3.50.0080.01021.89
8.3.40.0040.01118.84
8.3.30.0090.00618.97
8.3.20.0050.00220.46
8.3.10.0040.00422.13
8.3.00.0080.00022.44
8.2.180.0090.00616.88
8.2.170.0140.00422.96
8.2.160.0070.01020.52
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00019.23
8.2.110.0070.00319.45
8.2.100.0090.00317.91
8.2.90.0090.00019.23
8.2.80.0080.00017.97
8.2.70.0040.00418.04
8.2.60.0070.00018.03
8.2.50.0060.00318.10
8.2.40.0050.00320.55
8.2.30.0060.00617.86
8.2.20.0040.00417.48
8.2.10.0040.00417.47
8.2.00.0000.00817.60
8.1.280.0000.01525.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.75
8.1.230.0000.01017.64
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0060.00318.48
8.1.160.0030.00521.90
8.1.150.0000.00718.45
8.1.140.0050.00217.37
8.1.130.0000.00717.22
8.1.120.0070.00017.20
8.1.110.0040.00417.37
8.1.100.0000.00717.29
8.1.90.0070.00017.29
8.1.80.0040.00417.27
8.1.70.0030.00317.31
8.1.60.0000.00917.50
8.1.50.0040.00417.37
8.1.40.0060.00317.23
8.1.30.0050.00317.55
8.1.20.0000.00817.54
8.1.10.0040.00417.45
8.1.00.0050.00217.30
8.0.300.0040.00418.77
8.0.290.0040.00416.61
8.0.280.0030.00318.22
8.0.270.0070.00017.23
8.0.260.0030.00316.80
8.0.250.0030.00316.89
8.0.240.0040.00416.91
8.0.230.0000.00716.86
8.0.220.0030.00516.79
8.0.210.0030.00316.74
8.0.200.0030.00316.75
8.0.190.0080.00316.95
8.0.180.0040.00416.74
8.0.170.0040.00416.94
8.0.160.0000.00816.75
8.0.150.0040.00416.85
8.0.140.0080.00016.71
8.0.130.0030.00313.29
8.0.120.0000.00816.83
8.0.110.0000.00916.84
8.0.100.0040.00416.85
8.0.90.0040.00416.82
8.0.80.0030.01016.80
8.0.70.0040.00416.64
8.0.60.0050.00216.65
8.0.50.0040.00416.74
8.0.30.0090.01016.82
8.0.20.0090.00917.40
8.0.10.0070.00016.99
8.0.00.0050.01216.64
7.4.330.0000.00515.00
7.4.320.0030.00516.52
7.4.300.0000.00616.49
7.4.290.0000.00716.37
7.4.280.0000.00616.31
7.4.270.0030.00316.47
7.4.260.0000.00716.34
7.4.250.0030.00616.38
7.4.240.0040.00316.46
7.4.230.0000.00716.37
7.4.220.0040.00416.21
7.4.210.0070.00916.44
7.4.200.0070.00016.41
7.4.190.0040.00216.61
7.4.160.0080.00816.25
7.4.150.0140.00517.40
7.4.140.0090.00917.86
7.4.130.0080.00916.52
7.4.120.0130.00816.35
7.4.110.0200.00316.51
7.4.100.0060.01016.33
7.4.90.0090.01016.49
7.4.80.0080.00819.39
7.4.70.0060.01216.33
7.4.60.0030.01416.36
7.4.50.0050.00316.46
7.4.40.0060.00922.77
7.4.30.0130.00316.28
7.4.00.0070.01114.95
7.3.330.0020.00212.98
7.3.320.0000.00513.18
7.3.310.0000.00716.05
7.3.300.0070.00016.05
7.3.290.0040.01116.21
7.3.280.0070.01016.18
7.3.270.0160.00017.40
7.3.260.0050.01116.39
7.3.250.0100.00916.32
7.3.240.0120.01216.30
7.3.230.0040.01416.39
7.3.210.0090.00916.25
7.3.200.0120.00719.39
7.3.190.0170.00316.41
7.3.180.0110.00716.26
7.3.170.0040.01116.27
7.3.160.0080.00816.12
7.3.120.0060.00914.53
7.3.10.0080.00616.41
7.3.00.0030.00916.34
7.2.330.0080.01116.29
7.2.320.0070.01716.51
7.2.310.0060.01216.39
7.2.300.0050.01216.60
7.2.290.0130.01016.49
7.2.130.0000.01116.91
7.2.120.0060.00616.84
7.2.110.0000.01316.74
7.2.100.0000.01316.73
7.2.90.0030.01016.87
7.2.80.0040.01116.67
7.2.70.0000.01016.74
7.2.60.0140.00716.77
7.2.50.0060.00616.96
7.2.40.0030.00816.84
7.2.30.0000.01316.71
7.2.20.0000.00916.62
7.2.10.0040.00716.89
7.2.00.0050.00517.82
7.1.250.0080.00315.66
7.1.200.0030.00715.46
7.1.100.0070.00717.86
7.1.70.0070.00316.90
7.1.60.0070.01619.82
7.1.50.0030.01716.75
7.1.00.0070.07322.44
7.0.200.0170.00016.64
7.0.140.0000.07022.04
7.0.60.1630.06319.99
7.0.50.0100.04317.82
7.0.40.0100.07320.21
7.0.30.0530.07320.02
7.0.20.0270.07020.09
7.0.10.0030.09320.00
7.0.00.0070.09020.09
5.6.280.0130.06321.12
5.6.210.1530.07320.63
5.6.200.0030.04318.21
5.6.190.0170.07720.41
5.6.180.3900.04020.34
5.6.170.0300.08020.38
5.6.160.0100.08020.53
5.6.150.0030.04018.17
5.6.140.0030.03718.17
5.6.130.0000.05718.11
5.6.120.0070.08321.00
5.6.110.0130.07020.98
5.6.100.0000.07720.98
5.6.90.0100.08320.87
5.6.80.0070.08020.35
5.6.70.4530.03720.49
5.5.350.0100.06720.32
5.5.340.0030.04017.97
5.5.330.0070.08720.46
5.5.320.0200.04020.31
5.5.310.0130.07320.26
5.5.300.0030.05717.96
5.5.290.0030.04317.97
5.5.280.0030.09320.72
5.5.270.0030.05020.85
5.5.260.0100.06320.79
5.5.250.0130.07020.54
5.5.240.0270.06320.34
5.4.450.0270.03019.13
5.4.440.0400.04319.41
5.4.430.0400.04719.48
5.4.420.0470.05019.56
5.4.410.0470.04718.97
5.4.400.0070.03019.09
5.4.390.0500.04319.13
5.4.380.0530.07318.46
5.4.370.0470.05018.69
5.4.360.0430.04718.71
5.4.350.0270.06318.70
5.4.340.0430.04718.73
5.4.320.0070.03512.46
5.4.310.0070.03912.46
5.4.300.0070.03712.46
5.4.290.0080.03512.46
5.4.280.0090.03412.35
5.4.270.0090.03412.35
5.4.260.0090.04012.36
5.4.250.0080.03912.35
5.4.240.0050.04212.36
5.4.230.0070.04412.34
5.4.220.0070.03412.34
5.4.210.0090.03612.34
5.4.200.0060.04012.34
5.4.190.0020.04312.34
5.4.180.0080.04212.34
5.4.170.0130.04512.34
5.4.160.0180.04312.33
5.4.150.0140.04612.33
5.4.140.0160.04412.01
5.4.130.0270.04012.02
5.4.120.0220.03611.96
5.4.110.0160.04211.95
5.4.100.0140.04611.95
5.4.90.0140.04411.95
5.4.80.0170.04311.95
5.4.70.0110.04711.95
5.4.60.0110.04611.95
5.4.50.0130.04411.95
5.4.40.0110.04511.93
5.4.30.0110.04811.94
5.4.20.0130.04411.94
5.4.10.0210.03711.93
5.4.00.0120.04211.43
5.3.290.0070.04912.80
5.3.280.0070.04312.71
5.3.270.0160.04512.72
5.3.260.0140.04712.72
5.3.250.0130.04712.72
5.3.240.0140.04712.72
5.3.230.0180.04412.71
5.3.220.0200.04012.68
5.3.210.0140.04712.68
5.3.200.0130.04912.68
5.3.190.0130.04912.68
5.3.180.0170.04512.67
5.3.170.0180.04512.67
5.3.160.0300.06212.67
5.3.150.0190.04112.68
5.3.140.0190.04312.66
5.3.130.0210.04612.66
5.3.120.0160.05012.66
5.3.110.0190.04712.66
5.3.100.0140.04712.12
5.3.90.0160.04412.09
5.3.80.0150.04512.07
5.3.70.0180.04312.07
5.3.60.0190.04212.07
5.3.50.0160.04412.00
5.3.40.0150.04612.00
5.3.30.0200.04211.95
5.3.20.0140.04511.74
5.3.10.0140.04311.70
5.3.00.0170.04111.68
5.2.170.0140.0349.20
5.2.160.0100.0379.19
5.2.150.0160.0329.19
5.2.140.0130.0359.19
5.2.130.0090.0389.15
5.2.120.0150.0359.14
5.2.110.0170.0359.15
5.2.100.0140.0359.14
5.2.90.0110.0369.14
5.2.80.0110.0369.14
5.2.70.0170.0319.14
5.2.60.0140.0339.09
5.2.50.0090.0399.06
5.2.40.0200.0309.04
5.2.30.0090.0399.01
5.2.20.0180.0329.00
5.2.10.0150.0338.95
5.2.00.0120.0348.80
5.1.60.0110.0308.09
5.1.50.0130.0318.09
5.1.40.0130.0298.07
5.1.30.0120.0358.42
5.1.20.0150.0288.45
5.1.10.0090.0358.18
5.1.00.0130.0308.17
5.0.50.0130.0236.64
5.0.40.0130.0206.50
5.0.30.0080.0386.32
5.0.20.0110.0216.29
5.0.10.0140.0196.27
5.0.00.0080.0366.25
4.4.90.0060.0204.78
4.4.80.0070.0184.75
4.4.70.0080.0184.76
4.4.60.0070.0194.75
4.4.50.0080.0174.77
4.4.40.0090.0274.71
4.4.30.0100.0164.75
4.4.20.0070.0194.84
4.4.10.0070.0204.85
4.4.00.0090.0274.76
4.3.110.0050.0204.67
4.3.100.0050.0204.66
4.3.90.0070.0184.64
4.3.80.0060.0294.58
4.3.70.0100.0154.63
4.3.60.0100.0154.63
4.3.50.0090.0164.63
4.3.40.0050.0294.53
4.3.30.0050.0183.33
4.3.20.0040.0203.31
4.3.10.0100.0133.28
4.3.00.0030.01015.11

preferences:
44.71 ms | 401 KiB | 5 Q