CVS update: php3/functions
| From: | jah | Date: | Mon, 04 Jan 1999 14:25:22 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3247@lists.php.net to get a copy of this message | ||
Date: Monday January 4, 1999 @ 9:25
Author: jah
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv2592/functions
Modified Files:
COM.c basic_functions.c browscap.c datetime.c db.c file.c
filepro.c filestat.c head.c hw.c image.c imap.c iptc.c pdf.c
post.c rand.c string.c sybase.c var.c
Log Message:
Added at least something to the short description line after proto.
Index: php3/functions/COM.c
diff -c php3/functions/COM.c:1.6 php3/functions/COM.c:1.7
*** php3/functions/COM.c:1.6 Mon Jan 4 07:16:29 1999
--- php3/functions/COM.c Mon Jan 4 09:25:18 1999
***************
*** 29,35 ****
/* !!!! experimental, use at your own risk! !!!!
! $Id: COM.c,v 1.6 1999/01/04 12:16:29 jah Exp $ */
#if WIN32|WINNT
--- 29,35 ----
/* !!!! experimental, use at your own risk! !!!!
! $Id: COM.c,v 1.7 1999/01/04 14:25:18 jah Exp $ */
#if WIN32|WINNT
***************
*** 140,146 ****
/* {{{ proto int com_load(string module_name)
! */
void php3_COM_load(INTERNAL_FUNCTION_PARAMETERS)
{
pval *module_name;
--- 140,146 ----
/* {{{ proto int com_load(string module_name)
! ??? */
void php3_COM_load(INTERNAL_FUNCTION_PARAMETERS)
{
pval *module_name;
***************
*** 275,281 ****
/* {{{ proto mixed com_invoke(int module, string handler_name[, mixed arg[, ...]])
! */
void php3_COM_invoke(INTERNAL_FUNCTION_PARAMETERS)
{
pval **arguments;
--- 275,281 ----
/* {{{ proto mixed com_invoke(int module, string handler_name[, mixed arg[, ...]])
! ??? */
void php3_COM_invoke(INTERNAL_FUNCTION_PARAMETERS)
{
pval **arguments;
***************
*** 362,372 ****
/* {{{ proto mixed com_get(int module, string property_name)
! A dummy so we get proto for com_get which is the same as com_propget */
/* }}} */
/* {{{ proto mixed com_propget(int module, string property_name)
! */
void php3_COM_propget(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_idispatch, *arg_property;
--- 362,372 ----
/* {{{ proto mixed com_get(int module, string property_name)
! An alias for com_propget */
/* }}} */
/* {{{ proto mixed com_propget(int module, string property_name)
! ??? */
void php3_COM_propget(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_idispatch, *arg_property;
***************
*** 428,442 ****
/* {{{ proto bool com_set(int module, string property_name, mixed value)
! Dummy */
/* }}} */
/* {{{ proto bool com_propset(int module, string property_name, mixed value)
! Dummy */
/* }}} */
/* {{{ proto bool com_propput(int module, string property_name, mixed value)
! */
void php3_COM_propput(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_idispatch, *arg_property, *arg_new_value;
--- 428,442 ----
/* {{{ proto bool com_set(int module, string property_name, mixed value)
! An alias for com_propput */
/* }}} */
/* {{{ proto bool com_propset(int module, string property_name, mixed value)
! An alias for com_propput */
/* }}} */
/* {{{ proto bool com_propput(int module, string property_name, mixed value)
! ??? */
void php3_COM_propput(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_idispatch, *arg_property, *arg_new_value;
Index: php3/functions/basic_functions.c
diff -c php3/functions/basic_functions.c:1.248 php3/functions/basic_functions.c:1.249
*** php3/functions/basic_functions.c:1.248 Mon Jan 4 04:24:42 1999
--- php3/functions/basic_functions.c Mon Jan 4 09:25:18 1999
***************
*** 28,34 ****
+----------------------------------------------------------------------+
*/
! /* $Id: basic_functions.c,v 1.248 1999/01/04 09:24:42 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 28,34 ----
+----------------------------------------------------------------------+
*/
! /* $Id: basic_functions.c,v 1.249 1999/01/04 14:25:18 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 656,662 ****
* unset() to work right in 3.1
*/
/* {{{ proto int sizeof(mixed var)
! Dummy */
/* }}} */
/* {{{ proto int count(mixed var)
--- 656,662 ----
* unset() to work right in 3.1
*/
/* {{{ proto int sizeof(mixed var)
! An alias for count */
/* }}} */
/* {{{ proto int count(mixed var)
***************
*** 1160,1166 ****
/* }}} */
/* {{{ proto mixed pos(array array_arg)
! Dummy */
/* }}} */
/* {{{ proto mixed current(array array_arg)
--- 1160,1166 ----
/* }}} */
/* {{{ proto mixed pos(array array_arg)
! An alias for current */
/* }}} */
/* {{{ proto mixed current(array array_arg)
***************
*** 1602,1612 ****
}
/* {{{ proto bool is_int(mixed var)
! Dummy */
/* }}} */
/* {{{ proto bool is_integer(mixed var)
! Dummy */
/* }}} */
/* {{{ proto bool is_long(mixed var)
--- 1602,1612 ----
}
/* {{{ proto bool is_int(mixed var)
! An alias for is_long */
/* }}} */
/* {{{ proto bool is_integer(mixed var)
! An alias for is_long */
/* }}} */
/* {{{ proto bool is_long(mixed var)
***************
*** 1615,1625 ****
/* }}} */
/* {{{ proto bool is_float(mixed var)
! Dummy */
/* }}} */
/* {{{ proto bool is_real(mixed var)
! Dummy */
/* }}} */
/* {{{ proto bool is_double(mixed var)
--- 1615,1625 ----
/* }}} */
/* {{{ proto bool is_float(mixed var)
! An alias for is_double */
/* }}} */
/* {{{ proto bool is_real(mixed var)
! An alias for is_double */
/* }}} */
/* {{{ proto bool is_double(mixed var)
Index: php3/functions/browscap.c
diff -c php3/functions/browscap.c:1.21 php3/functions/browscap.c:1.22
*** php3/functions/browscap.c:1.21 Mon Jan 4 04:24:42 1999
--- php3/functions/browscap.c Mon Jan 4 09:25:19 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: browscap.c,v 1.21 1999/01/04 09:24:42 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: browscap.c,v 1.22 1999/01/04 14:25:19 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 75,81 ****
}
/* {{{ proto object get_browser([string browser_name])
! */
void php3_get_browser(INTERNAL_FUNCTION_PARAMETERS)
{
pval *agent_name,*agent,tmp;
--- 75,81 ----
}
/* {{{ proto object get_browser([string browser_name])
! Get information about the capabilities of a browser */
void php3_get_browser(INTERNAL_FUNCTION_PARAMETERS)
{
pval *agent_name,*agent,tmp;
Index: php3/functions/datetime.c
diff -c php3/functions/datetime.c:1.46 php3/functions/datetime.c:1.47
*** php3/functions/datetime.c:1.46 Mon Jan 4 02:38:14 1999
--- php3/functions/datetime.c Mon Jan 4 09:25:19 1999
***************
*** 30,36 ****
*/
! /* $Id: datetime.c,v 1.46 1999/01/04 07:38:14 jah Exp $ */
#ifdef THREAD_SAFE
--- 30,36 ----
*/
! /* $Id: datetime.c,v 1.47 1999/01/04 14:25:19 jah Exp $ */
#ifdef THREAD_SAFE
***************
*** 77,83 ****
};
/* {{{ proto int time(void)
! */
void php3_time(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->value.lval = (long) time(NULL);
--- 77,83 ----
};
/* {{{ proto int time(void)
! Return current UNIX timestamp */
void php3_time(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->value.lval = (long) time(NULL);
***************
*** 140,146 ****
}
/* {{{ proto int mktime(int hour, int min, int sec, int mon, int mday, int year)
! */
void php3_mktime(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_mktime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
--- 140,146 ----
}
/* {{{ proto int mktime(int hour, int min, int sec, int mon, int mday, int year)
! Get UNIX timestamp for a date */
void php3_mktime(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_mktime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
***************
*** 148,154 ****
/* }}} */
/* {{{ proto int gmmktime(int hour, int min, int sec, int mon, int mday, int year)
! */
void php3_gmmktime(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_mktime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
--- 148,154 ----
/* }}} */
/* {{{ proto int gmmktime(int hour, int min, int sec, int mon, int mday, int year)
! Get UNIX timestamp for a GMT date */
void php3_gmmktime(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_mktime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
***************
*** 348,354 ****
}
/* {{{ proto string date(string format[, int timestamp])
! */
void php3_date(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
--- 348,354 ----
}
/* {{{ proto string date(string format[, int timestamp])
! Format a local time/date */
void php3_date(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
***************
*** 356,362 ****
/* }}} */
/* {{{ proto string gmdate(string format[, int timestamp])
! */
void php3_gmdate(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
--- 356,362 ----
/* }}} */
/* {{{ proto string gmdate(string format[, int timestamp])
! Format a GMT/CUT date/time */
void php3_gmdate(INTERNAL_FUNCTION_PARAMETERS)
{
_php3_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
***************
*** 364,370 ****
/* }}} */
/* {{{ proto array getdate([int timestamp])
! */
void php3_getdate(INTERNAL_FUNCTION_PARAMETERS)
{
pval *timestamp_arg;
--- 364,370 ----
/* }}} */
/* {{{ proto array getdate([int timestamp])
! Get date/time information */
void php3_getdate(INTERNAL_FUNCTION_PARAMETERS)
{
pval *timestamp_arg;
***************
*** 437,443 ****
*
*/
/* {{{ proto bool checkdate(int month, int day, int year)
! */
#define isleap(year) (((year%4) == 0 && (year%100)!=0) || (year%400)==0)
void php3_checkdate(INTERNAL_FUNCTION_PARAMETERS)
{
--- 437,443 ----
*
*/
/* {{{ proto bool checkdate(int month, int day, int year)
! Validate a date/time */
#define isleap(year) (((year%4) == 0 && (year%100)!=0) || (year%400)==0)
void php3_checkdate(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 476,482 ****
#if HAVE_STRFTIME
/* {{{ proto string strftime(string format[, int timestamp])
! */
void php3_strftime(INTERNAL_FUNCTION_PARAMETERS)
{
pval *format_arg, *timestamp_arg;
--- 476,482 ----
#if HAVE_STRFTIME
/* {{{ proto string strftime(string format[, int timestamp])
! Format a local time/date according to locale settings */
void php3_strftime(INTERNAL_FUNCTION_PARAMETERS)
{
pval *format_arg, *timestamp_arg;
Index: php3/functions/db.c
diff -c php3/functions/db.c:1.82 php3/functions/db.c:1.83
*** php3/functions/db.c:1.82 Sun Jan 3 20:26:27 1999
--- php3/functions/db.c Mon Jan 4 09:25:19 1999
***************
*** 28,34 ****
+----------------------------------------------------------------------+
*/
! /* $Id: db.c,v 1.82 1999/01/04 01:26:27 jah Exp $ */
#define IS_EXT_MODULE
#if COMPILE_DL
#ifdef PHP_31
--- 28,34 ----
+----------------------------------------------------------------------+
*/
! /* $Id: db.c,v 1.83 1999/01/04 14:25:19 jah Exp $ */
#define IS_EXT_MODULE
#if COMPILE_DL
#ifdef PHP_31
***************
*** 262,268 ****
}
/* {{{ proto string dblist(void)
! */
void php3_dblist(INTERNAL_FUNCTION_PARAMETERS)
{
char *str = php3_get_info_db();
--- 262,268 ----
}
/* {{{ proto string dblist(void)
! Describes the dbm-compatible library being used */
void php3_dblist(INTERNAL_FUNCTION_PARAMETERS)
{
char *str = php3_get_info_db();
***************
*** 271,277 ****
/* }}} */
/* {{{ proto int dbmopen(string filename, string mode)
! */
void php3_dbmopen(INTERNAL_FUNCTION_PARAMETERS) {
pval *filename, *mode;
dbm_info *info=NULL;
--- 271,277 ----
/* }}} */
/* {{{ proto int dbmopen(string filename, string mode)
! Opens a dbm database */
void php3_dbmopen(INTERNAL_FUNCTION_PARAMETERS) {
pval *filename, *mode;
dbm_info *info=NULL;
***************
*** 440,446 ****
}
/* {{{ proto bool dbmclose(int dbm_identifier)
! */
void php3_dbmclose(INTERNAL_FUNCTION_PARAMETERS) {
pval *id;
--- 440,446 ----
}
/* {{{ proto bool dbmclose(int dbm_identifier)
! Closes a dbm database */
void php3_dbmclose(INTERNAL_FUNCTION_PARAMETERS) {
pval *id;
***************
*** 497,503 ****
* ret = 1 key already exists - nothing done
*/
/* {{{ proto int dbminsert(int dbm_identifier, string key, string value)
! */
void php3_dbminsert(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key, *value;
--- 497,503 ----
* ret = 1 key already exists - nothing done
*/
/* {{{ proto int dbminsert(int dbm_identifier, string key, string value)
! Inserts a value for a key in a dbm database */
void php3_dbminsert(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key, *value;
***************
*** 553,559 ****
}
/* {{{ proto int dbmreplace(int dbm_identifier, string key, string value)
! */
void php3_dbmreplace(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key, *value;
--- 553,559 ----
}
/* {{{ proto int dbmreplace(int dbm_identifier, string key, string value)
! Replaces the value for a key in a dbm database */
void php3_dbmreplace(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key, *value;
***************
*** 613,619 ****
}
/* {{{ proto string dbmfetch(int dbm_identifier, string key)
! */
void php3_dbmfetch(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
--- 613,619 ----
}
/* {{{ proto string dbmfetch(int dbm_identifier, string key)
! Fetches a value for a key from a dbm database */
void php3_dbmfetch(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
***************
*** 688,694 ****
/* {{{ proto int dbmexists(int dbm_identifier, string key)
! */
void php3_dbmexists(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
--- 688,694 ----
/* {{{ proto int dbmexists(int dbm_identifier, string key)
! Tells if a value exists for a key in a dbm database */
void php3_dbmexists(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
***************
*** 734,740 ****
/* }}} */
/* {{{ proto int dbmdelete(int dbm_identifier, string key)
! */
void php3_dbmdelete(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
--- 734,740 ----
/* }}} */
/* {{{ proto int dbmdelete(int dbm_identifier, string key)
! Deletes the value for a key from a dbm database */
void php3_dbmdelete(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
***************
*** 779,785 ****
}
/* {{{ proto string dbmfirstkey(int dbm_identifier)
! */
void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id;
--- 779,785 ----
}
/* {{{ proto string dbmfirstkey(int dbm_identifier)
! Retrieves the first key from a dbm database */
void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id;
***************
*** 839,845 ****
}
/* {{{ proto string dbmnextkey(int dbm_identifier, string key)
! */
void php3_dbmnextkey(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
--- 839,845 ----
}
/* {{{ proto string dbmnextkey(int dbm_identifier, string key)
! Retrieves the next key from a dbm database */
void php3_dbmnextkey(INTERNAL_FUNCTION_PARAMETERS)
{
pval *id, *key;
Index: php3/functions/file.c
diff -c php3/functions/file.c:1.193 php3/functions/file.c:1.194
*** php3/functions/file.c:1.193 Mon Jan 4 02:38:14 1999
--- php3/functions/file.c Mon Jan 4 09:25:19 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.193 1999/01/04 07:38:14 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.194 1999/01/04 14:25:19 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 964,970 ****
/* }}} */
/* {{{ proto int fputs(int fp, string str [, int length])
! A dummy so we get proto for fputs which is the same as fwrite... */
/* }}} */
/* {{{ proto int fwrite(int fp, string str [, int length])
--- 964,970 ----
/* }}} */
/* {{{ proto int fputs(int fp, string str [, int length])
! An alias for fwrite */
/* }}} */
/* {{{ proto int fwrite(int fp, string str [, int length])
Index: php3/functions/filepro.c
diff -c php3/functions/filepro.c:1.37 php3/functions/filepro.c:1.38
*** php3/functions/filepro.c:1.37 Sun Jan 3 20:12:59 1999
--- php3/functions/filepro.c Mon Jan 4 09:25:20 1999
***************
*** 34,40 ****
*/
! /* $Id: filepro.c,v 1.37 1999/01/04 01:12:59 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 34,40 ----
*/
! /* $Id: filepro.c,v 1.38 1999/01/04 14:25:20 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 192,198 ****
* provide the ability to later unlock what we locked. Be smart, be safe.
*/
/* {{{ proto bool filepro(string directory)
! */
Void php3_filepro(INTERNAL_FUNCTION_PARAMETERS)
{
pval *dir;
--- 192,198 ----
* provide the ability to later unlock what we locked. Be smart, be safe.
*/
/* {{{ proto bool filepro(string directory)
! Read and verify the map file */
Void php3_filepro(INTERNAL_FUNCTION_PARAMETERS)
{
pval *dir;
***************
*** 291,297 ****
* Errors return false, success returns the row count.
*/
/* {{{ proto int filepro_rowcount(void)
! */
void php3_filepro_rowcount(INTERNAL_FUNCTION_PARAMETERS)
{
FILE *fp;
--- 291,297 ----
* Errors return false, success returns the row count.
*/
/* {{{ proto int filepro_rowcount(void)
! Find out how many rows are in a filePro database */
void php3_filepro_rowcount(INTERNAL_FUNCTION_PARAMETERS)
{
FILE *fp;
***************
*** 348,354 ****
* Errors return false, success returns the name of the field.
*/
/* {{{ proto string filepro_fieldname(int fieldnumber)
! */
void php3_filepro_fieldname(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
--- 348,354 ----
* Errors return false, success returns the name of the field.
*/
/* {{{ proto string filepro_fieldname(int fieldnumber)
! Gets the name of a field */
void php3_filepro_fieldname(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
***************
*** 389,395 ****
* Errors return false, success returns the type (edit) of the field
*/
/* {{{ proto string filepro_fieldtype(int field_number)
! */
void php3_filepro_fieldtype(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
--- 389,395 ----
* Errors return false, success returns the type (edit) of the field
*/
/* {{{ proto string filepro_fieldtype(int field_number)
! Gets the type of a field */
void php3_filepro_fieldtype(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
***************
*** 428,434 ****
* Errors return false, success returns the character width of the field.
*/
/* {{{ proto int filepro_fieldwidth(int field_number)
! */
void php3_filepro_fieldwidth(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
--- 428,434 ----
* Errors return false, success returns the character width of the field.
*/
/* {{{ proto int filepro_fieldwidth(int field_number)
! Gets the width of a field */
void php3_filepro_fieldwidth(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fno;
***************
*** 467,473 ****
* Errors return false, success returns the field count.
*/
/* {{{ proto int filepro_fieldcount(void)
! */
void php3_filepro_fieldcount(INTERNAL_FUNCTION_PARAMETERS)
{
FP_TLS_VARS;
--- 467,473 ----
* Errors return false, success returns the field count.
*/
/* {{{ proto int filepro_fieldcount(void)
! Find out how many fields are in a filePro database */
void php3_filepro_fieldcount(INTERNAL_FUNCTION_PARAMETERS)
{
FP_TLS_VARS;
***************
*** 494,500 ****
* Errors return false, success returns the datum.
*/
/* {{{ proto string filepro_retrieve(int row_number, int field_number)
! */
void php3_filepro_retrieve(INTERNAL_FUNCTION_PARAMETERS)
{
pval *rno, *fno;
--- 494,500 ----
* Errors return false, success returns the datum.
*/
/* {{{ proto string filepro_retrieve(int row_number, int field_number)
! Retrieves data from a filePro database */
void php3_filepro_retrieve(INTERNAL_FUNCTION_PARAMETERS)
{
pval *rno, *fno;
Index: php3/functions/filestat.c
diff -c php3/functions/filestat.c:1.80 php3/functions/filestat.c:1.81
*** php3/functions/filestat.c:1.80 Mon Jan 4 02:38:14 1999
--- php3/functions/filestat.c Mon Jan 4 09:25:20 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: filestat.c,v 1.80 1999/01/04 07:38:14 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: filestat.c,v 1.81 1999/01/04 14:25:20 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 116,122 ****
}
/* {{{ proto bool chgrp(string filename, mixed group)
! */
void php3_chgrp(INTERNAL_FUNCTION_PARAMETERS)
{
#ifndef WINDOWS
--- 116,122 ----
}
/* {{{ proto bool chgrp(string filename, mixed group)
! Change file group */
void php3_chgrp(INTERNAL_FUNCTION_PARAMETERS)
{
#ifndef WINDOWS
***************
*** 166,172 ****
/* }}} */
/* {{{ proto bool chown(string filename, mixed user)
! */
void php3_chown(INTERNAL_FUNCTION_PARAMETERS)
{
#ifndef WINDOWS
--- 166,172 ----
/* }}} */
/* {{{ proto bool chown(string filename, mixed user)
! Change file owner */
void php3_chown(INTERNAL_FUNCTION_PARAMETERS)
{
#ifndef WINDOWS
***************
*** 213,219 ****
/* }}} */
/* {{{ proto bool chmod(string filename, int mode)
! */
void php3_chmod(INTERNAL_FUNCTION_PARAMETERS) {
pval *filename, *mode;
int ret;
--- 213,219 ----
/* }}} */
/* {{{ proto bool chmod(string filename, int mode)
! Change file mode */
void php3_chmod(INTERNAL_FUNCTION_PARAMETERS) {
pval *filename, *mode;
int ret;
***************
*** 242,248 ****
/* }}} */
/* {{{ proto bool touch(string filename[, int time])
! */
void php3_touch(INTERNAL_FUNCTION_PARAMETERS) {
#if HAVE_UTIME
pval *filename, *filetime;
--- 242,248 ----
/* }}} */
/* {{{ proto bool touch(string filename[, int time])
! Set modification time of file */
void php3_touch(INTERNAL_FUNCTION_PARAMETERS) {
#if HAVE_UTIME
pval *filename, *filetime;
***************
*** 310,316 ****
/* }}} */
/* {{{ proto void clearstatcache(void)
! */
void php3_clearstatcache(INTERNAL_FUNCTION_PARAMETERS) {
TLS_VARS;
--- 310,316 ----
/* }}} */
/* {{{ proto void clearstatcache(void)
! Clear file stat cache */
void php3_clearstatcache(INTERNAL_FUNCTION_PARAMETERS) {
TLS_VARS;
***************
*** 466,557 ****
}
/* {{{ proto int fileperms(string filename)
! */
FileFunction(php3_fileperms,0)
/* }}} */
/* {{{ proto int fileinode(string filename)
! */
FileFunction(php3_fileinode,1)
/* }}} */
/* {{{ proto int filesize(string filename)
! */
FileFunction(php3_filesize, 2)
/* }}} */
/* {{{ proto int fileowner(string filename)
! */
FileFunction(php3_fileowner,3)
/* }}} */
/* {{{ proto int filegroup(string filename)
! */
FileFunction(php3_filegroup,4)
/* }}} */
/* {{{ proto int fileatime(string filename)
! */
FileFunction(php3_fileatime,5)
/* }}} */
/* {{{ proto int filemtime(string filename)
! */
FileFunction(php3_filemtime,6)
/* }}} */
/* {{{ proto int filectime(string filename)
! */
FileFunction(php3_filectime,7)
/* }}} */
/* {{{ proto string filetype(string filename)
! */
FileFunction(php3_filetype, 8)
/* }}} */
/* {{{ proto int is_writeable(string filename)
! */
FileFunction(php3_iswritable, 9)
/* }}} */
/* {{{ proto int is_readable(string filename)
! */
FileFunction(php3_isreadable,10)
/* }}} */
/* {{{ proto int is_executable(string filename)
! */
FileFunction(php3_isexec,11)
/* }}} */
/* {{{ proto int is_file(string filename)
! */
FileFunction(php3_isfile,12)
/* }}} */
/* {{{ proto int is_dir(string filename)
! */
FileFunction(php3_isdir,13)
/* }}} */
/* {{{ proto int is_link(string filename)
! */
FileFunction(php3_islink,14)
/* }}} */
/* {{{ proto bool file_exists(string filename)
! */
FileFunction(php3_fileexists,15)
/* }}} */
/* {{{ proto array lstat(string filename)
! */
FileFunction(php3_lstat,16)
/* }}} */
/* {{{ proto array stat(string filename)
! */
FileFunction(php3_stat,17)
/* }}} */
--- 466,557 ----
}
/* {{{ proto int fileperms(string filename)
! Get file permissions */
FileFunction(php3_fileperms,0)
/* }}} */
/* {{{ proto int fileinode(string filename)
! Get file inode */
FileFunction(php3_fileinode,1)
/* }}} */
/* {{{ proto int filesize(string filename)
! Get file size */
FileFunction(php3_filesize, 2)
/* }}} */
/* {{{ proto int fileowner(string filename)
! Get file owner */
FileFunction(php3_fileowner,3)
/* }}} */
/* {{{ proto int filegroup(string filename)
! Get file group */
FileFunction(php3_filegroup,4)
/* }}} */
/* {{{ proto int fileatime(string filename)
! Get last access time of file */
FileFunction(php3_fileatime,5)
/* }}} */
/* {{{ proto int filemtime(string filename)
! Get last modification time of file */
FileFunction(php3_filemtime,6)
/* }}} */
/* {{{ proto int filectime(string filename)
! Get inode modification time of file */
FileFunction(php3_filectime,7)
/* }}} */
/* {{{ proto string filetype(string filename)
! Get file type */
FileFunction(php3_filetype, 8)
/* }}} */
/* {{{ proto int is_writeable(string filename)
! Returns true if file can be written to */
FileFunction(php3_iswritable, 9)
/* }}} */
/* {{{ proto int is_readable(string filename)
! Returns true if file can be read */
FileFunction(php3_isreadable,10)
/* }}} */
/* {{{ proto int is_executable(string filename)
! Returns true if file is executable */
FileFunction(php3_isexec,11)
/* }}} */
/* {{{ proto int is_file(string filename)
! Returns true if file is a regular file */
FileFunction(php3_isfile,12)
/* }}} */
/* {{{ proto int is_dir(string filename)
! Returns true if file is directory */
FileFunction(php3_isdir,13)
/* }}} */
/* {{{ proto int is_link(string filename)
! Returns true if file is symbolic link */
FileFunction(php3_islink,14)
/* }}} */
/* {{{ proto bool file_exists(string filename)
! Returns true if filename exists */
FileFunction(php3_fileexists,15)
/* }}} */
/* {{{ proto array lstat(string filename)
! Give information about a file or symbolic link */
FileFunction(php3_lstat,16)
/* }}} */
/* {{{ proto array stat(string filename)
! Give information about a file */
FileFunction(php3_stat,17)
/* }}} */
Index: php3/functions/head.c
diff -c php3/functions/head.c:1.111 php3/functions/head.c:1.112
*** php3/functions/head.c:1.111 Mon Jan 4 02:38:14 1999
--- php3/functions/head.c Mon Jan 4 09:25:20 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: head.c,v 1.111 1999/01/04 07:38:14 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: head.c,v 1.112 1999/01/04 14:25:20 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 85,91 ****
/* Implementation of the language Header() function */
/* {{{ proto void header(string header)
! */
void php3_Header(INTERNAL_FUNCTION_PARAMETERS)
{
char *r;
--- 85,91 ----
/* Implementation of the language Header() function */
/* {{{ proto void header(string header)
! Send a raw HTTP header */
void php3_Header(INTERNAL_FUNCTION_PARAMETERS)
{
char *r;
***************
*** 424,430 ****
/* php3_SetCookie(name,value,expires,path,domain,secure) */
/* {{{ proto void setcookie(string name[, string value[, int expires[, string path[, string
domain[, string secure]]]]])
! */
void php3_SetCookie(INTERNAL_FUNCTION_PARAMETERS)
{
#if !APACHE
--- 424,430 ----
/* php3_SetCookie(name,value,expires,path,domain,secure) */
/* {{{ proto void setcookie(string name[, string value[, int expires[, string path[, string
domain[, string secure]]]]])
! Send a cookie */
void php3_SetCookie(INTERNAL_FUNCTION_PARAMETERS)
{
#if !APACHE
Index: php3/functions/hw.c
diff -c php3/functions/hw.c:1.20 php3/functions/hw.c:1.21
*** php3/functions/hw.c:1.20 Mon Jan 4 07:16:29 1999
--- php3/functions/hw.c Mon Jan 4 09:25:20 1999
***************
*** 23,29 ****
+----------------------------------------------------------------------+
*/
! /* $Id: hw.c,v 1.20 1999/01/04 12:16:29 jah Exp $ */
#if COMPILE_DL
#include "dl/phpdl.h"
#endif
--- 23,29 ----
+----------------------------------------------------------------------+
*/
! /* $Id: hw.c,v 1.21 1999/01/04 14:25:20 jah Exp $ */
#if COMPILE_DL
#include "dl/phpdl.h"
#endif
***************
*** 1023,1029 ****
/* }}} */
/* {{{ proto string hw_dummy(int link, int id, int msgid)
! */
void php3_hw_dummy(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2, *arg3;
int link, id, type, msgid;
--- 1023,1029 ----
/* }}} */
/* {{{ proto string hw_dummy(int link, int id, int msgid)
! ??? */
void php3_hw_dummy(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2, *arg3;
int link, id, type, msgid;
***************
*** 1929,1935 ****
/* }}} */
/* {{{ proto void hw_outputdocument(hwdoc doc)
! Dummy */
/* }}} */
/* {{{ proto void hw_output_document(hwdoc doc)
--- 1929,1935 ----
/* }}} */
/* {{{ proto void hw_outputdocument(hwdoc doc)
! An alias for hw_output_document */
/* }}} */
/* {{{ proto void hw_output_document(hwdoc doc)
***************
*** 1966,1972 ****
/* }}} */
/* {{{ proto string hw_documentbodytag(hwdoc doc [, string prefix])
! Dummy */
/* }}} */
/* {{{ proto string hw_document_bodytag(hwdoc doc [, string prefix])
--- 1966,1972 ----
/* }}} */
/* {{{ proto string hw_documentbodytag(hwdoc doc [, string prefix])
! An alias for hw_document_bodytag */
/* }}} */
/* {{{ proto string hw_document_bodytag(hwdoc doc [, string prefix])
***************
*** 2038,2044 ****
/* }}} */
/* {{{ proto int hw_documentsize(hwdoc doc)
! Dummy */
/* }}} */
/* {{{ proto int hw_document_size(hwdoc doc)
--- 2038,2044 ----
/* }}} */
/* {{{ proto int hw_documentsize(hwdoc doc)
! An alias for hw_document_size */
/* }}} */
/* {{{ proto int hw_document_size(hwdoc doc)
***************
*** 2065,2071 ****
/* }}} */
/* {{{ proto string hw_documentattributes(hwdoc doc)
! Dummy */
/* }}} */
/* {{{ proto string hw_document_attributes(hwdoc doc)
--- 2065,2071 ----
/* }}} */
/* {{{ proto string hw_documentattributes(hwdoc doc)
! An alias for hw_document_attributes */
/* }}} */
/* {{{ proto string hw_document_attributes(hwdoc doc)
***************
*** 3060,3066 ****
}
/* {{{ proto void hw_connection_info(int link)
! */
void php3_hw_connection_info(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg1;
--- 3060,3066 ----
}
/* {{{ proto void hw_connection_info(int link)
! Prints information about the connection to Hyperwave server */
void php3_hw_connection_info(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg1;
Index: php3/functions/image.c
diff -c php3/functions/image.c:1.45 php3/functions/image.c:1.46
*** php3/functions/image.c:1.45 Mon Jan 4 04:24:42 1999
--- php3/functions/image.c Mon Jan 4 09:25:20 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
! /* $Id: image.c,v 1.45 1999/01/04 09:24:42 jah Exp $ */
/*
* Based on Daniel Schmitt's imageinfo.c which carried the following
* Copyright notice.
--- 26,32 ----
| Authors: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
! /* $Id: image.c,v 1.46 1999/01/04 14:25:20 jah Exp $ */
/*
* Based on Daniel Schmitt's imageinfo.c which carried the following
* Copyright notice.
***************
*** 306,312 ****
/* main function */
/* {{{ proto array getimagesize(string imagefile[, array info])
! */
void php3_getimagesize(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg1,*info = 0;
--- 306,312 ----
/* main function */
/* {{{ proto array getimagesize(string imagefile[, array info])
! Get the size of an image as 4-element array */
void php3_getimagesize(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg1,*info = 0;
Index: php3/functions/imap.c
diff -c php3/functions/imap.c:1.51 php3/functions/imap.c:1.52
*** php3/functions/imap.c:1.51 Mon Jan 4 07:16:29 1999
--- php3/functions/imap.c Mon Jan 4 09:25:21 1999
***************
*** 31,37 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.51 1999/01/04 12:16:29 jah Exp $ */
#define IMAP41
--- 31,37 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.52 1999/01/04 14:25:21 jah Exp $ */
#define IMAP41
***************
*** 738,744 ****
/* }}} */
/* {{{ proto string imap_fetchtext(int stream_id, int msg_no [, int options])
! Dummy */
/* }}} */
/* {{{ proto string imap_body(int stream_id, int msg_no [, int options])
--- 738,744 ----
/* }}} */
/* {{{ proto string imap_fetchtext(int stream_id, int msg_no [, int options])
! An alias for imap_body */
/* }}} */
/* {{{ proto string imap_body(int stream_id, int msg_no [, int options])
***************
*** 859,865 ****
/* }}} */
/* {{{ proto int imap_create(int stream_id, string mailbox)
! Dummy */
/* }}} */
/* {{{ proto int imap_createmailbox(int stream_id, string mailbox)
--- 859,865 ----
/* }}} */
/* {{{ proto int imap_create(int stream_id, string mailbox)
! An alias for imap_createmailbox */
/* }}} */
/* {{{ proto int imap_createmailbox(int stream_id, string mailbox)
***************
*** 893,899 ****
/* }}} */
/* {{{ proto int imap_rename(int stream_id, string old_name, string new_name)
! Dummy */
/* }}} */
/* {{{ proto int imap_renamemailbox(int stream_id, string old_name, string new_name)
--- 893,899 ----
/* }}} */
/* {{{ proto int imap_rename(int stream_id, string old_name, string new_name)
! An alias for imap_renamemailbox */
/* }}} */
/* {{{ proto int imap_renamemailbox(int stream_id, string old_name, string new_name)
***************
*** 958,964 ****
/* }}} */
/* {{{ proto array imap_listmailbox(int stream_id, string ref, string pattern)
! Dummy */
/* }}} */
/* {{{ proto array imap_list(int stream_id, string ref, string pattern)
--- 958,964 ----
/* }}} */
/* {{{ proto array imap_listmailbox(int stream_id, string ref, string pattern)
! An alias for imap_list */
/* }}} */
/* {{{ proto array imap_list(int stream_id, string ref, string pattern)
***************
*** 1002,1008 ****
/* }}} */
/* {{{ proto array imap_scanmailbox(int stream_id, string ref, string pattern, string content)
! Dummy */
/* }}} */
/* {{{ proto array imap_scan(int stream_id, string ref, string pattern, string content)
--- 1002,1008 ----
/* }}} */
/* {{{ proto array imap_scanmailbox(int stream_id, string ref, string pattern, string content)
! An alias for imap_scan */
/* }}} */
/* {{{ proto array imap_scan(int stream_id, string ref, string pattern, string content)
***************
*** 1142,1148 ****
/* }}} */
/* {{{ proto object imap_headerinfo(int stream_id, int msg_no [, int from_length [, int
subject_length [, string default_host]]])
! Dummy */
/* }}} */
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length
[, string default_host]]])
--- 1142,1148 ----
/* }}} */
/* {{{ proto object imap_headerinfo(int stream_id, int msg_no [, int from_length [, int
subject_length [, string default_host]]])
! An alias for imap_header */
/* }}} */
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length
[, string default_host]]])
***************
*** 1504,1510 ****
/* KMLANG */
/* {{{ proto array imap_listsubscribed(int stream_id, string ref, string pattern)
! Dummy */
/* }}} */
/* {{{ proto array imap_lsub(int stream_id, string ref, string pattern)
--- 1504,1510 ----
/* KMLANG */
/* {{{ proto array imap_listsubscribed(int stream_id, string ref, string pattern)
! An alias for imap_lsub */
/* }}} */
/* {{{ proto array imap_lsub(int stream_id, string ref, string pattern)
Index: php3/functions/iptc.c
diff -c php3/functions/iptc.c:1.9 php3/functions/iptc.c:1.10
*** php3/functions/iptc.c:1.9 Mon Jan 4 04:24:42 1999
--- php3/functions/iptc.c Mon Jan 4 09:25:21 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: iptc.c,v 1.9 1999/01/04 09:24:42 jah Exp $ */
/*
* Functions to parse & compse IPTC data.
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: iptc.c,v 1.10 1999/01/04 14:25:21 jah Exp $ */
/*
* Functions to parse & compse IPTC data.
***************
*** 46,52 ****
#include "php3_iptc.h"
/* {{{ proto array iptcparse(string jpeg_image)
! */
void php3_iptcparse(INTERNAL_FUNCTION_PARAMETERS)
{
unsigned int length, inx, len, inheader, tagsfound;
--- 46,52 ----
#include "php3_iptc.h"
/* {{{ proto array iptcparse(string jpeg_image)
! ??? */
void php3_iptcparse(INTERNAL_FUNCTION_PARAMETERS)
{
unsigned int length, inx, len, inheader, tagsfound;
Index: php3/functions/pdf.c
diff -c php3/functions/pdf.c:1.14 php3/functions/pdf.c:1.15
*** php3/functions/pdf.c:1.14 Mon Jan 4 04:24:42 1999
--- php3/functions/pdf.c Mon Jan 4 09:25:21 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: pdf.c,v 1.14 1999/01/04 09:24:42 jah Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: pdf.c,v 1.15 1999/01/04 14:25:21 jah Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
***************
*** 698,704 ****
/* }}} */
/* {{{ proto void pdf_set_text_pos(int pdfdoc, double x, double y)
! */
void php3_pdf_set_text_pos(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2, *arg3;
int id, type;
--- 698,704 ----
/* }}} */
/* {{{ proto void pdf_set_text_pos(int pdfdoc, double x, double y)
! ??? */
void php3_pdf_set_text_pos(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2, *arg3;
int id, type;
Index: php3/functions/post.c
diff -c php3/functions/post.c:1.113 php3/functions/post.c:1.114
*** php3/functions/post.c:1.113 Mon Jan 4 04:24:42 1999
--- php3/functions/post.c Mon Jan 4 09:25:21 1999
***************
*** 469,475 ****
}
/* {{{ proto void parse_str(string str)
! */
void php3_parsestr(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
--- 469,475 ----
}
/* {{{ proto void parse_str(string str)
! Parses str as if it were the query string passed via an URL and sets variables in the current
scope */
void php3_parsestr(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
Index: php3/functions/rand.c
diff -c php3/functions/rand.c:1.32 php3/functions/rand.c:1.33
*** php3/functions/rand.c:1.32 Mon Jan 4 04:24:42 1999
--- php3/functions/rand.c Mon Jan 4 09:25:21 1999
***************
*** 30,36 ****
| Based on code from: Shawn Cokus <Cokus@math.washington.edu> |
+----------------------------------------------------------------------+
*/
! /* $Id: rand.c,v 1.32 1999/01/04 09:24:42 jah Exp $ */
#include <stdlib.h>
--- 30,36 ----
| Based on code from: Shawn Cokus <Cokus@math.washington.edu> |
+----------------------------------------------------------------------+
*/
! /* $Id: rand.c,v 1.33 1999/01/04 14:25:21 jah Exp $ */
#include <stdlib.h>
***************
*** 214,220 ****
#endif
/* {{{ proto void srand(int seed)
! */
void php3_srand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
--- 214,220 ----
#endif
/* {{{ proto void srand(int seed)
! Seeds random number generator */
void php3_srand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
***************
*** 236,242 ****
/* }}} */
/* {{{ proto void mt_srand(int seed)
! */
void php3_mt_srand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
--- 236,242 ----
/* }}} */
/* {{{ proto void mt_srand(int seed)
! Seeds Mersenne Twister random number generator */
void php3_mt_srand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg;
***************
*** 249,255 ****
/* }}} */
/* {{{ proto int rand([int min, int max])
! */
void php3_rand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *p_min=NULL, *p_max=NULL;
--- 249,255 ----
/* }}} */
/* {{{ proto int rand([int min, int max])
! Returns a random number */
void php3_rand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *p_min=NULL, *p_max=NULL;
***************
*** 291,297 ****
/* }}} */
/* {{{ proto int mt_rand([int min, int max])
! */
void php3_mt_rand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *p_min=NULL, *p_max=NULL;
--- 291,297 ----
/* }}} */
/* {{{ proto int mt_rand([int min, int max])
! Returns a random number from Mersenne Twister */
void php3_mt_rand(INTERNAL_FUNCTION_PARAMETERS)
{
pval *p_min=NULL, *p_max=NULL;
***************
*** 333,339 ****
/* }}} */
/* {{{ proto int getrandmax(void)
! */
void php3_getrandmax(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->type = IS_LONG;
--- 333,339 ----
/* }}} */
/* {{{ proto int getrandmax(void)
! Returns the maximum value a random number can have */
void php3_getrandmax(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->type = IS_LONG;
***************
*** 342,348 ****
/* }}} */
/* {{{ proto int mt_getrandmax(void)
! */
void php3_mt_getrandmax(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->type = IS_LONG;
--- 342,348 ----
/* }}} */
/* {{{ proto int mt_getrandmax(void)
! Returns the maximum value a random number from Mersenne Twister can have */
void php3_mt_getrandmax(INTERNAL_FUNCTION_PARAMETERS)
{
return_value->type = IS_LONG;
Index: php3/functions/string.c
diff -c php3/functions/string.c:1.163 php3/functions/string.c:1.164
*** php3/functions/string.c:1.163 Mon Jan 4 04:24:43 1999
--- php3/functions/string.c Mon Jan 4 09:25:22 1999
***************
*** 30,36 ****
*/
! /* $Id: string.c,v 1.163 1999/01/04 09:24:43 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 30,36 ----
*/
! /* $Id: string.c,v 1.164 1999/01/04 14:25:22 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 120,126 ****
/* }}} */
/* {{{ proto string rtrim(string str)
! Dummy */
/* }}} */
/* {{{ proto string chop(string str)
--- 120,126 ----
/* }}} */
/* {{{ proto string rtrim(string str)
! An alias for chop */
/* }}} */
/* {{{ proto string chop(string str)
***************
*** 267,273 ****
/* }}} */
/* {{{ proto string join(array src, string glue)
! Dummy */
/* }}} */
/* {{{ proto string implode(array src, string glue)
--- 267,273 ----
/* }}} */
/* {{{ proto string join(array src, string glue)
! An alias for implode */
/* }}} */
/* {{{ proto string implode(array src, string glue)
***************
*** 576,582 ****
/* }}} */
/* {{{ proto string strchr(string haystack, string needle)
! Dummy */
/* }}} */
/* {{{ proto string strstr(string haystack, string needle)
--- 576,582 ----
/* }}} */
/* {{{ proto string strchr(string haystack, string needle)
! An alias for strstr */
/* }}} */
/* {{{ proto string strstr(string haystack, string needle)
Index: php3/functions/sybase.c
diff -c php3/functions/sybase.c:1.108 php3/functions/sybase.c:1.109
*** php3/functions/sybase.c:1.108 Mon Jan 4 07:16:29 1999
--- php3/functions/sybase.c Mon Jan 4 09:25:22 1999
***************
*** 31,37 ****
+----------------------------------------------------------------------+
*/
! /* $Id: sybase.c,v 1.108 1999/01/04 12:16:29 jah Exp $ */
#ifndef MSVC5
--- 31,37 ----
+----------------------------------------------------------------------+
*/
! /* $Id: sybase.c,v 1.109 1999/01/04 14:25:22 jah Exp $ */
#ifndef MSVC5
***************
*** 511,517 ****
/* {{{ proto int sybase_connect([string host[, string user[, string password]]])
! */
void php3_sybase_connect(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
--- 511,517 ----
/* {{{ proto int sybase_connect([string host[, string user[, string password]]])
! Open Sybase server connection */
void php3_sybase_connect(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
***************
*** 519,525 ****
/* }}} */
/* {{{ proto int sybase_pconnect([string host[, string user[, string password]]])
! */
void php3_sybase_pconnect(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,1);
--- 519,525 ----
/* }}} */
/* {{{ proto int sybase_pconnect([string host[, string user[, string password]]])
! Open persistent Sybase connection */
void php3_sybase_pconnect(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,1);
***************
*** 527,533 ****
/* }}} */
/* {{{ proto bool sybase_close([int link_id])
! */
void php3_sybase_close(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_link_index;
--- 527,533 ----
/* }}} */
/* {{{ proto bool sybase_close([int link_id])
! Close Sybase connection */
void php3_sybase_close(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_link_index;
***************
*** 561,567 ****
/* }}} */
/* {{{ proto bool sybase_select_db(string database[, int link_id])
! */
void php3_sybase_select_db(INTERNAL_FUNCTION_PARAMETERS)
{
pval *db,*sybase_link_index;
--- 561,567 ----
/* }}} */
/* {{{ proto bool sybase_select_db(string database[, int link_id])
! Select Sybase database */
void php3_sybase_select_db(INTERNAL_FUNCTION_PARAMETERS)
{
pval *db,*sybase_link_index;
***************
*** 684,690 ****
}
/* {{{ proto int sybase_query(string query[, int link_id])
! */
void php3_sybase_query(INTERNAL_FUNCTION_PARAMETERS)
{
pval *query,*sybase_link_index;
--- 684,690 ----
}
/* {{{ proto int sybase_query(string query[, int link_id])
! Send Sybase query */
void php3_sybase_query(INTERNAL_FUNCTION_PARAMETERS)
{
pval *query,*sybase_link_index;
***************
*** 823,829 ****
/* }}} */
/* {{{ proto bool sybase_free_result(int result)
! */
void php3_sybase_free_result(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index;
--- 823,829 ----
/* }}} */
/* {{{ proto bool sybase_free_result(int result)
! Free result memory */
void php3_sybase_free_result(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index;
***************
*** 850,856 ****
/* }}} */
/* {{{ proto string sybase_get_last_message(void)
! */
void php3_sybase_get_last_message(INTERNAL_FUNCTION_PARAMETERS)
{
RETURN_STRING(php3_sybase_module.server_message,1);
--- 850,856 ----
/* }}} */
/* {{{ proto string sybase_get_last_message(void)
! Returns the last message from server (over min_message_severity?) */
void php3_sybase_get_last_message(INTERNAL_FUNCTION_PARAMETERS)
{
RETURN_STRING(php3_sybase_module.server_message,1);
***************
*** 858,864 ****
/* }}} */
/* {{{ proto int sybase_num_rows(int result)
! */
void php3_sybase_num_rows(INTERNAL_FUNCTION_PARAMETERS)
{
pval *result_index;
--- 858,864 ----
/* }}} */
/* {{{ proto int sybase_num_rows(int result)
! Get number of rows in result */
void php3_sybase_num_rows(INTERNAL_FUNCTION_PARAMETERS)
{
pval *result_index;
***************
*** 884,890 ****
/* }}} */
/* {{{ proto int sybase_num_fields(int result)
! */
void php3_sybase_num_fields(INTERNAL_FUNCTION_PARAMETERS)
{
pval *result_index;
--- 884,890 ----
/* }}} */
/* {{{ proto int sybase_num_fields(int result)
! Get number of fields in result */
void php3_sybase_num_fields(INTERNAL_FUNCTION_PARAMETERS)
{
pval *result_index;
***************
*** 910,916 ****
/* }}} */
/* {{{ proto array sybase_fetch_row(int result)
! */
void php3_sybase_fetch_row(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index;
--- 910,916 ----
/* }}} */
/* {{{ proto array sybase_fetch_row(int result)
! Get row as enumerated array */
void php3_sybase_fetch_row(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index;
***************
*** 987,993 ****
/* {{{ proto object sybase_fetch_object(int result)
! */
void php3_sybase_fetch_object(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
--- 987,993 ----
/* {{{ proto object sybase_fetch_object(int result)
! Fetch row as object */
void php3_sybase_fetch_object(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
***************
*** 998,1004 ****
/* }}} */
/* {{{ proto array sybase_fetch_array(int result)
! */
void php3_sybase_fetch_array(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
--- 998,1004 ----
/* }}} */
/* {{{ proto array sybase_fetch_array(int result)
! Fetch row as array */
void php3_sybase_fetch_array(INTERNAL_FUNCTION_PARAMETERS)
{
php3_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
***************
*** 1006,1012 ****
/* }}} */
/* {{{ proto bool sybase_data_seek(int result, int offset)
! */
void php3_sybase_data_seek(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
--- 1006,1012 ----
/* }}} */
/* {{{ proto bool sybase_data_seek(int result, int offset)
! Move internal row pointer */
void php3_sybase_data_seek(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
***************
*** 1084,1090 ****
}
/* {{{ proto object sybase_fetch_field(int result[, int offset])
! */
void php3_sybase_fetch_field(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
--- 1084,1090 ----
}
/* {{{ proto object sybase_fetch_field(int result[, int offset])
! Get field information */
void php3_sybase_fetch_field(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
***************
*** 1143,1149 ****
/* }}} */
/* {{{ proto bool sybase_field_seek(int result, int offset)
! */
void php3_sybase_field_seek(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
--- 1143,1149 ----
/* }}} */
/* {{{ proto bool sybase_field_seek(int result, int offset)
! Set field offset */
void php3_sybase_field_seek(INTERNAL_FUNCTION_PARAMETERS)
{
pval *sybase_result_index,*offset;
***************
*** 1177,1183 ****
/* }}} */
/* {{{ proto string sybase_result(int result, int row, mixed field)
! */
void php3_sybase_result(INTERNAL_FUNCTION_PARAMETERS)
{
pval *row, *field, *sybase_result_index;
--- 1177,1183 ----
/* }}} */
/* {{{ proto string sybase_result(int result, int row, mixed field)
! Get result data */
void php3_sybase_result(INTERNAL_FUNCTION_PARAMETERS)
{
pval *row, *field, *sybase_result_index;
***************
*** 1266,1272 ****
}
/* {{{ proto void sybase_min_error_severity(int severity)
! */
void php3_sybase_min_error_severity(INTERNAL_FUNCTION_PARAMETERS)
{
pval *severity;
--- 1266,1272 ----
}
/* {{{ proto void sybase_min_error_severity(int severity)
! ??? */
void php3_sybase_min_error_severity(INTERNAL_FUNCTION_PARAMETERS)
{
pval *severity;
***************
*** 1280,1286 ****
/* }}} */
/* {{{ proto void sybase_min_message_severity(int severity)
! */
void php3_sybase_min_message_severity(INTERNAL_FUNCTION_PARAMETERS)
{
pval *severity;
--- 1280,1286 ----
/* }}} */
/* {{{ proto void sybase_min_message_severity(int severity)
! ??? */
void php3_sybase_min_message_severity(INTERNAL_FUNCTION_PARAMETERS)
{
pval *severity;
Index: php3/functions/var.c
diff -c php3/functions/var.c:1.10 php3/functions/var.c:1.11
*** php3/functions/var.c:1.10 Mon Jan 4 02:38:15 1999
--- php3/functions/var.c Mon Jan 4 09:25:22 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: var.c,v 1.10 1999/01/04 07:38:15 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: var.c,v 1.11 1999/01/04 14:25:22 jah Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 129,135 ****
}
/* {{{ proto void var_dump(mixed var)
! */
PHP_FUNCTION(var_dump)
{
pval *struc;
--- 129,135 ----
}
/* {{{ proto void var_dump(mixed var)
! Dumps a string representation of variable to output */
PHP_FUNCTION(var_dump)
{
pval *struc;
***************
*** 357,363 ****
/* {{{ proto string serialize(mixed variable)
! */
PHP_FUNCTION(serialize)
{
pval *struc;
--- 357,363 ----
/* {{{ proto string serialize(mixed variable)
! Returns a string representation of variable (which can later be unserialized) */
PHP_FUNCTION(serialize)
{
pval *struc;
***************
*** 374,380 ****
/* {{{ proto mixed unserialize(string variable_representation)
! */
PHP_FUNCTION(unserialize)
{
pval *buf;
--- 374,380 ----
/* {{{ proto mixed unserialize(string variable_representation)
! Takes a string representation of variable and recreates it */
PHP_FUNCTION(unserialize)
{
pval *buf;
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net