1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
Files
archived-php-src/ext/intl/tests/bug72639.phpt
T

18 lines
351 B
PHP

--TEST--
Bug #72639 (Segfault when instantiating class that extends IntlCalendar and adds a property)
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
class A extends IntlCalendar {
public function __construct() {}
private $a;
}
var_dump(new A());
?>
--EXPECTF--
object(A)#%d (1) {
["valid"]=>
bool(false)
}