Skip to content

Commit a1da7ca

Browse files
basic_functions: update error_log documentation [skip ci] (#17828)
Sending to a TCP/IP address is not an option anymore, and it hasn't been since before the file was created in this repo in 1999 (257de2b). Based on php/doc-en@d522d13 it appears that this feature was part of PHP 3 and removed before PHP 4. I tried to track down the original code to find when it was actually removed but wasn't able to find a PHP 3 repository.
1 parent 18df1e4 commit a1da7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/basic_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ PHP_FUNCTION(get_cfg_var)
13361336
error options:
13371337
0 = send to php_error_log (uses syslog or file depending on ini setting)
13381338
1 = send via email to 3rd parameter 4th option = additional headers
1339-
2 = send via tcp/ip to 3rd parameter (name or ip:port)
1339+
2 = no longer an option
13401340
3 = save to file in 3rd parameter
13411341
4 = send to SAPI logger directly
13421342
*/

0 commit comments

Comments
 (0)