3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(__DIR__); var_dump(realpath(null), realpath(false), realpath(''));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AZp6W
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 '%2Fin'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'realpath'
          5        SEND_VAL                                                 null
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        INIT_FCALL                                               'realpath'
          9        SEND_VAL                                                 <false>
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        INIT_FCALL                                               'realpath'
         13        SEND_VAL                                                 ''
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.74 ms | 1394 KiB | 17 Q