3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = array( "status" => "0", "message" => "Invalid user name or password", "user" => array('') ); echo json_encode($response);

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.40.0040.01118.63
8.3.30.0070.01018.46
8.3.20.0080.00018.59
8.3.10.0090.00020.34
8.3.00.0080.00019.25
8.2.170.0130.00722.96
8.2.160.0070.01020.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00320.67
8.2.110.0030.00621.04
8.2.100.0120.00017.78
8.2.90.0080.00321.21
8.2.80.0000.00919.28
8.2.70.0060.00317.38
8.2.60.0040.00417.87
8.2.50.0000.00818.07
8.2.40.0000.00818.18
8.2.30.0040.00418.02
8.2.20.0040.00419.32
8.2.10.0040.00417.60
8.2.00.0080.00317.56
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01120.57
8.1.230.0000.01020.88
8.1.220.0030.00617.74
8.1.210.0040.00718.77
8.1.200.0090.00017.22
8.1.190.0000.00717.40
8.1.180.0040.00418.10
8.1.170.0040.00418.87
8.1.160.0040.00418.81
8.1.150.0040.00418.53
8.1.140.0040.00417.28
8.1.130.0020.00517.71
8.1.120.0040.00417.45
8.1.110.0040.00417.26
8.1.100.0040.00417.39
8.1.90.0080.00017.29
8.1.80.0040.00417.41
8.1.70.0040.00417.27
8.1.60.0000.00717.50
8.1.50.0070.00017.48
8.1.40.0040.00417.39
8.1.30.0070.00017.41
8.1.20.0000.00717.53
8.1.10.0050.00217.44
8.1.00.0040.00417.26
8.0.300.0040.00419.73
8.0.290.0050.00216.75
8.0.280.0040.00418.42
8.0.270.0030.00317.12
8.0.260.0060.00016.67
8.0.250.0040.00416.97
8.0.240.0020.00516.99
8.0.230.0000.00716.91
8.0.220.0040.00416.79
8.0.210.0000.00716.82
8.0.200.0040.00416.92
8.0.190.0080.00016.87
8.0.180.0050.00316.73
8.0.170.0000.00816.84
8.0.160.0040.00416.81
8.0.150.0000.00816.79
8.0.140.0000.00716.68
8.0.130.0000.00513.26
8.0.120.0050.00316.72
8.0.110.0040.00416.70
8.0.100.0050.00316.74
8.0.90.0060.00316.77
8.0.80.0000.01516.75
8.0.70.0040.00416.82
8.0.60.0030.00616.61
8.0.50.0000.00716.79
8.0.30.0160.00616.98
8.0.20.0060.01216.97
8.0.10.0070.00017.00
8.0.00.0140.00416.72
7.4.330.0030.00312.98
7.4.320.0000.00616.53
7.4.300.0040.00416.44
7.4.290.0000.00716.52
7.4.280.0070.00016.51
7.4.270.0000.00616.43
7.4.260.0060.00013.20
7.4.250.0040.00416.52
7.4.240.0030.00316.53
7.4.230.0030.00316.32
7.4.220.0030.01716.41
7.4.210.0070.00716.44
7.4.200.0030.00316.50
7.4.190.0030.00316.38
7.4.160.0060.01016.33
7.4.150.0040.01316.45
7.4.140.0130.01016.45
7.4.130.0060.01216.39
7.4.120.0100.00616.47
7.4.110.0190.00316.41
7.4.100.0060.00916.34
7.4.90.0060.01216.51
7.4.80.0070.01019.39
7.4.70.0130.00316.36
7.4.60.0040.01416.58
7.4.50.0070.00016.32
7.4.40.0110.00416.22
7.4.30.0130.00716.53
7.4.00.0120.00415.00
7.3.330.0030.00312.89
7.3.320.0040.00412.87
7.3.310.0030.00316.13
7.3.300.0030.00316.17
7.3.290.0060.01016.12
7.3.280.0120.00516.11
7.3.270.0120.00616.53
7.3.260.0150.00716.28
7.3.250.0030.01316.26
7.3.240.0100.01216.17
7.3.230.0120.00616.45
7.3.210.0070.01016.32
7.3.200.0030.01416.49
7.3.190.0080.01116.30
7.3.180.0070.01416.46
7.3.170.0030.01716.24
7.3.160.0000.01516.49
7.3.120.0060.00614.54
7.3.10.0090.00316.56
7.3.00.0100.00016.48
7.2.330.0040.01416.20
7.2.320.0030.01516.40
7.2.310.0090.00916.58
7.2.300.0060.01016.29
7.2.290.0070.01116.52
7.2.130.0030.01016.96
7.2.120.0100.00316.82
7.2.110.0030.01017.01
7.2.100.0060.00616.68
7.2.90.0000.01416.82
7.2.80.0060.00616.44
7.2.70.0070.00316.85
7.2.60.0030.01316.50
7.2.50.0030.01016.68
7.2.40.0060.00616.60
7.2.30.0000.01416.44
7.2.20.0080.00416.64
7.2.10.0030.00916.48
7.2.00.0010.01018.05
7.1.250.0090.00315.67
7.1.100.0100.00717.95
7.1.70.0130.00716.91
7.1.60.0110.01419.31
7.1.50.0040.01516.57
7.1.00.0030.06722.30
7.0.200.0790.00715.04
7.0.140.0030.07322.09
7.0.120.0000.05021.96
7.0.90.0500.07319.87
7.0.80.0400.04019.93
7.0.70.0100.06019.94
7.0.60.0070.08019.93
7.0.50.0100.05720.33
7.0.40.0100.06720.13
7.0.30.0230.06720.15
7.0.20.0100.04020.10
7.0.10.0100.08720.08
7.0.00.0070.08020.10
5.6.230.0070.07720.53
5.6.220.0000.06320.61
5.6.210.0100.08020.56
5.6.200.0000.08721.04
5.6.190.0170.07021.13
5.6.180.0130.07021.08
5.6.170.0100.05321.01
5.6.160.0100.08321.09
5.6.150.0170.08020.96
5.6.140.0200.07320.92
5.6.130.0070.08720.95
5.6.120.0100.08321.05
5.6.110.0100.06321.05
5.6.100.0100.06321.02
5.6.90.0000.08321.14
5.6.80.0130.07320.55
5.6.70.0070.05020.48
5.6.60.0070.07720.30
5.6.50.0130.07320.42
5.6.40.0070.07720.42
5.6.30.0000.07720.31
5.6.20.0000.05020.41
5.6.10.0000.09020.29
5.6.00.0000.07320.43
5.5.370.0070.08020.41
5.5.360.0100.08020.38
5.5.350.0070.08720.47
5.5.340.0030.07320.88
5.5.330.0070.08020.87
5.5.320.0030.05320.88
5.5.310.0070.05320.79
5.5.300.0170.05320.88
5.5.290.0130.07320.63
5.5.280.0000.09020.63
5.5.270.0070.07320.61
5.5.260.0300.04720.79
5.5.250.0130.05320.73
5.5.240.0130.08020.14
5.5.230.0030.08320.29
5.5.220.0070.05720.29
5.5.210.0170.05720.24
5.5.200.0100.08320.26
5.5.190.0100.06720.11
5.5.180.0130.05020.17
5.5.160.0100.07020.23
5.5.150.0170.05020.15
5.5.140.0030.07320.25
5.5.130.0130.07020.17
5.5.120.0070.07020.27
5.5.110.0130.05320.26
5.5.100.0100.07720.11
5.5.90.0100.07320.04
5.5.80.0000.05319.93
5.5.70.0000.09019.93
5.5.60.0100.07020.07
5.5.50.0170.06720.04
5.5.40.0030.07720.04
5.5.30.0070.06020.04
5.5.20.0130.07320.04
5.5.10.0130.07320.07
5.5.00.0100.06320.03
5.4.450.0130.07319.14
5.4.440.0130.06319.35
5.4.430.0100.04719.32
5.4.420.0030.08319.37
5.4.410.0100.06019.24
5.4.400.0030.05318.95
5.4.390.0070.04719.03
5.4.380.0100.06719.23
5.4.370.0130.06018.90
5.4.360.0070.08019.09
5.4.350.0170.06319.13
5.4.340.0100.04319.23
5.4.320.0100.07318.96
5.4.310.0100.06019.14
5.4.300.0030.08319.07
5.4.290.0100.07719.02
5.4.280.0170.07319.09
5.4.270.0030.08019.02
5.4.260.0070.08319.05
5.4.250.0000.08318.94
5.4.240.0030.05019.23
5.4.230.0100.03319.02
5.4.220.0070.04019.04
5.4.210.0100.07318.93
5.4.200.0000.08319.04
5.4.190.0000.05719.02
5.4.180.0130.05318.96
5.4.170.0070.05318.95
5.4.160.0100.05319.14
5.4.150.0200.06019.05
5.4.140.0030.08016.39
5.4.130.0070.07016.29
5.4.120.0170.06316.21
5.4.110.0070.06716.39
5.4.100.0100.07016.43
5.4.90.0030.06316.31
5.4.80.0070.06716.41
5.4.70.0100.05316.32
5.4.60.0170.03716.20
5.4.50.0030.07316.28
5.4.40.0170.06716.38
5.4.30.0100.07016.37
5.4.20.0030.04716.29
5.4.10.0100.05016.43
5.4.00.0100.07315.68
5.3.290.0100.07714.51
5.3.280.0100.08714.57
5.3.270.0070.04714.59
5.3.260.0130.06714.59
5.3.250.0030.07014.44
5.3.240.0130.04314.54
5.3.230.0070.07014.45
5.3.220.0070.07314.57
5.3.210.0030.05714.50
5.3.200.0100.07314.47
5.3.190.0170.06714.51
5.3.180.0070.07314.45
5.3.170.0170.07014.38
5.3.160.0030.05014.55
5.3.150.0030.07714.47
5.3.140.0070.06714.41
5.3.130.0000.08014.39
5.3.120.0100.07314.40
5.3.110.0070.04314.52
5.3.100.0070.04714.02
5.3.90.0000.08013.85
5.3.80.0000.04314.00
5.3.70.0000.04013.98
5.3.60.0000.04013.77
5.3.50.0000.04013.70
5.3.40.0070.04313.92
5.3.30.0130.02713.86
5.3.20.0070.04713.67
5.3.10.0000.03713.43
5.3.00.0030.03013.54
5.2.170.0000.03310.93
5.2.160.0070.02711.00
5.2.150.0070.02711.00
5.2.140.0070.03311.19
5.2.130.0030.03011.12
5.2.120.0000.03011.04
5.2.110.0000.03311.09
5.2.100.0030.02311.09
5.2.90.0000.02711.12
5.2.80.0070.02310.93
5.2.70.0000.03010.94
5.2.60.0030.03010.84
5.2.50.0070.04711.00
5.2.40.0030.06011.03
5.2.30.0030.02310.79
5.2.20.0000.03010.88
5.2.10.0000.03010.93
5.2.00.0000.02710.66
5.1.60.0030.02710.01
5.1.50.0000.0339.82
5.1.40.0030.0479.99
5.1.30.0000.02710.34
5.1.20.0030.04710.37
5.1.10.0000.03010.13
5.1.00.0000.0239.90
5.0.50.0030.0278.57
5.0.40.0030.0178.43
5.0.30.0030.0308.10
5.0.20.0070.0138.20
5.0.10.0030.0238.00
5.0.00.0000.0308.24
4.4.90.0070.0207.99
4.4.80.0030.0137.99
4.4.70.0000.0137.99
4.4.60.0000.0177.99
4.4.50.0030.0137.99
4.4.40.0030.0207.99
4.4.30.0030.0137.99
4.4.20.0030.0237.99
4.4.10.0030.0207.99
4.4.00.0030.0237.99
4.3.110.0000.0177.99
4.3.100.0000.0277.99
4.3.90.0000.0207.99
4.3.80.0000.0237.99
4.3.70.0030.0137.99
4.3.60.0000.0137.99
4.3.50.0030.0137.99
4.3.40.0000.0377.99
4.3.30.0070.0107.99
4.3.20.0000.0177.99
4.3.10.0000.0137.99
4.3.00.0030.0137.99

preferences:
42.2 ms | 400 KiB | 5 Q