3v4l.org

run code in 300+ PHP versions simultaneously
<?php $api_dev_key = '8a35f69eb43f176b6b0375429071c02c'; $api_user_key = ''; $api_results_limit = '100'; $url = 'http://pastebin.com/api/api_post.php'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=list&api_user_key='.$api_user_key.'&api_dev_key='.$api_dev_key.'&api_results_limit='.$api_results_limit.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0); $response = curl_exec($ch); echo $response;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LksJu
function name:  (null)
number of ops:  50
compiled vars:  !0 = $api_dev_key, !1 = $api_user_key, !2 = $api_results_limit, !3 = $url, !4 = $ch, !5 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '8a35f69eb43f176b6b0375429071c02c'
    4     1        ASSIGN                                                   !1, ''
    5     2        ASSIGN                                                   !2, '100'
    6     3        ASSIGN                                                   !3, 'http%3A%2F%2Fpastebin.com%2Fapi%2Fapi_post.php'
    7     4        INIT_FCALL_BY_NAME                                       'curl_init'
          5        SEND_VAR_EX                                              !3
          6        DO_FCALL                                      0  $10     
          7        ASSIGN                                                   !4, $10
    9     8        INIT_FCALL_BY_NAME                                       'curl_setopt'
          9        SEND_VAR_EX                                              !4
         10        FETCH_CONSTANT                                   ~12     'CURLOPT_POST'
         11        SEND_VAL_EX                                              ~12
         12        SEND_VAL_EX                                              <true>
         13        DO_FCALL                                      0          
   10    14        INIT_FCALL_BY_NAME                                       'curl_setopt'
         15        SEND_VAR_EX                                              !4
         16        FETCH_CONSTANT                                   ~14     'CURLOPT_POSTFIELDS'
         17        SEND_VAL_EX                                              ~14
         18        CONCAT                                           ~15     'api_option%3Dlist%26api_user_key%3D', !1
         19        CONCAT                                           ~16     ~15, '%26api_dev_key%3D'
         20        CONCAT                                           ~17     ~16, !0
         21        CONCAT                                           ~18     ~17, '%26api_results_limit%3D'
         22        CONCAT                                           ~19     ~18, !2
         23        CONCAT                                           ~20     ~19, ''
         24        SEND_VAL_EX                                              ~20
         25        DO_FCALL                                      0          
   11    26        INIT_FCALL_BY_NAME                                       'curl_setopt'
         27        SEND_VAR_EX                                              !4
         28        FETCH_CONSTANT                                   ~22     'CURLOPT_RETURNTRANSFER'
         29        SEND_VAL_EX                                              ~22
         30        SEND_VAL_EX                                              1
         31        DO_FCALL                                      0          
   12    32        INIT_FCALL_BY_NAME                                       'curl_setopt'
         33        SEND_VAR_EX                                              !4
         34        FETCH_CONSTANT                                   ~24     'CURLOPT_VERBOSE'
         35        SEND_VAL_EX                                              ~24
         36        SEND_VAL_EX                                              1
         37        DO_FCALL                                      0          
   13    38        INIT_FCALL_BY_NAME                                       'curl_setopt'
         39        SEND_VAR_EX                                              !4
         40        FETCH_CONSTANT                                   ~26     'CURLOPT_NOBODY'
         41        SEND_VAL_EX                                              ~26
         42        SEND_VAL_EX                                              0
         43        DO_FCALL                                      0          
   15    44        INIT_FCALL_BY_NAME                                       'curl_exec'
         45        SEND_VAR_EX                                              !4
         46        DO_FCALL                                      0  $28     
         47        ASSIGN                                                   !5, $28
   16    48        ECHO                                                     !5
         49      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.36 ms | 1399 KiB | 13 Q