php-src/ext/intl/tests/bug72639.phpt

18 lines
306 B
Plaintext
Raw Normal View History

--TEST--
Bug #72639 (Segfault when instantiating class that extends IntlCalendar and adds a property)
--EXTENSIONS--
intl
--FILE--
<?php
class A extends IntlCalendar {
public function __construct() {}
2020-02-03 21:52:20 +00:00
private $a;
}
var_dump(new A());
?>
--EXPECTF--
object(A)#%d (1) {
["valid"]=>
bool(false)
}