Home
last modified time | relevance | path

Searched refs:start_key (Results 1 – 7 of 7) sorted by relevance

/PHP-8.4/ext/standard/tests/array/
H A Darray_fill_error.phpt8 $start_key = 0;
13 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_variation4.phpt9 $start_key = 0;
34 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
H A Darray_fill_basic.phpt8 $start_key = 0 ;
33 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_variation3.phpt12 $start_key = 0;
54 var_dump( array_fill($start_key , $num , $val) );
H A Darray_fill_variation5.phpt12 $start_key = 0;
43 var_dump( array_fill($start_key , $num , $val) );
H A Darray_fill_object.phpt12 $start_key = 0;
194 var_dump( array_fill($start_key,$num,$val) );
/PHP-8.4/ext/standard/
H A Darray.c2772 zend_long start_key, num; local
2775 Z_PARAM_LONG(start_key)
2784 } else if (UNEXPECTED(start_key > ZEND_LONG_MAX - num + 1)) {
2787 } else if (EXPECTED(start_key >= 0) && EXPECTED(start_key < num)) {
2791 array_init_size(return_value, (uint32_t)(start_key + num));
2793 Z_ARRVAL_P(return_value)->nNumUsed = (uint32_t)(start_key + num);
2795 Z_ARRVAL_P(return_value)->nNextFreeElement = (zend_long)(start_key + num);
2803 while (start_key--) {
2818 zend_hash_index_add_new(Z_ARRVAL_P(return_value), start_key, val);
2821 start_key++;

Completed in 30 milliseconds