3v4l.org

run code in 300+ PHP versions simultaneously
<?php // create curl resource $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, "http://www.1800doorbell.com/doorbells/"); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up system resources curl_close($ch); var_dump($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TQ1rf
function name:  (null)
number of ops:  26
compiled vars:  !0 = $ch, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                                   !0, $2
    6     3        INIT_FCALL_BY_NAME                                       'curl_setopt'
          4        SEND_VAR_EX                                              !0
          5        FETCH_CONSTANT                                   ~4      'CURLOPT_URL'
          6        SEND_VAL_EX                                              ~4
          7        SEND_VAL_EX                                              'http%3A%2F%2Fwww.1800doorbell.com%2Fdoorbells%2F'
          8        DO_FCALL                                      0          
    9     9        INIT_FCALL_BY_NAME                                       'curl_setopt'
         10        SEND_VAR_EX                                              !0
         11        FETCH_CONSTANT                                   ~6      'CURLOPT_RETURNTRANSFER'
         12        SEND_VAL_EX                                              ~6
         13        SEND_VAL_EX                                              1
         14        DO_FCALL                                      0          
   12    15        INIT_FCALL_BY_NAME                                       'curl_exec'
         16        SEND_VAR_EX                                              !0
         17        DO_FCALL                                      0  $8      
         18        ASSIGN                                                   !1, $8
   15    19        INIT_FCALL_BY_NAME                                       'curl_close'
         20        SEND_VAR_EX                                              !0
         21        DO_FCALL                                      0          
   17    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.89 ms | 1395 KiB | 15 Q