3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(set_include_path("/path/to/php\0extra")); echo get_include_path()."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4bRRN
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'set_include_path'
          2        SEND_VAL                                                 '%2Fpath%2Fto%2Fphp%00extra'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'get_include_path'
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      $2, '%0A'
          9        ECHO                                                     ~3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.69 ms | 1385 KiB | 19 Q