3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Bar { define("True", 1); var_dump(true, TRUE); }

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.40.0060.00918.67
8.3.30.0100.00319.04
8.3.20.0000.00820.21
8.3.10.0080.00022.05
8.3.00.0090.00022.34
8.2.170.0140.00722.96
8.2.160.0140.00320.68
8.2.150.0080.00024.18
8.2.140.0070.00324.66
8.2.130.0090.00926.16
8.2.120.0080.00019.36
8.2.110.0070.00420.33
8.2.100.0070.00417.78
8.2.90.0040.00419.04
8.2.80.0000.00917.97
8.2.70.0000.00817.38
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0040.00417.80
8.2.20.0000.00817.55
8.2.10.0000.00819.28
8.2.00.0030.00617.55
8.1.270.0070.01023.72
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00623.92
8.1.230.0040.00817.45
8.1.220.0050.00217.74
8.1.210.0030.00618.77
8.1.200.0030.00617.09
8.1.190.0000.00817.27
8.1.180.0000.00818.10
8.1.170.0040.00418.38
8.1.160.0000.00721.94
8.1.150.0050.00318.43
8.1.140.0050.00317.30
8.1.130.0030.00317.68
8.1.120.0070.00017.35
8.1.110.0040.00417.31
8.1.100.0040.00417.31
8.1.90.0050.00317.17
8.1.80.0050.00317.20
8.1.70.0040.00417.33
8.1.60.0050.00317.33
8.1.50.0030.00617.34
8.1.40.0040.00417.27
8.1.30.0030.00517.45
8.1.20.0030.00517.53
8.1.10.0060.00317.27
8.1.00.0000.00717.20
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0050.00318.27
8.0.270.0040.00417.16
8.0.260.0000.00716.61
8.0.250.0000.00716.79
8.0.240.0000.00716.89
8.0.230.0030.00316.79
8.0.220.0030.00316.81
8.0.210.0000.00816.72
8.0.200.0030.00316.86
8.0.190.0080.00016.77
8.0.180.0070.00016.88
8.0.170.0050.00516.84
8.0.160.0080.00016.88
8.0.150.0000.00816.69
8.0.140.0040.00416.71
8.0.130.0000.00613.21
8.0.120.0050.00316.73
8.0.110.0000.00816.72
8.0.100.0040.00416.73
8.0.90.0030.00516.72
8.0.80.0060.00916.75
8.0.70.0040.00416.82
8.0.60.0070.00016.69
8.0.50.0040.00416.71
8.0.30.0060.01516.84
8.0.20.0090.00917.40
8.0.10.0040.00416.73
8.0.00.0100.00816.66
7.4.330.0050.00015.00
7.4.320.0040.00416.29
7.4.300.0060.00016.30
7.4.290.0040.00416.38
7.4.280.0060.00016.38
7.4.270.0030.00616.42
7.4.260.0070.00316.35
7.4.250.0030.00316.38
7.4.240.0040.00316.36
7.4.230.0050.00316.53
7.4.220.0040.01416.31
7.4.210.0070.00916.47
7.4.200.0000.00716.56
7.4.190.0070.00016.53
7.4.160.0130.01016.45
7.4.150.0070.01017.40
7.4.140.0090.01017.86
7.4.130.0050.01216.33
7.4.120.0090.00916.42
7.4.110.0000.01816.36
7.4.100.0100.00716.36
7.4.90.0150.00616.20
7.4.80.0130.01019.39
7.4.70.0080.00816.37
7.4.60.0040.01216.30
7.4.50.0050.00316.05
7.4.40.0030.01022.77
7.4.30.0030.01316.35
7.4.00.0090.00714.87
7.3.330.0000.00613.02
7.3.320.0020.00212.82
7.3.310.0000.00716.10
7.3.300.0060.00016.11
7.3.290.0120.00216.16
7.3.280.0080.00916.12
7.3.270.0070.01117.40
7.3.260.0090.00916.24
7.3.250.0130.00316.21
7.3.240.0110.01116.25
7.3.230.0060.01016.39
7.3.210.0120.00916.29
7.3.200.0130.01319.39
7.3.190.0070.01016.20
7.3.180.0090.00816.39
7.3.170.0070.01016.31
7.3.160.0100.00616.19
7.3.120.0070.01014.57
7.3.110.0040.00814.61
7.3.100.0040.01114.69
7.3.90.0030.01014.61
7.3.80.0100.00314.73
7.3.70.0090.00314.66
7.3.60.0100.00314.28
7.3.50.0060.00614.42
7.3.40.0030.00614.66
7.3.30.0040.00814.75
7.3.20.0100.00316.70
7.3.10.0070.00516.54
7.3.00.0050.00716.41
7.2.330.0150.00716.20
7.2.320.0120.00616.55
7.2.310.0090.00916.51
7.2.300.0100.00616.48
7.2.290.0100.01016.45
7.2.250.0030.01715.06
7.2.240.0080.01114.96
7.2.230.0030.01214.48
7.2.220.0090.00615.04
7.2.210.0030.01215.04
7.2.200.0060.00914.61
7.2.190.0080.00315.00
7.2.180.0090.00614.75
7.2.170.0000.01214.58
7.2.130.0040.01116.80
7.2.120.0030.01016.63
7.2.110.0040.01116.51
7.2.100.0110.00016.71
7.2.90.0070.00716.82
7.2.80.0000.01416.72
7.2.70.0000.01016.54
7.2.60.0030.01016.81
7.2.50.0000.01316.56
7.2.40.0070.00416.67
7.2.30.0070.00416.86
7.2.20.0040.00716.59
7.2.10.0110.00016.38
7.2.00.0080.00617.82
7.1.330.0130.00015.45
7.1.320.0080.00315.49
7.1.310.0070.00715.53
7.1.300.0100.00315.55
7.1.290.0090.00615.72
7.1.280.0030.00915.52
7.1.270.0060.00615.65
7.1.260.0120.00015.59
7.1.250.0070.00715.38
7.1.100.0030.00617.94
7.1.70.0110.00016.89
7.1.60.0030.02019.82
7.1.50.0070.01516.80
7.1.00.0170.05722.32
7.0.200.0030.00316.66
7.0.140.0030.07022.04
7.0.60.0100.07719.89
7.0.50.0130.07317.87
7.0.40.0030.04320.08
7.0.30.0230.06720.18
7.0.20.0170.03720.04
7.0.10.0130.08019.99
7.0.00.0030.07720.00
5.6.280.0030.07320.91
5.6.210.0070.08320.54
5.6.200.0030.06718.23
5.6.190.0070.08320.35
5.6.180.0070.08020.31
5.6.170.0170.09320.33
5.6.160.0000.06020.46
5.6.150.0070.04718.18
5.6.140.0070.08318.15
5.6.130.0030.09018.21
5.6.120.0030.08721.14
5.6.110.0170.07321.04
5.6.100.0070.08021.11
5.6.90.0200.06720.96
5.6.80.0100.07320.38
5.5.350.0070.08020.39
5.5.340.0070.04317.96
5.5.330.0070.08320.25
5.5.320.0100.08020.27
5.5.310.0230.05720.41
5.5.300.0130.05018.02
5.5.290.0070.08018.02
5.5.280.0070.07020.87
5.5.270.0000.05020.86
5.5.260.0070.04320.87
5.5.250.0130.03020.71
5.5.240.0030.07320.15
5.4.450.0500.03719.25
5.4.440.0500.04319.27
5.4.430.1130.00019.32
5.4.420.0800.00019.53
5.4.410.0000.07018.69
5.4.400.0100.05318.68
5.4.390.0030.06018.60
5.4.380.0170.05718.66
5.4.370.0270.04718.75
5.4.360.0330.03718.71
5.4.350.0170.05718.77
5.4.340.0300.04318.61
5.4.320.0060.03612.46
5.4.310.0060.03912.45
5.4.300.0070.03512.45
5.4.290.0040.04112.45
5.4.280.0080.03412.35
5.4.270.0080.03812.32
5.4.260.0050.04312.32
5.4.250.0060.03712.32
5.4.240.0030.04612.32
5.4.230.0070.04312.31
5.4.220.0080.04512.31
5.4.210.0060.03812.31
5.4.200.0080.03512.31
5.4.190.0080.03412.30
5.4.180.0030.04012.30
5.4.170.0040.04112.32
5.4.160.0070.03412.31
5.4.150.0030.03812.30
5.4.140.0110.03211.99
5.4.130.0060.03511.98
5.4.120.0030.03811.94
5.4.110.0050.03611.93
5.4.100.0060.03511.93
5.4.90.0060.03711.93
5.4.80.0060.03711.93
5.4.70.0060.03411.93
5.4.60.0060.03411.93
5.4.50.0050.03511.93
5.4.40.0060.03411.92
5.4.30.0010.04011.92
5.4.20.0060.03411.91
5.4.10.0040.03611.91
5.4.00.0040.03811.40
5.3.290.0070.03812.80
5.3.280.0030.04412.71
5.3.270.0080.03912.72
5.3.260.0060.03912.72
5.3.250.0060.03812.72
5.3.240.0040.04012.71
5.3.230.0080.03812.71
5.3.220.0120.03712.68
5.3.210.0090.04712.68
5.3.200.0060.04612.68
5.3.190.0070.03812.68
5.3.180.0060.03712.67
5.3.170.0080.03512.67
5.3.160.0090.03412.67
5.3.150.0060.03712.67
5.3.140.0080.03512.66
5.3.130.0090.03512.66
5.3.120.0080.03712.66
5.3.110.0110.03412.66
5.3.100.0050.03812.12
5.3.90.0070.03512.08
5.3.80.0030.04012.07
5.3.70.0050.03812.08
5.3.60.0060.03812.06
5.3.50.0070.03612.00
5.3.40.0070.03612.00
5.3.30.0050.03511.94
5.3.20.0070.03311.70
5.3.10.0070.03211.66
5.3.00.0090.03311.64
5.2.170.0080.0299.15
5.2.160.0050.0289.15
5.2.150.0060.0299.15
5.2.140.0060.0299.14
5.2.130.0070.0319.11
5.2.120.0050.0319.11
5.2.110.0040.0299.11
5.2.100.0050.0289.11
5.2.90.0070.0309.11
5.2.80.0080.0379.10
5.2.70.0030.0359.10
5.2.60.0080.0299.05
5.2.50.0050.0299.03
5.2.40.0050.0289.00
5.2.30.0040.0328.98
5.2.20.0040.0328.96
5.2.10.0060.0308.89
5.2.00.0080.0308.75
5.1.60.0030.0288.04
5.1.50.0040.0278.04
5.1.40.0040.0288.02
5.1.30.0030.0298.37
5.1.20.0040.0278.39
5.1.10.0030.0288.12
5.1.00.0040.0288.11
5.0.50.0030.0226.59
5.0.40.0040.0236.45
5.0.30.0040.0326.26
5.0.20.0030.0206.24
5.0.10.0030.0196.21
5.0.00.0060.0296.21
4.4.90.0040.0194.78
4.4.80.0060.0124.75
4.4.70.0040.0154.75
4.4.60.0020.0204.75
4.4.50.0040.0174.77
4.4.40.0070.0224.71
4.4.30.0020.0164.76
4.4.20.0020.0164.84
4.4.10.0020.0164.85
4.4.00.0020.0264.76
4.3.110.0030.0164.67
4.3.100.0040.0154.66
4.3.90.0050.0224.63
4.3.80.0060.0294.58
4.3.70.0040.0174.63
4.3.60.0030.0184.63
4.3.50.0020.0164.63
4.3.40.0020.0264.53
4.3.30.0010.0173.27
4.3.20.0020.0163.25
4.3.10.0030.0143.21
4.3.00.0100.01313.28

preferences:
32.56 ms | 400 KiB | 5 Q