fork download
  1. <?php
  2. var_dump(__DIR__.'config.php');
  3. include_once '/config.php';
  4. require_once __DIR__.'config.php';
  5. echo 'done';
Runtime error #stdin #stdout #stderr 0.02s 24448KB
stdin
Standard input is empty
stdout
string(22) "/home/nSupPFconfig.php"
stderr
PHP Warning:  include_once(/config.php): failed to open stream: No such file or directory in /home/nSupPF/prog.php on line 4
PHP Warning:  include_once(): Failed opening '/config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/nSupPF/prog.php on line 4
PHP Warning:  require_once(/home/nSupPFconfig.php): failed to open stream: No such file or directory in /home/nSupPF/prog.php on line 5
PHP Fatal error:  require_once(): Failed opening required '/home/nSupPFconfig.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/nSupPF/prog.php on line 5