3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request = 'POST'; $headers = array( 'x-wix-event-type' => '/provision/provision', 'x-wix-timestamp' => '2013-09-30T10:46:38.993Z', 'x-wix-signature' => 'BX1AQrO4IxNuwMIOhYiuiH0nrk-F8pamGgk6Oe7S82I', 'x-wix-application-id' => '1306dc69-eb2f-493d-fc98-f4e693829367', 'x-wix-instance-id'=> '1328a7fe-e451-8780-d201-0c5d9a1fc02b', 'x-wix-event-id'=> '2cdae256-750f-4cc8-bbde-b35018bf8ceb' ); $body = '{"instance-id":"1328a7fe-e451-8780-d201-0c5d9a1fc02b"}'; $key = "8bbb74b1-8864-47b3-804f-04925bf3ffba"; function concat($request, $headers, $body) { $result = ''; $result .= $request; $result .= "\n"; $headers = ksort($headers); foreach ($headers as $header => $value) { if ($header != 'x-wix-signature') { $result = $result . $header . ': ' . $value; } } $result = $result . "\n" . $body . "\n"; return $result; } $concat = concat($request, $headers, $body); $encrypted = hash_hmac('sha256', $concat, $key); $base64 = base64_encode($encrypted); echo "The computed signature is : " . $base64 . "\n"; echo "The signature sent by Wix : " . $headers['x-wix-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.0070.00716.63
8.3.50.0100.00522.21
8.3.40.0070.01418.79
8.3.30.0070.00719.14
8.3.20.0090.00020.38
8.3.10.0000.00823.61
8.3.00.0040.00419.38
8.2.180.0140.00718.29
8.2.170.0090.01222.96
8.2.160.0100.00320.57
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00022.15
8.2.110.0030.00622.16
8.2.100.0090.00317.98
8.2.90.0050.00319.20
8.2.80.0060.00317.97
8.2.70.0070.00317.75
8.2.60.0070.00317.93
8.2.50.0080.00018.07
8.2.40.0000.00718.16
8.2.30.0080.00018.14
8.2.20.0030.00517.82
8.2.10.0070.00018.05
8.2.00.0040.00717.75
8.1.280.0090.00625.92
8.1.270.0090.00622.14
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0080.00023.87
8.1.230.0080.00319.03
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0060.00317.43
8.1.180.0030.00518.10
8.1.170.0000.00818.66
8.1.160.0040.00422.08
8.1.150.0070.00018.52
8.1.140.0090.00017.45
8.1.130.0040.00417.77
8.1.120.0000.00817.36
8.1.110.0040.00417.53
8.1.100.0000.00717.40
8.1.90.0000.00717.48
8.1.80.0050.00317.41
8.1.70.0000.00717.34
8.1.60.0060.00317.50
8.1.50.0040.00417.57
8.1.40.0040.00417.55
8.1.30.0030.00517.59
8.1.20.0030.00517.62
8.1.10.0040.00417.47
8.1.00.0000.00717.53
8.0.300.0070.00018.77
8.0.290.0000.00717.05
8.0.280.0030.00318.36
8.0.270.0000.00717.23
8.0.260.0030.00317.27
8.0.250.0070.00016.99
8.0.240.0030.00617.09
8.0.230.0000.00716.93
8.0.220.0000.00716.93
8.0.210.0080.00016.99
8.0.200.0000.00716.91
8.0.190.0030.00617.04
8.0.180.0040.00416.85
8.0.170.0000.00716.99
8.0.160.0050.00316.84
8.0.150.0000.00716.97
8.0.140.0000.00716.93
8.0.130.0000.00613.41
8.0.120.0090.00016.79
8.0.110.0050.00316.92
8.0.100.0070.00016.96
8.0.90.0040.00416.76
8.0.80.0060.00916.98
8.0.70.0030.00617.03
8.0.60.0070.00016.91
8.0.50.0040.00416.77
8.0.30.0150.00517.00
8.0.20.0130.00817.40
8.0.10.0040.00417.14
8.0.00.0080.00916.78
7.4.330.0000.00615.01
7.4.320.0030.00316.60
7.4.300.0070.00016.51
7.4.290.0000.00716.51
7.4.280.0050.00316.45
7.4.270.0000.00716.60
7.4.260.0050.00316.61
7.4.250.0030.00316.59
7.4.240.0040.00316.51
7.4.230.0000.00616.46
7.4.220.0070.01016.48
7.4.210.0050.01016.49
7.4.200.0040.00416.48
7.4.190.0030.00316.46
7.4.160.0130.00316.54
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0120.00416.66
7.4.120.0120.00616.61
7.4.110.0090.00916.59
7.4.100.0120.01216.66
7.4.90.0070.01016.73
7.4.80.0090.00919.39
7.4.70.0140.00316.53
7.4.60.0120.00916.34
7.4.50.0000.00516.47
7.4.40.0120.00322.77
7.4.30.0030.01316.53
7.4.00.0080.00415.11
7.3.330.0050.00013.30
7.3.320.0000.00513.45
7.3.310.0030.00316.33
7.3.300.0030.00316.30
7.3.290.0150.00016.40
7.3.280.0070.01116.38
7.3.270.0140.00317.40
7.3.260.0100.01016.49
7.3.250.0090.00816.50
7.3.240.0100.00716.66
7.3.230.0160.00016.39
7.3.210.0090.00916.43
7.3.200.0100.01019.39
7.3.190.0110.00616.62
7.3.180.0060.01616.53
7.3.170.0030.01416.73
7.3.160.0100.00716.51
7.3.120.0160.00014.71
7.3.10.0130.00316.63
7.3.00.0190.00816.39
7.2.330.0180.00016.73
7.2.320.0100.01316.59
7.2.310.0070.01016.77
7.2.300.0060.00916.79
7.2.290.0140.00716.43
7.2.130.0150.00716.77
7.2.120.0090.00916.95
7.2.110.0060.01216.72
7.2.100.0130.00716.95
7.2.90.0130.00316.66
7.2.80.0080.00816.80
7.2.70.0070.00816.94
7.2.60.0040.00916.87
7.2.50.0060.00617.04
7.2.40.0040.00717.07
7.2.30.0050.00817.06
7.2.20.0050.00516.91
7.2.10.0100.00317.14
7.2.00.0070.00518.02
7.1.250.0220.00015.64
7.1.200.0000.00715.98
7.1.100.0000.01718.24
7.1.70.0030.00717.22
7.1.60.0130.01319.46
7.1.50.0060.01916.84
7.1.00.0070.07322.29
7.0.200.0160.00616.52
7.0.140.0000.07722.22
7.0.90.0570.06719.91
7.0.80.0330.08319.89
7.0.70.0430.04719.95
7.0.60.0400.04720.07
7.0.50.0530.08020.34
7.0.40.0130.07320.13
7.0.30.0100.06320.05
7.0.20.0030.07020.14
7.0.10.0100.06720.14
7.0.00.0130.07720.12
5.6.280.0030.07320.79
5.6.230.0070.06720.59
5.6.220.0030.08320.71
5.6.210.0000.08020.68
5.6.200.0070.04020.97
5.6.190.0130.04321.07
5.6.180.0000.09321.11
5.6.170.0130.08321.02
5.6.160.0030.06321.04
5.6.150.0030.04321.08
5.6.140.0130.07321.02
5.6.130.0030.08021.04
5.6.120.0070.04721.08
5.6.110.0100.08320.98
5.6.100.0030.08320.93
5.6.90.0030.04721.03
5.6.80.0100.05320.57
5.6.70.0200.06320.39
5.6.60.0070.05320.54
5.6.50.0170.06720.40
5.6.40.0030.03720.36
5.6.30.0130.04320.36
5.6.20.0030.08320.44
5.6.10.0030.04020.41
5.6.00.0100.06020.41
5.5.370.0070.08020.41
5.5.360.0100.04320.36
5.5.350.0070.07020.38
5.5.340.0130.07320.80
5.5.330.0070.04020.65
5.5.320.0070.08320.78
5.5.310.0100.07720.73
5.5.300.0000.09020.86
5.5.290.0100.05720.78
5.5.280.0070.08320.80
5.5.270.0070.07320.78
5.5.260.0100.04020.83
5.5.250.0100.07320.76
5.5.240.0130.05320.04
5.5.230.0100.05020.31
5.5.220.0170.07320.30
5.5.210.0070.07320.21
5.5.200.0070.03320.22
5.5.190.0170.06720.23
5.5.180.0100.06720.08
5.5.160.0000.08020.19
5.5.150.0100.07320.22
5.5.140.0030.05720.11
5.5.130.0030.08320.11
5.5.120.0030.07720.10
5.5.110.0070.07720.25
5.5.100.0030.08320.03
5.5.90.0030.05019.95
5.5.80.0070.08320.11
5.5.70.0170.07019.92
5.5.60.0030.06020.16
5.5.50.0070.07719.93
5.5.40.0100.07320.06
5.5.30.0130.07320.05
5.5.20.0000.07020.03
5.5.10.0070.05020.02
5.5.00.0100.04320.12
5.4.450.0100.08019.38
5.4.440.0100.06319.37
5.4.430.0070.04019.50
5.4.420.0070.06719.46
5.4.410.0200.06019.33
5.4.400.0100.02719.19
5.4.390.0000.08319.03
5.4.380.0000.04019.12
5.4.370.0170.06319.18
5.4.360.0100.06719.21
5.4.350.0170.06319.21
5.4.340.0000.06019.04
5.4.320.0070.07719.09
5.4.310.0170.06719.03
5.4.300.0070.06319.03
5.4.290.0100.06719.18
5.4.280.0130.07318.84
5.4.270.0170.06319.20
5.4.260.0100.07719.04
5.4.250.0000.08319.06
5.4.240.0100.06319.04
5.4.230.0070.07019.13
5.4.220.0070.08019.13
5.4.210.0070.04319.02
5.4.200.0130.05318.84
5.4.190.0000.07718.87
5.4.180.0030.04719.11
5.4.170.0030.08019.21
5.4.160.0070.07319.21
5.4.150.0030.05719.02
5.4.140.0170.07316.20
5.4.130.0070.04316.18
5.4.120.0070.06316.19
5.4.110.0030.06716.46
5.4.100.0030.07316.48
5.4.90.0070.06316.46
5.4.80.0030.06316.45
5.4.70.0100.07016.41
5.4.60.0030.07716.44
5.4.50.0030.07716.30
5.4.40.0100.07016.36
5.4.30.0070.06316.44
5.4.20.0070.07316.36
5.4.10.0070.07016.43
5.4.00.0100.07015.82
5.3.290.0130.03314.60
5.3.280.0070.07314.52
5.3.270.0100.06314.53
5.3.260.0070.04314.71
5.3.250.0130.06714.63
5.3.240.0170.05714.57
5.3.230.0030.04314.57
5.3.220.0130.07014.54
5.3.210.0070.06314.54
5.3.200.0100.07014.58
5.3.190.0070.07014.59
5.3.180.0100.07714.59
5.3.170.0230.02714.49
5.3.160.0100.07014.66
5.3.150.0100.07014.71
5.3.140.0100.07314.52
5.3.130.0030.08014.61
5.3.120.0030.08314.69
5.3.110.0070.07014.48
5.3.100.0030.05714.05
5.3.90.0000.08014.00
5.3.80.0000.08014.08
5.3.70.0030.05314.11
5.3.60.0200.04013.95
5.3.50.0070.07013.94
5.3.40.0000.04013.98
5.3.30.0200.05013.91
5.3.20.0070.04313.78
5.3.10.0030.03313.75
5.3.00.0000.03713.63
5.2.170.0000.04013.54
5.2.160.0030.04313.54
5.2.150.0030.03313.54
5.2.140.0070.04013.54
5.2.130.0070.03013.54
5.2.120.0070.05313.54
5.2.110.0030.03313.54
5.2.100.0070.02713.54
5.2.90.0030.03713.54
5.2.80.0000.03013.54
5.2.70.0030.02713.54
5.2.60.0000.03013.54
5.2.50.0030.02713.54
5.2.40.0000.03013.54
5.2.30.0000.03013.54
5.2.20.0030.02713.54
5.2.10.0000.03013.54
5.2.00.0070.02313.54
5.1.60.0000.02713.54
5.1.50.0070.03313.54
5.1.40.0070.05013.54
5.1.30.0000.02713.54
5.1.20.0000.06313.54
5.1.10.0100.05313.54
5.1.00.0000.06013.54
5.0.50.0000.03013.54
5.0.40.0000.03713.54
5.0.30.0000.04313.54
5.0.20.0070.03013.54
5.0.10.0030.01713.54
5.0.00.0000.03013.54
4.4.90.0000.01713.54
4.4.80.0030.02013.54
4.4.70.0000.02013.54
4.4.60.0000.01713.54
4.4.50.0030.01313.54
4.4.40.0070.04013.54
4.4.30.0030.03013.54
4.4.20.0000.01313.54
4.4.10.0000.03313.54
4.4.00.0000.05313.54
4.3.110.0000.03013.54
4.3.100.0000.01713.54
4.3.90.0000.02013.54
4.3.80.0000.02313.54
4.3.70.0000.01713.54
4.3.60.0070.00713.54
4.3.50.0000.01713.54
4.3.40.0000.02313.54
4.3.30.0000.01313.54
4.3.20.0030.01313.54
4.3.10.0000.01713.54
4.3.00.0000.01713.54

preferences:
45.62 ms | 401 KiB | 5 Q