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