/php-src/ext/bcmath/tests/ |
H A D | bcmod.phpt | 26 15 mod 15 = 0 27 15 mod -15 = 0 28 15 mod 1 = 0 29 15 mod -9 = 6 30 15 mod 14.14 = 0 31 15 mod -16.60 = 15 32 15 mod 0.15 = 0 33 15 mod -0.01 = 0 38 15 mod 0.1322135476547459213732911312 = 0 39 15 mod -0.123912932193769965476541321 = 0 [all …]
|
H A D | bcmod_large_numbers.phpt | 30 run_bcmath_tests($dividends, $divisors, "mod", bcmod(...)); 35 15151324141414.412312232141241 mod 15151324141414.412312232141241 = 0 39 15151324141414.412312232141241 mod 0.1322135476547459213732911312 = 0 40 15151324141414.412312232141241 mod -0.123912932193769965476541321 = 0 41 15151324141414.412312232141241 mod 15 = 4 42 15151324141414.412312232141241 mod -15 = 4 43 15151324141414.412312232141241 mod 1 = 0 44 15151324141414.412312232141241 mod -9 = 1 45 15151324141414.412312232141241 mod 14.14 = 5 47 15151324141414.412312232141241 mod 0.15 = 0 [all …]
|
H A D | bcmod_zero.phpt | 34 0 mod 15 = 0 35 0 mod -15 = 0 36 0 mod 1 = 0 37 0 mod -9 = 0 38 0 mod 14.14 = 0 39 0 mod -16.60 = 0 40 0 mod 0.15 = 0 41 0 mod -0.01 = 0 42 0 mod 15151324141414.412312232141241 = 0 43 0 mod -132132245132134.1515123765412 = 0 [all …]
|
H A D | bcpowmod_zero_modulus.phpt | 2 bc_raisemod's mod can't be zero
|
H A D | bcmod_error2.phpt | 2 bcmod() - mod by 0
|
/php-src/ext/opcache/tests/jit/ |
H A D | mod_001.phpt | 12 function mod(int $a, int $b) { 15 var_dump(mod(125, 33)); 16 var_dump(mod(125, 32)); 17 var_dump(mod(-125, 33)); 18 var_dump(mod(-125, 32)); 19 var_dump(mod(125, -33)); 20 var_dump(mod(-125, -33)); 22 var_dump(mod(125, -1)); 27 var_dump(mod(125, 0));
|
/php-src/build/ |
H A D | order_by_dep.awk | 67 split($1, mod, ";"); 70 gsub("[^a-zA-Z0-9_-]", "", mod[1]) 72 mods[mod_count++] = mod[1] 75 get_deps(mod[1], mod[2]);
|
/php-src/Zend/tests/ |
H A D | bug69957.phpt | 2 Bug #69957 (Different ways of handling div/mod by zero) 21 echo "\nVariable mod\n"; 39 echo "\nLiteral mod\n"; 57 echo "\nDouble mod\n"; 68 Variable mod 76 Literal mod 84 Double mod
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | raisemod.c | 36 raise_mod_status bc_raisemod(bc_num base, bc_num expo, bc_num mod, bc_num *result, size_t scale) in bc_raisemod() argument 52 if (mod->n_scale != 0) { in bc_raisemod() 56 if (bc_is_zero(mod)) { in bc_raisemod() 63 modulus = bc_copy_num(mod); in bc_raisemod()
|
H A D | bcmath.h | 162 raise_mod_status bc_raisemod(bc_num base, bc_num exponent, bc_num mod, bc_num *result, size_t scale…
|
/php-src/ext/com_dotnet/tests/ |
H A D | variants.phpt | 57 mod: 0 71 mod: 2 117 mod: 155 mod: 233 mod: 271 mod: 321 mod: 383 mod: 441 mod: 503 mod: [all …]
|
H A D | variants_x64.phpt | 60 mod: 0 74 mod: 2 120 mod: 158 mod: 236 mod: 274 mod: 324 mod: 386 mod: 444 mod: 506 mod: [all …]
|
/php-src/ext/session/ |
H A D | session.c | 407 if (!PS(mod)) { in php_session_initialize() 604 PS(mod) = tmp; in PHP_INI_MH() 1401 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) { in _php_find_ps_module() 1402 if (*mod && !strcasecmp(name, (*mod)->s_name)) { in _php_find_ps_module() 1403 ret = *mod; in _php_find_ps_module() 1416 for (mod = ps_serializers; mod->name; mod++) { in _php_find_ps_serializer() 1418 ret = mod; in _php_find_ps_serializer() 1913 if (PS(mod) && PS(mod)->s_name) { in PHP_FUNCTION() 2152 if (!PS(mod) || PS(mod) != &ps_mod_user) { in PHP_FUNCTION() 2947 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) { in PHP_MINFO_FUNCTION() [all …]
|
/php-src/tests/lang/ |
H A D | engine_assignExecutionOrder_003.phpt | 66 function mod($b) 78 $x[mod($x1)][mod($x2)] = $bx[mod($x3)];
|
/php-src/ext/opcache/tests/ |
H A D | bug75938.phpt | 11 var_dump($mod = ($count % $columns)); 12 var_dump($mod);
|
/php-src/ext/standard/tests/strings/ |
H A D | bug61764.phpt | 9 //expected -30000 mod 2^32 = 4294937296, and not -30000
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | CharacterData_replaceData_negative_count_mod32.phpt | 2 replaceData() negative count (mod 32)
|
H A D | CharacterData_insertData_negative_offset_mod32.phpt | 2 insertData() negative offset (mod 32)
|
H A D | CharacterData_substringData_negative_arguments_mod32.phpt | 2 substringData() negative arguments (mod 32)
|
/php-src/.github/actions/apt-x64/ |
H A D | action.yml | 40 libsqlite3-mod-spatialite \
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdosqlite_003.phpt | 18 die("skip, mod_spatialite.so is not installed via libsqlite3-mod-spatialite");
|
/php-src/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 78 'mod' => 'audio/mod', 372 'mod' => 'audio/mod', 674 'mod' => 'audio/mod',
|
H A D | phar_setdefaultstub.phpt | 98 'mod' => 'audio/mod', 393 'mod' => 'audio/mod', 688 'mod' => 'audio/mod',
|
/php-src/ext/ldap/ |
H A D | ldap.c | 2540 zval *link, *mods, *mod, *modinfo; in PHP_FUNCTION() local 2612 mod = fetched; in PHP_FUNCTION() 2615 if (Z_TYPE_P(mod) != IS_ARRAY) { in PHP_FUNCTION() 2620 SEPARATE_ARRAY(mod); in PHP_FUNCTION() 2622 zend_hash_internal_pointer_reset(Z_ARRVAL_P(mod)); in PHP_FUNCTION() 2623 num_modprops = zend_hash_num_elements(Z_ARRVAL_P(mod)); in PHP_FUNCTION() 2642 fetched = zend_hash_get_current_data(Z_ARRVAL_P(mod)); in PHP_FUNCTION() 2719 zend_hash_move_forward(Z_ARRVAL_P(mod)); in PHP_FUNCTION() 2735 mod = fetched; in PHP_FUNCTION() 2737 _ldap_hash_fetch(mod, LDAP_MODIFY_BATCH_ATTRIB, &attrib); in PHP_FUNCTION() [all …]
|
/php-src/ext/phar/tests/files/ |
H A D | openssl.phar | 43 'mod' => 'audio/mod',
|