3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (@readfile('/foo') === false) { echo "foo"; } header('HTTP/1.1 404 Not Found');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/3B28W
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~0      
          1        INIT_FCALL                                               'readfile'
          2        SEND_VAL                                                 '%2Ffoo'
          3        DO_ICALL                                         $1      
          4        END_SILENCE                                              ~0
          5        TYPE_CHECK                                    4          $1
          6      > JMPZ                                                     ~2, ->8
    4     7    >   ECHO                                                     'foo'
    6     8    >   INIT_FCALL                                               'header'
          9        SEND_VAL                                                 'HTTP%2F1.1+404+Not+Found'
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.99 ms | 1385 KiB | 17 Q