summaryrefslogtreecommitdiff
path: root/ext/intl/tests/bug61487.phpt
blob: 2270b25cce8cc2e6c95df1d61b6d0243ded9b390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
grapheme() str[i]pos limits
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) die('skip'); 
if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
var_dump(grapheme_stripos(1,1,2147483648));
var_dump(grapheme_strpos(1,1,2147483648));
--EXPECT--
bool(false)
bool(false)