bug69054.phpt 297 B

12345678910111213
  1. --TEST--
  2. Bug #69054 (Null dereference in readline_(read|write)_history() without parameters)
  3. --EXTENSIONS--
  4. readline
  5. --SKIPIF--
  6. <?php if (!function_exists('readline_add_history')) die("skip"); ?>
  7. --INI--
  8. open_basedir="{TMP}"
  9. --FILE--
  10. <?php readline_read_history(); ?>
  11. ==DONE==
  12. --EXPECT--
  13. ==DONE==