3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.2 ms | 1394 KiB | 21 Q