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