Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (41 sloc) 2.044 kB
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
1 /*
2 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored
3 | PHP Version 5 |
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
4 +----------------------------------------------------------------------+
4e19825 @felipensp - Year++
felipensp authored
5 | Copyright (c) 1997-2012 The PHP Group |
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
6 +----------------------------------------------------------------------+
5bd9322 bump year and license version
foobar authored
7 | This source file is subject to version 3.01 of the PHP license, |
83513d9 Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
David Croft authored
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored
9 | available through the world-wide-web at the following url: |
5bd9322 bump year and license version
foobar authored
10 | http://www.php.net/license/3_01.txt |
83513d9 Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
David Croft authored
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
14 +----------------------------------------------------------------------+
15 | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
9ab35ae @zsuraski Tried to centralize global variable registration as much as possible:
zsuraski authored
16 | Zeev Suraski <zeev@zend.com> |
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
17 +----------------------------------------------------------------------+
83513d9 Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
David Croft authored
18 */
19
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
20 /* $Id$ */
21
16017f6 Change header protection macros to conform to standard.
Sascha Schumann authored
22 #ifndef PHP_VARIABLES_H
23 #define PHP_VARIABLES_H
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
24
9ab35ae @zsuraski Tried to centralize global variable registration as much as possible:
zsuraski authored
25 #include "php.h"
1b6ccfe @zsuraski Cleanups & optimizations
zsuraski authored
26 #include "SAPI.h"
27
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
28 #define PARSE_POST 0
29 #define PARSE_GET 1
30 #define PARSE_COOKIE 2
31 #define PARSE_STRING 3
cbb11e0 @rlerdorf Now that ext/filter is bundled, we should be defining these in one place
rlerdorf authored
32 #define PARSE_ENV 4
33 #define PARSE_SERVER 5
34 #define PARSE_SESSION 6
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
35
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored
36 BEGIN_EXTERN_C()
94302c7 Compiler warning fix.
Ilia Alshanetsky authored
37 void php_startup_auto_globals(TSRMLS_D);
96b9c0a make php_import_environment_variables overwritable so fastcgi can cor…
Shane Caraveo authored
38 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
d952750 MFH
foobar authored
39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
0731f54 @smalyshev Fix #7987: POST/GET: string with \0(%00) values not parsed correctly
smalyshev authored
40 /* binary-safe version */
d952750 MFH
foobar authored
41 PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
2c0ad3e last bunch of extensions moving to ext/
Stig Bakken authored
43
4e55747 @zsuraski Add JIT initialization for _SERVER and _ENV
zsuraski authored
44 int php_hash_environment(TSRMLS_D);
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored
45 END_EXTERN_C()
4e55747 @zsuraski Add JIT initialization for _SERVER and _ENV
zsuraski authored
46
47 #define NUM_TRACK_VARS 6
a6393de @zsuraski Make POST handling the way it should be. RFC1867, and any future POS…
zsuraski authored
48
16017f6 Change header protection macros to conform to standard.
Sascha Schumann authored
49 #endif /* PHP_VARIABLES_H */
Something went wrong with that request. Please try again.