fork download
  1. <?php
  2.  
  3. require_once __DIR_ . '/ApiRequest.php';
  4.  
  5. class CreateProductRequest extends ApiRequest {}
Runtime error #stdin #stdout #stderr 0.02s 23348KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Notice:  Use of undefined constant __DIR_ - assumed '__DIR_' in /home/h6vM5h/prog.php on line 3
PHP Warning:  require_once(__DIR_/ApiRequest.php): failed to open stream: No such file or directory in /home/h6vM5h/prog.php on line 3
PHP Fatal error:  require_once(): Failed opening required '__DIR_/ApiRequest.php' (include_path='.:/usr/share/php') in /home/h6vM5h/prog.php on line 3