It calculates a 32-bit CRC for a string
Example
<?php
echo crc32(“phpcode”);
?>
Output
975211817
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
It convert binary data into hexadecimal representation
Example
<?php
echo bin2hex(“phpcode”);
?>
Output
706870636f6465
It returns a string with backslashes in front of the specified characters
Example
<?php
echo addslashes(‘p/h”p{[^’);
?>
Output
p/h”p{[^