3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://adtech-txws-adgtx.stg.iad2.nyt.net/taxonomy-exceptions'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $json = json_decode($response, true); curl_close($ch); print_r($json);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r1bNL
function name:  (null)
number of ops:  39
compiled vars:  !0 = $url, !1 = $ch, !2 = $xml, !3 = $response, !4 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fadtech-txws-adgtx.stg.iad2.nyt.net%2Ftaxonomy-exceptions'
    4     1        INIT_FCALL_BY_NAME                                       'curl_init'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $6      
          4        ASSIGN                                                   !1, $6
    5     5        INIT_FCALL_BY_NAME                                       'curl_setopt'
          6        SEND_VAR_EX                                              !1
          7        FETCH_CONSTANT                                   ~8      'CURLOPT_POST'
          8        SEND_VAL_EX                                              ~8
          9        SEND_VAL_EX                                              1
         10        DO_FCALL                                      0          
    6    11        INIT_FCALL_BY_NAME                                       'curl_setopt'
         12        SEND_VAR_EX                                              !1
         13        FETCH_CONSTANT                                   ~10     'CURLOPT_POSTFIELDS'
         14        SEND_VAL_EX                                              ~10
         15        SEND_VAR_EX                                              !2
         16        DO_FCALL                                      0          
    7    17        INIT_FCALL_BY_NAME                                       'curl_setopt'
         18        SEND_VAR_EX                                              !1
         19        FETCH_CONSTANT                                   ~12     'CURLOPT_RETURNTRANSFER'
         20        SEND_VAL_EX                                              ~12
         21        SEND_VAL_EX                                              <true>
         22        DO_FCALL                                      0          
    8    23        INIT_FCALL_BY_NAME                                       'curl_exec'
         24        SEND_VAR_EX                                              !1
         25        DO_FCALL                                      0  $14     
         26        ASSIGN                                                   !3, $14
    9    27        INIT_FCALL                                               'json_decode'
         28        SEND_VAR                                                 !3
         29        SEND_VAL                                                 <true>
         30        DO_ICALL                                         $16     
         31        ASSIGN                                                   !4, $16
   10    32        INIT_FCALL_BY_NAME                                       'curl_close'
         33        SEND_VAR_EX                                              !1
         34        DO_FCALL                                      0          
   11    35        INIT_FCALL                                               'print_r'
         36        SEND_VAR                                                 !4
         37        DO_ICALL                                                 
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.8 ms | 1396 KiB | 17 Q