3v4l.org

run code in 500+ PHP versions simultaneously
<?php trait t { const parent = parent::class; const grandparent = self::parent::class; } class x { use t; // valid but just don't even think about using x::parent, } class y extends x { use t; } class z extends y { } echo y::parent; // x echo z::parent; // y

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.5.30.0220.00817.29
8.5.20.0270.00716.70
8.5.10.0330.00616.67
8.5.00.0310.00716.70
8.4.180.0290.01019.57
8.4.170.0310.00919.65
8.4.160.0310.00919.56
8.4.150.0280.00919.60
8.4.140.0320.00617.46
8.4.130.0340.00817.42
8.4.120.0380.00817.63
8.4.110.0370.01017.63
8.4.100.0370.00817.70
8.4.90.0380.00917.70
8.4.80.0360.00817.72
8.4.70.0330.00817.74
8.4.60.0370.00817.78
8.4.50.0370.00917.70
8.4.40.0380.00817.49
8.4.30.0360.00817.52
8.4.20.0390.00917.58
8.4.10.0390.00917.47
8.3.300.0340.00718.10
8.3.290.0300.00918.28
8.3.280.0190.01018.28
8.3.270.0340.00816.74
8.3.260.0360.00816.69
8.3.250.0340.00816.73
8.3.240.0340.00816.71
8.3.230.0340.00916.71
8.3.220.0360.00916.71
8.3.210.0350.00816.72
8.3.200.0350.00816.71
8.3.190.0370.00816.71
8.3.180.0360.00816.73
8.3.170.0360.00816.72
8.3.160.0360.00916.71
8.3.150.0380.00816.70
8.3.140.0370.01016.71
8.3.130.0320.00916.73
8.3.120.0310.00816.71
8.3.110.0330.00716.71
8.3.100.0350.00816.72
8.3.90.0360.00816.70
8.3.80.0370.00816.73
8.3.70.0390.00816.71
8.3.60.0360.00816.72
8.3.50.0370.00916.70
8.3.40.0350.00817.81
8.3.30.0290.00817.79
8.3.20.0270.00817.75
8.3.10.0280.00917.75
8.3.00.0200.00817.85

preferences:
53.96 ms | 707 KiB | 4 Q