3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct(int $a) {} } class B { public function __construct(int $a) {} } $a = new A(1); $b = new B(1); var_dump($b <= $a); var_dump($a <= $b);

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.140.0050.00517.77
8.4.130.0050.00417.87
8.4.120.0140.00620.91
8.4.110.0050.00618.85
8.4.100.0150.00617.44
8.4.90.0050.00418.59
8.4.80.0060.00317.68
8.4.70.0070.00917.86
8.4.60.0130.00719.99
8.4.50.0060.00319.57
8.4.40.0100.01017.41
8.4.30.0100.01018.68
8.4.20.0100.01019.78
8.4.10.0100.01019.09
8.3.270.0080.01116.59
8.3.260.0130.00616.61
8.3.250.0030.00518.88
8.3.240.0060.00516.49
8.3.230.0110.00816.50
8.3.220.0090.01016.99
8.3.210.0080.01216.48
8.3.200.0050.00416.62
8.3.190.0090.01017.00
8.3.180.0090.00918.02
8.3.170.0000.00817.22
8.3.160.0110.00720.92
8.3.150.0190.00017.12
8.3.140.0110.00719.02
8.3.130.0090.00018.25
8.3.120.0090.00016.58
8.3.110.0240.01116.88
8.3.100.0320.00916.49
8.3.90.0300.00216.43
8.3.80.0300.00316.50
8.3.70.0370.00216.49
8.3.60.0260.00616.56
8.3.50.0320.00916.49
8.3.40.0260.01017.06
8.3.30.0260.01117.13
8.3.20.0200.01117.25
8.3.10.0310.00517.13
8.3.00.0110.00717.13
8.2.290.0130.00520.30
8.2.280.0090.01020.32
8.2.270.0070.01316.37
8.2.260.0140.00417.05
8.2.250.0050.00318.44
8.2.240.0060.00316.93
8.2.230.0230.00316.11
8.2.220.0190.00916.41
8.2.210.0200.00316.41
8.2.200.0200.00116.50
8.2.190.0230.00416.44
8.2.180.0180.00516.28
8.2.170.0200.00217.36
8.2.160.0160.00517.42
8.2.150.0200.00517.44
8.2.140.0350.00317.24
8.2.130.0180.00417.38
8.2.120.0260.00817.48
8.2.110.0230.00917.25
8.2.100.0240.00717.55
8.2.90.0300.00217.38
8.2.80.0310.00417.30
8.2.70.0320.00417.31
8.2.60.0290.00517.23
8.2.50.0290.00417.31
8.2.40.0210.01317.44
8.2.30.0320.00817.43
8.2.20.0330.00417.44
8.2.10.0270.01417.31
8.2.00.0320.01617.31
8.1.330.0110.00923.54
8.1.320.0090.00516.02
8.1.310.0030.01020.25
8.1.300.0040.00417.93
8.1.290.0340.00715.93
8.1.280.0330.00615.74
8.1.270.0220.01417.19
8.1.260.0340.00917.30
8.1.250.0340.01317.12
8.1.240.0280.01317.11
8.1.230.0250.01317.23
8.1.220.0260.01217.12
8.1.210.0320.00717.16
8.1.200.0330.01016.99
8.1.190.0340.00817.00
8.1.180.0300.00617.19
8.1.170.0260.01017.16
8.1.160.0260.00416.99
8.1.150.0280.00917.23
8.1.140.0290.00517.06
8.1.130.0200.01517.17
8.1.120.0340.00317.24
8.1.110.0340.00517.10
8.1.100.0270.00517.22
8.1.90.0220.00317.29
8.1.80.0170.00917.13
8.1.70.0350.00617.19
8.1.60.0370.00317.18
8.1.50.0360.00317.31
8.1.40.0260.01217.18
8.1.30.0290.01317.31
8.1.20.0340.00817.13
8.1.10.0280.00917.13
8.1.00.0350.00917.11

preferences:
64.95 ms | 403 KiB | 5 Q