It decodes a quoted-printable string to an 8-bit ASCII string
Example
<?php
echo quoted_printable_decode(“php=0Acode”);
?>
Output
php code
It decodes a quoted-printable string to an 8-bit ASCII string
Example
<?php
echo quoted_printable_decode(“php=0Acode”);
?>
Output
php code
It output a formatted string
Example
<?php
parse_str(“first=php&second=code”);
printf(“%s%s”,$first,$second);
?>
Output
phpcode
It outputs a string
Example
<?php
parse_str(“first=php&second=code”);
print $first.$second;
?>
Output
phpcode
It parses the string into variables
Example
<?php
parse_str(“first=php&second=code”);
echo $first.$second;
?>
Output
phpcode
It return ASCII value of character
Example
<?php
echo “ASCII value of ‘a’ is “.ord(“a”);
?>
Output
ASCII value of ‘a’ is 97
It format a number with grouped thousands
Example
<?php
echo number_format(1233.56,2);
?>
Output
1,233.56
It inserts HTML line breaks before all newlines in a string
Example
<?php
echo nl2br(“phpncode “);
?>
Output
php
code
It returns specific local information.
Windows platforms does not support this function
Example
<?php
echo nl_langinfo($element);
?>
It formats a number as a currency string
Example
<?php
echo money_format(1234.56,2);
?>
Output
1234.56
It calculate the metaphone key of a string
Example
<?php echo metaphone("phpcode"); ?>
Output
FPKT