3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); // установка URL и других необходимых параметров curl_setopt($ch, CURLOPT_URL, "https://www.google.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/cRVuC
function name:  (null)
number of ops:  22
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  $1      
          2        ASSIGN                                                   !0, $1
    5     3        INIT_FCALL_BY_NAME                                       'curl_setopt'
          4        SEND_VAR_EX                                              !0
          5        FETCH_CONSTANT                                   ~3      'CURLOPT_URL'
          6        SEND_VAL_EX                                              ~3
          7        SEND_VAL_EX                                              'https%3A%2F%2Fwww.google.com%2F'
          8        DO_FCALL                                      0          
    6     9        INIT_FCALL_BY_NAME                                       'curl_setopt'
         10        SEND_VAR_EX                                              !0
         11        FETCH_CONSTANT                                   ~5      'CURLOPT_HEADER'
         12        SEND_VAL_EX                                              ~5
         13        SEND_VAL_EX                                              0
         14        DO_FCALL                                      0          
    9    15        INIT_FCALL_BY_NAME                                       'curl_exec'
         16        SEND_VAR_EX                                              !0
         17        DO_FCALL                                      0          
   12    18        INIT_FCALL_BY_NAME                                       'curl_close'
         19        SEND_VAR_EX                                              !0
         20        DO_FCALL                                      0          
   13    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.15 ms | 1385 KiB | 13 Q