3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = fopen(__FILE__, 'r'); fseek($f, __COMPILER_HALT_OFFSET__); var_dump(__COMPILER_HALT_OFFSET__, ); echo stream_get_contents($f), PHP_EOL; __halt_compiler(); ヾ(〃><)ノ゙☆
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XjTre
function name:  (null)
number of ops:  18
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 '%2Fin%2FXjTre'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'fseek'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 168
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 168
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'stream_get_contents'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
         16        ECHO                                                     '%0A'
    9    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.36 ms | 1394 KiB | 21 Q