bug69485.phpt 292 B

12345678910111213141516171819202122
  1. --TEST--
  2. Bug #69485 (Double free on zend_list_dtor)
  3. --EXTENSIONS--
  4. curl
  5. --FILE--
  6. <?php
  7. class O {
  8. public $ch;
  9. public function dummy() {
  10. }
  11. }
  12. $ch = curl_init();
  13. $o = new O;
  14. $o->ch = $ch;
  15. curl_setopt($ch, CURLOPT_WRITEFUNCTION, array($o, "dummy"));
  16. ?>
  17. ==DONE==
  18. --EXPECT--
  19. ==DONE==