1--TEST--
2Bug #68893 Stackoverflow in datefmt_create
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7
8$f = datefmt_create("en_us", -10000000, 1);
9var_dump($f, intl_get_error_message());
10
11$f = datefmt_create("en_us", 1, -10000000);
12var_dump($f, intl_get_error_message());
13
14?>
15--EXPECT--
16NULL
17string(67) "datefmt_create: invalid date format style: U_ILLEGAL_ARGUMENT_ERROR"
18NULL
19string(67) "datefmt_create: invalid time format style: U_ILLEGAL_ARGUMENT_ERROR"
20