Lines Matching refs:gmp_import
2 gmp_import() basic tests
35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
52 var_dump(gmp_import('a', -1));
57 var_dump(gmp_import('a', 0));
64 var_dump(gmp_import('a', 2));
69 var_dump(gmp_import('aa', 3));
74 var_dump(gmp_import(str_repeat('a', 100), 64));
81 var_dump(gmp_import('a', 1, GMP_MSW_FIRST | GMP_LSW_FIRST));
86 var_dump(gmp_import('a', 1, GMP_BIG_ENDIAN | GMP_LITTLE_ENDIAN));
93 gmp_import(): Argument #2 ($word_size) must be greater than or equal to 1
94 gmp_import(): Argument #2 ($word_size) must be greater than or equal to 1
95 gmp_import(): Argument #1 ($data) must be a multiple of argument #2 ($word_size)
96 gmp_import(): Argument #1 ($data) must be a multiple of argument #2 ($word_size)
97 gmp_import(): Argument #1 ($data) must be a multiple of argument #2 ($word_size)
98 gmp_import(): Argument #3 ($flags) cannot use multiple word order options
99 gmp_import(): Argument #3 ($flags) cannot use multiple endian options