3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.34 ms | 1399 KiB | 15 Q