3v4l.org

run code in 500+ PHP versions simultaneously
<?php class a {} $a = new a; // object(a)#1 (0) {} var_dump($b = clone clone clone $a); // object(a)#2 (0) {} var_dump(new (new $a)); // object(a)#3 (0) {}

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.70.0090.00918.34
8.5.60.0100.00716.64
8.5.50.0120.00616.77
8.5.30.0100.00717.95
8.5.20.0110.00620.25
8.5.10.0050.00316.70
8.5.00.0130.00819.87
8.4.220.0110.00819.61
8.4.210.0120.00619.41
8.4.180.0110.01122.16
8.4.170.0140.00822.17
8.4.160.0140.00721.98
8.4.150.0070.00616.89
8.4.140.0120.00917.50
8.4.130.0160.00417.64
8.4.120.0130.00720.65
8.4.110.0150.00622.23
8.4.100.0060.00417.94
8.4.90.0130.00717.65
8.4.80.0120.00817.61
8.4.70.0380.00717.36
8.4.60.0400.00817.33
8.4.50.0350.01117.39
8.4.40.0400.00916.92
8.4.30.0380.01117.09
8.4.20.0450.01017.29
8.4.10.0460.00917.18
8.3.310.0020.00718.37
8.3.300.0100.01320.77
8.3.290.0130.00922.68
8.3.280.0110.00918.37
8.3.270.0100.01016.52
8.3.260.0090.00716.85
8.3.250.0120.00619.16
8.3.240.0090.01016.44
8.3.230.0120.00716.35
8.3.220.0130.00616.75
8.3.210.0220.00616.56
8.3.200.0240.00216.50
8.3.190.0220.00216.21
8.3.180.0260.00716.20
8.3.170.0280.00916.39
8.3.160.0390.00716.59
8.3.150.0400.00816.48
8.3.140.0330.00616.46
8.3.130.0340.00816.75
8.3.120.0230.00416.61
8.3.110.0210.00916.27
8.3.100.0400.00716.24
8.3.90.0490.00716.41
8.3.80.0450.00416.52
8.3.70.0380.00916.54
8.3.60.0410.00916.50
8.3.50.0320.01016.64
8.3.40.0410.00717.50
8.3.30.0320.00917.47
8.3.20.0330.00817.43
8.3.10.0300.00317.39
8.3.00.0140.00617.43
8.2.310.0040.00517.94
8.2.300.0080.01320.33
8.2.290.0080.00920.68
8.2.280.0300.00616.79
8.2.270.0290.01216.30
8.2.260.0500.01016.20
8.2.250.0310.01016.46
8.2.240.0330.00916.61
8.2.230.0240.01016.32
8.2.220.0300.00916.38
8.2.210.0300.00916.20
8.2.200.0290.01016.84
8.2.190.0310.00616.54
8.2.180.0320.00716.31
8.2.170.0340.00817.57
8.2.160.0300.01117.64
8.2.150.0310.01017.57
8.2.140.0310.00517.32
8.2.130.0340.00717.57
8.2.120.0300.01117.30
8.2.110.0370.00617.48
8.2.100.0310.00617.55
8.2.90.0330.00417.67
8.2.80.0260.00917.58
8.2.70.0310.00517.15
8.2.60.0330.00817.53
8.2.50.0320.00817.39
8.2.40.0360.00517.70
8.2.30.0240.00717.53
8.2.20.0220.01117.38
8.2.10.0260.00817.63
8.2.00.0280.00717.38
8.1.340.0120.00820.15

preferences:
62.19 ms | 865 KiB | 5 Q