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.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.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.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:
33.17 ms | 400 KiB | 5 Q