1--TEST--
2Test ctype_print() function : basic functionality
3--EXTENSIONS--
4ctype
5--FILE--
6<?php
7echo "*** Testing ctype_print() : basic functionality ***\n";
8
9$orig = setlocale(LC_CTYPE, "C");
10
11$c1 = "Hello, World!";
12$c2 = null;
13
14var_dump(ctype_print($c1));
15var_dump(ctype_print($c2));
16
17setlocale(LC_CTYPE, $orig);
18?>
19--EXPECTF--
20*** Testing ctype_print() : basic functionality ***
21bool(true)
22
23Deprecated: ctype_print(): Argument of type null will be interpreted as string in the future in %s on line %d
24bool(false)
25