Translate characters or replace substrings

Is there any function which replaces params in a string? Something like this:? Code: $format_str = "My name is %name."; /* this was set in a                                       configuration file – config.php */$str = xprintf($format_str, array(\’name\’ => \’Joe\’, \’age\’ => 150));               /* above is somewhere in main code */ The expected value of $str after …

How to update Nexus S I9023 to Ice Cream Sandwich 4.0.3

Google seems to have released a combined update for all Nexus S GSM owners, which includes the Super AMOLED version as well as Super Clear LCD version. It was confirmed by several of our readers, who updated their Nexus S GT-i9023 to Android 4.0.3 using the same build that was said to be released for …