@@ -3328,7 +3328,7 @@ static zend_op_array *preload_compile_file(zend_file_handle *file_handle, int ty
3328
3328
return op_array ;
3329
3329
}
3330
3330
3331
- static void preload_sort_classes (void * base , size_t count , size_t siz , compare_func_t compare , swap_func_t swp ) /* {{{ */
3331
+ static void preload_sort_classes (void * base , size_t count , size_t siz , compare_func_t compare , swap_func_t swp )
3332
3332
{
3333
3333
Bucket * b1 = base ;
3334
3334
Bucket * b2 ;
@@ -3718,9 +3718,11 @@ static void preload_link(void)
3718
3718
continue ;
3719
3719
}
3720
3720
3721
- zend_string * key = zend_string_tolower (ce -> name );
3722
- zv = zend_hash_set_bucket_key (EG (class_table ), (Bucket * )zv , key );
3723
- zend_string_release (key );
3721
+ {
3722
+ zend_string * key = zend_string_tolower (ce -> name );
3723
+ zv = zend_hash_set_bucket_key (EG (class_table ), (Bucket * )zv , key );
3724
+ zend_string_release (key );
3725
+ }
3724
3726
3725
3727
if (EXPECTED (zv )) {
3726
3728
/* Set filename & lineno information for inheritance errors */
@@ -4439,7 +4441,7 @@ static int accel_preload(const char *config)
4439
4441
script -> ping_auto_globals_mask = ping_auto_globals_mask ;
4440
4442
4441
4443
/* Store all functions and classes in a single pseudo-file */
4442
- filename = zend_string_init ("$PRELOAD$" , strlen ("$PRELOAD$" ), 0 );
4444
+ filename = zend_string_init ("$PRELOAD$" , sizeof ("$PRELOAD$" ) - 1 , 0 );
4443
4445
#if ZEND_USE_ABS_CONST_ADDR
4444
4446
init_op_array (& script -> script .main_op_array , ZEND_USER_FUNCTION , 1 );
4445
4447
#else
0 commit comments