![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #34645 (ctype corrupts memory when validating large numbers) ! 3: --SKIPIF-- ! 4: <?php require_once('skipif.inc'); ?> ! 5: --FILE-- ! 6: <?php ! 7: $id = 394829384; ! 8: var_dump(ctype_digit($id)); ! 9: var_dump($id); ! 10: ?> ! 11: --EXPECT-- ! 12: bool(true) ! 13: int(394829384)