3v4l.org

run code in 500+ PHP versions simultaneously
<?php class x { // the way to go is self static private self $property1; // tough luck not possible static private static $property2; } ?>

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.50.0410.00417.70
8.4.40.0210.00617.59
8.4.30.0210.00417.37
8.4.20.0170.00517.51
8.4.10.0170.00517.42
8.3.190.0150.00316.71
8.3.180.0020.00717.29
8.3.170.0150.00416.33
8.3.160.0130.00716.50
8.3.150.0200.00116.38
8.3.140.0130.00616.50
8.3.130.0160.00316.23
8.3.120.0140.00316.47
8.3.110.0160.00416.68
8.3.100.0180.00416.18
8.3.90.0160.00416.50
8.3.80.0140.00616.30
8.3.70.0150.00416.53
8.3.60.0160.00416.50
8.3.50.0150.00516.38
8.3.40.0140.00516.95
8.3.30.0110.00617.27
8.3.20.0180.00217.49
8.3.10.0140.00317.49
8.3.00.0070.00217.34
8.2.280.0110.00516.52
8.2.270.0120.00616.64
8.2.260.0140.00316.41
8.2.250.0140.00416.79
8.2.240.0120.00416.60
8.2.230.0170.00116.42
8.2.220.0100.00616.39
8.2.210.0150.00516.45
8.2.200.0130.00316.49
8.2.190.0150.00516.27
8.2.180.0170.00116.43
8.2.170.0130.00617.30
8.2.160.0140.00417.16
8.2.150.0160.00217.41
8.2.140.0210.00317.27
8.2.130.0170.00617.56
8.2.120.0130.00417.55
8.2.110.0140.00417.07
8.2.100.0100.00717.16
8.2.90.0120.00517.14
8.2.80.0130.00517.45
8.2.70.0130.00517.44
8.2.60.0210.00317.55
8.2.50.0290.00617.11
8.2.40.0190.00517.43
8.2.30.0240.00616.95
8.2.20.0260.00617.41
8.2.10.0300.00617.23
8.2.00.0310.00617.57
8.1.320.0300.00616.06

preferences:
26.64 ms | 713 KiB | 4 Q