mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
- WS fix - "while (" instead of "while("
This commit is contained in:
parent
43139dc755
commit
7f6c2da50a
@ -444,7 +444,7 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
|
||||
* the value of an assignment to a string offset is undefined
|
||||
Ts[result->u.var].var = &T->EA.data.str_offset.str;
|
||||
*/
|
||||
} while(0);
|
||||
} while (0);
|
||||
/* zval_ptr_dtor(&T->EA.data.str_offset.str); Nuke this line if it doesn't cause a leak */
|
||||
T->tmp_var.type = IS_STRING;
|
||||
}
|
||||
@ -1778,7 +1778,7 @@ binary_assign_op_addr_obj:
|
||||
ulong dummy;
|
||||
|
||||
zend_hash_internal_pointer_reset_ex(&ce->constants_table, &pos);
|
||||
while(zend_hash_get_current_data_ex(&ce->constants_table, (void **)&import_constant, &pos) == SUCCESS) {
|
||||
while (zend_hash_get_current_data_ex(&ce->constants_table, (void **)&import_constant, &pos) == SUCCESS) {
|
||||
key_type = zend_hash_get_current_key_ex(&ce->constants_table, &key, &key_length, &dummy, 0, &pos);
|
||||
|
||||
c.value = **import_constant;
|
||||
|
@ -313,7 +313,7 @@ ZEND_API int zend_fetch_list_dtor_id(char *type_name)
|
||||
HashPosition pos;
|
||||
|
||||
zend_hash_internal_pointer_reset_ex(&list_destructors, &pos);
|
||||
while(zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) == SUCCESS) {
|
||||
while (zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) == SUCCESS) {
|
||||
if (strcmp(type_name, lde->type_name) == 0) {
|
||||
#if 0
|
||||
printf("Found resource id %d for resource type %s\n", (*lde).resource_id, type_name);
|
||||
|
Loading…
Reference in New Issue
Block a user