3v4l.org

run code in 300+ PHP versions simultaneously
<?php curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8maUi
function name:  (null)
number of ops:  21
compiled vars:  !0 = $ch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        DO_FCALL                                      0          
    3     2        INIT_FCALL_BY_NAME                                       'curl_setopt'
          3        SEND_VAR_EX                                              !0
          4        FETCH_CONSTANT                                   ~2      'CURLOPT_URL'
          5        SEND_VAL_EX                                              ~2
          6        SEND_VAL_EX                                              'http%3A%2F%2Fwww.example.com%2F'
          7        DO_FCALL                                      0          
    4     8        INIT_FCALL_BY_NAME                                       'curl_setopt'
          9        SEND_VAR_EX                                              !0
         10        FETCH_CONSTANT                                   ~4      'CURLOPT_HEADER'
         11        SEND_VAL_EX                                              ~4
         12        SEND_VAL_EX                                              0
         13        DO_FCALL                                      0          
    5    14        INIT_FCALL_BY_NAME                                       'curl_exec'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0          
    6    17        INIT_FCALL_BY_NAME                                       'curl_close'
         18        SEND_VAR_EX                                              !0
         19        DO_FCALL                                      0          
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.53 ms | 1394 KiB | 13 Q