3v4l.org

run code in 300+ PHP versions simultaneously
<?php $merchant = 'VB-USA'; $secretKey = '6c5e27ca-fe94-4e2d-a940-ac7ba4fedd49'; $data = \json_encode(['order_id' => 1000001067]); echo base64_encode( hash_hmac('sha512', $merchant . $data . $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.0060.01616.50
8.3.50.0150.00016.19
8.3.40.0090.00618.70
8.3.30.0100.01018.73
8.3.20.0040.00420.27
8.3.10.0030.01021.86
8.3.00.0000.00722.09
8.2.180.0000.01418.54
8.2.170.0120.00322.96
8.2.160.0130.00319.04
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00521.12
8.2.120.0050.00326.35
8.2.110.0000.01121.03
8.2.100.0050.00517.98
8.2.90.0080.00019.22
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0050.00317.80
8.2.50.0030.00518.10
8.2.40.0000.00922.11
8.2.30.0030.00620.93
8.2.20.0040.00417.94
8.2.10.0070.00018.12
8.2.00.0070.00018.17
8.1.280.0060.01325.92
8.1.270.0040.00423.92
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.96
8.1.230.0000.01218.98
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0030.00518.43
8.1.160.0080.00018.93
8.1.150.0060.00320.73
8.1.140.0000.00719.51
8.1.130.0070.00018.86
8.1.120.0000.00717.47
8.1.110.0030.00517.45
8.1.100.0040.00417.34
8.1.90.0070.00017.40
8.1.80.0040.00417.47
8.1.70.0030.00317.47
8.1.60.0040.00417.54
8.1.50.0000.00817.52
8.1.40.0000.00717.40
8.1.30.0000.00917.56
8.1.20.0040.00417.63
8.1.10.0040.00417.50
8.1.00.0000.00717.39
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0030.00318.44
8.0.270.0080.00017.30
8.0.260.0030.00316.82
8.0.250.0070.00016.96
8.0.240.0030.00316.89
8.0.230.0070.00016.97
8.0.220.0050.00216.92
8.0.210.0030.00316.96
8.0.200.0030.00516.98
8.0.190.0090.00016.94
8.0.180.0030.00516.80
8.0.170.0030.00416.98
8.0.160.0000.00917.01
8.0.150.0030.00316.86
8.0.140.0050.00316.79
8.0.130.0030.00313.32
8.0.120.0040.00416.77
8.0.110.0040.00416.95
8.0.100.0000.00816.91
8.0.90.0070.00016.84
8.0.80.0040.01416.88
8.0.70.0000.00716.74
8.0.60.0000.00816.80
8.0.50.0040.00416.88
8.0.30.0050.01217.02
8.0.20.0100.00817.40
8.0.10.0040.00416.84
8.0.00.0100.00716.90
7.4.330.0000.00715.55
7.4.320.0000.00716.61
7.4.300.0000.00616.49
7.4.290.0030.00316.52
7.4.280.0040.00416.45
7.4.270.0070.00016.61
7.4.260.0030.00316.40
7.4.250.0030.00316.45
7.4.240.0040.00416.52
7.4.230.0030.00316.55
7.4.220.0130.00616.54
7.4.210.0070.00716.48
7.4.200.0000.00716.48
7.4.160.0110.00816.48
7.4.150.0110.00617.40
7.4.140.0110.00817.86
7.4.130.0170.00416.50
7.4.120.0090.01116.50
7.4.110.0130.00316.58
7.4.100.0110.00616.39
7.4.90.0080.01016.45
7.4.80.0090.00919.39
7.4.70.0060.01016.61
7.4.60.0060.00916.36
7.4.50.0070.01016.49
7.4.40.0040.01116.44
7.4.30.0090.00616.34
7.4.00.0070.01214.91
7.3.330.0000.00513.19
7.3.320.0050.00013.05
7.3.310.0030.00316.14
7.3.300.0070.00016.22
7.3.290.0090.00616.23
7.3.280.0090.00916.21
7.3.270.0070.01017.40
7.3.260.0090.01316.51
7.3.250.0080.01016.37
7.3.240.0080.00916.43
7.3.230.0050.01416.59
7.3.210.0090.00916.32
7.3.200.0030.01616.30
7.3.190.0090.00916.34
7.3.180.0080.00816.52
7.3.170.0170.00316.52
7.3.160.0130.00316.43
7.3.120.0040.01114.64
7.3.110.0130.00314.64
7.3.100.0070.01014.70
7.3.90.0030.00614.86
7.3.80.0030.01014.87
7.3.70.0040.00414.63
7.3.60.0120.00014.83
7.3.50.0040.00814.41
7.3.40.0060.00314.80
7.3.30.0110.00414.86
7.3.20.0090.00316.64
7.3.10.0070.00716.63
7.3.00.0030.01416.34
7.2.330.0130.00616.85
7.2.320.0090.00916.47
7.2.310.0120.00916.52
7.2.300.0030.01216.43
7.2.290.0100.00716.58
7.2.250.0030.00915.00
7.2.240.0000.01915.28
7.2.230.0070.00415.08
7.2.220.0100.00015.20
7.2.210.0040.01115.18
7.2.200.0060.00314.85
7.2.190.0080.00415.13
7.2.180.0090.00615.18
7.2.170.0070.00715.05
7.2.60.0040.01116.91
7.2.00.0030.01219.10
7.1.330.0000.01515.89
7.1.320.0060.00915.84
7.1.310.0090.00315.39
7.1.300.0060.00315.51
7.1.290.0030.00915.72
7.1.280.0000.01315.77
7.1.270.0070.00415.90
7.1.260.0080.00415.73
7.1.200.0040.01115.77
7.1.100.0040.00717.87
7.1.70.0030.01417.10
7.1.60.0190.02035.08
7.1.50.0260.01434.90
7.1.40.0190.02234.58
7.1.30.0240.01734.44
7.1.20.0160.01634.57
7.1.10.0030.01616.58
7.1.00.0320.00714.85
7.0.200.0110.00916.70
7.0.190.0120.00616.75
7.0.180.0080.01316.14
7.0.170.0060.01416.15
7.0.160.0080.01216.24
7.0.150.0080.00616.17
7.0.140.0100.00716.23
7.0.130.0350.00714.54
7.0.120.0380.00714.73
7.0.110.0000.01816.22
7.0.100.0120.00616.30
7.0.90.0100.01116.18
7.0.80.0060.01216.54
7.0.70.0060.01216.16
7.0.60.0060.01115.97
7.0.50.0110.01116.18
7.0.40.0100.01416.44
7.0.30.0050.01516.55
7.0.20.0090.01316.36
7.0.10.0060.01516.34
7.0.00.0100.01016.35

preferences:
36.96 ms | 400 KiB | 5 Q