1--TEST--
2Accessing PHP_INT_MAX and PHP_INT_MIN as string offsets
3--FILE--
4<?php
5
6$str = "";
7var_dump($str[PHP_INT_MAX]);
8var_dump($str[PHP_INT_MIN]);
9
10?>
11--EXPECTF--
12Notice: Uninitialized string offset: %d in %s on line %d
13string(0) ""
14
15Notice: Uninitialized string offset: -%d in %s on line %d
16string(0) ""
17