Searched refs:pad_size (Results 1 – 7 of 7) sorted by relevance
/PHP-8.4/ext/standard/tests/array/ |
H A D | array_pad_variation7.phpt | 8 * The $pad_size and $pad_value arguments passed are fixed values. 20 // initialize the $pad_size and $pad_value arguments 21 $pad_size = 5; 26 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size' 27 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size' 31 var_dump( array_pad($input[1], $pad_size, $pad_value) ); // positive 'pad_size' 32 var_dump( array_pad($input[1], -$pad_size, $pad_value) ); // negative 'pad_size'
|
H A D | array_pad_variation4.phpt | 8 * The $input and $pad_size arguments passed are fixed values. 13 // initialize the $input and $pad_size argument 15 $pad_size = 6; 20 var_dump( array_pad($input, $pad_size, $binary) ); // positive 'pad_size' 21 var_dump( array_pad($input, -$pad_size, $binary) ); // negative 'pad_size'
|
H A D | array_pad_variation5.phpt | 8 * The $input and $pad_size arguments passed are fixed values. 13 // initialize the $input and $pad_size argument 15 $pad_size = 5; 24 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_value' 25 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_value'
|
H A D | array_pad_variation3.phpt | 8 * $input and $pad_size arguments take fixed value. 13 // Initialise $input and $pad_size argument 15 $pad_size = 4; 107 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size' 108 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
|
H A D | array_pad_variation6.phpt | 8 * The $pad_size and $pad_value arguments passed are fixed values. 73 // initialize the $pad_size and $pad_value arguments 74 $pad_size = 6; 81 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size' 82 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
|
/PHP-8.4/ext/standard/ |
H A D | array.c | 4742 zend_long pad_size; /* Size to pad to */ local 4752 Z_PARAM_LONG(pad_size) 4756 if (pad_size < Z_L(-HT_MAX_SIZE) || pad_size > Z_L(HT_MAX_SIZE)) { 4763 pad_size_abs = ZEND_ABS(pad_size); 4780 if (pad_size < 0) { 4795 if (pad_size > 0) { 4803 if (pad_size < 0) { 4818 if (pad_size > 0) {
|
/PHP-8.4/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeS390X.c | 1403 sljit_uw pad_size; in sljit_generate_code() local 1442 pad_size = ((ins_size + 7UL) & ~7UL) - ins_size; in sljit_generate_code() 1443 SLJIT_ASSERT(pad_size < 8UL); in sljit_generate_code() 1446 …code = (sljit_u16*)allocate_executable_memory(ins_size + pad_size + pool_size, options, exec_alloc… in sljit_generate_code() 1455 pool = (sljit_uw *)((sljit_uw)code + ins_size + pad_size); in sljit_generate_code() 1613 compiler->executable_size += (pad_size + pool_size); in sljit_generate_code()
|
Completed in 38 milliseconds