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; } $concat = concat($request, $headers, $body); $encrypted = hash_hmac('sha256', $concat, $key); $base64 = base64_encode($encrypted); echo "The computed signature is : " . $base64 . "<br/>"; 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.70.0060.00916.88
8.3.60.0070.00716.88
8.3.50.0110.00622.01
8.3.40.0110.00418.92
8.3.30.0110.00419.17
8.3.20.0040.00420.13
8.3.10.0050.00321.70
8.3.00.0000.00819.50
8.2.180.0120.00318.21
8.2.170.0030.01718.70
8.2.160.0090.00922.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00422.13
8.2.110.0060.00322.29
8.2.100.0040.01017.84
8.2.90.0000.00819.21
8.2.80.0000.00817.97
8.2.70.0040.00817.38
8.2.60.0030.00618.05
8.2.50.0050.00318.07
8.2.40.0040.00420.07
8.2.30.0000.00819.79
8.2.20.0040.00417.85
8.2.10.0040.00418.04
8.2.00.0000.00817.89
8.1.280.0070.01425.92
8.1.270.0040.00423.84
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0100.00023.85
8.1.230.0040.00719.15
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0060.00317.13
8.1.190.0040.00417.11
8.1.180.0040.00419.01
8.1.170.0000.00818.55
8.1.160.0050.00222.01
8.1.150.0030.00518.70
8.1.140.0040.00417.45
8.1.130.0000.00717.84
8.1.120.0000.00717.34
8.1.110.0040.00417.35
8.1.100.0000.00817.46
8.1.90.0040.00417.36
8.1.80.0040.00417.47
8.1.70.0080.00017.47
8.1.60.0090.00017.62
8.1.50.0000.00817.33
8.1.40.0070.00017.40
8.1.30.0040.00417.53
8.1.20.0040.00417.56
8.1.10.0040.00417.47
8.1.00.0040.00417.37
8.0.300.0000.00718.77
8.0.290.0040.00417.17
8.0.280.0080.00018.42
8.0.270.0030.00317.22
8.0.260.0030.00317.27
8.0.250.0040.00416.95
8.0.240.0070.00017.02
8.0.230.0000.00616.96
8.0.220.0070.00017.03
8.0.210.0000.00816.84
8.0.200.0030.00317.04
8.0.190.0000.00816.90
8.0.180.0040.00416.89
8.0.170.0000.00716.94
8.0.160.0050.00316.95
8.0.150.0040.00416.93
8.0.140.0000.00716.82
8.0.130.0060.00313.37
8.0.120.0040.00416.82
8.0.110.0000.00817.00
8.0.100.0040.00416.98
8.0.90.0030.00516.91
8.0.80.0070.01516.91
8.0.70.0070.00016.78
8.0.60.0070.00016.79
8.0.50.0050.00216.98
8.0.30.0110.01117.21
8.0.20.0090.00917.40
8.0.10.0050.00216.87
8.0.00.0060.01417.03
7.4.330.0000.00515.03
7.4.320.0030.00316.57
7.4.300.0050.00516.52
7.4.290.0030.00316.45
7.4.280.0070.00016.48
7.4.270.0000.00716.63
7.4.260.0040.00416.51
7.4.250.0040.00416.48
7.4.240.0040.00316.59
7.4.230.0040.00416.60
7.4.220.0140.00416.68
7.4.210.0080.00816.50
7.4.200.0000.00716.60
7.4.190.0040.00416.75
7.4.160.0050.01116.56
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0070.01016.62
7.4.120.0090.00916.50
7.4.110.0130.01016.73
7.4.100.0140.00316.70
7.4.90.0160.00316.48
7.4.80.0090.01319.39
7.4.70.0070.01016.41
7.4.60.0040.01116.29
7.4.50.0040.00416.28
7.4.40.0150.00616.55
7.4.30.0130.00716.72
7.4.00.0140.00015.05
7.3.330.0050.00313.36
7.3.320.0030.00313.45
7.3.310.0070.00016.33
7.3.300.0040.00416.30
7.3.290.0110.00416.43
7.3.280.0120.00616.40
7.3.270.0180.00017.40
7.3.260.0160.00016.62
7.3.250.0100.01016.45
7.3.240.0100.00616.58
7.3.230.0030.01316.68
7.3.210.0090.00916.54
7.3.200.0090.01219.39
7.3.190.0000.02116.43
7.3.180.0130.00316.60
7.3.170.0000.01616.36
7.3.160.0080.00816.63
7.3.120.0130.00314.72
7.2.330.0160.00316.55
7.2.320.0080.00816.79
7.2.310.0110.00716.86
7.2.300.0120.00316.74
7.2.290.0060.01216.61
7.2.00.0070.00419.49
7.1.100.0030.01018.20
7.1.70.0050.00217.18
7.1.60.0090.01619.46
7.1.50.0100.01316.92
7.1.00.0070.07022.51
7.0.200.0000.00716.93
7.0.140.0130.06321.98
7.0.70.0070.08321.73
7.0.60.0070.07721.86
7.0.50.0030.06022.12
7.0.40.0070.06320.10
7.0.30.0070.06020.09
7.0.20.0170.07320.04
7.0.10.0130.07719.92
7.0.00.0130.08320.04
5.6.280.0100.06720.93
5.6.220.0100.07720.65
5.6.210.0070.07020.68
5.6.200.0070.08721.04
5.6.190.0100.07321.03
5.6.180.0200.07020.96
5.6.170.0100.07320.95
5.6.160.0000.09021.09
5.6.150.0230.07020.95
5.6.140.0030.09020.95
5.6.130.0030.08321.13
5.6.120.0000.08021.04
5.6.110.0070.06721.13
5.6.100.0000.08321.16
5.6.90.0000.09020.95
5.6.80.0100.05720.56
5.6.70.0030.05320.40
5.6.60.0130.06720.48
5.6.50.0070.05020.43
5.6.40.0030.07320.48
5.6.30.0030.07720.38
5.6.20.0000.08720.52
5.6.10.0030.08320.31
5.6.00.0070.07020.42
5.5.360.0030.05320.49
5.5.350.0170.07020.48
5.5.340.0030.06720.89
5.5.330.0030.06320.79
5.5.320.0030.04720.65
5.5.310.0230.08320.77
5.5.300.0070.08320.73
5.5.290.0100.06720.88
5.5.280.0000.06320.65
5.5.270.0000.04720.87
5.5.260.0030.05320.73
5.5.250.0130.07020.69
5.5.240.0070.07320.25
5.5.230.0100.07020.31
5.5.220.0000.06020.02
5.5.210.0070.04320.25
5.5.200.0030.07320.24
5.5.190.0070.07020.08
5.5.180.0130.06720.18
5.5.160.0100.04320.09
5.5.150.0130.06720.21
5.5.140.0030.07320.15
5.5.130.0130.07020.27
5.5.120.0000.08020.13
5.5.110.0030.04020.28
5.5.100.0070.06320.08
5.5.90.0130.06720.05
5.5.80.0130.07320.01
5.5.70.0070.07720.09
5.5.60.0070.06720.15
5.5.50.0000.05720.01
5.5.40.0030.05320.16
5.5.30.0030.06319.96
5.5.20.0070.04020.15
5.5.10.0070.06320.00
5.5.00.0100.06720.11
5.4.450.0070.08019.43
5.4.440.0030.05019.22
5.4.430.0000.08319.35
5.4.420.0000.04719.20
5.4.410.0000.05319.22
5.4.400.0100.07018.88
5.4.390.0000.08019.21
5.4.380.0070.05319.21
5.4.370.0000.06319.05
5.4.360.0030.04319.13
5.4.350.0030.06719.22
5.4.340.0130.06318.92
5.4.320.0000.04019.03
5.4.310.0030.07019.22
5.4.300.0100.06719.04
5.4.290.0000.07019.18
5.4.280.0000.06018.90
5.4.270.0100.06319.04
5.4.260.0000.04719.16
5.4.250.0000.08319.04
5.4.240.0000.05018.88
5.4.230.0030.07719.03
5.4.220.0030.06718.87
5.4.210.0030.08019.13
5.4.200.0070.04719.25
5.4.190.0100.07319.02
5.4.180.0000.07319.20
5.4.170.0000.07719.16
5.4.160.0100.07019.14
5.4.150.0000.06319.22
5.4.140.0070.07016.19
5.4.130.0070.05016.34
5.4.120.0000.04016.41
5.4.110.0030.05016.39
5.4.100.0070.07316.50
5.4.90.0070.06316.35
5.4.80.0070.06716.25
5.4.70.0030.06716.33
5.4.60.0000.04316.40
5.4.50.0070.07016.45
5.4.40.0030.07016.34
5.4.30.0070.07016.40
5.4.20.0000.07016.57
5.4.10.0000.06716.39
5.4.00.0070.07015.87
5.3.290.0070.08014.73
5.3.280.0070.07714.59
5.3.270.0030.06314.56
5.3.260.0100.07014.64
5.3.250.0030.06314.61
5.3.240.0070.07014.57
5.3.230.0070.04314.69
5.3.220.0030.06314.69
5.3.210.0030.07314.50
5.3.200.0030.07714.59
5.3.190.0030.07014.63
5.3.180.0030.07314.52
5.3.170.0000.07314.52
5.3.160.0000.04314.68
5.3.150.0000.04014.67
5.3.140.0070.07314.51
5.3.130.0030.06314.53
5.3.120.0030.06014.54
5.3.110.0030.07714.66
5.3.100.0000.05314.05
5.3.90.0030.07014.02
5.3.80.0030.03714.04
5.3.70.0070.04014.11
5.3.60.0000.04014.09
5.3.50.0070.05713.94
5.3.40.0030.05014.07
5.3.30.0030.07313.93
5.3.20.0070.03313.60
5.3.10.0030.07713.71
5.3.00.0000.04713.67
5.2.170.0000.04312.18
5.2.160.0000.05312.18
5.2.150.0070.06312.18
5.2.140.0030.06012.18
5.2.130.0070.05312.18
5.2.120.0070.04712.18
5.2.110.0000.06712.18
5.2.100.0070.06012.18
5.2.90.0100.05012.18
5.2.80.0000.06312.18
5.2.70.0000.06312.18
5.2.60.0030.05012.18
5.2.50.0030.06312.18
5.2.40.0000.05712.18
5.2.30.0070.03012.18
5.2.20.0000.03312.18
5.2.10.0070.04712.18
5.2.00.0030.03012.18
5.1.60.0000.03712.18
5.1.50.0100.04312.18
5.1.40.0000.05012.18
5.1.30.0070.03712.18
5.1.20.0070.05712.18
5.1.10.0070.03712.18
5.1.00.0000.03712.18
5.0.50.0000.02712.18
5.0.40.0100.04012.18
5.0.30.0000.06712.18
5.0.20.0100.03312.18
5.0.10.0000.03712.18
5.0.00.0030.04312.18
4.4.90.0100.02712.18
4.4.80.0000.03712.18
4.4.70.0000.02312.18
4.4.60.0030.03312.18
4.4.50.0030.03312.18
4.4.40.0000.04012.18
4.4.30.0030.03312.18
4.4.20.0030.03012.18
4.4.10.0030.02012.18
4.4.00.0070.05312.18
4.3.110.0070.03312.18
4.3.100.0000.02712.18
4.3.90.0000.03712.18
4.3.80.0000.05312.18
4.3.70.0000.03312.18
4.3.60.0070.02712.18
4.3.50.0100.02012.18
4.3.40.0100.04312.18
4.3.30.0000.04012.18
4.3.20.0070.03312.18
4.3.10.0000.04012.18
4.3.00.0030.03712.18

preferences:
34.37 ms | 401 KiB | 5 Q