xref: /PHP-7.1/ext/intl/tests/bug72639.phpt (revision 4a643e5e)
1--TEST--
2Bug #72639 (Segfault when instantiating class that extends IntlCalendar and adds a property)
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
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