3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * var hash = System.Security.Cryptography.SHA256.Create(); * hash.ComputeHash(System.Text.Encoding.Unicode.GetBytes(secretKey + guid)); * aCookie.Values[""signatur""] = Convert.ToBase64String(hash.Hash); */ $guid = mb_convert_encoding('36a75830-be27-e111-a4dc-0050568b2fc3', 'UTF-8'); $secret = mb_convert_encoding('R3loadN3tcompanyIda', 'UTF-8'); $string = $secret . $guid; $hash = hash('sha256', $string, TRUE); $signature = base64_encode($hash); print $signature;

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.0130.00616.63
8.3.50.0130.00916.51
8.3.40.0040.01118.67
8.3.30.0070.00718.59
8.3.20.0000.00818.60
8.3.10.0030.00518.50
8.3.00.0050.00319.26
8.2.180.0070.00718.05
8.2.170.0110.00422.96
8.2.160.0070.01118.88
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0000.00819.66
8.2.110.0030.00720.38
8.2.100.0000.01117.78
8.2.90.0040.00418.03
8.2.80.0000.00817.97
8.2.70.0060.00317.61
8.2.60.0060.00317.80
8.2.50.0080.00018.07
8.2.40.0000.00819.23
8.2.30.0060.00317.68
8.2.20.0030.00917.74
8.2.10.0000.00717.66
8.2.00.0040.00817.60
8.1.280.0160.00325.92
8.1.270.0070.00023.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0200.00022.55
8.1.230.0040.00720.92
8.1.220.0000.00817.74
8.1.210.0000.00918.94
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0060.00318.10
8.1.170.0040.00418.64
8.1.160.0030.00519.07
8.1.150.0040.00418.63
8.1.140.0000.00817.44
8.1.130.0000.00719.23
8.1.120.0000.00817.49
8.1.110.0000.00717.36
8.1.100.0050.00317.45
8.1.90.0040.00417.47
8.1.80.0000.00717.49
8.1.70.0000.00717.44
8.1.60.0000.00817.58
8.1.50.0040.00417.42
8.1.40.0040.00417.54
8.1.30.0050.00517.67
8.1.20.0070.00317.64
8.1.10.0080.00017.55
8.1.00.0060.00317.46
8.0.300.0020.00520.09
8.0.290.0000.00816.75
8.0.280.0030.00318.57
8.0.270.0040.00417.22
8.0.260.0060.00316.76
8.0.250.0000.00816.94
8.0.240.0000.00817.03
8.0.230.0040.00417.04
8.0.220.0080.00016.92
8.0.210.0040.00416.88
8.0.200.0000.00616.91
8.0.190.0000.00717.05
8.0.180.0040.00416.98
8.0.170.0100.00016.88
8.0.160.0100.00016.95
8.0.150.0060.00316.93
8.0.140.0000.00816.83
8.0.130.0000.00613.31
8.0.120.0040.00416.85
8.0.110.0000.00716.74
8.0.100.0070.00016.98
8.0.90.0000.00716.80
8.0.80.0090.00616.96
8.0.70.0030.00517.07
8.0.60.0030.00616.98
8.0.50.0000.00716.95
8.0.30.0090.00617.08
8.0.20.0190.00916.92
8.0.10.0030.00516.83
8.0.00.0060.01216.72
7.4.330.0000.00512.90
7.4.320.0030.00316.61
7.4.300.0030.00316.52
7.4.290.0000.00716.41
7.4.280.0030.00316.48
7.4.270.0000.00816.58
7.4.260.0020.00413.22
7.4.250.0030.00616.57
7.4.240.0030.00316.49
7.4.230.0030.00316.48
7.4.220.0060.01216.48
7.4.210.0100.01016.65
7.4.200.0070.00016.34
7.4.190.0090.00016.31
7.4.160.0090.00616.46
7.4.150.0140.00316.48
7.4.140.0120.00617.86
7.4.130.0130.00716.58
7.4.120.0160.00716.51
7.4.110.0070.01616.49
7.4.100.0170.00016.47
7.4.90.0070.01016.48
7.4.80.0160.00319.39
7.4.70.0060.01016.59
7.4.60.0070.00916.44
7.4.50.0040.00416.30
7.4.40.0060.00616.45
7.4.30.0060.00916.53
7.4.10.0160.00314.86
7.4.00.0050.01314.85
7.3.330.0030.00313.21
7.3.320.0050.00013.04
7.3.310.0030.00316.24
7.3.300.0000.00716.22
7.3.290.0060.01016.29
7.3.280.0070.01316.28
7.3.270.0030.01316.61
7.3.260.0090.00916.34
7.3.240.0120.00416.47
7.3.230.0180.00716.41
7.3.210.0140.00416.35
7.3.200.0150.00616.29
7.3.190.0040.01216.38
7.3.180.0060.00916.24
7.3.170.0060.01216.57
7.3.160.0090.00616.67
7.3.130.0030.01414.88
7.3.120.0080.00614.78
7.3.110.0030.01414.63
7.3.100.0100.00414.85
7.3.90.0060.00714.83
7.3.80.0050.01014.61
7.3.70.0040.00814.86
7.3.60.0050.00714.74
7.3.50.0060.00814.64
7.3.40.0040.00914.79
7.3.30.0050.01114.73
7.3.20.0050.00716.60
7.3.10.0060.00816.50
7.3.00.0060.00816.66
7.2.330.0150.00316.54
7.2.320.0100.00716.71
7.2.310.0090.00916.39
7.2.300.0060.01116.71
7.2.290.0080.01416.70
7.2.260.0130.00015.09
7.2.250.0070.01015.08
7.2.240.0060.01114.93
7.2.230.0070.00814.95
7.2.220.0070.00615.29
7.2.210.0100.00515.20
7.2.200.0040.00915.01
7.2.190.0010.01214.89
7.2.180.0040.01015.15
7.2.170.0060.01015.00
7.2.160.0030.01114.81
7.2.150.0050.00916.85
7.2.140.0050.01017.11
7.2.130.0080.00717.00
7.2.120.0020.01316.97
7.2.110.0050.01016.61
7.2.100.0080.00616.88
7.2.90.0030.00717.07
7.2.80.0060.00616.86
7.2.70.0060.00516.94
7.2.60.0110.00316.98
7.2.50.0070.00816.91
7.2.40.0040.00616.90
7.2.30.0060.00816.88
7.2.20.0040.00916.89
7.2.10.0030.01216.85
7.2.00.0070.00817.63
7.1.330.0020.01115.96
7.1.320.0040.00915.90
7.1.310.0030.01015.93
7.1.300.0090.00515.67
7.1.290.0030.01315.86
7.1.280.0070.00815.85
7.1.270.0050.00615.80
7.1.260.0090.00515.81
7.1.250.0030.01015.94
7.1.240.0060.00615.79
7.1.230.0030.01215.82
7.1.220.0120.00315.73
7.1.210.0090.00615.96
7.1.200.0030.00915.89
7.1.190.0000.01215.87
7.1.180.0070.00715.96
7.1.170.0030.00715.61
7.1.160.0040.01015.78
7.1.150.0060.00315.74
7.1.140.0070.00715.89
7.1.130.0090.00615.75
7.1.120.0100.00315.94
7.1.110.0100.00015.89
7.1.100.0060.00817.09
7.1.90.0090.00615.70
7.1.80.0030.01015.95
7.1.70.0060.00316.51
7.1.60.0080.01217.50
7.1.50.0090.00816.53
7.1.40.0070.00315.90
7.1.30.0040.01115.95
7.1.20.0040.00415.89
7.1.10.0070.00315.86
7.1.00.0050.01919.08
7.0.330.0060.00615.25
7.0.320.0040.00815.34
7.0.310.0040.00815.50
7.0.300.0130.00315.47
7.0.290.0060.00615.41
7.0.280.0040.00915.43
7.0.270.0030.00915.64
7.0.260.0070.00715.43
7.0.250.0000.01415.50
7.0.240.0060.01015.37
7.0.230.0090.00615.51
7.0.220.0000.00915.38
7.0.210.0070.00715.40
7.0.200.0100.00415.00
7.0.190.0060.00315.43
7.0.180.0060.01015.47
7.0.170.0030.00915.54
7.0.160.0070.00415.36
7.0.150.0070.00415.38
7.0.140.0070.03718.72
7.0.130.0030.00615.49
7.0.120.0020.04418.86
7.0.110.0030.01015.66
7.0.100.0000.01015.43
7.0.90.0070.00715.29
7.0.80.0030.00715.23
7.0.70.0080.00815.51
7.0.60.0060.03618.51
7.0.50.0060.03516.68
7.0.40.0080.03516.79
7.0.30.0150.02516.71
7.0.20.0130.03516.78
7.0.10.0040.02416.80
7.0.00.0060.04516.86
5.6.400.0080.00614.37
5.6.390.0110.00314.34
5.6.380.0030.01014.25
5.6.370.0070.00414.37
5.6.360.0040.00814.42
5.6.350.0040.00814.52
5.6.340.0080.00014.42
5.6.330.0090.00314.17
5.6.320.0000.01214.29
5.6.310.0030.00614.36
5.6.300.0030.01014.49
5.6.290.0080.00614.48
5.6.280.0050.04717.69
5.6.270.0070.01014.41
5.6.260.0080.00614.20
5.6.250.0030.00914.21
5.6.240.0080.00314.55
5.6.230.0110.00314.44
5.6.220.0030.00914.23
5.6.210.0030.02417.38
5.6.200.0050.03716.16
5.6.190.0030.04217.38
5.6.180.0120.03217.58
5.6.170.0170.05017.23
5.6.160.0090.04317.46
5.6.150.0030.04016.35
5.6.140.0090.03816.13
5.6.130.0060.02316.21
5.6.120.0140.03917.72
5.6.110.0020.03617.66
5.6.100.0070.02317.60
5.6.90.0030.04417.56
5.6.80.0070.04717.31
5.6.70.0090.00314.39
5.6.60.0070.00314.09
5.6.50.0000.01414.41
5.6.40.0080.00413.91
5.6.30.0000.01414.18
5.6.20.0000.00914.17
5.6.10.0080.00614.31
5.6.00.0040.00714.26
5.5.380.0040.00814.49
5.5.370.0070.01114.51
5.5.360.0030.00613.98
5.5.350.0020.04217.51
5.5.340.0090.04216.02
5.5.330.0070.03417.39
5.5.320.0150.04117.44
5.5.310.0120.04717.18
5.5.300.0090.04216.04
5.5.290.0070.03016.06
5.5.280.0120.02517.68
5.5.270.0070.04717.59
5.5.260.0020.04217.30
5.5.250.0080.04517.34
5.5.240.0070.04417.10
5.5.230.0070.00714.54
5.5.220.0040.00714.01
5.5.210.0030.00914.23
5.5.200.0040.01114.11
5.5.190.0080.00813.89
5.5.180.0070.00714.33
5.5.170.0030.00714.44
5.5.160.0060.00614.40
5.5.150.0070.00314.07
5.5.140.0060.01014.27
5.5.130.0070.00714.07
5.5.120.0060.00614.21
5.5.110.0070.00714.38
5.5.100.0030.00814.29
5.5.90.0000.01314.33
5.5.80.0060.00614.27
5.5.70.0060.00314.23
5.5.60.0040.00713.83
5.5.50.0080.00414.17
5.5.40.0040.01214.33
5.5.30.0040.00414.06
5.5.20.0060.00914.38
5.5.10.0060.01014.45
5.5.00.0040.01214.40
5.4.450.0050.04015.46
5.4.440.0030.04515.60
5.4.430.0050.04715.64
5.4.420.0070.03215.55
5.4.410.0090.03915.45
5.4.400.0060.03515.49
5.4.390.0080.03715.45
5.4.380.0020.04415.43
5.4.370.0050.03115.29
5.4.360.0050.04315.35
5.4.350.0090.03615.36
5.4.340.0050.04415.29
5.4.330.0100.00311.79
5.4.320.0070.03915.35
5.4.310.0060.03015.46
5.4.300.0070.03015.48
5.4.290.0070.03815.35
5.4.280.0050.03915.39
5.4.270.0100.02815.48
5.4.260.0070.03715.41
5.4.250.0070.02915.44
5.4.240.0070.02515.46
5.4.230.0120.03115.48
5.4.220.0000.03215.35
5.4.210.0030.04315.39
5.4.200.0080.04015.47
5.4.190.0080.03015.45
5.4.180.0030.04015.47
5.4.170.0030.02615.39
5.4.160.0020.02415.46
5.4.150.0070.02515.42
5.4.140.0050.02614.08
5.4.130.0030.02614.01
5.4.120.0080.02314.02
5.4.110.0080.02314.04
5.4.100.0070.02714.02
5.4.90.0050.03414.03
5.4.80.0030.03714.09
5.4.70.0070.03014.01
5.4.60.0070.03214.00
5.4.50.0050.03814.01
5.4.40.0020.04514.08
5.4.30.0100.01814.08
5.4.20.0070.03414.08
5.4.10.0090.03614.09
5.4.00.0080.04013.87
5.3.290.0050.04213.27
5.3.280.0020.04313.16
5.3.270.0030.04113.16
5.3.260.0030.04213.21
5.3.250.0080.02313.16
5.3.240.0020.02213.17
5.3.230.0020.03713.15
5.3.220.0030.03513.14
5.3.210.0110.03513.18
5.3.200.0020.04113.12
5.3.190.0030.04313.14
5.3.180.0030.03413.14
5.3.170.0080.02313.14
5.3.160.0100.02013.16
5.3.150.0100.03513.16
5.3.140.0030.04413.15
5.3.130.0050.04013.14
5.3.120.0080.02513.11
5.3.110.0030.03313.12
5.3.100.0050.04512.89
5.3.90.0070.03212.86
5.3.80.0020.02312.81
5.3.70.0000.04312.91
5.3.60.0020.04312.79
5.3.50.0070.03812.77
5.3.40.0030.02312.78
5.3.30.0030.04012.83
5.3.20.0050.02812.72
5.3.10.0090.03712.69
5.3.00.0000.03612.69
5.2.170.0030.06311.01
5.2.160.0000.06311.04
5.2.150.0030.03311.09
5.2.140.0030.05011.04
5.2.130.0000.03011.03
5.2.120.0000.04310.98
5.2.110.0070.03011.09
5.2.100.0100.04011.00
5.2.90.0100.02011.09
5.2.80.0030.04710.92
5.2.70.0030.04311.06
5.2.60.0030.03711.02
5.2.50.0070.03710.88
5.2.40.0030.03310.98
5.2.30.0070.03710.93
5.2.20.0100.05710.89
5.2.10.0070.03310.84
5.2.00.0030.03010.60
5.1.60.0030.0239.94
5.1.50.0000.0539.97
5.1.40.0030.0509.82
5.1.30.0030.02710.34
5.1.20.0070.02310.40
5.1.10.0100.05310.04
5.1.00.0070.05310.03
5.0.50.0000.0378.61
5.0.40.0070.0438.34
5.0.30.0070.0608.34
5.0.20.0000.0478.34
5.0.10.0000.0378.34
5.0.00.0070.0608.34
4.4.90.0030.0278.34
4.4.80.0030.0278.34
4.4.70.0000.0338.34
4.4.60.0030.0338.34
4.4.50.0000.0378.34
4.4.40.0000.0278.34
4.4.30.0000.0378.34
4.4.20.0030.0308.34
4.4.10.0030.0378.34
4.4.00.0000.0608.34
4.3.110.0000.0308.34
4.3.100.0000.0408.34
4.3.90.0000.0338.34
4.3.80.0000.0308.34
4.3.70.0030.0308.34
4.3.60.0000.0278.34
4.3.50.0000.0238.34
4.3.40.0070.0238.34
4.3.30.0000.0378.34
4.3.20.0030.0338.34
4.3.10.0030.0338.34
4.3.00.0030.0178.34

preferences:
52.26 ms | 400 KiB | 5 Q