--TEST-- Test ctype_graph() function : usage variations - different strings --SKIPIF-- --FILE-- .?/", /*25*/ "\"ABC\"", "String\twith\ttabs", "Sample string with newline\n", /*28*/ "123 ABC XYZ", ); $iterator = 1; foreach($values as $value) { echo "\n-- Iteration $iterator --\n"; var_dump( ctype_graph($value) ); $iterator++; }; setlocale(LC_CTYPE, $orig); ?> ===DONE=== --EXPECTF-- *** Testing ctype_graph() : usage variations *** -- Iteration 1 -- bool(false) -- Iteration 2 -- bool(false) -- Iteration 3 -- bool(false) -- Iteration 4 -- bool(false) -- Iteration 5 -- bool(true) -- Iteration 6 -- bool(true) -- Iteration 7 -- bool(true) -- Iteration 8 -- bool(true) -- Iteration 9 -- bool(true) -- Iteration 10 -- bool(false) -- Iteration 11 -- bool(true) -- Iteration 12 -- bool(true) -- Iteration 13 -- bool(false) -- Iteration 14 -- bool(true) -- Iteration 15 -- bool(true) -- Iteration 16 -- bool(true) -- Iteration 17 -- bool(true) -- Iteration 18 -- bool(true) -- Iteration 19 -- bool(false) -- Iteration 20 -- bool(false) -- Iteration 21 -- bool(false) -- Iteration 22 -- bool(false) -- Iteration 23 -- bool(false) -- Iteration 24 -- bool(true) -- Iteration 25 -- bool(true) -- Iteration 26 -- bool(false) -- Iteration 27 -- bool(false) -- Iteration 28 -- bool(false) ===DONE===