mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
11 lines
191 B
Plaintext
11 lines
191 B
Plaintext
|
--TEST--
|
||
|
chr() and ord() functions
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo "Testing ord() & chr()...";
|
||
|
for($i=0; $i<256; $i++) echo !ord(chr($i)) == $i;
|
||
|
echo " done";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Testing ord() & chr()... done
|