It outputs one or more strings
Example
<?php
echo (“phpcode”);
?>
Output
phpcode
It outputs one or more strings
Example
<?php
echo (“phpcode”);
?>
Output
phpcode
It returns a string encrypted using DES, Blowfish, or MD5 algorithms.
Example
<?php
echo crypt(“phpcode”);
?>
Output
$1$IPvU1z.J$K0G7fAVaDY7KBRpEJcB62/
It calculates a 32-bit CRC for a string
Example
<?php
echo crc32(“phpcode”);
?>
Output
975211817
It return information about characters used in a string
Example
<?php
echo “<pre>”;
print_r(count_chars(“phpcode”,1));
?>
Output
Array
(
[99] => 1
[100] => 1
[101] => 1
[104] => 1
[111] => 1
[112] => 2
)
It Uuencode a string
Example
<?php
echo convert_uuencode(“phpcode”);
?>
Output
‘<&AP8V]D90“ `
It decodes a uuencoded string
Example
<?php
echo convert_uudecode(convert_uuencode(“phpcode”));
?>
Output
phpcode
It converts from one Cyrillic character set to another
Example
<?php
echo convert_cyr_string(“phpcode Ã¥”,’w’,’a’);
?>
Output
phpcode
It splits a string into smaller chunks
Example
<?php
echo chunk_split(“phpcode”,1,”.”);
?>
Output
p.h.p.c.o.d.e.
It returns a character based on ASCII value .
Example
<?php
echo chr(52);
?>
Output
4
Its an alias of rtrim() and it removes white spaces from the right end of a string
Example
<?php
echo chop(“phpcode “);
?>
Output
phpcode