3v4l.org

run code in 500+ PHP versions simultaneously
<?php class x { public int $a, $b; } $a = new x(); $a->a = 1; $a->b = 2; $b = new x(); $b->b = 2; $b->a = 1; var_dump($a == $b); // true identical, whatever the order var_dump($a === $b); // false identical, but not the order ?>

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.0100.00716.97
8.5.60.0100.00716.92
8.5.50.0070.00116.58
8.5.30.0320.00716.21
8.5.20.0340.00616.69
8.5.10.0390.00516.21
8.5.00.0320.00816.57
8.4.220.0130.00819.63
8.4.210.0070.00319.80
8.4.180.0160.00619.68
8.4.170.0330.00919.48
8.4.160.0340.00919.51
8.4.150.0340.01419.56
8.4.140.0330.01217.49
8.4.130.0320.00817.57
8.4.120.0390.00717.89
8.4.110.0360.00917.72
8.4.100.0350.00917.60
8.4.90.0370.00717.94
8.4.80.0390.00318.00
8.4.70.0380.00817.80
8.4.60.0370.00917.74
8.4.50.0320.00817.94
8.4.40.0360.01117.30
8.4.30.0350.01217.56
8.4.20.0370.00717.59
8.4.10.0400.00617.34
8.3.310.0110.01018.35
8.3.300.0330.00718.09
8.3.290.0410.00917.97
8.3.280.0290.01018.39
8.3.270.0320.01016.77
8.3.260.0280.00616.70
8.3.250.0230.00416.74
8.3.240.0350.00616.67
8.3.230.0330.01016.71
8.3.220.0300.00716.72
8.3.210.0400.00716.59
8.3.200.0410.01016.40
8.3.190.0330.00716.47
8.3.180.0350.00816.72
8.3.170.0410.00916.60
8.3.160.0440.00916.46
8.3.150.0260.00616.79
8.3.140.0170.00316.59
8.3.130.0150.00716.41
8.3.120.0280.00416.48
8.3.110.0280.00416.82
8.3.100.0200.00516.73
8.3.90.0360.00416.64
8.3.80.0180.00316.65
8.3.70.0180.00316.65
8.3.60.0170.00316.70
8.3.50.0380.00716.57
8.3.40.0370.00618.03
8.3.30.0310.00718.03
8.3.20.0280.00817.83
8.3.10.0250.01117.81
8.3.00.0290.00617.90
8.2.310.0110.00918.22

preferences:
58.23 ms | 726 KiB | 5 Q