1999-04-17 08:37:12 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 23:32:16 +08:00
|
|
|
| PHP Version 4 |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 23:32:16 +08:00
|
|
|
| Copyright (c) 1997-2002 The PHP Group |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 09:40:02 +08:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
|
|
|
| http://www.php.net/license/2_02.txt. |
|
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 16:29:35 +08:00
|
|
|
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 09:40:02 +08:00
|
|
|
*/
|
1999-04-17 08:37:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#ifndef REG_H
|
|
|
|
#define REG_H
|
1999-04-17 08:37:12 +08:00
|
|
|
|
2001-12-03 13:15:29 +08:00
|
|
|
PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
|
1999-05-12 23:40:15 +08:00
|
|
|
|
|
|
|
PHP_FUNCTION(ereg);
|
|
|
|
PHP_FUNCTION(eregi);
|
1999-07-25 06:16:54 +08:00
|
|
|
PHP_FUNCTION(eregi_replace);
|
|
|
|
PHP_FUNCTION(ereg_replace);
|
1999-05-12 23:40:15 +08:00
|
|
|
PHP_FUNCTION(split);
|
2000-06-23 19:48:02 +08:00
|
|
|
PHP_FUNCTION(spliti);
|
1999-05-13 23:54:49 +08:00
|
|
|
PHPAPI PHP_FUNCTION(sql_regcase);
|
1999-05-12 23:40:15 +08:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
HashTable ht_rc;
|
|
|
|
} php_reg_globals;
|
|
|
|
|
2000-03-07 04:37:11 +08:00
|
|
|
PHP_MINIT_FUNCTION(regex);
|
|
|
|
PHP_MSHUTDOWN_FUNCTION(regex);
|
|
|
|
PHP_MINFO_FUNCTION(regex);
|
|
|
|
|
1999-05-12 23:40:15 +08:00
|
|
|
|
|
|
|
#ifdef ZTS
|
2001-07-28 19:36:37 +08:00
|
|
|
#define REG(v) TSRMG(reg_globals_id, php_reg_globals *, v)
|
1999-05-12 23:40:15 +08:00
|
|
|
#else
|
|
|
|
#define REG(v) (reg_globals.v)
|
|
|
|
#endif
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#endif /* REG_H */
|