sprintf()

It returns a formatted string

Example

<?php
parse_str(“first=php&second=code”);
echo sprintf(“%s%s”,$first,$second);
?>

Output

phpcode

Share