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 = "0_16961_1409345448_2_3f967b8531d8d651a2a2a79136329aeba76dce85e29b8d943c6d2643f5ae5322"; 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.0070.00716.88
8.3.50.0130.01023.04
8.3.40.0150.00318.75
8.3.30.0070.00719.14
8.3.20.0090.00620.16
8.3.10.0000.00823.61
8.3.00.0000.01617.38
8.2.180.0120.00616.50
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0070.00021.13
8.2.110.0060.00322.26
8.2.100.0090.00318.03
8.2.90.0040.00419.20
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0000.00818.04
8.2.50.0060.00318.07
8.2.40.0030.00518.22
8.2.30.0070.00018.05
8.2.20.0040.00417.99
8.2.10.0040.00418.07
8.2.00.0000.00717.93
8.1.280.0040.01125.92
8.1.270.0000.00823.82
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0100.00023.84
8.1.230.0090.00319.05
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00417.48
8.1.190.0080.00017.48
8.1.180.0040.00419.13
8.1.170.0090.00318.81
8.1.160.0000.00721.89
8.1.150.0040.00418.89
8.1.140.0000.00717.67
8.1.130.0030.00317.83
8.1.120.0040.00417.60
8.1.110.0030.00517.66
8.1.100.0000.00717.54
8.1.90.0070.00017.64
8.1.80.0040.00417.54
8.1.70.0030.00317.66
8.1.60.0040.00417.71
8.1.50.0040.00417.66
8.1.40.0040.00417.51
8.1.30.0030.00617.76
8.1.20.0000.00817.82
8.1.10.0060.00317.52
8.1.00.0000.00817.52
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0000.00718.42
8.0.270.0020.00517.39
8.0.260.0030.00317.27
8.0.250.0030.00317.14
8.0.240.0040.00417.09
8.0.230.0040.00417.11
8.0.220.0000.00717.08
8.0.210.0060.00317.04
8.0.200.0060.00017.11
8.0.190.0040.00417.14
8.0.180.0040.00417.02
8.0.170.0030.00616.98
8.0.160.0030.00317.17
8.0.150.0040.00417.08
8.0.140.0020.00516.98
8.0.130.0000.00913.48
8.0.120.0000.00816.93
8.0.110.0000.00817.10
8.0.100.0000.00817.13
8.0.90.0040.00416.97
8.0.80.0000.01717.04
8.0.70.0000.00716.95
8.0.60.0000.00717.16
8.0.50.0000.00717.04
8.0.30.0120.01217.26
8.0.20.0180.01917.40
8.0.10.0000.00817.09
8.0.00.0100.00716.93
7.4.330.0050.00015.06
7.4.320.0030.00316.73
7.4.300.0030.00316.76
7.4.290.0070.00316.53
7.4.280.0000.00816.61
7.4.270.0060.00316.75
7.4.260.0000.00716.63
7.4.250.0000.00716.64
7.4.240.0040.00316.76
7.4.230.0080.00016.74
7.4.220.0130.01316.85
7.4.210.0090.00616.66
7.4.200.0000.00716.79
7.4.160.0060.00916.59
7.4.150.0110.00817.40
7.4.140.0130.00617.86
7.4.130.0100.00816.62
7.4.120.0110.00616.68
7.4.110.0070.01016.64
7.4.100.0110.01116.67
7.4.90.0100.01016.59
7.4.80.0060.01219.39
7.4.70.0130.01016.63
7.4.60.0070.01016.65
7.4.50.0030.00316.66
7.4.40.0060.01116.60
7.4.30.0070.01016.55
7.4.00.0100.00715.19
7.3.330.0030.00313.39
7.3.320.0000.00513.34
7.3.310.0040.00416.40
7.3.300.0030.00316.36
7.3.290.0090.00616.44
7.3.280.0130.00516.49
7.3.270.0130.00317.40
7.3.260.0150.00916.64
7.3.250.0080.00916.57
7.3.240.0030.01816.49
7.3.230.0070.01016.72
7.3.210.0100.00616.69
7.3.200.0100.01319.39
7.3.190.0040.01916.42
7.3.180.0060.00916.75
7.3.170.0060.01516.75
7.3.160.0060.01016.52
7.3.120.0070.01215.08
7.3.110.0100.00615.12
7.3.100.0070.01015.11
7.3.90.0030.01114.92
7.3.80.0030.00914.99
7.3.70.0050.00914.93
7.3.60.0050.00615.15
7.3.50.0040.00814.90
7.3.40.0030.00615.09
7.3.30.0040.01114.75
7.3.20.0060.00916.79
7.3.10.0090.00816.66
7.3.00.0060.01016.85
7.2.330.0110.01416.64
7.2.320.0070.01616.69
7.2.310.0130.00316.67
7.2.300.0070.01016.72
7.2.290.0110.00616.95
7.2.250.0080.01115.35
7.2.240.0080.01015.23
7.2.230.0060.01215.40
7.2.220.0030.00815.25
7.2.210.0050.00915.50
7.2.200.0080.00515.17
7.2.190.0070.00715.36
7.2.180.0050.00715.25
7.2.170.0060.00715.27
7.2.60.0070.01016.90
7.2.00.0030.00919.65
7.1.330.0100.00515.89
7.1.320.0080.00316.07
7.1.310.0030.00815.88
7.1.300.0060.00715.81
7.1.290.0060.00715.92
7.1.280.0040.00915.82
7.1.270.0060.00615.76
7.1.260.0030.01115.74
7.1.200.0070.00716.05
7.1.70.0000.00817.41
7.1.60.0040.00717.23
7.1.50.0090.01616.89
7.1.00.0000.07722.39
7.0.200.0060.00916.97
7.0.140.0070.07021.92
7.0.60.0100.08319.86
7.0.50.0070.07317.85
7.0.40.0100.08320.00
7.0.30.0270.06320.34
7.0.20.0170.04020.16
7.0.10.0070.05020.13
7.0.00.0000.05020.30
5.6.280.0070.07020.86
5.6.210.0100.05320.50
5.6.200.0100.06318.11
5.6.190.0070.05720.68
5.6.180.0230.04720.40
5.6.170.0230.05720.42
5.6.160.0130.08320.51
5.6.150.0100.07718.13
5.6.140.0130.07318.22
5.6.130.0070.03718.17
5.6.120.0070.07320.89
5.6.110.0130.07720.95
5.6.100.0100.08020.99
5.6.90.0000.10021.07
5.6.80.0000.09020.28
5.5.350.0270.05720.38
5.5.340.0030.04718.03
5.5.330.0100.03720.19
5.5.320.0330.08020.18
5.5.310.0370.06020.32
5.5.300.0070.07017.84
5.5.290.0030.07017.91
5.5.280.0030.09320.68
5.5.270.0000.07720.76
5.5.260.0070.06320.88
5.5.250.0170.07320.55
5.5.240.0200.06020.13
5.4.450.0200.05019.46
5.4.440.0400.04319.55
5.4.430.0300.04319.54
5.4.420.0200.04019.25
5.4.410.0200.04718.97
5.4.400.0330.04018.93
5.4.390.0170.04718.98
5.4.380.0270.06018.50
5.4.370.0430.06018.46
5.4.360.0430.04318.66
5.4.350.0230.05718.63
5.4.340.0300.05018.83
5.4.320.0080.03312.46
5.4.310.0080.03512.45
5.4.300.0050.03712.46
5.4.290.0060.04612.45
5.4.280.0070.03212.35
5.4.270.0030.03712.35
5.4.260.0080.03812.35
5.4.250.0060.04012.35
5.4.240.0060.04112.35
5.4.230.0050.04012.34
5.4.220.0090.04212.34
5.4.210.0060.03512.34
5.4.200.0080.03512.34
5.4.190.0060.03412.34
5.4.180.0050.03612.34
5.4.170.0100.03112.35
5.4.160.0050.03512.35
5.4.150.0040.04312.34
5.4.140.0070.03612.03
5.4.130.0040.03512.01
5.4.120.0060.03411.98
5.4.110.0070.03911.96
5.4.100.0070.03811.97
5.4.90.0050.03611.96
5.4.80.0080.03411.97
5.4.70.0070.03311.96
5.4.60.0060.03511.96
5.4.50.0070.03411.96
5.4.40.0040.03611.95
5.4.30.0090.03211.95
5.4.20.0070.03411.95
5.4.10.0080.03211.95
5.4.00.0060.03611.44
5.3.290.0090.03912.80
5.3.280.0040.03912.70
5.3.270.0030.04112.72
5.3.260.0070.03612.72
5.3.250.0050.03712.72
5.3.240.0070.03512.71
5.3.230.0040.03912.71
5.3.220.0040.03912.68
5.3.210.0050.04012.68
5.3.200.0060.03612.68
5.3.190.0070.03612.68
5.3.180.0060.03512.67
5.3.170.0070.03512.67
5.3.160.0050.03612.67
5.3.150.0050.03812.67
5.3.140.0060.03712.66
5.3.130.0100.03512.66
5.3.120.0050.04412.66
5.3.110.0060.03912.66
5.3.100.0070.03612.12
5.3.90.0060.03612.08
5.3.80.0040.03812.08
5.3.70.0030.04012.08
5.3.60.0080.03312.07
5.3.50.0050.03812.00
5.3.40.0060.04512.00
5.3.30.0050.04311.95
5.3.20.0060.03811.73
5.3.10.0070.03811.69
5.3.00.0070.04511.68
5.2.170.0050.0399.18
5.2.160.0010.0329.19
5.2.150.0040.0309.19
5.2.140.0030.0319.18
5.2.130.0030.0309.14
5.2.120.0040.0289.14
5.2.110.0050.0289.15
5.2.100.0050.0279.14
5.2.90.0070.0359.14
5.2.80.0050.0339.14
5.2.70.0050.0299.14
5.2.60.0070.0279.09
5.2.50.0040.0309.06
5.2.40.0050.0279.04
5.2.30.0050.0289.02
5.2.20.0030.0309.02
5.2.10.0050.0288.95
5.2.00.0030.0308.80
5.1.60.0050.0238.09
5.1.50.0040.0248.08
5.1.40.0050.0238.07
5.1.30.0050.0298.42
5.1.20.0070.0368.44
5.1.10.0070.0328.17
5.1.00.0030.0388.17
5.0.50.0050.0276.66
5.0.40.0070.0246.52
5.0.30.0050.0286.33
5.0.20.0020.0216.30
5.0.10.0030.0206.29
5.0.00.0020.0326.28
4.4.90.0020.0164.78
4.4.80.0040.0134.75
4.4.70.0010.0174.76
4.4.60.0040.0134.76
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0030.0144.76
4.4.20.0000.0184.84
4.4.10.0030.0144.85
4.4.00.0040.0234.76
4.3.110.0030.0154.67
4.3.100.0020.0154.66
4.3.90.0040.0134.64
4.3.80.0030.0234.58
4.3.70.0020.0154.63
4.3.60.0010.0164.63
4.3.50.0040.0144.63
4.3.40.0020.0274.54
4.3.30.0030.0203.33
4.3.20.0010.0173.30
4.3.10.0020.0153.27
4.3.00.0030.01715.97

preferences:
50.78 ms | 401 KiB | 5 Q