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