3v4l.org

run code in 300+ PHP versions simultaneously
<?php $proc = proc_open( 'exit 42', array(), $pipes ); var_dump( proc_close( $proc) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CMeEM
function name:  (null)
number of ops:  13
compiled vars:  !0 = $proc, !1 = $pipes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'proc_open'
          1        SEND_VAL                                                 'exit+42'
          2        SEND_VAL                                                 <array>
          3        SEND_REF                                                 !1
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'proc_close'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.84 ms | 1385 KiB | 19 Q