Go to the source code of this file.
Functions | |
| aasprintf ($format, &$data) | |
| Returns a formatted string with named variable substitution (DOES NOT WORK!). | |
Definition in file aasprintf.lib.php.
| aasprintf | ( | $ | format, | |
| &$ | data | |||
| ) |
Returns a formatted string with named variable substitution (DOES NOT WORK!).
Normal sprintf-formatting specifiers can be used (eg. s), with one important modification: %(name)s should be used to specify that $data['name'] should be used to fill in this variable.
| $format | A sprintf-like format specifier with named variable names. | |
| $data | An associative array containing name/value pairs to be used for substitution. |
Definition at line 34 of file aasprintf.lib.php.
1.5.9