bug70398.phpt 339 B

123456789101112131415161718
  1. --TEST--
  2. Bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex)
  3. --FILE--
  4. <?php
  5. define("FILE_STREAM", fopen("php://temp", "r"));
  6. define("FILE_STREAMS", array(fopen("php://temp", "r")));
  7. var_dump(FILE_STREAM);
  8. var_dump(FILE_STREAMS);
  9. ?>
  10. --EXPECTF--
  11. resource(%d) of type (stream)
  12. array(1) {
  13. [0]=>
  14. resource(%d) of type (stream)
  15. }