CVS update: php3
| From: | zeev | Date: | Sat, 19 Sep 1998 20:31:49 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1282@lists.php.net to get a copy of this message | ||
Date: Saturday September 19, 1998 @ 16:31
Author: zeev
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv351
Modified Files:
BUGS control_structures_inline.h
Log Message:
Fix a couple of VC++ warnings
Index: php3/BUGS
diff -c php3/BUGS:1.28 php3/BUGS:1.29
*** php3/BUGS:1.28 Fri May 8 13:22:10 1998
--- php3/BUGS Sat Sep 19 16:31:44 1998
***************
*** 7,9 ****
--- 7,11 ----
* split() function doesn't return regex errors nicely
* Preprocessed scripts don't work with require() and define()
* unset() doesn't actually erase the variables it just marks them as uninitialized
+ * Some parts in the language core prevent more than 256 arguments in function
+ calls from being possible
\ No newline at end of file
Index: php3/control_structures_inline.h
diff -c php3/control_structures_inline.h:1.187 php3/control_structures_inline.h:1.188
*** php3/control_structures_inline.h:1.187 Fri Sep 18 12:55:00 1998
--- php3/control_structures_inline.h Sat Sep 19 16:31:45 1998
***************
*** 29,35 ****
*/
! /* $Id: control_structures_inline.h,v 1.187 1998/09/18 16:55:00 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 29,35 ----
*/
! /* $Id: control_structures_inline.h,v 1.188 1998/09/19 20:31:45 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 475,481 ****
{
if (GLOBAL(Execute)) {
if (GLOBAL(function_state).func_arg_types) {
! unsigned char
argument_offset=_php3_hash_next_free_element(GLOBAL(function_state).function_symbol_table)+1;
if (argument_offset<=GLOBAL(function_state).func_arg_types[0]
&& GLOBAL(function_state).func_arg_types[argument_offset]==BYREF_FORCE) {
--- 475,481 ----
{
if (GLOBAL(Execute)) {
if (GLOBAL(function_state).func_arg_types) {
! unsigned char argument_offset=(unsigned char)
_php3_hash_next_free_element(GLOBAL(function_state).function_symbol_table)+1;
if (argument_offset<=GLOBAL(function_state).func_arg_types[0]
&& GLOBAL(function_state).func_arg_types[argument_offset]==BYREF_FORCE) {
***************
*** 1349,1355 ****
/* ... check if we need to force by reference (set by_reference=1) */
if (GLOBAL(function_state).func_arg_types) {
! unsigned char
argument_offset=_php3_hash_next_free_element(GLOBAL(function_state).function_symbol_table)+1;
if (argument_offset<=GLOBAL(function_state).func_arg_types[0]
&& GLOBAL(function_state).func_arg_types[argument_offset]!=BYREF_NONE) {
--- 1349,1355 ----
/* ... check if we need to force by reference (set by_reference=1) */
if (GLOBAL(function_state).func_arg_types) {
! unsigned char argument_offset=(unsigned char)
_php3_hash_next_free_element(GLOBAL(function_state).function_symbol_table)+1;
if (argument_offset<=GLOBAL(function_state).func_arg_types[0]
&& GLOBAL(function_state).func_arg_types[argument_offset]!=BYREF_NONE) {
--
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