3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = fopen(__FILE__, 'r'); fseek($f, __COMPILER_HALT_OFFSET__); var_dump(__COMPILER_HALT_OFFSET__, defined('__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/VfvBh
function name:  (null)
number of ops:  20
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 '%2Fin%2FVfvBh'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'fseek'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 203
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 203
         11        DEFINED                                          ~4      '__COMPILER_HALT_OFFSET__'
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'stream_get_contents'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $6      
         17        ECHO                                                     $6
         18        ECHO                                                     '%0A'
    9    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
213.88 ms | 1394 KiB | 21 Q