1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Files
archived-php-src/ext/intl/tests/bug74063.phpt
T
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

16 lines
340 B
PHP

--TEST--
Bug #74063 (NumberFormatter fails after retrieval from session)
--EXTENSIONS--
intl
--FILE--
<?php
$formatter = new NumberFormatter("en_GB", NumberFormatter::CURRENCY);
try {
serialize($formatter);
} catch (Exception $ex) {
echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECT--
Serialization of 'NumberFormatter' is not allowed