3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "hello, world\n"; var_dump(fclose(STDOUT)); echo "hello, world2\n"; echo "hello, world2 in stderr\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sJeMB
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'hello%2C+world%0A'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'fclose'
          3        FETCH_CONSTANT                                   ~0      'STDOUT'
          4        SEND_VAL                                                 ~0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    5     8        ECHO                                                     'hello%2C+world2%0A'
    6     9        ECHO                                                     'hello%2C+world2+in+stderr%0A'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.01 ms | 1398 KiB | 17 Q