3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = @fopen('/proc/cpuinfo','rb'); echo @fread($fp,400);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5pLB6
function name:  (null)
number of ops:  15
compiled vars:  !0 = $fp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~1      
          1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 '%2Fproc%2Fcpuinfo'
          3        SEND_VAL                                                 'rb'
          4        DO_ICALL                                         $2      
          5        END_SILENCE                                              ~1
          6        ASSIGN                                                   !0, $2
    3     7        BEGIN_SILENCE                                    ~4      
          8        INIT_FCALL                                               'fread'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 400
         11        DO_ICALL                                         $5      
         12        END_SILENCE                                              ~4
         13        ECHO                                                     $5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.98 ms | 1394 KiB | 17 Q