3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { private const foo = 'bar'; public function __construct() { var_dump(self::foo === self:: foo); } } new X();

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.4.120.0070.00420.54
8.4.110.0100.00922.41
8.4.100.0110.00917.69
8.4.90.0120.00918.40
8.4.80.0100.00919.32
8.4.70.0110.00717.89
8.4.60.0130.00818.71
8.4.50.0080.01319.31
8.4.40.0160.00017.43
8.4.30.0000.00818.56
8.4.20.0070.01419.69
8.4.10.0090.00019.19
8.3.250.0110.00818.77
8.3.240.0140.00616.27
8.3.230.0120.00516.33
8.3.220.0050.00319.00
8.3.210.0030.00518.34
8.3.200.0130.00716.40
8.3.190.0110.00816.70
8.3.180.0090.00916.41
8.3.170.0150.00318.81
8.3.160.0000.01116.51
8.3.150.0080.01120.60
8.3.140.0040.00420.83
8.3.130.0140.00018.53
8.3.120.0040.00419.03
8.3.110.0060.00316.41
8.3.100.0040.00418.43
8.3.90.0110.00426.77
8.3.80.0030.00619.36
8.3.70.0070.00716.25
8.3.60.0090.00916.74
8.3.50.0150.00416.41
8.3.40.0080.01220.24
8.3.30.0070.00719.03
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0030.00526.16
8.2.290.0100.00521.91
8.2.280.0160.00218.22
8.2.270.0140.00416.96
8.2.260.0120.00317.20
8.2.250.0100.01016.50
8.2.240.0130.00618.93
8.2.230.0090.00020.94
8.2.220.0150.00024.06
8.2.210.0060.00326.77
8.2.200.0060.00318.88
8.2.190.0090.00916.58
8.2.180.0160.00316.50
8.2.170.0120.00318.74
8.2.160.0030.01022.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.67
8.2.110.0160.00622.25
8.2.100.0090.01520.31
8.2.90.0070.00420.42
8.2.80.0040.01820.25
8.2.70.0180.00318.60
8.2.60.0070.01418.70
8.2.50.0170.00718.38
8.2.40.0070.01418.58
8.2.30.0120.00918.58
8.2.20.0110.00718.71
8.2.10.0130.00318.66
8.2.00.0110.01118.57
8.1.330.0070.01121.79
8.1.320.0090.00915.92
8.1.310.0090.00616.75
8.1.300.0060.00317.71
8.1.290.0060.00330.84
8.1.280.0150.00625.92
8.1.270.0040.00424.66
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0180.00418.41
8.1.230.0180.00318.51
8.1.220.0190.00418.49
8.1.210.0120.00619.92
8.1.200.0110.01118.29
8.1.190.0110.00718.10
8.1.180.0100.01318.31
8.1.170.0090.00918.44
8.1.160.0110.01118.69
8.1.150.0100.00318.55
8.1.140.0140.00718.35
8.1.130.0060.00318.39
8.1.120.0100.00718.43
8.1.110.0030.00618.36
8.1.100.0120.00318.38
8.1.90.0130.01018.45
8.1.80.0030.00718.48
8.1.70.0040.01118.66
8.1.60.0070.00718.72
8.1.50.0070.01118.54
8.1.40.0030.00618.92
8.1.30.0100.00718.69
8.1.20.0030.00618.74
8.1.10.0070.00318.59
8.1.00.0070.00318.59
8.0.300.0060.00317.78
8.0.290.0060.00317.69
8.0.280.0110.01117.83
8.0.270.0100.01017.70
8.0.260.0140.00717.69
8.0.250.0030.00617.71
8.0.240.0090.00017.89
8.0.230.0030.01318.26
8.0.220.0070.00717.71
8.0.210.0030.00617.70
8.0.200.0130.00717.56
8.0.190.0060.00317.84
8.0.180.0090.00017.69
8.0.170.0050.00517.74
8.0.160.0060.00317.67
8.0.150.0000.00817.68
8.0.140.0060.00317.70
8.0.130.0060.00317.77
8.0.120.0030.00617.58
8.0.110.0050.00317.83
8.0.100.0080.00317.67
8.0.90.0060.00317.71
8.0.80.0050.00517.65
8.0.70.0060.00317.75
8.0.60.0060.00317.71
8.0.50.0100.00717.58
8.0.30.0120.00917.75
8.0.20.0130.00317.84
8.0.10.0160.00017.94

preferences:
27.82 ms | 403 KiB | 5 Q