mirror of
https://github.com/php/php-src.git
synced 2026-03-28 18:22:42 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
22 lines
434 B
PHP
22 lines
434 B
PHP
--TEST--
|
|
Test chr() function : basic functionality
|
|
--FILE--
|
|
<?php
|
|
|
|
/* Prototype : string chr ( int $ascii )
|
|
* Description: Return a specific character
|
|
* Source code: ext/standard/string.c
|
|
*/
|
|
|
|
echo "*** Testing chr() : basic functionality ***\n";
|
|
|
|
echo chr(72). chr(101) . chr(108) . chr(108). chr(111); // Hello
|
|
echo chr(10); // "\n"
|
|
echo "World";
|
|
echo "\n";
|
|
?>
|
|
--EXPECT--
|
|
*** Testing chr() : basic functionality ***
|
|
Hello
|
|
World
|