3v4l.org

run code in 300+ PHP versions simultaneously
<?php function base64u_decode($data) { return base64_decode(strtr($data, '-_', '+/')); } $clientData = "eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZ2V0QXNzZXJ0aW9uIiwiY2hhbGxlbmdlIjoiUklZdzh5SXAtUEJPalU1XzJGdmNrVVUydjJBT2lUTzAwN2dHWjhSeFItSSIsIm9yaWdpbiI6Imh0dHBzOi8vbG9jYWxob3N0IiwiY2lkX3B1YmtleSI6IiJ9"; $decodedClient = (String) 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.60.0090.00916.86
8.3.50.0130.00718.09
8.3.40.0040.01118.82
8.3.30.0000.01418.68
8.3.20.0070.00020.22
8.3.10.0070.00023.48
8.3.00.0090.00019.79
8.2.180.0120.00816.75
8.2.170.0150.00322.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00919.39
8.2.120.0030.00526.35
8.2.110.0130.00620.54
8.2.100.0090.00317.80
8.2.90.0040.00419.07
8.2.80.0000.00817.97
8.2.70.0080.00317.36
8.2.60.0030.00517.90
8.2.50.0060.00318.07
8.2.40.0080.00022.18
8.2.30.0030.00520.47
8.2.20.0070.00017.73
8.2.10.0040.00417.96
8.2.00.0040.00418.16
8.1.280.0170.00325.92
8.1.270.0000.01020.24
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00423.83
8.1.230.0070.00417.77
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0040.00417.23
8.1.180.0090.00018.10
8.1.170.0050.00318.59
8.1.160.0040.00420.65
8.1.150.0000.00818.95
8.1.140.0000.00819.51
8.1.130.0000.00717.59
8.1.120.0040.00417.31
8.1.110.0000.00717.29
8.1.100.0040.00417.43
8.1.90.0070.00017.39
8.1.80.0030.00617.33
8.1.70.0000.00817.30
8.1.60.0000.00817.61
8.1.50.0000.00817.44
8.1.40.0000.00817.53
8.1.30.0040.00417.71
8.1.20.0040.00417.53
8.1.10.0000.00817.57
8.1.00.0030.00517.53
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00718.29
8.0.270.0000.00717.25
8.0.260.0030.00317.11
8.0.250.0030.00316.93
8.0.240.0040.00416.85
8.0.230.0030.00516.96
8.0.220.0040.00416.76
8.0.210.0000.00716.91
8.0.200.0030.00316.95
8.0.190.0040.00416.84
8.0.180.0030.00516.91
8.0.170.0050.00316.96
8.0.160.0040.00416.78
8.0.150.0030.00316.79
8.0.140.0030.00516.75
8.0.130.0000.00713.29
8.0.120.0040.00416.82
8.0.110.0080.00016.94
8.0.100.0070.00016.73
8.0.90.0040.00416.79
8.0.80.0120.00316.92
8.0.70.0040.00416.71
8.0.60.0000.00816.74
8.0.50.0080.00016.87
8.0.30.0100.00717.17
8.0.20.0130.00917.43
8.0.10.0040.00417.08
8.0.00.0130.00816.99
7.4.330.0000.00516.76
7.4.320.0060.00016.52
7.4.300.0040.00416.45
7.4.290.0000.00716.59
7.4.280.0040.00416.50
7.4.270.0000.00716.58
7.4.260.0050.00316.53
7.4.250.0030.00516.43
7.4.240.0030.00416.57
7.4.230.0000.00716.63
7.4.220.0100.01916.40
7.4.210.0060.00916.54
7.4.200.0000.00716.39
7.4.160.0150.00016.35
7.4.150.0040.01417.40
7.4.140.0120.01217.86
7.4.130.0080.01016.44
7.4.120.0090.00916.45
7.4.110.0070.01116.52
7.4.100.0070.01016.45
7.4.90.0110.00716.48
7.4.80.0130.00719.39
7.4.70.0120.00416.64
7.4.60.0100.00716.57
7.4.50.0100.00216.50
7.4.40.0160.00716.50
7.4.30.0130.01016.39
7.4.00.0070.01014.98
7.3.330.0000.00613.06
7.3.320.0080.00013.11
7.3.310.0070.00016.33
7.3.300.0040.00416.34
7.3.290.0100.00716.23
7.3.280.0070.00916.28
7.3.270.0100.00717.40
7.3.260.0110.00616.34
7.3.250.0090.01016.38
7.3.240.0080.01016.32
7.3.230.0120.00916.46
7.3.210.0150.00716.32
7.3.200.0120.00616.29
7.3.190.0060.00916.36
7.3.180.0040.01416.34
7.3.170.0140.00316.30
7.3.160.0130.01016.27
7.3.10.0160.00516.36
7.3.00.0080.00916.31
7.2.330.0090.01316.41
7.2.320.0160.00316.21
7.2.310.0120.00616.60
7.2.300.0070.01016.77
7.2.290.0060.01616.37
7.2.130.0190.01116.74
7.2.120.0120.01116.47
7.2.110.0140.01016.67
7.2.100.0120.00416.70
7.2.90.0160.00616.82
7.2.80.0100.00716.52
7.2.70.0080.00716.64
7.2.60.0070.01016.81
7.2.50.0090.00516.62
7.2.40.0050.00916.58
7.2.30.0050.00616.71
7.2.20.0070.00816.60
7.2.10.0070.00816.50
7.2.00.0060.00517.35
7.1.250.0150.00615.74
7.1.240.0090.00615.56
7.1.230.0060.00615.66
7.1.220.0040.01115.59
7.1.210.0040.00815.77
7.1.200.0030.00815.45
7.1.190.0110.00015.63
7.1.180.0040.00815.46
7.1.170.0030.00815.70
7.1.160.0060.00915.67
7.1.150.0030.01315.65
7.1.140.0030.00915.75
7.1.130.0090.00615.77
7.1.120.0000.01115.78
7.1.110.0100.00315.80
7.1.100.0120.00316.98
7.1.90.0030.00915.96
7.1.80.0070.00715.60
7.1.70.0050.00516.48
7.1.60.0090.01017.51
7.1.50.0070.00916.12
7.1.40.0030.01015.77
7.1.30.0000.01015.57
7.1.20.0000.01115.57
7.1.10.0030.00915.50
7.1.00.0000.04519.16
7.0.330.0040.00715.42
7.0.320.0040.00815.27
7.0.310.0040.01114.99
7.0.300.0050.00515.42
7.0.290.0090.00315.16
7.0.280.0050.00515.15
7.0.270.0060.00615.19
7.0.260.0000.01115.29
7.0.250.0100.00015.34
7.0.240.0090.00614.98
7.0.230.0000.01015.38
7.0.220.0000.01015.10
7.0.210.0030.01015.19
7.0.200.0040.00716.00
7.0.190.0030.00715.18
7.0.180.0080.00414.96
7.0.170.0070.00715.41
7.0.160.0000.00915.11
7.0.150.0060.00615.27
7.0.140.0100.00315.05
7.0.130.0060.00615.21
7.0.120.0090.00315.36
7.0.110.0090.00015.36
7.0.100.0120.00315.39
7.0.90.0100.00015.18
7.0.80.0080.00315.08
7.0.70.0070.00715.14
7.0.60.0000.02817.53
7.0.50.0050.03816.50
7.0.40.0080.03816.70
7.0.30.0180.02016.73
7.0.20.0170.04216.77
7.0.10.0040.03916.82
7.0.00.0100.03216.72
5.6.380.0000.01514.45
5.6.370.0070.00413.85
5.6.360.0040.00714.20
5.6.350.0080.00414.36
5.6.340.0070.00714.03
5.6.330.0090.00314.24
5.6.320.0040.00814.13
5.6.310.0130.00013.87
5.6.300.0030.00914.11
5.6.290.0030.00914.24
5.6.280.0030.02517.53
5.6.270.0100.00714.06
5.6.260.0000.00914.04
5.6.250.0100.00713.96
5.6.240.0060.01014.15
5.6.230.0000.01214.28
5.6.220.0070.00714.14
5.6.210.0090.03217.48
5.6.200.0070.02816.18
5.6.190.0060.02317.27
5.6.180.0080.05017.52
5.6.170.0150.04217.33
5.6.160.0040.02617.28
5.6.150.0030.04016.19
5.6.140.0040.02116.28
5.6.130.0090.04316.24
5.6.120.0100.02717.55
5.6.110.0030.03117.44
5.6.100.0030.04917.65
5.6.90.0040.02417.42
5.6.80.0110.03517.18
5.6.70.0040.00813.84
5.6.60.0000.01513.84
5.6.50.0130.00313.70
5.6.40.0070.00713.84
5.6.30.0040.01114.34
5.6.20.0000.01614.18
5.6.10.0130.00014.03
5.6.00.0040.00714.08
5.5.380.0030.00611.03
5.5.370.0060.00610.99
5.5.360.0000.00610.84
5.5.350.0120.03915.87
5.5.340.0070.04214.43
5.5.330.0050.04515.83
5.5.320.0250.02515.77
5.5.310.0210.03515.79
5.5.300.0090.04214.46
5.5.290.0020.03514.39
5.5.280.0030.04015.87
5.5.270.0070.02715.84
5.5.260.0130.03815.72
5.5.250.0020.04515.76
5.5.240.2150.02215.69
5.5.230.0000.01110.90
5.5.220.0040.00410.95
5.5.210.0000.00911.02
5.5.200.0030.00910.72
5.5.190.0110.00010.70
5.5.180.0070.00010.55
5.5.170.0030.01011.13
5.5.160.0000.00610.70
5.5.150.0040.00810.96
5.5.140.0030.00411.24
5.5.130.0030.00311.08
5.5.120.0050.00511.00
5.5.110.0030.00710.55
5.5.100.0060.00010.93
5.5.90.0030.01010.87
5.5.80.0040.00811.02
5.5.70.0000.00710.84
5.5.60.0000.01711.13
5.5.50.0060.00610.97
5.5.40.0030.01010.66
5.5.30.0030.00611.08
5.5.20.0000.01210.60
5.5.10.0070.00311.01
5.5.00.0030.00910.94

preferences:
44.3 ms | 400 KiB | 5 Q