3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "11325"; $secret= "52b0c70dc9244762b762d6554116d32f"; $userid = "12405620"; $time = gmdate("Y-m-d\TH:i:s"); $unixTime = @strtotime($time."Z"); $signature = hash('sha256', ($userid?$userid:"").$appId.$unixTime.$secret); echo "/auth/get-token?appId={$appId}".($userid?"&userid={$userid}":"")."&timestamp={$time}&signature={$signature}"; echo "\n\n"; $token = "12405620_11325_253402300799_1_b5decf74af0b2b2f2598739372bedf6c550d57d492d1e1cc2043269662168dc7"; echo "&token=" .$token ."&hash=" .hash('sha256', $token .$secret);

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.0040.01218.68
8.3.50.0110.00522.86
8.3.40.0070.00718.70
8.3.30.0060.00919.18
8.3.20.0000.00720.39
8.3.10.0080.00023.60
8.3.00.0080.00017.75
8.2.180.0100.00616.75
8.2.170.0120.00322.96
8.2.160.0040.01120.43
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00320.90
8.2.110.0090.00022.29
8.2.100.0060.00619.22
8.2.90.0040.00418.00
8.2.80.0080.00017.97
8.2.70.0000.00817.93
8.2.60.0040.00418.16
8.2.50.0050.00318.10
8.2.40.0000.00821.25
8.2.30.0040.00420.59
8.2.20.0040.00417.78
8.2.10.0040.00418.06
8.2.00.0020.00518.01
8.1.280.0070.00725.92
8.1.270.0080.00023.69
8.1.260.0000.00726.35
8.1.250.0030.00628.09
8.1.240.0030.00623.83
8.1.230.0110.00019.16
8.1.220.0000.00817.91
8.1.210.0000.00818.77
8.1.200.0110.00017.38
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0000.00918.96
8.1.160.0000.00718.96
8.1.150.0050.00318.94
8.1.140.0040.00417.57
8.1.130.0030.00317.94
8.1.120.0000.00817.64
8.1.110.0040.00417.54
8.1.100.0000.00817.66
8.1.90.0000.00717.70
8.1.80.0040.00417.66
8.1.70.0050.00317.54
8.1.60.0040.00417.64
8.1.50.0040.00417.64
8.1.40.0000.00917.65
8.1.30.0040.00417.60
8.1.20.0000.00717.80
8.1.10.0040.00417.65
8.1.00.0000.00817.68
8.0.300.0080.00019.79
8.0.290.0090.00016.88
8.0.280.0000.00718.46
8.0.270.0070.00017.27
8.0.260.0030.00317.24
8.0.250.0000.00817.22
8.0.240.0070.00317.16
8.0.230.0030.00317.11
8.0.220.0030.00317.06
8.0.210.0000.00717.03
8.0.200.0000.00617.04
8.0.190.0100.00017.16
8.0.180.0000.00717.15
8.0.170.0090.00017.09
8.0.160.0050.00317.14
8.0.150.0050.00317.12
8.0.140.0040.00417.04
8.0.130.0030.00313.37
8.0.120.0040.00417.16
8.0.110.0040.00417.04
8.0.100.0030.00316.89
8.0.90.0030.00516.96
8.0.80.0100.00717.11
8.0.70.0040.00416.92
8.0.60.0040.00416.91
8.0.50.0040.00416.97
8.0.30.0160.00817.30
8.0.20.0110.00917.40
8.0.10.0000.00817.11
8.0.00.0150.00217.00
7.4.330.0020.00215.06
7.4.320.0040.00416.72
7.4.300.0030.00316.72
7.4.290.0080.00016.71
7.4.280.0080.00016.77
7.4.270.0040.00416.63
7.4.260.0000.00716.59
7.4.250.0000.00716.55
7.4.240.0010.00616.65
7.4.230.0000.00816.43
7.4.220.0120.00616.60
7.4.210.0050.00816.75
7.4.200.0030.00316.82
7.4.160.0030.01316.42
7.4.150.0130.00917.40
7.4.140.0050.01217.86
7.4.130.0050.01216.68
7.4.120.0110.00716.75
7.4.110.0100.00716.50
7.4.100.0120.00916.70
7.4.90.0100.00716.77
7.4.80.0170.00719.39
7.4.70.0120.00916.73
7.4.60.0140.00516.81
7.4.50.0080.00016.44
7.4.40.0090.00916.74
7.4.30.0060.01016.63
7.4.00.0070.01015.35
7.3.330.0030.00313.28
7.3.320.0030.00313.17
7.3.310.0000.00716.60
7.3.300.0040.00416.46
7.3.290.0070.00716.58
7.3.280.0110.00416.46
7.3.270.0000.01817.40
7.3.260.0120.01516.68
7.3.250.0160.00716.63
7.3.240.0140.00316.61
7.3.230.0060.01016.86
7.3.210.0130.00316.74
7.3.200.0150.00919.39
7.3.190.0110.00716.69
7.3.180.0090.00616.54
7.3.170.0030.01316.73
7.3.160.0120.00916.73
7.3.10.0090.00316.88
7.3.00.0070.00716.61
7.2.330.0090.00916.81
7.2.320.0150.00916.63
7.2.310.0100.00616.92
7.2.300.0120.00616.98
7.2.290.0180.00616.80
7.2.130.0060.00917.12
7.2.120.0040.00417.20
7.2.110.0050.00817.09
7.2.100.0090.00016.89
7.2.90.0060.01017.23
7.2.80.0070.00316.98
7.2.70.0040.01116.98
7.2.60.0090.00817.08
7.2.50.0130.00017.20
7.2.40.0100.00316.87
7.2.30.0000.01417.29
7.2.20.0090.00617.23
7.2.10.0030.00817.05
7.2.00.0060.00618.47
7.1.250.0060.00615.91
7.1.200.0120.00316.05
7.1.100.0060.00818.18
7.1.70.0100.01017.38
7.1.60.0110.00719.40
7.1.50.0120.00916.88
7.1.00.0070.07022.54
7.0.200.0080.00316.63
7.0.140.0100.06321.99
7.0.60.0130.08021.75
7.0.50.0030.04317.85
7.0.40.0030.09320.00
7.0.30.0500.07320.00
7.0.20.0400.07020.00
7.0.10.0030.08319.99
7.0.00.0100.06320.04
5.6.280.0170.06021.12
5.6.210.0130.06720.61
5.6.200.0070.08318.22
5.6.190.0100.04320.56
5.6.180.3130.04020.41
5.6.170.0270.07020.52
5.6.160.0030.05720.51
5.6.150.0070.08018.21
5.6.140.0030.06318.22
5.6.130.0130.06718.11
5.6.120.0070.05321.02
5.6.110.0100.05721.00
5.6.100.0070.07021.08
5.6.90.0130.07321.09
5.6.80.0030.04320.42
5.5.350.4200.04320.44
5.5.340.0070.04317.89
5.5.330.0070.05320.23
5.5.320.0330.06720.27
5.5.310.0270.07320.26
5.5.300.0130.06317.96
5.5.290.0100.07718.00
5.5.280.0070.03720.77
5.5.270.0100.08320.74
5.5.260.0030.07020.95
5.5.250.0070.08020.66
5.5.240.0100.05320.07
5.4.450.0400.04325.16
5.4.440.0330.04725.16
5.4.430.0730.04325.16
5.4.420.0400.04725.16
5.4.410.0630.04325.16
5.4.400.0530.04025.16
5.4.390.0170.04325.16
5.4.380.0630.03325.16
5.4.370.0700.02725.16
5.4.360.0400.04325.16
5.4.350.0700.05325.16
5.4.340.0400.05325.16
5.4.320.0730.03725.16
5.4.310.0600.04025.16
5.4.300.0830.03725.16
5.4.290.0300.06025.16
5.4.280.0470.04725.16
5.4.270.0630.04325.16
5.4.260.0370.04725.16
5.4.250.0530.03725.16
5.4.240.0800.02725.16
5.4.230.0770.03725.16
5.4.220.0400.04325.16
5.4.210.0570.04025.16
5.4.200.0570.04325.16
5.4.190.0230.04325.16
5.4.180.0370.03325.16
5.4.170.0400.04325.16
5.4.160.0570.04325.16
5.4.150.0500.04325.16
5.4.140.0370.04025.16
5.4.130.0470.03725.16
5.4.120.0230.04025.16
5.4.110.0500.04025.16
5.4.100.0630.03325.16
5.4.90.0230.03725.16
5.4.80.0700.03325.16
5.4.70.0400.04325.16
5.4.60.0470.04325.16
5.4.50.0700.04025.16
5.4.40.0570.02725.16
5.4.30.0030.03325.16
5.4.20.0670.03725.16
5.4.10.0200.04325.16
5.4.00.0300.04325.16
5.3.290.0500.04725.16
5.3.280.0400.04025.16
5.3.270.0530.03325.16
5.3.260.0300.03725.16
5.3.250.0700.04725.16
5.3.240.0200.04725.16
5.3.230.0470.04325.16
5.3.220.0430.04025.16
5.3.210.0430.04325.16
5.3.200.0370.04725.16
5.3.190.0370.04025.16
5.3.180.0630.04025.16
5.3.170.0270.04025.16
5.3.160.0200.04025.16
5.3.150.0370.04725.16
5.3.140.0670.03325.16
5.3.130.0600.04325.16
5.3.120.0330.03325.16
5.3.110.0630.04025.16
5.3.100.0500.04325.16
5.3.90.0770.04025.16
5.3.80.0630.03725.16
5.3.70.0570.03025.16
5.3.60.0330.03725.16
5.3.50.0570.03325.16
5.3.40.0130.04325.16
5.3.30.0400.04025.16
5.3.20.0270.03725.16
5.3.10.0500.03725.16
5.3.00.0430.03324.36
5.2.170.0670.03325.16
5.2.160.0630.02725.16
5.2.150.0270.03025.16
5.2.140.0230.03725.16
5.2.130.0570.03325.16
5.2.120.0500.03025.16
5.2.110.0530.02725.16
5.2.100.0270.03321.87
5.2.90.0470.02721.87
5.2.80.0330.03321.87
5.2.70.0400.03021.87
5.2.60.0330.03721.87
5.2.50.0370.03321.87
5.2.40.0270.02321.87
5.2.30.0430.03021.87
5.2.20.0370.02021.87
5.2.10.0230.03021.87
5.2.00.0230.03021.87
5.1.60.0270.02321.87
5.1.50.0370.02321.86
5.1.40.0500.01721.86
5.1.30.0430.03721.86
5.1.20.0300.03021.86
5.1.10.0430.03021.86
5.1.00.0200.02721.86
5.0.50.0200.02021.86
5.0.40.0170.02021.86
5.0.30.0100.03021.86
5.0.20.0270.02021.86
5.0.10.0170.02021.86
5.0.00.0070.02721.86
4.4.90.0170.02721.87
4.4.80.0130.01721.87
4.4.70.0130.01321.87
4.4.60.0100.01321.87
4.4.50.0100.02021.87
4.4.40.0200.02021.86
4.4.30.0100.01321.86
4.4.20.0070.01321.86
4.4.10.0170.01321.86
4.4.00.0170.02721.86
4.3.110.0170.01721.86
4.3.100.0200.01721.86
4.3.90.0200.01721.86
4.3.80.0100.02321.86
4.3.70.0170.01721.86
4.3.60.0100.02321.86
4.3.50.0130.01721.86
4.3.40.0030.02721.86
4.3.30.0130.01721.86
4.3.20.0130.01321.86
4.3.10.0170.02021.86
4.3.00.0030.01321.86

preferences:
50.69 ms | 401 KiB | 5 Q