3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init("https://api.appannie.com/v1.2/products/com.abcvet/sales?break_down=date&start_date=2015-01-01&end_date=2015-01-31"); $headers = array('Authorization: Bearer 713fe46c23f089d841c0809c9df0fce0a37bb2cd'); $run = curl_exec($ch); curl_close($ch); $arr = json_decode($run, true); print_r($arr); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V13QU
function name:  (null)
number of ops:  21
compiled vars:  !0 = $ch, !1 = $headers, !2 = $run, !3 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        SEND_VAL_EX                                              'https%3A%2F%2Fapi.appannie.com%2Fv1.2%2Fproducts%2Fcom.abcvet%2Fsales%3Fbreak_down%3Ddate%26start_date%3D2015-01-01%26end_date%3D2015-01-31'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !0, $4
    3     4        ASSIGN                                                   !1, <array>
    4     5        INIT_FCALL_BY_NAME                                       'curl_exec'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
    5     9        INIT_FCALL_BY_NAME                                       'curl_close'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0          
    6    12        INIT_FCALL                                               'json_decode'
         13        SEND_VAR                                                 !2
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $10     
         16        ASSIGN                                                   !3, $10
    8    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                                 
   11    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.23 ms | 1395 KiB | 17 Q