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->getLocale(Locale::ACTUAL_LOCALE);
16?>
17--EXPECTF--
18Fatal error: Uncaught Error: Object not initialized in %s:%d
19Stack trace:
20#0 %s(%d): Collator->getLocale(0)
21#1 {main}
22  thrown in %s on line %d
23