3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = array('green', 4 => '3', 'c' => 'yellow'); $b = array('green', 'c' => 'yellow', '4' => 0x3); $c = array('green', 'c' => 'yellow', '4' => '3'); var_dump($a == $b); // true identical, whatever the order var_dump($a === $b); // false identical, but not the order var_dump($c == $b); // true identical, with some type juggling var_dump($c === $b); // false identical, but not at the type level ?>

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.60.0090.00918.49
8.5.50.0080.00916.62
8.5.30.0330.00716.45
8.5.20.0340.00616.54
8.5.10.0330.00716.65
8.5.00.0340.00616.53
8.4.210.0110.00919.50
8.4.180.0370.01019.42
8.4.170.0320.01019.48
8.4.160.0210.01019.52
8.4.150.0270.00919.50
8.4.140.0320.00817.51
8.4.130.0260.01017.33
8.4.120.0340.00817.67
8.4.110.0310.00517.80
8.4.100.0260.00617.66
8.4.90.0370.01017.50
8.4.80.0390.00917.60
8.4.70.0360.00717.75
8.4.60.0370.00717.81
8.4.50.0330.01017.81
8.4.40.0310.00617.71
8.4.30.0260.00617.51
8.4.20.0370.00617.61
8.4.10.0330.00717.42
8.3.300.0310.01018.27
8.3.290.0380.00918.18
8.3.280.0330.00718.30
8.3.270.0320.00716.62
8.3.260.0250.00916.60
8.3.250.0270.00716.61
8.3.240.0260.00416.53
8.3.230.0230.00516.56
8.3.220.0260.00616.71
8.3.210.0300.00516.60
8.3.200.0210.00616.60
8.3.190.0150.00616.56
8.3.180.0260.00416.64
8.3.170.0250.00616.65
8.3.160.0170.00616.63
8.3.150.0170.00316.50
8.3.140.0150.00616.59
8.3.130.0130.00516.42
8.3.120.0230.00616.52
8.3.110.0210.00616.63
8.3.100.0210.00716.51
8.3.90.0190.00516.38
8.3.80.0180.00416.35
8.3.70.0180.00316.62
8.3.60.0230.00416.58
8.3.50.0190.00416.57
8.3.40.0170.00417.64
8.3.30.0190.00717.38
8.3.20.0200.00917.72
8.3.10.0250.00517.69
8.3.00.0230.00617.61

preferences:
48.91 ms | 712 KiB | 5 Q