3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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/1MjRq
function name:  (null)
number of ops:  19
compiled vars:  !0 = $ch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_setopt'
          1        SEND_VAR_EX                                              !0
          2        FETCH_CONSTANT                                   ~1      'CURLOPT_URL'
          3        SEND_VAL_EX                                              ~1
          4        SEND_VAL_EX                                              'http%3A%2F%2Fwww.example.com%2F'
          5        DO_FCALL                                      0          
    3     6        INIT_FCALL_BY_NAME                                       'curl_setopt'
          7        SEND_VAR_EX                                              !0
          8        FETCH_CONSTANT                                   ~3      'CURLOPT_HEADER'
          9        SEND_VAL_EX                                              ~3
         10        SEND_VAL_EX                                              0
         11        DO_FCALL                                      0          
    4    12        INIT_FCALL_BY_NAME                                       'curl_exec'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0          
    5    15        INIT_FCALL_BY_NAME                                       'curl_close'
         16        SEND_VAR_EX                                              !0
         17        DO_FCALL                                      0          
    6    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.71 ms | 1397 KiB | 13 Q