3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = ['a' => 'A', 'b' => 'B']; ['b' => $b, 'a' => $a] = $arr;// permuting var_dump($a); var_dump($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.120.0120.00924.16
8.4.110.0130.01018.74
8.4.100.0040.00518.90
8.4.90.0120.00917.61
8.4.80.0150.00418.75
8.4.70.0060.00317.77
8.4.60.0110.00918.56
8.4.50.0130.00520.13
8.4.40.0130.00617.50
8.4.30.0090.00919.00
8.4.20.0100.01017.73
8.4.10.0040.00419.34
8.3.250.0100.00918.75
8.3.240.0120.00617.10
8.3.230.0130.00616.62
8.3.220.0120.00618.91
8.3.210.0110.00916.40
8.3.200.0050.00416.58
8.3.190.0080.00717.11
8.3.180.0140.00419.04
8.3.170.0070.01020.65
8.3.160.0100.00717.30
8.3.150.0110.00718.84
8.3.140.0000.00818.92
8.3.130.0000.00918.46
8.3.120.0030.00620.75
8.3.110.0060.00318.32
8.3.100.0040.00418.23
8.3.90.0080.00026.77
8.3.80.0060.00316.63
8.3.70.0100.00716.58
8.3.60.0070.00716.38
8.3.50.0120.00916.56
8.3.40.0110.00723.61
8.3.30.0150.00022.12
8.3.20.0040.00424.18
8.3.10.0130.00721.61
8.3.00.0110.00718.72
8.2.290.0070.00220.53
8.2.280.0160.00218.52
8.2.270.0160.00017.28
8.2.260.0100.00720.64
8.2.250.0080.00818.95
8.2.240.0040.00418.93
8.2.230.0090.00020.94
8.2.220.0040.00424.06
8.2.210.0000.01126.77
8.2.200.0090.00018.29
8.2.190.0150.00316.75
8.2.180.0140.00716.63
8.2.170.0030.01018.84
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0100.01020.38
8.2.130.0110.00720.38
8.2.120.0100.01018.85
8.2.110.0090.00919.19
8.2.100.0080.01218.99
8.2.90.0100.00718.64
8.2.80.0130.00718.85
8.2.70.0040.01118.82
8.2.60.0130.00718.60
8.2.50.0150.00618.82
8.2.40.0040.01518.58
8.2.30.0090.00918.66
8.2.20.0150.00618.70
8.2.10.0170.00318.69
8.2.00.0120.00918.61
8.1.330.0140.00621.89
8.1.320.0100.00816.20
8.1.310.0080.00016.75
8.1.300.0040.00418.08
8.1.290.0060.00330.84
8.1.280.0130.00725.92
8.1.270.0140.00422.14
8.1.260.0070.01322.02
8.1.250.0070.01422.18
8.1.240.0190.00318.49
8.1.230.0060.01118.69
8.1.220.0040.01218.77
8.1.210.0060.01018.32
8.1.200.0100.00718.52
8.1.190.0160.00618.63
8.1.180.0040.00418.43
8.1.170.0120.00318.50
8.1.160.0060.00318.38
8.1.150.0040.01118.35
8.1.140.0040.00418.53
8.1.130.0080.00018.79
8.1.120.0080.00018.50
8.1.110.0080.00018.38
8.1.100.0000.00818.46
8.1.90.0040.00418.46
8.1.80.0000.00818.43
8.1.70.0040.00418.53
8.1.60.0040.00418.63
8.1.50.0040.00418.64
8.1.40.0040.00418.68
8.1.30.0040.00818.74
8.1.20.0040.00418.74
8.1.10.0050.00318.60
8.1.00.0030.00518.62

preferences:
28.24 ms | 403 KiB | 5 Q