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", "aaa"); $b = '/tmp/ryat'; $c = 'ryat'; link($a,$b); var_dump(readlink($c));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uc1PP
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'tempnam'
          1        SEND_VAL                                                 '%2Ftmp'
          2        SEND_VAL                                                 'aaa'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    9     5        ASSIGN                                                   !1, '%2Ftmp%2Fryat'
   10     6        ASSIGN                                                   !2, 'ryat'
   12     7        INIT_FCALL                                               'link'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   13    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'readlink'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $8      
         15        SEND_VAR                                                 $8
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.54 ms | 1394 KiB | 21 Q