derick Thu Apr 3 01:21:21 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard string.c
Log:
- CS
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.333.2.20 php4/ext/standard/string.c:1.333.2.21
--- php4/ext/standard/string.c:1.333.2.20 Wed Apr 2 16:31:52 2003
+++ php4/ext/standard/string.c Thu Apr 3 01:21:21 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.333.2.20 2003/04/02 21:31:52 rasmus Exp $ */
+/* $Id: string.c,v 1.333.2.21 2003/04/03 06:21:21 derick Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -3121,7 +3121,9 @@
}
while (1) {
if (Z_TYPE_PP(args[1]) == IS_ARRAY) {
- if(!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) break;
+ if (!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) {
+ break;
+ }
zend_hash_get_current_data(Z_ARRVAL_PP(args[1]),(void
**)&plocale);
} else {
plocale = args[i];
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php