CVS update: php3

From: Date: Fri, 16 Apr 1999 06:10:23 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5092@lists.php.net to get a copy of this message
Date: Friday April 16, 1999 @ 2:10 Author: rasmus Update of /repository/php3 In directory asf:/u/temp/cvs-serv3309 Modified Files: control_structures_inline.h Log Message: Get the spelling right in the warning messages Index: php3/control_structures_inline.h diff -c php3/control_structures_inline.h:1.194 php3/control_structures_inline.h:1.195 *** php3/control_structures_inline.h:1.194 Fri Jan 1 12:58:48 1999 --- php3/control_structures_inline.h Fri Apr 16 02:10:23 1999 *************** *** 29,35 **** */ ! /* $Id: control_structures_inline.h,v 1.194 1999/01/01 17:58:48 zeev Exp $ */ #ifdef THREAD_SAFE #include "tls.h" --- 29,35 ---- */ ! /* $Id: control_structures_inline.h,v 1.195 1999/04/16 06:10:23 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" *************** *** 111,117 **** if (GLOBAL(Execute)) { if (!GLOBAL(function_state).function_name) { ! php3_error(E_WARNING, "GLOBAL variable decleration meaningless in main() scope"); return FAILURE; } if ((varname->type != IS_STRING)) { --- 111,117 ---- if (GLOBAL(Execute)) { if (!GLOBAL(function_state).function_name) { ! php3_error(E_WARNING, "GLOBAL variable declaration meaningless in main() scope"); return FAILURE; } if ((varname->type != IS_STRING)) { *************** *** 153,159 **** pval *func_ent, *variable_entry, tmp; if (!GLOBAL(function_state).function_name) { ! php3_error(E_WARNING, "STATIC variable decleration meaningless in main() scope"); STR_FREE(varname->value.str.val); if (value) { pval_destructor(value _INLINE_TLS); --- 153,159 ---- pval *func_ent, *variable_entry, tmp; if (!GLOBAL(function_state).function_name) { ! php3_error(E_WARNING, "STATIC variable declaration meaningless in main() scope"); STR_FREE(varname->value.str.val); if (value) { pval_destructor(value _INLINE_TLS); -- 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

« previous php.dev (#5092) next »