3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private $a = 3; private $c = 'd'; } echo var_export(new A);

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.0.00.0090.01016.62
7.4.130.0210.01716.22
7.4.120.0160.01316.15
7.4.110.0110.01216.04
7.4.100.0100.01616.08
7.4.90.0110.01416.07
7.4.80.0220.01116.35
7.4.70.0230.00916.37
7.4.60.0170.01416.41
7.4.50.0300.00816.25
7.4.40.0210.01216.54
7.4.30.0290.00616.41
7.4.20.0200.01416.45
7.4.10.0320.01916.22
7.4.00.0070.01316.45
7.3.260.0030.01316.45
7.3.250.0160.00316.36
7.3.240.0200.00716.14
7.3.230.0100.01316.46
7.3.220.0070.02016.23
7.3.210.0240.01216.29
7.3.200.0420.00416.36
7.3.190.0290.00716.37
7.3.180.0290.00716.48
7.3.170.0320.00816.34
7.3.160.0330.00716.32
7.3.150.0340.00616.45
7.3.140.0230.01116.13
7.3.130.0250.00916.10
7.3.120.0230.01116.31
7.3.110.0270.01416.21
7.3.100.0280.01116.39
7.3.90.0250.01116.47
7.3.80.0240.00916.31
7.3.70.0300.00316.21
7.3.60.0250.00616.33
7.3.50.0220.00916.30
7.3.40.0230.01216.25
7.3.30.0230.01716.17
7.3.20.0250.00816.21
7.3.10.0270.00616.09
7.3.00.0250.01016.33