3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://research.evex.pw/"); $response = curl_exec($ch); var_dump($response); var_dump(curl_error($ch)); die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/J2LI4
function name:  (null)
number of ops:  24
compiled vars:  !0 = $ch, !1 = $response
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                                                   !0, $2
    3     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%2Fresearch.evex.pw%2F'
          8        DO_FCALL                                      0          
    5     9        INIT_FCALL_BY_NAME                                       'curl_exec'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $6      
         12        ASSIGN                                                   !1, $6
    7    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
    8    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL_BY_NAME                                       'curl_error'
         18        SEND_VAR_EX                                              !0
         19        DO_FCALL                                      0  $9      
         20        SEND_VAR                                                 $9
         21        DO_ICALL                                                 
         22      > EXIT                                                     
         23*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.76 ms | 1395 KiB | 15 Q