3v4l.org

run code in 500+ PHP versions simultaneously
<?php class x { protected $p; protected mixed $p2; } class x2 extends x { protected mixed $p; // type of x2:$p must not be defined (as in class x) protected $p2; // Type of $x2:$p2 must be mixed }

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.80.0140.00517.54
8.4.70.0180.00417.76
8.4.60.0140.01417.43
8.4.50.0120.00617.68
8.4.40.0060.00717.75
8.4.30.0100.00717.51
8.4.20.0080.00417.66
8.4.10.0070.00517.70
8.3.220.0080.00416.97
8.3.210.0050.00516.97
8.3.200.0070.00416.97
8.3.190.0040.00716.97
8.3.180.0050.00716.97
8.3.170.0060.00516.97
8.3.160.0060.00416.97
8.3.150.0060.00516.97
8.3.140.0040.00616.97
8.3.130.0090.00316.97
8.3.120.0060.00416.97
8.3.110.0050.00516.97
8.3.100.0040.00716.97
8.3.90.0080.00216.97
8.3.80.0050.00616.97
8.3.70.0070.00416.97
8.3.60.0080.00416.97
8.3.50.0080.00316.97
8.3.40.0080.00417.54
8.3.30.0040.00517.37
8.3.20.0160.00216.97
8.3.10.0110.00416.97
8.3.00.0120.00516.98
8.2.280.0110.00216.97
8.2.270.0100.00516.97
8.2.260.0120.00316.97
8.2.250.0090.00616.97
8.2.240.0090.00616.97
8.2.230.0120.00316.97
8.2.220.0080.00516.97
8.2.210.0100.00516.97
8.2.200.0100.00416.97
8.2.190.0130.00316.97
8.2.180.0110.00316.97
8.2.170.0130.00217.08
8.2.160.0160.00216.97
8.2.150.0160.00217.26
8.2.140.0130.00217.13
8.2.130.0120.00517.40
8.2.120.0120.00417.07
8.2.110.0130.00217.17
8.2.100.0100.00517.05
8.2.90.0140.00217.11
8.2.80.0130.00317.17
8.2.70.0110.00517.31
8.2.60.0140.00217.19
8.2.50.0120.00517.14
8.2.40.0120.00616.97
8.2.30.0120.00516.97
8.2.20.0130.00416.97
8.2.10.0120.00417.00
8.2.00.0150.00517.25

preferences:
44.94 ms | 724 KiB | 4 Q