3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keyword= "Marketing Automation"; $url = "http://api3.wordtracker.com/search?keyword=".$keyword."app_id=09d67621&app_key=c0ab83a5057b00d294a2b7531ce21236&limit=2"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $output = curl_exec($ch); $output = json_decode($output,true); $data = $output['data']; print_r($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LfujJ
function name:  (null)
number of ops:  40
compiled vars:  !0 = $keyword, !1 = $url, !2 = $ch, !3 = $output, !4 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Marketing+Automation'
    3     1        CONCAT                                           ~6      'http%3A%2F%2Fapi3.wordtracker.com%2Fsearch%3Fkeyword%3D', !0
          2        CONCAT                                           ~7      ~6, 'app_id%3D09d67621%26app_key%3Dc0ab83a5057b00d294a2b7531ce21236%26limit%3D2'
          3        ASSIGN                                                   !1, ~7
    4     4        INIT_FCALL_BY_NAME                                       'curl_init'
          5        DO_FCALL                                      0  $9      
          6        ASSIGN                                                   !2, $9
    5     7        INIT_FCALL_BY_NAME                                       'curl_setopt'
          8        SEND_VAR_EX                                              !2
          9        FETCH_CONSTANT                                   ~11     'CURLOPT_URL'
         10        SEND_VAL_EX                                              ~11
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0          
    6    13        INIT_FCALL_BY_NAME                                       'curl_setopt'
         14        SEND_VAR_EX                                              !2
         15        FETCH_CONSTANT                                   ~13     'CURLOPT_RETURNTRANSFER'
         16        SEND_VAL_EX                                              ~13
         17        SEND_VAL_EX                                              1
         18        DO_FCALL                                      0          
    7    19        INIT_FCALL_BY_NAME                                       'curl_setopt'
         20        SEND_VAR_EX                                              !2
         21        FETCH_CONSTANT                                   ~15     'CURLOPT_SSL_VERIFYPEER'
         22        SEND_VAL_EX                                              ~15
         23        SEND_VAL_EX                                              <false>
         24        DO_FCALL                                      0          
    8    25        INIT_FCALL_BY_NAME                                       'curl_exec'
         26        SEND_VAR_EX                                              !2
         27        DO_FCALL                                      0  $17     
         28        ASSIGN                                                   !3, $17
    9    29        INIT_FCALL                                               'json_decode'
         30        SEND_VAR                                                 !3
         31        SEND_VAL                                                 <true>
         32        DO_ICALL                                         $19     
         33        ASSIGN                                                   !3, $19
   10    34        FETCH_DIM_R                                      ~21     !3, 'data'
         35        ASSIGN                                                   !4, ~21
   11    36        INIT_FCALL                                               'print_r'
         37        SEND_VAR                                                 !4
         38        DO_ICALL                                                 
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.05 ms | 941 KiB | 18 Q