bug72639.phpt 306 B

1234567891011121314151617
  1. --TEST--
  2. Bug #72639 (Segfault when instantiating class that extends IntlCalendar and adds a property)
  3. --EXTENSIONS--
  4. intl
  5. --FILE--
  6. <?php
  7. class A extends IntlCalendar {
  8. public function __construct() {}
  9. private $a;
  10. }
  11. var_dump(new A());
  12. ?>
  13. --EXPECTF--
  14. object(A)#%d (1) {
  15. ["valid"]=>
  16. bool(false)
  17. }