3v4l.org

run code in 500+ PHP versions simultaneously
<?php $url = 'https://open-api.tiktok.com/video/list/'; $data = '{ "access_token": "'.$tik_token.'", "open_id": "'.$tik_open_tk.'", "cursor": 0, "max_count": 1, "fields": ["embed_html", "embed_link", "share_count"] }'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //curl_setopt($ch, CURLOPT_HTTPHEADER, $additional_headers); $server_output = curl_exec ($ch); echo $server_output;

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.5.70.0120.00616.89
8.5.60.0220.00716.70
8.5.50.0190.00617.54
8.5.40.0290.01016.80
8.5.30.0220.00818.36
8.5.20.0220.00618.32
8.5.10.0200.00917.52
8.5.00.0080.00518.50
8.4.220.0110.00619.66
8.4.210.0220.01219.54
8.4.200.0330.00519.30
8.4.190.0410.00619.57
8.4.180.0210.00919.59
8.4.170.0230.01120.04
8.4.160.0200.00921.80
8.4.150.0150.00717.86
8.4.140.0210.01117.85
8.4.130.0200.00517.90
8.4.120.0220.01019.43
8.4.110.0160.00720.14
8.4.100.0200.00818.05
8.4.90.0230.00918.03
8.4.80.0170.00918.06
8.4.70.0220.00818.18
8.4.60.0230.01118.32
8.4.50.0230.00819.30
8.4.40.0220.00920.06
8.4.30.0200.00518.21
8.4.20.0230.00917.97
8.4.10.0190.00619.94
8.3.310.0230.01118.44
8.3.300.0250.00719.44
8.3.290.0230.00818.47
8.3.280.0210.00919.26
8.3.270.0210.00816.81
8.3.260.0220.00716.68
8.3.250.0210.00917.95
8.3.240.0250.00716.62
8.3.230.0260.00816.51
8.3.220.0180.00316.81
8.3.210.0110.00516.75
8.3.200.0200.01016.68
8.3.190.0200.00516.87
8.3.180.0250.00616.69
8.3.170.0210.01216.79
8.3.160.0220.01117.52
8.3.150.0250.00516.84
8.3.140.0160.00416.64
8.3.130.0210.00517.51
8.3.120.0160.00717.81
8.3.110.0180.00618.85
8.3.100.0190.00720.40
8.3.90.0250.00721.68
8.3.80.0170.01016.65
8.3.70.0240.00816.44
8.3.60.0220.00817.54
8.3.50.0250.00518.47
8.3.40.0310.00518.47
8.3.30.0180.00918.64
8.3.20.0150.00723.35
8.3.10.0140.00923.52
8.3.00.0150.00623.81
8.2.310.0280.00718.20
8.2.300.0200.01118.39
8.2.290.0210.00618.71
8.2.280.0160.00618.41
8.2.270.0140.00716.62
8.2.260.0190.00817.72
8.2.250.0130.00817.65
8.2.240.0240.00217.69
8.2.230.0210.00319.47
8.2.220.0120.00827.04
8.2.210.0100.00621.67
8.2.200.0200.00317.56
8.2.190.0200.00616.63
8.2.180.0280.01021.36
8.2.170.0210.00418.52
8.2.160.0140.01020.56
8.2.150.0110.00823.71
8.2.140.0140.00723.47
8.2.130.0200.00323.80
8.2.120.0120.00822.20
8.2.110.0160.00622.43
8.2.100.0110.00921.78
8.2.90.0150.00621.12
8.2.80.0120.01021.29
8.2.70.0150.00728.84
8.2.60.0130.00526.59
8.2.50.0130.00927.73
8.2.40.0160.00525.91
8.2.30.0130.00627.76
8.2.20.0130.00528.28
8.2.10.0150.00527.81
8.2.00.0130.00626.85
8.1.340.0280.00817.57
8.1.330.0220.00816.64
8.1.320.0200.00816.26
8.1.310.0160.00717.22
8.1.300.0190.00318.23
8.1.290.0150.00723.49
8.1.280.0190.00621.07
8.1.270.0140.00723.25
8.1.260.0130.00623.85
8.1.250.0140.00524.28
8.1.240.0140.00623.20
8.1.230.0140.00522.91
8.1.220.0180.00520.98
8.1.210.0140.00721.23
8.1.200.0130.00628.67
8.1.190.0130.00728.72
8.1.180.0130.00627.64
8.1.170.0150.00527.68
8.1.160.0140.00628.01
8.1.150.0140.00627.75
8.1.140.0120.00625.87
8.1.130.0110.00726.69
8.1.120.0110.00826.47
8.1.110.0130.00524.20
8.1.100.0130.00623.70
8.1.90.0130.00522.52
8.1.80.0120.00622.51
8.1.70.0120.00522.50
8.1.60.0120.00622.61
8.1.50.0130.00522.24
8.1.40.0140.00622.26
8.1.30.0130.00722.35
8.1.20.0140.00522.36
8.1.10.0130.00622.31
8.1.00.0140.00422.06
8.0.300.0120.00720.97
8.0.290.0150.00728.43
8.0.280.0160.00627.50
8.0.270.0130.00527.34
8.0.260.0150.00626.33
8.0.250.0120.00726.19
8.0.240.0130.00623.86
8.0.230.0120.00422.88
8.0.220.0130.00522.08
8.0.210.0150.00422.10
8.0.200.0110.00622.15
8.0.190.0140.00622.16
8.0.180.0130.00521.83
8.0.170.0130.00521.82
8.0.160.0110.00521.79
8.0.150.0140.00521.74
8.0.140.0120.00621.79
8.0.130.0140.00421.75
8.0.120.0130.00621.75
8.0.110.0120.00521.77
8.0.100.0130.00621.79
8.0.90.0130.00621.75
8.0.80.0110.00621.80
8.0.70.0130.00521.78
8.0.60.0130.00621.77
8.0.50.0130.00621.76
8.0.30.0130.00621.78
8.0.20.0140.00421.82
8.0.10.0140.00521.82
7.4.330.0130.00325.82
7.4.320.0140.00724.30
7.4.300.0160.00321.83
7.4.290.0130.00721.66
7.4.280.0180.00421.55
7.4.270.0150.00421.54
7.4.260.0130.00621.56
7.4.250.0140.00621.53
7.4.240.0160.00521.52
7.4.230.0160.00521.53
7.4.220.0150.00521.54
7.4.210.0130.00521.52
7.4.200.0140.00521.52
7.4.190.0120.00621.55
7.4.180.0130.00521.59
7.4.160.0140.00521.54
7.4.150.0140.00521.50
7.4.140.0130.00621.50
7.4.130.0140.00521.50
7.4.120.0150.00521.46
7.4.110.0140.00521.45
7.4.100.0130.00521.50
7.4.90.0140.00421.49
7.4.80.0120.00721.49
7.4.70.0120.00621.49
7.4.60.0120.00521.52
7.4.50.0120.00621.45
7.4.40.0130.00421.45
7.4.30.0110.00621.45
7.4.20.0130.00521.45
7.4.10.0120.00521.45
7.4.00.0140.00421.47

preferences:
85.2 ms | 1334 KiB | 5 Q