diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2008-10-15 18:41:57 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2008-10-15 18:41:57 +0000 |
commit | 12bd1eae9f4994e8e2de767d37126fc06a50d567 (patch) | |
tree | 5c0896030ec6e060790e2c98f99677b5e1290110 /ext/standard/syslog.c | |
parent | 30173a8ec884d3ee89ed8a7e7889bf88b5b80af8 (diff) | |
download | php-git-12bd1eae9f4994e8e2de767d37126fc06a50d567.tar.gz |
[DOC] Deprecate define_syslog_variables() in 5.3
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r-- | ext/standard/syslog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 392f671ac2..91f66dc86d 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -207,6 +207,8 @@ PHP_FUNCTION(define_syslog_variables) return; } + php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "define_syslog_variables is deprecated, please use the syslog constants instead"); + if (!BG(syslog_started)) { start_syslog(TSRMLS_C); } |