1--TEST--
2Bug #65683: Intl does not support DateTimeImmutable (using datefmt_format_object)
3--SKIPIF--
4<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?>
5--FILE--
6<?php
7$date = date_create('1970-01-01');
8$date_imm = date_create_immutable('1970-01-01');
9var_dump(datefmt_format_object($date, null, 'fr_FR'));
10var_dump(datefmt_format_object($date_imm, null, 'fr_FR'));
11?>
12--EXPECTF--
13string(%d) "%s"
14string(%d) "%s"
15