3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static $bar = 'bar'; } var_dump(Foo::${'bar'});

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.0120.00818.55
8.4.110.0130.00718.86
8.4.100.0130.00717.71
8.4.90.0050.00620.67
8.4.80.0090.00718.87
8.4.70.0150.00617.76
8.4.60.0130.00818.56
8.4.50.0160.00818.77
8.4.40.0150.00317.81
8.4.30.0080.00818.49
8.4.20.0040.00417.94
8.4.10.0100.01022.07
8.3.250.0080.01218.23
8.3.240.0090.00716.23
8.3.230.0080.01116.57
8.3.220.0030.00619.00
8.3.210.0100.00916.42
8.3.200.0080.00116.56
8.3.190.0090.01016.76
8.3.180.0110.00916.41
8.3.170.0100.00718.73
8.3.160.0060.00320.70
8.3.150.0130.00616.46
8.3.140.0000.00818.83
8.3.130.0060.00318.03
8.3.120.0060.00918.77
8.3.110.0090.00016.57
8.3.100.0030.00718.58
8.3.90.0080.00026.77
8.3.80.0040.00718.30
8.3.70.0030.01516.58
8.3.60.0120.00318.43
8.3.50.0130.00318.06
8.3.40.0090.00619.86
8.3.30.0070.00718.46
8.3.20.0050.00224.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.290.0100.00716.87
8.2.280.0080.01118.15
8.2.270.0070.01118.62
8.2.260.0070.01116.30
8.2.250.0040.00416.54
8.2.240.0150.00417.23
8.2.230.0120.00320.94
8.2.220.0060.00324.06
8.2.210.0000.00826.77
8.2.200.0060.00318.42
8.2.190.0070.01516.58
8.2.180.0140.00325.92
8.2.170.0070.00718.95
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0060.00322.12
8.2.100.0080.00317.78
8.2.90.0040.00420.61
8.2.80.0000.00817.97
8.2.70.0090.00348.62
8.2.60.0090.00448.69
8.2.50.0050.00848.70
8.2.40.0110.00448.68
8.2.30.0060.00648.65
8.2.20.0050.00649.28
8.2.10.0100.00348.65
8.2.00.0090.00449.26
8.1.330.0110.00816.08
8.1.320.0070.01215.86
8.1.310.0040.00418.49
8.1.300.0030.00716.19
8.1.290.0060.00330.84
8.1.280.0120.00625.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0070.00428.09
8.1.240.0060.00620.77
8.1.230.0040.00820.97
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0110.00248.28
8.1.190.0050.00948.29
8.1.180.0110.00148.71
8.1.170.0140.00048.99
8.1.160.0090.00449.02
8.1.150.0050.00748.91
8.1.140.0070.00448.29
8.1.130.0050.00649.09
8.1.120.0100.00248.29
8.1.110.0080.00448.27
8.1.100.0040.00848.24
8.1.90.0060.00548.26
8.1.80.0060.00648.27
8.1.70.0130.00148.26
8.1.60.0070.01048.22
8.1.50.0100.00648.16
8.1.40.0130.00347.96
8.1.30.0130.00548.14
8.1.20.0060.01048.12
8.1.10.0110.00648.25
8.1.00.0120.00648.05
8.0.300.0040.00419.95
8.0.290.0080.00547.96
8.0.280.0100.00248.85
8.0.270.0100.00348.58
8.0.260.0090.00348.75
8.0.250.0070.00448.08
8.0.240.0110.00248.09
8.0.230.0100.00448.09
8.0.220.0130.00247.77
8.0.210.0050.00847.80
8.0.200.0130.00047.87
8.0.190.0070.00547.64
8.0.180.0090.00447.96
8.0.170.0080.00448.01
8.0.160.0080.00548.01
8.0.150.0090.00747.80
8.0.140.0080.00847.79
8.0.130.0060.00847.79
8.0.120.0080.00547.93
8.0.110.0110.00447.87
8.0.100.0110.00347.76
8.0.90.0060.01047.62
8.0.80.0130.00147.69
8.0.70.0100.00647.73
8.0.60.0140.00247.78
8.0.50.0100.00647.75
8.0.30.0110.00447.82
8.0.20.0100.00547.79
8.0.10.0110.00647.87
7.4.330.0060.00447.44
7.4.320.0090.00547.88
7.4.300.0050.01147.68
7.4.290.0120.00447.70
7.4.280.0100.00547.72
7.4.270.0090.00647.83
7.4.260.0080.00847.73
7.4.250.0100.00747.71
7.4.240.0160.00347.62
7.4.230.0140.00047.80
7.4.220.0110.00447.80
7.4.210.0110.00347.50
7.4.200.0150.00047.56
7.4.190.0100.00447.85
7.4.180.0130.00047.74
7.4.160.0100.00447.68
7.4.150.0100.00447.63
7.4.140.0090.00447.66
7.4.130.0100.00547.62
7.4.120.0070.00847.71
7.4.110.0070.00747.66
7.4.100.0130.00247.82
7.4.90.0150.00047.48
7.4.80.0120.00547.77
7.4.70.0130.00147.57
7.4.60.0130.00147.64
7.4.50.0150.00147.63
7.4.40.0140.00047.75
7.4.30.0080.00747.66
7.4.20.0110.00347.63
7.4.10.0110.00347.45
7.4.00.0110.00247.68

preferences:
64.73 ms | 403 KiB | 5 Q