Browse Source

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
pull/367/merge
Felipe Pena 13 years ago
parent
commit
d01ca1342c
  1. 3
      main/main.c

3
main/main.c

@ -784,6 +784,9 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
/* no docref given but function is known (the default) */
if (!docref && is_function) {
int doclen;
while (*function == '_') {
function++;
}
if (space[0] == '\0') {
doclen = spprintf(&docref_buf, 0, "function.%s", function);
} else {

Loading…
Cancel
Save