3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "16536"; $secret= "4ee6a4c96fd141999100f5d78b3b2dba"; $userid = null; $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 = "5642153_16536_253402300799_1_32c40c26408f0f65859d5dd2694e6958e51f7a2cb9fd0399688f21b4c607249f"; 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.40.0070.01118.69
8.3.30.0060.00919.27
8.3.20.0050.00220.30
8.3.10.0050.00223.48
8.3.00.0060.00319.51
8.2.170.0120.00622.96
8.2.160.0120.00620.35
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.09
8.2.110.0000.00922.31
8.2.100.0000.01119.57
8.2.90.0050.00319.21
8.2.80.0030.00617.97
8.2.70.0040.00417.75
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00618.16
8.2.30.0080.00018.05
8.2.20.0000.00817.81
8.2.10.0040.00418.26
8.2.00.0040.00418.00
8.1.270.0080.00023.80
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00323.86
8.1.230.0060.00619.16
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0090.00017.48
8.1.190.0000.00817.35
8.1.180.0000.00718.10
8.1.170.0040.00418.79
8.1.160.0070.00021.97
8.1.150.0030.00518.82
8.1.140.0030.00517.70
8.1.130.0030.00317.89
8.1.120.0000.00817.56
8.1.110.0000.00917.69
8.1.100.0070.00017.67
8.1.90.0000.00717.68
8.1.80.0050.00317.64
8.1.70.0030.00317.59
8.1.60.0000.00817.70
8.1.50.0000.00917.62
8.1.40.0000.00817.55
8.1.30.0000.00917.76
8.1.20.0000.00817.77
8.1.10.0060.00317.66
8.1.00.0000.00817.66
8.0.300.0000.00818.77
8.0.290.0030.00516.88
8.0.280.0080.00018.45
8.0.270.0000.00717.33
8.0.260.0030.00317.37
8.0.250.0070.00017.16
8.0.240.0030.00317.11
8.0.230.0040.00417.15
8.0.220.0070.00017.03
8.0.210.0030.00317.09
8.0.200.0070.00017.10
8.0.190.0090.00017.20
8.0.180.0020.00517.03
8.0.170.0000.00817.01
8.0.160.0000.00816.98
8.0.150.0030.00317.08
8.0.140.0070.00017.05
8.0.130.0070.00013.40
8.0.120.0000.00816.89
8.0.110.0030.00516.98
8.0.100.0050.00316.97
8.0.90.0030.00317.04
8.0.80.0120.00317.08
8.0.70.0030.00517.09
8.0.60.0060.00317.13
8.0.50.0070.00017.14
8.0.30.0080.01117.13
8.0.20.0120.00917.52
8.0.10.0040.00417.25
8.0.00.0110.00817.01
7.4.330.0000.00515.21
7.4.320.0030.00316.59
7.4.300.0020.00516.72
7.4.290.0070.00016.66
7.4.280.0000.00816.72
7.4.270.0030.00316.64
7.4.260.0070.00316.62
7.4.250.0000.00716.50
7.4.240.0020.00516.64
7.4.230.0000.00716.55
7.4.220.0130.00516.69
7.4.210.0090.00616.76
7.4.200.0040.00416.76
7.4.160.0090.00616.66
7.4.150.0090.01117.40
7.4.140.0130.00417.86
7.4.130.0070.01216.55
7.4.120.0130.00316.68
7.4.110.0100.00716.77
7.4.100.0100.00716.71
7.4.90.0140.00416.56
7.4.80.0140.00319.39
7.4.70.0160.01016.64
7.4.60.0110.00516.42
7.4.50.0050.00516.86
7.4.40.0030.01516.37
7.4.30.0100.00716.43
7.4.00.0060.00914.87
7.3.330.0030.00313.32
7.3.320.0050.00013.39
7.3.310.0000.00816.58
7.3.300.0070.00016.38
7.3.290.0100.00716.45
7.3.280.0120.00316.46
7.3.270.0140.01417.40
7.3.260.0130.00616.62
7.3.250.0140.00816.79
7.3.240.0140.00316.47
7.3.230.0060.01016.63
7.3.210.0100.00716.81
7.3.200.0080.00819.39
7.3.190.0090.00816.39
7.3.180.0080.01116.57
7.3.170.0120.00316.46
7.3.160.0070.01016.48
7.3.120.0090.00915.00
7.3.110.0060.01214.91
7.3.100.0030.01414.99
7.3.90.0030.01015.04
7.3.80.0070.01014.68
7.3.70.0000.01215.09
7.3.60.0160.00014.96
7.3.50.0040.01115.08
7.3.40.0030.01414.98
7.3.30.0110.00614.99
7.3.20.0030.01316.75
7.3.10.0090.00616.93
7.3.00.0070.00316.88
7.2.330.0090.00916.68
7.2.320.0170.00016.70
7.2.310.0060.01516.89
7.2.300.0030.01417.03
7.2.290.0080.00816.69
7.2.250.0090.00915.42
7.2.240.0120.00815.30
7.2.230.0120.00915.37
7.2.220.0030.00715.31
7.2.210.0070.00715.40
7.2.200.0070.00715.22
7.2.190.0030.00815.08
7.2.180.0000.01015.29
7.2.170.0090.00915.33
7.2.60.0090.00916.81
7.2.00.0150.00719.43
7.1.330.0070.00716.09
7.1.320.0070.00316.09
7.1.310.0050.00516.04
7.1.300.0100.00616.05
7.1.290.0090.00615.77
7.1.280.0050.00515.85
7.1.270.0090.00316.01
7.1.260.0070.00415.90
7.1.200.0060.00615.80
7.1.100.0030.00918.24
7.1.70.0000.01017.35
7.1.60.0030.00917.47
7.1.50.0130.01017.10
7.1.00.0070.07322.36
7.0.200.0060.01217.01
7.0.140.0000.08022.15
7.0.100.0170.03319.97
7.0.90.0030.05019.98
7.0.80.0130.07019.89
7.0.70.0200.03719.91
7.0.60.0270.08319.96
7.0.50.0070.08320.43
7.0.40.0030.04320.09
7.0.30.0070.07020.10
7.0.20.0030.07720.07
7.0.10.0230.06320.04
7.0.00.0070.07020.10
5.6.280.0070.07020.91
5.6.250.0030.05720.82
5.6.240.0100.05320.51
5.6.230.0070.07320.59
5.6.220.0130.08020.64
5.6.210.0130.04020.60
5.6.200.0100.07720.96
5.6.190.0100.08321.18
5.6.180.0030.04721.03
5.6.170.0170.04321.02
5.6.160.0100.08021.05
5.6.150.0100.08021.06
5.6.140.0030.05321.00
5.6.130.0170.06721.04
5.6.120.0070.06721.02
5.6.110.0030.08721.02
5.6.100.0130.04020.91
5.6.90.0130.07021.05
5.6.80.0070.04020.44
5.6.70.0030.05020.34
5.6.60.0030.08320.39
5.6.50.0100.04320.55
5.6.40.0170.07020.34
5.6.30.0070.08720.38
5.6.20.0130.04020.43
5.6.10.0000.09320.37
5.6.00.0070.07320.27
5.5.380.0030.04320.33
5.5.370.0100.08020.57
5.5.360.0070.07720.53
5.5.350.0000.07020.48
5.5.340.0000.05020.64
5.5.330.0070.05020.84
5.5.320.0100.07720.92
5.5.310.0000.07020.64
5.5.300.0100.07720.82
5.5.290.0100.04720.73
5.5.280.0070.07320.90
5.5.270.0100.07720.77
5.5.260.0270.06320.85
5.5.250.0070.08020.60
5.5.240.0070.07320.24
5.5.230.0030.08320.29
5.5.220.0030.08720.13
5.5.210.0170.07320.24
5.5.200.0030.05320.19
5.5.190.0070.06020.24
5.5.180.0200.06720.11
5.5.160.0030.09020.27
5.5.150.0100.06320.23
5.5.140.0070.04720.17
5.5.130.0100.07320.24
5.5.120.0070.04320.22
5.5.110.0070.08020.25
5.5.100.0070.07720.10
5.5.90.0070.07720.07
5.5.80.0130.07020.09
5.5.70.0230.06020.04
5.5.60.0130.07020.15
5.5.50.0030.07319.93
5.5.40.0100.05020.14
5.5.30.0070.07020.13
5.5.20.0100.05020.02
5.5.10.0100.06020.12
5.5.00.0100.06319.94
5.4.450.0170.07019.47
5.4.440.0130.07019.30
5.4.430.0170.06719.55
5.4.420.0130.06019.44
5.4.410.0100.05019.32
5.4.400.0070.07319.15
5.4.390.0070.07319.04
5.4.380.0200.03318.98
5.4.370.0070.04319.12
5.4.360.0100.06019.12
5.4.350.0070.03719.23
5.4.340.0200.04318.80
5.4.320.0100.07718.94
5.4.310.0130.07019.01
5.4.300.0030.07318.97
5.4.290.0130.06318.91
5.4.280.0030.07719.05
5.4.270.0070.06319.12
5.4.260.0030.07719.09
5.4.250.0170.06318.89
5.4.240.0100.06718.89
5.4.230.0070.06318.96
5.4.220.0230.06719.04
5.4.210.0030.04319.04
5.4.200.0070.07319.11
5.4.190.0000.06018.95
5.4.180.0070.07718.93
5.4.170.0170.03719.04
5.4.160.0030.07018.89
5.4.150.0100.07018.79
5.4.140.0170.04316.30
5.4.130.0100.06016.34
5.4.120.0000.06716.43
5.4.110.0130.06016.50
5.4.100.0100.07316.39
5.4.90.0070.07316.41
5.4.80.0030.05316.27
5.4.70.0100.06016.44
5.4.60.0030.07316.36
5.4.50.0170.05316.41
5.4.40.0070.05016.45
5.4.30.0100.06016.33
5.4.20.0030.04316.22
5.4.10.0070.03716.23
5.4.00.0100.07015.51
5.3.290.0070.04314.64
5.3.280.0030.08314.55
5.3.270.0030.07714.61
5.3.260.0070.07314.46
5.3.250.0030.04314.47
5.3.240.0130.06714.59
5.3.230.0100.06314.46
5.3.220.0200.05714.43
5.3.210.0030.08314.40
5.3.200.0030.07314.47
5.3.190.0130.07014.45
5.3.180.0130.07014.56
5.3.170.0100.07014.43
5.3.160.0030.04314.42
5.3.150.0100.07314.38
5.3.140.0100.05314.54
5.3.130.0100.05714.51
5.3.120.0070.07314.55
5.3.110.0030.06714.51
5.3.100.0100.05713.89
5.3.90.0100.05313.93
5.3.80.0030.04013.99
5.3.70.0000.08313.92
5.3.60.0070.06313.97
5.3.50.0100.03713.70
5.3.40.0000.04313.95
5.3.30.0070.05013.68
5.3.20.0100.03013.66
5.3.10.0070.05013.64
5.3.00.0000.04313.64
5.2.170.0070.05712.30
5.2.160.0030.04712.30
5.2.150.0030.06312.30
5.2.140.0030.03012.30
5.2.130.0100.06012.30
5.2.120.0070.03012.30
5.2.110.0030.04712.30
5.2.100.0100.05312.30
5.2.90.0000.07012.30
5.2.80.0100.04012.30
5.2.70.0130.05312.30
5.2.60.0100.04012.30
5.2.50.0100.04712.30
5.2.40.0070.06012.30
5.2.30.0170.03312.30
5.2.20.0070.06012.30
5.2.10.0030.04712.30
5.2.00.0100.05012.30
5.1.60.0100.04312.30
5.1.50.0030.03712.30
5.1.40.0030.05312.30
5.1.30.0000.05712.30
5.1.20.0030.05012.30
5.1.10.0100.03012.30
5.1.00.0030.03012.30
5.0.50.0070.04012.30
5.0.40.0100.01712.30
5.0.30.0030.04312.30
5.0.20.0030.02012.30
5.0.10.0030.03712.30
5.0.00.0000.06012.30
4.4.90.0030.02712.30
4.4.80.0000.03312.30
4.4.70.0000.02312.30
4.4.60.0000.03712.30
4.4.50.0000.03312.30
4.4.40.0070.04712.30
4.4.30.0030.02312.30
4.4.20.0030.01712.30
4.4.10.0030.01712.30
4.4.00.0000.03012.30
4.3.110.0070.02712.30
4.3.100.0030.02312.30
4.3.90.0030.01312.30
4.3.80.0070.04012.30
4.3.70.0000.03312.30
4.3.60.0030.02712.30
4.3.50.0000.02012.30
4.3.40.0000.02712.30
4.3.30.0030.03712.30
4.3.20.0030.03012.30
4.3.10.0000.03712.30
4.3.00.0030.02712.30

preferences:
41.67 ms | 400 KiB | 5 Q