3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( $curl = curl_init() ) { curl_setopt($curl,CURLOPT_URL,'http://myrusakov.ru'); curl_setopt($curl,CURLOPT_RETURNTRANSFER,true); $out = curl_exec($curl); echo $out; curl_close($curl); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 24
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/ZriLE
function name:  (null)
number of ops:  25
compiled vars:  !0 = $curl, !1 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                           ~3      !0, $2
          3      > JMPZ                                                     ~3, ->24
    3     4    >   INIT_FCALL_BY_NAME                                       'curl_setopt'
          5        SEND_VAR_EX                                              !0
          6        FETCH_CONSTANT                                   ~4      'CURLOPT_URL'
          7        SEND_VAL_EX                                              ~4
          8        SEND_VAL_EX                                              'http%3A%2F%2Fmyrusakov.ru'
          9        DO_FCALL                                      0          
    4    10        INIT_FCALL_BY_NAME                                       'curl_setopt'
         11        SEND_VAR_EX                                              !0
         12        FETCH_CONSTANT                                   ~6      'CURLOPT_RETURNTRANSFER'
         13        SEND_VAL_EX                                              ~6
         14        SEND_VAL_EX                                              <true>
         15        DO_FCALL                                      0          
    5    16        INIT_FCALL_BY_NAME                                       'curl_exec'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $8      
         19        ASSIGN                                                   !1, $8
    6    20        ECHO                                                     !1
    7    21        INIT_FCALL_BY_NAME                                       'curl_close'
         22        SEND_VAR_EX                                              !0
         23        DO_FCALL                                      0          
    9    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.57 ms | 1398 KiB | 13 Q