3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "ryat\0".str_repeat('i',1024); var_dump(readlink($str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fhkDm
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'i'
          2        SEND_VAL                                                 1024
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      'ryat%00', $1
          5        ASSIGN                                                   !0, ~2
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'readlink'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.71 ms | 1394 KiB | 19 Q