3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl = curl_init(); curl_setopt ($curl, CURLOPT_URL, "https://pacific.pleatsikas.me/api"); $result = curl_exec($curl); curl_close($curl); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HBpa6
function name:  (null)
number of ops:  17
compiled vars:  !0 = $curl, !1 = $result
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                                              'https%3A%2F%2Fpacific.pleatsikas.me%2Fapi'
          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
    6    13        INIT_FCALL_BY_NAME                                       'curl_close'
         14        SEND_VAR_EX                                              !0
         15        DO_FCALL                                      0          
    7    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.53 ms | 1393 KiB | 13 Q