3v4l.org

run code in 300+ PHP versions simultaneously
<?php function base64u_decode($data) { return base64_decode(strtr($data, '-_', '+/')); } $clientData = "eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZ2V0QXNzZXJ0aW9uIiwiY2hhbGxlbmdlIjoiUklZdzh5SXAtUEJPalU1XzJGdmNrVVUydjJBT2lUTzAwN2dHWjhSeFItSSIsIm9yaWdpbiI6Imh0dHBzOi8vbG9jYWxob3N0IiwiY2lkX3B1YmtleSI6IiJ9"; $decodedClient = json_decode(base64u_decode($clientData)); echo $decodedClient; ?>

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.70.0130.00918.55
8.3.60.0100.01016.75
8.3.50.0180.01222.10
8.3.40.0090.00918.94
8.3.30.0110.00718.84
8.3.20.0040.00420.24
8.3.10.0030.00523.66
8.3.00.0040.00419.91
8.2.190.0070.01318.69
8.2.180.0120.00616.50
8.2.170.0080.00822.96
8.2.160.0130.00319.50
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00619.44
8.2.120.0080.00326.35
8.2.110.0040.00420.33
8.2.100.0090.00318.03
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0020.00522.09
8.2.30.0000.00720.64
8.2.20.0040.00417.81
8.2.10.0090.00018.05
8.2.00.0000.00718.11
8.1.280.0040.01125.92
8.1.270.0040.00420.36
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00623.84
8.1.230.0120.00017.66
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00517.38
8.1.180.0060.00318.10
8.1.170.0000.00818.49
8.1.160.0000.00720.70
8.1.150.0080.00018.89
8.1.140.0020.00519.52
8.1.130.0030.00317.52
8.1.120.0000.00717.31
8.1.110.0000.00717.44
8.1.100.0040.00417.36
8.1.90.0000.00817.40
8.1.80.0000.00817.39
8.1.70.0000.00717.22
8.1.60.0000.00717.59
8.1.50.0000.00817.52
8.1.40.0090.00017.51
8.1.30.0000.00817.74
8.1.20.0040.00417.53
8.1.10.0080.00017.58
8.1.00.0040.00417.44
8.0.300.0060.00318.77
8.0.290.0000.00816.75
8.0.280.0030.00318.50
8.0.270.0070.00017.28
8.0.260.0000.00717.34
8.0.250.0030.00317.03
8.0.240.0050.00316.90
8.0.230.0050.00216.87
8.0.220.0000.00816.90
8.0.210.0000.00716.77
8.0.200.0000.00616.96
8.0.190.0050.00316.91
8.0.180.0000.00816.82
8.0.170.0040.00416.89
8.0.160.0070.00016.79
8.0.150.0070.00016.83
8.0.140.0000.00716.74
8.0.130.0080.00013.33
8.0.120.0050.00316.88
8.0.110.0040.00416.80
8.0.100.0050.00216.86
8.0.90.0040.00416.70
8.0.80.0090.00616.94
8.0.70.0000.00716.74
8.0.60.0040.00416.90
8.0.50.0000.00816.68
8.0.30.0070.01217.02
8.0.20.0100.01217.40
8.0.10.0000.00817.04
8.0.00.0080.01116.82
7.4.330.0000.00516.89
7.4.320.0060.00016.46
7.4.300.0040.00416.46
7.4.290.0000.00816.41
7.4.280.0000.00816.55
7.4.270.0060.00016.55
7.4.260.0070.00016.51
7.4.250.0030.00516.61
7.4.240.0020.00616.54
7.4.230.0030.00316.69
7.4.220.0170.00716.64
7.4.210.0090.00616.69
7.4.200.0070.00016.35
7.4.160.0160.00016.57
7.4.150.0190.00617.40
7.4.140.0100.01117.86
7.4.130.0110.00816.42
7.4.120.0100.01016.67
7.4.110.0110.00716.55
7.4.100.0110.00916.54
7.4.90.0060.01016.54
7.4.80.0080.00619.39
7.4.70.0070.01616.50
7.4.60.0030.01316.63
7.4.50.0040.01116.67
7.4.40.0060.01616.59
7.4.30.0030.01816.62
7.4.00.0040.01115.07
7.3.330.0070.00013.35
7.3.320.0030.00313.19
7.3.310.0000.00716.29
7.3.300.0000.00716.32
7.3.290.0090.00616.33
7.3.280.0090.00916.34
7.3.270.0120.00617.40
7.3.260.0110.00516.39
7.3.250.0110.01016.54
7.3.240.0100.00716.46
7.3.230.0080.00816.39
7.3.210.0110.00716.52
7.3.200.0090.01216.32
7.3.190.0120.00616.58
7.3.180.0110.00616.62
7.3.170.0120.00616.52
7.3.160.0150.00816.50
7.2.330.0090.00916.71
7.2.320.0060.01716.43
7.2.310.0060.00916.35
7.2.300.0090.00616.25
7.2.290.0090.01216.45
7.2.60.0070.00717.05
7.2.00.0180.00419.36
7.1.200.0110.00015.79
7.1.100.0030.01317.90
7.1.70.0060.00317.29
7.1.60.0030.02019.44
7.1.50.0030.01434.64
7.1.00.0070.07322.57
7.0.200.0030.00516.40
7.0.100.0100.04320.18
7.0.90.0100.05720.14
7.0.80.0270.04719.94
7.0.70.0000.06319.93
7.0.60.0370.04719.86
7.0.50.0030.04320.32
7.0.40.0100.07720.05
7.0.30.0100.07320.14
7.0.20.0100.05720.19
7.0.10.0070.06020.13
7.0.00.0100.08020.13
5.6.280.0000.03321.08
5.6.250.0070.07720.79
5.6.240.0030.08320.73
5.6.230.0070.08320.62
5.6.220.0030.05020.49
5.6.210.0030.07320.56
5.6.200.0070.05721.18
5.6.190.0170.07021.04
5.6.180.0030.07721.17
5.6.170.0030.04320.94
5.6.160.0200.05321.11
5.6.150.0030.07320.96
5.6.140.0130.07321.17
5.6.130.0070.07321.08
5.6.120.0130.04321.17
5.6.110.0100.03721.02
5.6.100.0070.08021.02
5.6.90.0070.06321.09
5.6.80.0100.06720.53
5.6.70.0170.06320.34
5.6.60.0070.07320.42
5.6.50.0070.04720.56
5.6.40.0070.08720.39
5.6.30.0130.07020.43
5.6.20.0100.04720.29
5.6.10.0170.03720.41
5.6.00.0170.05720.39
5.5.380.0030.08720.56
5.5.370.0170.05020.45
5.5.360.0030.07020.49
5.5.350.0100.07720.48
5.5.340.0070.08020.89
5.5.330.0070.08320.78
5.5.320.0030.04720.92
5.5.310.0100.06320.92
5.5.300.0100.03720.93
5.5.290.0070.06020.91
5.5.280.0030.04320.89
5.5.270.0070.07720.76
5.5.260.0030.08720.78
5.5.250.0070.08320.73
5.5.240.0000.05320.32
5.5.230.0130.06320.17
5.5.220.0170.04720.30
5.5.210.0100.06020.25
5.5.200.0100.04320.23
5.5.190.0100.06720.23
5.5.180.0000.07720.25
5.5.160.0170.06720.25
5.5.150.0100.07020.09
5.5.140.0070.07020.22
5.5.130.0130.07319.98
5.5.120.0070.04320.23
5.5.110.0000.04320.23
5.5.100.0030.04720.07
5.5.90.0100.03720.16
5.5.80.0070.07720.11
5.5.70.0030.05720.08
5.5.60.0030.06720.09
5.5.50.0070.04319.95
5.5.40.0200.03319.96
5.5.30.0030.04320.10
5.5.20.0230.06720.16
5.5.10.0070.04719.96
5.5.00.0100.07020.05

preferences:
54.95 ms | 401 KiB | 5 Q