1--TEST-- 2Cloning unconstructed MessageFormatter 3--EXTENSIONS-- 4intl 5--FILE-- 6<?php 7 8class A extends MessageFormatter { 9 function __construct() {} 10} 11 12$a = new A; 13try { 14 $b = clone $a; 15} catch (Exception $e) { 16 var_dump($e->getMessage()); 17} 18?> 19--EXPECTF-- 20string(%d) "Cannot clone unconstructed MessageFormatter" 21