@@ -3390,7 +3390,7 @@ static zend_op_array *preload_compile_file(zend_file_handle *file_handle, int ty
3390
3390
return op_array ;
3391
3391
}
3392
3392
3393
- static void preload_sort_classes (void * base , size_t count , size_t siz , compare_func_t compare , swap_func_t swp ) /* {{{ */
3393
+ static void preload_sort_classes (void * base , size_t count , size_t siz , compare_func_t compare , swap_func_t swp )
3394
3394
{
3395
3395
Bucket * b1 = base ;
3396
3396
Bucket * b2 ;
@@ -3785,9 +3785,11 @@ static void preload_link(void)
3785
3785
continue ;
3786
3786
}
3787
3787
3788
- zend_string * key = zend_string_tolower (ce -> name );
3789
- zv = zend_hash_set_bucket_key (EG (class_table ), (Bucket * )zv , key );
3790
- zend_string_release (key );
3788
+ {
3789
+ zend_string * key = zend_string_tolower (ce -> name );
3790
+ zv = zend_hash_set_bucket_key (EG (class_table ), (Bucket * )zv , key );
3791
+ zend_string_release (key );
3792
+ }
3791
3793
3792
3794
if (EXPECTED (zv )) {
3793
3795
/* Set filename & lineno information for inheritance errors */
@@ -4509,7 +4511,7 @@ static int accel_preload(const char *config)
4509
4511
script -> ping_auto_globals_mask = ping_auto_globals_mask ;
4510
4512
4511
4513
/* Store all functions and classes in a single pseudo-file */
4512
- filename = zend_string_init ("$PRELOAD$" , strlen ("$PRELOAD$" ), 0 );
4514
+ filename = zend_string_init ("$PRELOAD$" , sizeof ("$PRELOAD$" ) - 1 , 0 );
4513
4515
#if ZEND_USE_ABS_CONST_ADDR
4514
4516
init_op_array (& script -> script .main_op_array , ZEND_USER_FUNCTION , 1 );
4515
4517
#else
0 commit comments