1--TEST--
2Bug #60192 (SegFault when Collator not constructed properly)
3--SKIPIF--
4<?php
5	if (!extension_loaded('intl')) { die('skip intl extension not available'); }
6?>
7--FILE--
8<?php
9class Collator2 extends Collator{
10	public function __construct() {
11		// omitting parent::__construct($someLocale);
12	}
13}
14
15$c = new Collator2();
16$a = $c->compare('h', 'H');
17--EXPECTF--
18Fatal error: Uncaught Error: Object not initialized in %s:%d
19Stack trace:
20#0 %s(%d): Collator->compare('h', 'H')
21#1 {main}
22  thrown in %s on line %d
23