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"); $a = '/tmp/hi'; $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/MjG73
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, '%2Ftmp%2Fhi'
   10     1        ASSIGN                                                   !1, '%2Ftmp%2Fryat'
   11     2        ASSIGN                                                   !2, 'ryat'
   13     3        INIT_FCALL                                               'link'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
   14     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'readlink'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $7      
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.32 ms | 1398 KiB | 19 Q