bug73615.phpt 334 B

123456789101112131415161718
  1. --TEST--
  2. Bug #73615 (phpdbg without option never load .phpdbginit at startup)
  3. --SKIPIF--
  4. <?php
  5. if (!getenv('TEST_PHPDBG_EXECUTABLE')) die("SKIP: No TEST_PHPDBG_EXECUTABLE specified");
  6. ?>
  7. --FILE--
  8. <?php
  9. $phpdbg = getenv('TEST_PHPDBG_EXECUTABLE');
  10. chdir(__DIR__."/bug73615");
  11. print `$phpdbg -qn`;
  12. ?>
  13. --EXPECT--
  14. Executed .phpdbginit