mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
15 lines
371 B
PHP
15 lines
371 B
PHP
--TEST--
|
|
Bug #65683: Intl does not support DateTimeImmutable (using datefmt_format_object)
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
$date = date_create('1970-01-01');
|
|
$date_imm = date_create_immutable('1970-01-01');
|
|
var_dump(datefmt_format_object($date, null, 'fr_FR'));
|
|
var_dump(datefmt_format_object($date_imm, null, 'fr_FR'));
|
|
?>
|
|
--EXPECTF--
|
|
string(%d) "%s"
|
|
string(%d) "%s"
|