3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_POST => 1, CURLOPT_URL => 'http://example.org' )); curl_exec($ch);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YHSPg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $ch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     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_array'
          4        SEND_VAR_EX                                              !0
    6     5        FETCH_CONSTANT                                   ~3      'CURLOPT_POST'
          6        INIT_ARRAY                                       ~4      1, ~3
    7     7        FETCH_CONSTANT                                   ~5      'CURLOPT_URL'
          8        ADD_ARRAY_ELEMENT                                ~4      'http%3A%2F%2Fexample.org', ~5
          9        SEND_VAL_EX                                              ~4
         10        DO_FCALL                                      0          
   10    11        INIT_FCALL_BY_NAME                                       'curl_exec'
         12        SEND_VAR_EX                                              !0
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.78 ms | 1397 KiB | 13 Q