3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$key => $value] = ['b'=> 2]; var_dump($key); var_dump($value);

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.0090.01120.42
8.4.110.0100.01018.85
8.4.100.0130.00718.84
8.4.90.0140.00624.35
8.4.80.0110.00818.77
8.4.70.0090.00918.95
8.4.60.0110.00918.89
8.4.50.0100.01118.68
8.4.40.0070.01317.88
8.4.30.0130.00618.66
8.4.20.0170.00317.95
8.4.10.0030.00619.38
8.3.250.0140.00518.77
8.3.240.0130.00716.54
8.3.230.0110.00716.57
8.3.220.0120.00718.98
8.3.210.0120.00516.84
8.3.200.0060.00516.76
8.3.190.0090.00916.98
8.3.180.0140.00518.53
8.3.170.0070.01418.17
8.3.160.0050.00318.60
8.3.150.0030.00716.52
8.3.140.0080.00019.05
8.3.130.0070.00716.72
8.3.120.0030.00618.98
8.3.110.0070.00420.94
8.3.100.0060.00324.06
8.3.90.0000.00726.77
8.3.80.0060.00316.63
8.3.70.0110.00716.58
8.3.60.0100.01016.50
8.3.50.0140.00716.69
8.3.40.0180.00023.71
8.3.30.0040.01120.29
8.3.20.0040.00424.18
8.3.10.0130.00621.73
8.3.00.0120.00618.95
8.2.290.0120.00718.88
8.2.280.0110.00918.40
8.2.270.0040.01516.67
8.2.260.0110.00716.97
8.2.250.0090.00618.39
8.2.240.0080.00016.79
8.2.230.0040.00422.58
8.2.220.0000.00837.54
8.2.210.0120.00326.77
8.2.200.0080.00018.54
8.2.190.0150.00616.75
8.2.180.0040.01116.48
8.2.170.0160.00618.91
8.2.160.0090.00622.96
8.2.150.0000.00725.66
8.2.140.0110.00720.52
8.2.130.0150.00420.38
8.2.120.0090.00919.16
8.2.110.0070.00719.18
8.2.100.0110.00418.97
8.2.90.0110.00418.96
8.2.80.0120.00918.96
8.2.70.0110.01118.72
8.2.60.0100.01018.77
8.2.50.0150.00018.77
8.2.40.0040.00418.88
8.2.30.0100.01018.88
8.2.20.0060.01218.67
8.2.10.0080.00018.68
8.2.00.0060.00318.86
8.1.330.0110.00818.13
8.1.320.0130.00717.88
8.1.310.0070.01016.88
8.1.300.0040.01217.93
8.1.290.0090.00030.84
8.1.280.0110.00425.92
8.1.270.0040.00421.95
8.1.260.0060.00322.00
8.1.250.0050.00222.02
8.1.240.0030.00518.57
8.1.230.0030.00618.57
8.1.220.0150.00318.94
8.1.210.0060.00318.43
8.1.200.0040.00418.68
8.1.190.0040.00418.52
8.1.180.0050.00318.29
8.1.170.0060.00318.31
8.1.160.0050.00318.49
8.1.150.0090.00918.44
8.1.140.0030.00618.48
8.1.130.0030.00518.66
8.1.120.0070.01118.67
8.1.110.0130.00618.60
8.1.100.0070.00318.42
8.1.90.0060.00318.50
8.1.80.0130.00618.55
8.1.70.0060.00318.38
8.1.60.0090.00018.63
8.1.50.0110.00018.55
8.1.40.0060.00318.50
8.1.30.0070.00418.69
8.1.20.0060.00318.79
8.1.10.0030.00618.61
8.1.00.0030.00618.48

preferences:
45.12 ms | 403 KiB | 5 Q