1999-04-17 00:37:12 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-08 17:33:29 +00:00
|
|
|
| PHP Version 5 |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| Copyright (c) 1997-2006 The PHP Group |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2000-07-24 01:40:02 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-10 20:04:29 +00:00
|
|
|
| available through the world-wide-web at the following url: |
|
2006-01-01 12:51:34 +00:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
2000-07-24 01:40:02 +00:00
|
|
|
| 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 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 08:29:35 +00:00
|
|
|
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
*/
|
1999-04-17 00:37:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#ifndef REG_H
|
|
|
|
#define REG_H
|
1999-04-17 00:37:12 +00:00
|
|
|
|
2001-12-03 05:15:29 +00:00
|
|
|
PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
|
1999-05-12 15:40:15 +00:00
|
|
|
|
|
|
|
PHP_FUNCTION(ereg);
|
|
|
|
PHP_FUNCTION(eregi);
|
1999-07-24 22:16:54 +00:00
|
|
|
PHP_FUNCTION(eregi_replace);
|
|
|
|
PHP_FUNCTION(ereg_replace);
|
1999-05-12 15:40:15 +00:00
|
|
|
PHP_FUNCTION(split);
|
2000-06-23 11:48:02 +00:00
|
|
|
PHP_FUNCTION(spliti);
|
1999-05-13 15:54:49 +00:00
|
|
|
PHPAPI PHP_FUNCTION(sql_regcase);
|
1999-05-12 15:40:15 +00:00
|
|
|
|
2002-09-25 14:02:34 +00:00
|
|
|
ZEND_BEGIN_MODULE_GLOBALS(reg)
|
1999-05-12 15:40:15 +00:00
|
|
|
HashTable ht_rc;
|
2002-09-25 14:02:34 +00:00
|
|
|
ZEND_END_MODULE_GLOBALS(reg)
|
1999-05-12 15:40:15 +00:00
|
|
|
|
2000-03-06 20:37:11 +00:00
|
|
|
PHP_MINIT_FUNCTION(regex);
|
|
|
|
PHP_MSHUTDOWN_FUNCTION(regex);
|
|
|
|
PHP_MINFO_FUNCTION(regex);
|
|
|
|
|
1999-05-12 15:40:15 +00:00
|
|
|
|
|
|
|
#ifdef ZTS
|
2002-09-25 17:48:10 +00:00
|
|
|
#define REG(v) TSRMG(reg_globals_id, zend_reg_globals *, v)
|
1999-05-12 15:40:15 +00:00
|
|
|
#else
|
|
|
|
#define REG(v) (reg_globals.v)
|
|
|
|
#endif
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#endif /* REG_H */
|