Re: cvs: php-src(PHP_5_0) /main main.c
| From: | Andrey Hristov | Date: | Tue, 19 Apr 2005 22:20:18 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_0) /main main.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-31493@lists.php.net to get a copy of this message | ||
I thought that I should not add them to 4_3 but if you
wish :). When __METHOD__ as added it was only in HEAD (5.0-dev those
days).
Andrey
P.S.
Will do that tommorow
Jani Taskinen wrote:
And MFH to PHP_4_3 branch too.. --Jani On Tue, 19 Apr 2005, Andrey Hristov wrote:andrey Tue Apr 19 13:33:16 2005 EDTModified files: (Branch: PHP_5_0) /php-src/main main.cLog: MFH http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.604.2.11&r2=1.604.2.12&ty=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.604.2.11 php-src/main/main.c:1.604.2.12--- php-src/main/main.c:1.604.2.11 Wed Mar 23 20:11:35 2005 +++ php-src/main/main.c Tue Apr 19 13:33:16 2005@@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.604.2.11 2005/03/24 01:11:35 andi Exp $ */ +/* $Id: main.c,v 1.604.2.12 2005/04/19 17:33:16 andrey Exp $ */ /* {{{ includes */ @@ -1430,6 +1430,8 @@REGISTER_MAIN_STRINGL_CONSTANT("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR, sizeof(PHP_CONFIG_FILE_SCAN_DIR)-1, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_STRINGL_CONSTANT("PHP_SHLIB_SUFFIX", PHP_SHLIB_SUFFIX, sizeof(PHP_SHLIB_SUFFIX)-1, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS); php_output_register_constants(TSRMLS_C); php_rfc1867_register_constants(TSRMLS_C);