3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "user1"; $password = "password"; $users = array($user => $password); //$users[$user] = $password; print_r($users);

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.3.60.0160.00418.32
8.3.50.0070.00721.08
8.3.40.0000.01518.68
8.3.30.0030.01020.09
8.3.20.0040.00420.21
8.3.10.0060.00322.09
8.3.00.0000.00922.39
8.2.180.0090.00618.54
8.2.170.0040.01122.96
8.2.160.0130.00020.38
8.2.150.0080.00024.18
8.2.140.0090.00924.66
8.2.130.0040.00426.16
8.2.120.0000.00919.67
8.2.110.0060.00320.79
8.2.100.0030.00917.91
8.2.90.0040.00417.63
8.2.80.0090.00017.97
8.2.70.0040.00417.93
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0030.00517.92
8.2.30.0000.01018.09
8.2.20.0000.00717.68
8.2.10.0040.00417.54
8.2.00.0090.00019.34
8.1.280.0100.01025.92
8.1.270.0050.00224.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.18
8.1.230.0040.00822.41
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0040.00418.51
8.1.160.0000.00722.13
8.1.150.0040.00418.60
8.1.140.0000.00817.34
8.1.130.0030.00317.88
8.1.120.0040.00717.31
8.1.110.0030.00517.31
8.1.100.0040.00417.22
8.1.90.0030.00317.36
8.1.80.0070.00017.37
8.1.70.0000.00717.36
8.1.60.0000.00817.50
8.1.50.0040.00417.33
8.1.40.0070.00017.34
8.1.30.0030.00617.52
8.1.20.0050.00317.50
8.1.10.0040.00417.42
8.1.00.0060.00617.44
8.0.300.0070.00020.07
8.0.290.0060.00316.63
8.0.280.0030.00318.24
8.0.270.0070.00017.18
8.0.260.0050.00216.74
8.0.250.0030.00316.92
8.0.240.0080.00016.84
8.0.230.0000.00716.89
8.0.220.0030.00316.72
8.0.210.0030.00316.71
8.0.200.0030.00316.88
8.0.190.0040.00416.86
8.0.180.0040.00416.79
8.0.170.0000.00716.77
8.0.160.0000.00716.69
8.0.150.0000.00716.66
8.0.140.0050.00216.69
8.0.130.0000.00513.25
8.0.120.0000.00816.66
8.0.110.0000.00716.88
8.0.100.0070.00016.79
8.0.90.0030.00316.81
8.0.80.0130.00316.89
8.0.70.0000.00816.76
8.0.60.0050.00216.80
8.0.50.0000.00716.67
8.0.30.0100.00816.98
8.0.20.0120.00817.40
8.0.10.0000.00716.73
8.0.00.0110.01016.65
7.4.330.0020.00215.00
7.4.320.0060.00016.42
7.4.300.0030.00316.33
7.4.290.0030.00316.56
7.4.280.0070.00016.43
7.4.270.0030.00316.45
7.4.260.0070.00316.31
7.4.250.0040.00416.48
7.4.240.0050.00216.48
7.4.230.0030.00316.50
7.4.220.0040.01416.47
7.4.210.0100.00716.52
7.4.200.0000.00716.55
7.4.190.0000.00716.37
7.4.160.0120.00316.44
7.4.150.0090.00917.40
7.4.140.0080.01217.86
7.4.130.0080.01116.49
7.4.120.0090.00816.34
7.4.110.0100.01016.46
7.4.100.0140.00316.35
7.4.90.0060.01116.39
7.4.80.0060.01019.39
7.4.70.0040.01216.43
7.4.60.0070.01016.27
7.4.50.0000.00516.56
7.4.40.0100.00622.77
7.4.30.0090.00616.23
7.4.00.0070.01114.75
7.3.330.0030.00312.95
7.3.320.0030.00313.17
7.3.310.0000.00716.22
7.3.300.0000.00716.17
7.3.290.0100.00416.22
7.3.280.0080.00816.13
7.3.270.0100.00717.40
7.3.260.0130.00716.23
7.3.250.0060.01216.38
7.3.240.0030.01316.16
7.3.230.0160.00016.39
7.3.210.0090.01216.27
7.3.200.0060.01019.39
7.3.190.0090.00916.32
7.3.180.0080.00816.57
7.3.170.0110.00716.47
7.3.160.0090.00616.06
7.3.120.0080.00814.67
7.3.110.0060.01214.66
7.3.100.0060.00314.82
7.3.90.0130.00314.77
7.3.80.0080.00014.43
7.3.70.0070.01014.73
7.3.60.0080.00814.86
7.3.50.0040.00814.86
7.3.40.0100.00314.39
7.3.30.0040.00814.45
7.3.20.0030.01016.71
7.3.10.0130.00316.46
7.3.00.0000.00916.52
7.2.330.0190.01916.56
7.2.320.0150.00516.25
7.2.310.0100.01316.48
7.2.300.0090.00616.38
7.2.290.0000.01616.42
7.2.250.0060.01314.40
7.2.240.0000.01714.95
7.2.230.0030.01014.97
7.2.220.0070.00314.74
7.2.210.0120.00015.13
7.2.200.0070.00714.75
7.2.190.0000.01314.75
7.2.180.0070.01014.99
7.2.170.0060.00914.94
7.2.00.0130.00019.29
7.1.330.0030.00715.89
7.1.320.0000.00915.87
7.1.310.0000.01615.69
7.1.300.0000.01215.80
7.1.290.0040.00815.66
7.1.280.0060.01215.74
7.1.270.0060.00315.49
7.1.260.0060.01215.58
7.1.100.0030.00717.59
7.1.70.0090.00017.20
7.1.60.0110.01419.21
7.1.50.0130.01016.78
7.1.00.0030.03722.42
7.0.200.0040.00714.56
7.0.140.0000.07722.09
7.0.60.0130.07719.91
7.0.50.0130.04017.79
7.0.40.0100.03720.06
7.0.30.0570.07320.09
7.0.20.0370.07319.99
7.0.10.0070.05320.29
7.0.00.0100.07720.01
5.6.280.0030.07021.06
5.6.210.0130.06320.64
5.6.200.0130.03018.18
5.6.190.0170.07720.43
5.6.180.0300.08720.27
5.6.170.0270.07020.49
5.6.160.0100.06020.48
5.6.150.0030.07718.08
5.6.140.0130.05018.17
5.6.130.0070.08318.08
5.6.120.0100.07321.19
5.6.110.0070.08321.09
5.6.100.0130.07020.97
5.6.90.0100.08021.09
5.6.80.0070.07320.52
5.6.70.4300.04020.39
5.5.350.0070.07320.32
5.5.340.0100.06018.02
5.5.330.0070.08720.38
5.5.320.0370.07320.55
5.5.310.0270.08320.23
5.5.300.0130.05717.96
5.5.290.0100.07717.91
5.5.280.0000.06320.88
5.5.270.0070.08320.86
5.5.260.0070.08720.94
5.5.250.0130.05720.49
5.5.240.0230.07320.22
5.4.450.0600.05319.25
5.4.440.0230.06319.48
5.4.430.0300.05019.27
5.4.420.0330.05019.59
5.4.410.0130.05718.90
5.4.400.0330.05318.51
5.4.390.0330.06018.77
5.4.380.0370.04718.68
5.4.370.0170.07018.56
5.4.360.0070.05718.66
5.4.350.0060.03811.97
5.4.340.0110.04111.97
5.4.320.0080.03912.45
5.4.310.0030.04212.45
5.4.300.0060.03612.45
5.4.290.0040.04012.45
5.4.280.0070.03512.35
5.4.270.0080.04512.35
5.4.260.0040.03912.34
5.4.250.0070.05318.64
5.4.240.0170.04319.00
5.4.230.0170.05318.89
5.4.220.0100.05319.00
5.4.210.0130.04718.87
5.4.200.0130.05018.90
5.4.190.0130.04719.00
5.4.180.0170.07018.96
5.4.170.0000.06018.86
5.4.160.0070.05018.85
5.4.150.0030.06018.98
5.4.140.0070.05316.39
5.4.130.0030.05016.38
5.4.120.0130.04316.49
5.4.110.0000.05716.49
5.4.100.0030.06716.46
5.4.90.0100.04316.41
5.4.80.0170.03716.48
5.4.70.0100.05316.39
5.4.60.0070.04716.39
5.4.50.0130.04716.46
5.4.40.0230.03016.39
5.4.30.0100.04316.29
5.4.20.0000.05316.23
5.4.10.0070.05016.17
5.4.00.0100.05315.72
5.3.290.0080.03712.80
5.3.280.0000.06014.36
5.3.270.0070.07714.59
5.3.260.0070.06014.60
5.3.250.0070.05014.60
5.3.240.0130.06014.61
5.3.230.0100.05014.30
5.3.220.0070.04714.33
5.3.210.0000.05714.40
5.3.200.0100.07014.57
5.3.190.0130.04314.34
5.3.180.0070.05314.44
5.3.170.0100.04314.57
5.3.160.0100.07014.55
5.3.150.0000.05314.52
5.3.140.0130.04014.64
5.3.130.0070.05014.56
5.3.120.0130.04714.25
5.3.110.0100.04714.54
5.3.100.0100.04314.18
5.3.90.0070.06014.02
5.3.80.0100.04313.96
5.3.70.0000.07013.80
5.3.60.0100.06013.95
5.3.50.0130.04013.71
5.3.40.0170.04013.94
5.3.30.0070.04313.89
5.3.20.0030.05313.85
5.3.10.0000.05313.52
5.3.00.0030.07713.33
5.2.170.0070.03711.05
5.2.160.0030.04011.02
5.2.150.0000.04711.14
5.2.140.0000.05010.97
5.2.130.0070.04011.25
5.2.120.0070.03711.00
5.2.110.0070.04011.11
5.2.100.0000.04310.85
5.2.90.0030.05711.11
5.2.80.0070.03711.23
5.2.70.0100.03311.09
5.2.60.0030.04011.14
5.2.50.0100.03311.04
5.2.40.0100.03311.00
5.2.30.0030.04010.80
5.2.20.0030.04010.88
5.2.10.0170.02710.79
5.2.00.0070.04010.64
5.1.60.0100.0309.97
5.1.50.0070.04010.18
5.1.40.0000.0379.88
5.1.30.0030.03310.54
5.1.20.0070.03710.26
5.1.10.0170.03710.04
5.1.00.0130.03010.30
5.0.50.0030.0278.59
5.0.40.0100.0208.43
5.0.30.0070.0437.98
5.0.20.0000.0338.18
5.0.10.0030.0278.36
5.0.00.0030.0408.10
4.4.90.0070.0177.07
4.4.80.0070.0177.07
4.4.70.0000.0237.07
4.4.60.0030.0207.07
4.4.50.0030.0207.07
4.4.40.0070.0277.07
4.4.30.0000.0237.07
4.4.20.0030.0207.07
4.4.10.0030.0237.07
4.4.00.0100.0277.07
4.3.110.0030.0207.07
4.3.100.0000.0237.07
4.3.90.0070.0177.07
4.3.80.0070.0307.07
4.3.70.0030.0207.07
4.3.60.0000.0207.07
4.3.50.0000.0237.07
4.3.40.0000.0377.07
4.3.30.0000.0277.07
4.3.20.0030.0207.07
4.3.10.0000.0237.07
4.3.00.0070.0236.88

preferences:
42.65 ms | 401 KiB | 5 Q