1--TEST--
2Test ctype_xdigit() function : basic functionality
3--EXTENSIONS--
4ctype
5--FILE--
6<?php
7echo "*** Testing ctype_xdigit() : basic functionality ***\n";
8$orig = setlocale(LC_CTYPE, "C");
9
10$c1 = 'abcdefABCDEF0123456789';
11$c2 = 'face 034';
12
13var_dump(ctype_xdigit($c1));
14var_dump(ctype_xdigit($c2));
15
16setlocale(LC_CTYPE, $orig);
17?>
18--EXPECT--
19*** Testing ctype_xdigit() : basic functionality ***
20bool(true)
21bool(false)
22