xref: /PHP-8.3/ext/ctype/tests/bug34645.phpt (revision 08069165)
1--TEST--
2Bug #34645 (ctype corrupts memory when validating large numbers)
3--EXTENSIONS--
4ctype
5--FILE--
6<?php
7$id = 394829384;
8var_dump(ctype_digit($id));
9var_dump($id);
10?>
11--EXPECTF--
12Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s on line %d
13bool(true)
14int(394829384)
15