3v4l.org

run code in 300+ PHP versions simultaneously
<?php $descriptorspec = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/tmp/error-output.txt", "a") ); $cwd = '/tmp'; $env = array('some_option' => 'aeiou'); $process = proc_open('php', $descriptorspec, $pipes, $cwd); var_dump($process);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GSJVU
function name:  (null)
number of ops:  14
compiled vars:  !0 = $descriptorspec, !1 = $cwd, !2 = $env, !3 = $process, !4 = $pipes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN                                                   !1, '%2Ftmp'
    9     2        ASSIGN                                                   !2, <array>
   11     3        INIT_FCALL                                               'proc_open'
          4        SEND_VAL                                                 'php'
          5        SEND_VAR                                                 !0
          6        SEND_REF                                                 !4
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !3, $8
   12    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.31 ms | 1398 KiB | 17 Q