3v4l.org

run code in 500+ PHP versions simultaneously
<?php file_put_contents('/tmp/x', str_repeat('x', 2048)); var_dump(symlink('/tmp/x', '/tmp/y')); print_r(stat('/tmp/y')); print_r(lstat('/tmp/y'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0u1fj
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'file_put_contents'
          1        SEND_VAL                                                     '%2Ftmp%2Fx'
          2        INIT_FCALL                                                   'str_repeat'
          3        SEND_VAL                                                     'x'
          4        SEND_VAL                                                     2048
          5        DO_ICALL                                             $0      
          6        SEND_VAR                                                     $0
          7        DO_ICALL                                                     
    4     8        INIT_FCALL                                                   'var_dump'
          9        INIT_FCALL                                                   'symlink'
         10        SEND_VAL                                                     '%2Ftmp%2Fx'
         11        SEND_VAL                                                     '%2Ftmp%2Fy'
         12        DO_ICALL                                             $2      
         13        SEND_VAR                                                     $2
         14        DO_ICALL                                                     
    6    15        INIT_FCALL                                                   'print_r'
         16        INIT_FCALL                                                   'stat'
         17        SEND_VAL                                                     '%2Ftmp%2Fy'
         18        DO_ICALL                                             $4      
         19        SEND_VAR                                                     $4
         20        DO_ICALL                                                     
    7    21        INIT_FCALL                                                   'print_r'
         22        INIT_FCALL                                                   'lstat'
         23        SEND_VAL                                                     '%2Ftmp%2Fy'
         24        DO_ICALL                                             $6      
         25        SEND_VAR                                                     $6
         26        DO_ICALL                                                     
         27      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
140.44 ms | 1851 KiB | 15 Q