@@ -275,7 +275,7 @@ static zend_always_inline int zend_hash_exists_ind(const HashTable *ht, zend_str
275
275
}
276
276
277
277
278
- static zend_always_inline zval * zend_hash_str_find_ind (const HashTable * ht , const char * str , int len )
278
+ static zend_always_inline zval * zend_hash_str_find_ind (const HashTable * ht , const char * str , size_t len )
279
279
{
280
280
zval * zv ;
281
281
@@ -368,7 +368,7 @@ static zend_always_inline int zend_symtable_exists(HashTable *ht, zend_string *k
368
368
}
369
369
370
370
371
- static zend_always_inline zval * zend_symtable_str_update (HashTable * ht , const char * str , int len , zval * pData )
371
+ static zend_always_inline zval * zend_symtable_str_update (HashTable * ht , const char * str , size_t len , zval * pData )
372
372
{
373
373
zend_ulong idx ;
374
374
@@ -380,7 +380,7 @@ static zend_always_inline zval *zend_symtable_str_update(HashTable *ht, const ch
380
380
}
381
381
382
382
383
- static zend_always_inline zval * zend_symtable_str_update_ind (HashTable * ht , const char * str , int len , zval * pData )
383
+ static zend_always_inline zval * zend_symtable_str_update_ind (HashTable * ht , const char * str , size_t len , zval * pData )
384
384
{
385
385
zend_ulong idx ;
386
386
@@ -392,7 +392,7 @@ static zend_always_inline zval *zend_symtable_str_update_ind(HashTable *ht, cons
392
392
}
393
393
394
394
395
- static zend_always_inline int zend_symtable_str_del (HashTable * ht , const char * str , int len )
395
+ static zend_always_inline int zend_symtable_str_del (HashTable * ht , const char * str , size_t len )
396
396
{
397
397
zend_ulong idx ;
398
398
@@ -404,7 +404,7 @@ static zend_always_inline int zend_symtable_str_del(HashTable *ht, const char *s
404
404
}
405
405
406
406
407
- static zend_always_inline int zend_symtable_str_del_ind (HashTable * ht , const char * str , int len )
407
+ static zend_always_inline int zend_symtable_str_del_ind (HashTable * ht , const char * str , size_t len )
408
408
{
409
409
zend_ulong idx ;
410
410
@@ -416,7 +416,7 @@ static zend_always_inline int zend_symtable_str_del_ind(HashTable *ht, const cha
416
416
}
417
417
418
418
419
- static zend_always_inline zval * zend_symtable_str_find (HashTable * ht , const char * str , int len )
419
+ static zend_always_inline zval * zend_symtable_str_find (HashTable * ht , const char * str , size_t len )
420
420
{
421
421
zend_ulong idx ;
422
422
@@ -428,7 +428,7 @@ static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char
428
428
}
429
429
430
430
431
- static zend_always_inline int zend_symtable_str_exists (HashTable * ht , const char * str , int len )
431
+ static zend_always_inline int zend_symtable_str_exists (HashTable * ht , const char * str , size_t len )
432
432
{
433
433
zend_ulong idx ;
434
434
@@ -457,7 +457,7 @@ static zend_always_inline void *zend_hash_add_new_ptr(HashTable *ht, zend_string
457
457
return zv ? Z_PTR_P (zv ) : NULL ;
458
458
}
459
459
460
- static zend_always_inline void * zend_hash_str_add_ptr (HashTable * ht , const char * str , int len , void * pData )
460
+ static zend_always_inline void * zend_hash_str_add_ptr (HashTable * ht , const char * str , size_t len , void * pData )
461
461
{
462
462
zval tmp , * zv ;
463
463
@@ -475,7 +475,7 @@ static zend_always_inline void *zend_hash_update_ptr(HashTable *ht, zend_string
475
475
return zv ? Z_PTR_P (zv ) : NULL ;
476
476
}
477
477
478
- static zend_always_inline void * zend_hash_str_update_ptr (HashTable * ht , const char * str , int len , void * pData )
478
+ static zend_always_inline void * zend_hash_str_update_ptr (HashTable * ht , const char * str , size_t len , void * pData )
479
479
{
480
480
zval tmp , * zv ;
481
481
@@ -497,7 +497,7 @@ static zend_always_inline void *zend_hash_add_mem(HashTable *ht, zend_string *ke
497
497
return NULL ;
498
498
}
499
499
500
- static zend_always_inline void * zend_hash_str_add_mem (HashTable * ht , const char * str , int len , void * pData , size_t size )
500
+ static zend_always_inline void * zend_hash_str_add_mem (HashTable * ht , const char * str , size_t len , void * pData , size_t size )
501
501
{
502
502
zval tmp , * zv ;
503
503
@@ -519,7 +519,7 @@ static zend_always_inline void *zend_hash_update_mem(HashTable *ht, zend_string
519
519
return zend_hash_update_ptr (ht , key , p );
520
520
}
521
521
522
- static zend_always_inline void * zend_hash_str_update_mem (HashTable * ht , const char * str , int len , void * pData , size_t size )
522
+ static zend_always_inline void * zend_hash_str_update_mem (HashTable * ht , const char * str , size_t len , void * pData , size_t size )
523
523
{
524
524
void * p ;
525
525
@@ -576,7 +576,7 @@ static zend_always_inline void *zend_hash_find_ptr(const HashTable *ht, zend_str
576
576
return zv ? Z_PTR_P (zv ) : NULL ;
577
577
}
578
578
579
- static zend_always_inline void * zend_hash_str_find_ptr (const HashTable * ht , const char * str , int len )
579
+ static zend_always_inline void * zend_hash_str_find_ptr (const HashTable * ht , const char * str , size_t len )
580
580
{
581
581
zval * zv ;
582
582
@@ -592,7 +592,7 @@ static zend_always_inline void *zend_hash_index_find_ptr(const HashTable *ht, ze
592
592
return zv ? Z_PTR_P (zv ) : NULL ;
593
593
}
594
594
595
- static zend_always_inline void * zend_symtable_str_find_ptr (HashTable * ht , const char * str , int len )
595
+ static zend_always_inline void * zend_symtable_str_find_ptr (HashTable * ht , const char * str , size_t len )
596
596
{
597
597
zend_ulong idx ;
598
598
0 commit comments