summaryrefslogtreecommitdiff
path: root/cgi_main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-08-02 19:17:14 +0000
committerZeev Suraski <zeev@php.net>1999-08-02 19:17:14 +0000
commit3cb1eb047187d53688545ae6f64d4df880298e72 (patch)
tree7fb20f178b9df5a33a83a2b7537f5614910697c0 /cgi_main.c
parent07e0885519ccabbd9cebfce7223be657171a6629 (diff)
downloadphp-git-3cb1eb047187d53688545ae6f64d4df880298e72.tar.gz
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
Diffstat (limited to 'cgi_main.c')
-rw-r--r--cgi_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi_main.c b/cgi_main.c
index 7fa08698ce..96caa39f16 100644
--- a/cgi_main.c
+++ b/cgi_main.c
@@ -136,7 +136,7 @@ static sapi_module_struct sapi_module = {
zend_cgibin_ub_write, /* unbuffered write */
- php3_error, /* error handler */
+ php_error, /* error handler */
NULL, /* header handler */
NULL, /* send headers handler */
@@ -158,7 +158,7 @@ static void php_cgi_usage(char *argv0)
prog = "php";
}
- php3_printf("Usage: %s [-q] [-h]"
+ php_printf("Usage: %s [-q] [-h]"
" [-s]"
" [-v] [-i] [-f <file>] | "
"{<file> [args...]}\n"
@@ -316,7 +316,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
if (no_headers) {
SG(headers_sent) = 1;
}
- php3_printf("%s\n", PHP_VERSION);
+ php_printf("%s\n", PHP_VERSION);
exit(1);
break;
case 'i':
@@ -420,9 +420,9 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
#if 0 /* this is here for debuging under windows */
if (argc) {
i = 0;
- php3_printf("\nargc %d\n",argc);
+ php_printf("\nargc %d\n",argc);
while (i <= argc) {
- php3_printf("%s\n",argv[i]);
+ php_printf("%s\n",argv[i]);
i++;
}
}