3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.39 ms | 1395 KiB | 15 Q