3v4l.org

run code in 300+ PHP versions simultaneously
<?php $merchant = 'VB-USA'; $secretKey = '6c5e27ca-fe94-4e2d-a940-ac7ba4fedd49'; echo base64_encode( hash_hmac( 'sha512', $merchant . \json_encode(['order_id' => 1000001067]) . $merchant, $secretKey ) );

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.0110.00316.88
8.3.50.0110.01116.68
8.3.40.0090.01218.73
8.3.30.0150.00018.68
8.3.20.0040.00420.12
8.3.10.0080.00321.85
8.3.00.0000.00920.35
8.2.180.0120.00618.16
8.2.170.0120.00622.96
8.2.160.0140.00320.45
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0000.00819.39
8.2.120.0030.00626.35
8.2.110.0000.01120.87
8.2.100.0040.00818.03
8.2.90.0080.00019.05
8.2.80.0050.00317.97
8.2.70.0000.01017.50
8.2.60.0080.00018.04
8.2.50.0000.00818.10
8.2.40.0080.00022.28
8.2.30.0000.00821.05
8.2.20.0050.00218.16
8.2.10.0040.00418.16
8.2.00.0000.00718.00
8.1.280.0070.00725.92
8.1.270.0090.00024.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0090.00317.45
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0090.00017.35
8.1.190.0030.00717.11
8.1.180.0040.00418.10
8.1.170.0050.00318.66
8.1.160.0000.00719.05
8.1.150.0040.00420.61
8.1.140.0050.00319.43
8.1.130.0000.00718.79
8.1.120.0000.00817.46
8.1.110.0000.00917.39
8.1.100.0000.00917.49
8.1.90.0030.00517.44
8.1.80.0050.00317.43
8.1.70.0020.00517.34
8.1.60.0050.00317.54
8.1.50.0030.00917.49
8.1.40.0040.00417.52
8.1.30.0080.00017.72
8.1.20.0000.00717.62
8.1.10.0060.00317.47
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0060.00316.73
8.0.280.0000.00718.45
8.0.270.0000.00717.26
8.0.260.0000.00716.73
8.0.250.0030.00316.93
8.0.240.0050.00516.80
8.0.230.0000.00716.93
8.0.220.0070.00016.86
8.0.210.0000.00716.91
8.0.200.0060.00016.91
8.0.190.0000.00816.99
8.0.180.0000.00816.91
8.0.170.0050.00516.97
8.0.160.0050.00316.91
8.0.150.0020.00516.81
8.0.140.0040.00416.76
8.0.130.0060.00013.41
8.0.120.0030.00516.82
8.0.110.0030.00316.76
8.0.100.0070.00016.74
8.0.90.0070.00016.88
8.0.80.0100.01016.88
8.0.70.0000.00816.77
8.0.60.0020.00516.72
8.0.50.0000.00716.77
8.0.30.0070.01017.17
8.0.20.0110.00717.41
8.0.10.0040.00416.77
8.0.00.0160.00716.82
7.4.330.0020.00215.55
7.4.320.0060.00016.43
7.4.300.0000.00616.57
7.4.290.0070.00016.50
7.4.280.0000.00716.48
7.4.270.0030.00316.54
7.4.260.0030.00316.61
7.4.250.0000.00816.46
7.4.240.0060.00316.46
7.4.230.0070.00016.61
7.4.220.0140.00616.41
7.4.210.0080.01116.38
7.4.200.0000.00716.63
7.4.160.0060.00916.40
7.4.150.0060.01517.40
7.4.140.0060.01417.86
7.4.130.0150.00316.59
7.4.120.0100.00916.40
7.4.110.0130.00316.40
7.4.100.0100.00716.50
7.4.90.0060.01516.45
7.4.80.0080.01119.39
7.4.70.0060.00916.43
7.4.60.0100.01016.36
7.4.50.0100.00316.46
7.4.40.0090.01316.34
7.4.30.0060.00916.53
7.4.00.0120.00315.14
7.3.330.0050.00012.96
7.3.320.0070.00013.20
7.3.310.0000.00716.21
7.3.300.0000.00616.18
7.3.290.0070.00016.16
7.3.280.0060.00916.19
7.3.270.0140.00417.40
7.3.260.0080.01016.41
7.3.250.0110.00716.39
7.3.240.0130.00616.24
7.3.230.0040.01216.44
7.3.210.0120.00616.46
7.3.200.0050.01016.31
7.3.190.0100.01016.22
7.3.180.0090.01316.32
7.3.170.0070.01016.15
7.3.160.0130.00916.59
7.3.10.0060.00616.53
7.3.00.0040.00816.16
7.2.330.0120.00616.70
7.2.320.0130.00916.67
7.2.310.0100.00716.32
7.2.300.0190.00316.74
7.2.290.0120.00916.41
7.2.130.0090.00916.42
7.2.120.0140.00816.63
7.2.110.0160.00016.61
7.2.100.0080.01216.39
7.2.90.0070.01016.41
7.2.80.0160.00016.37
7.2.70.0070.01016.43
7.2.60.0040.01116.77
7.2.50.0130.00816.67
7.2.40.0050.01016.55
7.2.30.0130.00616.79
7.2.20.0000.01716.33
7.2.10.0060.00916.71
7.2.00.0070.01316.86
7.1.250.0040.01415.58
7.1.200.0000.01215.82
7.1.70.0040.00417.18
7.1.60.0040.00716.90
7.1.50.0070.00716.95
7.1.40.0090.00316.52
7.1.30.0100.00016.84
7.1.20.0000.01216.58
7.1.10.0030.00516.80
7.1.00.0000.00916.73
7.0.200.0040.00816.53
7.0.190.0030.00716.57
7.0.180.0000.00816.16
7.0.170.0030.00916.32
7.0.160.0000.00716.08
7.0.150.0060.00316.34
7.0.140.0000.00716.40
7.0.130.0040.00716.47
7.0.120.0000.01116.57
7.0.110.0050.00516.54
7.0.100.0030.00616.17
7.0.90.0030.00816.15
7.0.80.0090.00916.32
7.0.70.0030.00516.25
7.0.60.0050.00316.14
7.0.50.0000.00716.38
7.0.40.0000.01014.77
7.0.30.0030.01114.77
7.0.20.0050.00314.77
7.0.10.0040.01214.77
7.0.00.0000.00814.77

preferences:
48.48 ms | 400 KiB | 5 Q