3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subdomain = "tckts"; $username = "msirianni@zendesk.com/token"; $password = "0TDALUGakEn6oJ23ZaeQnLmjqtqwnLxz6pXnZrxT"; $headers = array('Content-Type' => 'application/json'); $options = array('auth' => array($username, $password)); $newTicket = array( 'ticket' => array( 'subject' => 'New Order', 'external_id' => 180, 'type' => 'task', 'group_id' => 66729, 'collaborator_ids' => array( 24178883 ), 'requester' => array( 'locale_id' => 1, 'name' => 'Test Name', 'email' => 'test@test.com', ), 'comment' => array( 'public' => true, 'body' => "\nThank you for your order.\n\nBelow is a breakdown for you to check and confirm back that everything is exactly as you want.\n\nOnce you are happy we will update this ticket with a Go Live certificate so you know your services are live and you will be billed from this point.\n\n\nYour details:\n\nCustomer: Connect B2B Ltd\nCustomer site: Lucy's Office\nCustomer contact: Lucy Robinson lr@connectb2b.co.uk\nDelivery method: Pre 12 £15.00\nDelivery address: Connect B2B Ltd\r\n12 Melcombe Place\r\nLondon\r\nNW1 6JJ\r\nLondon \r\nNW1 6JJ\nOrder date: 06/06/14\n\nOrder details:\n\nHorizon Cisco SPA 122 VoIP Analogue Phone Adapter £50.00 x 1 12345678901 12 months", ), ) ); $json = json_encode($newTicket); $request = Requests::post('https://{{subdomain}}.zendesk.com/api/v2/tickets.json', $headers, $json, $options); echo '<pre>'; echo $json; print_r($request); echo '</pre>'; ?>

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.01016.87
8.3.50.0110.00921.88
8.3.40.0070.00718.96
8.3.30.0000.01419.13
8.3.20.0040.00420.39
8.3.10.0040.00423.66
8.3.00.0040.00817.63
8.2.180.0170.00318.29
8.2.170.0040.01122.96
8.2.160.0140.00020.52
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0080.00022.27
8.2.110.0060.00322.01
8.2.100.0000.01317.72
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0040.00817.75
8.2.60.0030.00518.03
8.2.50.0100.00318.07
8.2.40.0100.00018.16
8.2.30.0080.00018.03
8.2.20.0000.00917.95
8.2.10.0000.00818.08
8.2.00.0000.00817.90
8.1.280.0030.01425.92
8.1.270.0060.00923.83
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00423.83
8.1.230.0090.00319.15
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0000.00817.36
8.1.180.0090.00019.14
8.1.170.0080.00018.50
8.1.160.0000.00721.99
8.1.150.0040.00418.67
8.1.140.0040.00417.49
8.1.130.0070.00017.74
8.1.120.0040.00317.41
8.1.110.0030.00517.54
8.1.100.0020.00517.52
8.1.90.0070.00017.50
8.1.80.0000.00717.36
8.1.70.0080.00017.38
8.1.60.0050.00517.68
8.1.50.0040.00417.50
8.1.40.0030.00517.54
8.1.30.0000.00817.44
8.1.20.0020.00517.61
8.1.10.0000.00817.61
8.1.00.0040.00417.59
8.0.300.0040.00418.77
8.0.290.0030.00617.28
8.0.280.0030.00518.54
8.0.270.0040.00417.20
8.0.260.0030.00317.29
8.0.250.0030.00316.91
8.0.240.0040.00417.02
8.0.230.0060.00016.94
8.0.220.0070.00016.88
8.0.210.0000.00816.99
8.0.200.0000.00616.91
8.0.190.0000.00816.92
8.0.180.0040.00417.03
8.0.170.0040.00417.05
8.0.160.0030.00517.04
8.0.150.0000.00716.91
8.0.140.0000.00816.81
8.0.130.0050.00013.38
8.0.120.0070.00016.85
8.0.110.0040.00417.02
8.0.100.0070.00016.97
8.0.90.0000.00717.03
8.0.80.0070.01416.92
8.0.70.0040.00416.87
8.0.60.0070.00017.11
8.0.50.0040.00416.94
8.0.30.0120.00717.17
8.0.20.0070.01217.40
8.0.10.0000.00717.05
8.0.00.0120.00616.96
7.4.330.0050.00015.00
7.4.320.0030.00316.54
7.4.300.0060.00316.46
7.4.290.0030.00316.64
7.4.280.0040.00416.69
7.4.270.0000.00716.57
7.4.260.0000.00716.61
7.4.250.0040.00416.42
7.4.240.0030.00416.64
7.4.230.0040.00416.44
7.4.220.0040.01316.43
7.4.210.0080.00816.61
7.4.200.0000.00716.72
7.4.190.0000.00716.79
7.4.160.0100.00616.46
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0100.00716.59
7.4.120.0120.00916.59
7.4.110.0070.01016.73
7.4.100.0190.00516.65
7.4.90.0110.01216.61
7.4.80.0100.00619.39
7.4.70.0060.01016.54
7.4.60.0030.01516.46
7.4.50.0000.00416.67
7.4.40.0120.00516.55
7.4.30.0070.00716.69
7.4.00.0040.01115.21
7.3.330.0060.00013.09
7.3.320.0000.00513.07
7.3.310.0030.00516.17
7.3.300.0070.00016.20
7.3.290.0100.01016.37
7.3.280.0080.01216.35
7.3.270.0030.01317.40
7.3.260.0160.00716.56
7.3.250.0120.00516.47
7.3.240.0080.00816.41
7.3.230.0120.00616.39
7.3.210.0070.01016.29
7.3.200.0030.01419.39
7.3.190.0080.01116.53
7.3.180.0080.00816.41
7.3.170.0090.00616.37
7.3.160.0100.00516.35
7.3.120.0030.01414.95
7.2.330.0060.01016.70
7.2.320.0080.01816.66
7.2.310.0120.00916.59
7.2.300.0110.01116.30
7.2.290.0120.00416.55
7.2.60.0100.00316.98
7.2.00.0000.01119.27
7.1.200.0030.00915.67
7.1.100.0110.00318.09
7.1.70.0070.00017.18
7.1.60.0040.01919.46
7.1.50.0070.01316.84
7.1.00.0000.08022.57
7.0.200.0030.00516.81
7.0.140.0000.07322.15
7.0.90.0200.05019.82
7.0.80.0500.07719.86
7.0.70.0200.05019.87
7.0.60.0530.08719.84
7.0.50.0500.06020.22
7.0.40.0070.04020.10
7.0.30.0030.05320.05
7.0.20.0000.06320.01
7.0.10.0070.07720.17
7.0.00.0000.05020.02
5.6.280.0030.07320.82
5.6.230.0070.07720.54
5.6.220.0130.07320.60
5.6.210.0100.07320.52
5.6.200.0100.07021.18
5.6.190.0070.04321.00
5.6.180.0100.07321.03
5.6.170.0100.08721.08
5.6.160.0170.05721.03
5.6.150.0130.07021.05
5.6.140.0130.07721.02
5.6.130.0100.07021.17
5.6.120.0070.08321.06
5.6.110.0100.08721.01
5.6.100.0130.06321.07
5.6.90.0130.05021.09
5.6.80.0070.08320.47
5.6.70.0100.04320.31
5.6.60.0170.03720.38
5.6.50.0030.08320.55
5.6.40.0100.04720.49
5.6.30.0070.04720.37
5.6.20.0130.06720.32
5.6.10.0070.05720.39
5.6.00.0070.07020.29
5.5.370.0070.04020.36
5.5.360.0000.05320.32
5.5.350.0070.08020.41
5.5.340.0070.05320.91
5.5.330.0030.05320.84
5.5.320.0130.04320.83
5.5.310.0100.07020.89
5.5.300.0070.08320.78
5.5.290.0070.05020.89
5.5.280.0030.05320.82
5.5.270.0000.09020.75
5.5.260.0170.07720.77
5.5.250.0030.04720.66
5.5.240.0030.06320.16
5.5.230.0130.06320.29
5.5.220.0130.07020.13
5.5.210.0070.07320.20
5.5.200.0030.07320.24
5.5.190.0070.04720.18
5.5.180.0030.08020.13
5.5.160.0130.04720.14
5.5.150.0070.04720.25
5.5.140.0200.06320.23
5.5.130.0170.07320.14
5.5.120.0030.04020.14
5.5.110.0100.08020.14
5.5.100.0200.05320.05
5.5.90.0170.03320.07
5.5.80.0070.03720.00
5.5.70.0130.04320.12
5.5.60.0000.07020.06
5.5.50.0100.06320.14
5.5.40.0070.03720.05
5.5.30.0070.05020.07
5.5.20.0130.04719.95
5.5.10.0030.07320.12
5.5.00.0030.04320.11
5.4.450.0100.08019.45
5.4.440.0100.07319.46
5.4.430.0100.06319.35
5.4.420.0100.07319.29
5.4.410.0030.06319.23
5.4.400.0030.07018.79
5.4.390.0030.07718.81
5.4.380.0170.07019.06
5.4.370.0030.08319.23
5.4.360.0070.07319.23
5.4.350.0000.04318.96
5.4.340.0030.04019.12
5.4.320.0070.05719.05
5.4.310.0070.06318.81
5.4.300.0070.04318.88
5.4.290.0230.03718.90
5.4.280.0070.06018.96
5.4.270.0030.04718.98
5.4.260.0100.07018.96
5.4.250.0100.04719.11
5.4.240.0130.05718.78
5.4.230.0130.07019.06
5.4.220.0030.07319.04
5.4.210.0030.06019.02
5.4.200.0070.04719.05
5.4.190.0070.04018.93
5.4.180.0030.05718.89
5.4.170.0030.05719.06
5.4.160.0070.04719.12
5.4.150.0100.04018.95
5.4.140.0070.07316.24
5.4.130.0070.05016.27
5.4.120.0100.04016.22
5.4.110.0070.04016.41
5.4.100.0070.03316.32
5.4.90.0070.07016.38
5.4.80.0130.05716.25
5.4.70.0070.03716.21
5.4.60.0130.04716.22
5.4.50.0000.04716.21
5.4.40.0030.05716.35
5.4.30.0070.04316.34
5.4.20.0130.03016.30
5.4.10.0070.04016.37
5.4.00.0100.03015.78
5.3.290.0070.07314.62
5.3.280.0000.07314.56
5.3.270.0070.03714.57
5.3.260.0030.05014.47
5.3.250.0100.07714.57
5.3.240.0030.05314.45
5.3.230.0070.05014.57
5.3.220.0030.04714.57
5.3.210.0030.08014.56
5.3.200.0030.07014.53
5.3.190.0030.04014.57
5.3.180.0100.07014.55
5.3.170.0070.04714.53
5.3.160.0100.06714.55
5.3.150.0100.07314.55
5.3.140.0130.04014.40
5.3.130.0000.07714.55
5.3.120.0000.05014.56
5.3.110.0030.07314.55
5.3.100.0000.04013.89
5.3.90.0000.04013.96
5.3.80.0000.04013.88
5.3.70.0030.03713.93
5.3.60.0030.07014.01
5.3.50.0100.06313.95
5.3.40.0100.03713.90
5.3.30.0000.05313.87
5.3.20.0030.04013.65
5.3.10.0070.04313.64
5.3.00.0030.04013.60
5.2.170.0030.05710.95
5.2.160.0100.04711.13
5.2.150.0000.05711.10
5.2.140.0030.03710.94
5.2.130.0030.03711.02
5.2.120.0030.06011.09
5.2.110.0030.03011.05
5.2.100.0070.02710.93
5.2.90.0070.05710.99
5.2.80.0070.05011.14
5.2.70.0070.05711.05
5.2.60.0000.04710.92
5.2.50.0070.06011.05
5.2.40.0070.03011.04
5.2.30.0000.03310.81
5.2.20.0000.04010.96
5.2.10.0070.05010.95
5.2.00.0030.04010.77
5.1.60.0030.04010.04
5.1.50.0100.0439.82
5.1.40.0030.04710.01
5.1.30.0100.03010.41
5.1.20.0030.05310.36
5.1.10.0100.04710.15
5.1.00.0100.03710.05
5.0.50.0100.0308.61
5.0.40.0000.0438.48
5.0.30.0000.0678.21
5.0.20.0030.0238.07
5.0.10.0030.0338.16
5.0.00.0070.0538.14
4.4.90.0100.0276.07
4.4.80.0000.0176.07
4.4.70.0000.0176.07
4.4.60.0030.0136.07
4.4.50.0100.0306.07
4.4.40.0000.0576.07
4.4.30.0030.0176.07
4.4.20.0030.0336.07
4.4.10.0030.0236.07
4.4.00.0030.0436.07
4.3.110.0000.0236.07
4.3.100.0070.0236.07
4.3.90.0030.0276.07
4.3.80.0170.0436.07
4.3.70.0070.0306.07
4.3.60.0030.0276.07
4.3.50.0000.0376.07
4.3.40.0070.0436.07
4.3.30.0030.0336.07
4.3.20.0030.0306.07
4.3.10.0070.0306.07
4.3.00.0000.0276.07

preferences:
41.12 ms | 401 KiB | 5 Q