Lines Matching refs:gmp_import
2 gmp_import() basic tests
35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
51 var_dump(gmp_import());
54 var_dump(gmp_import('a', -1));
55 var_dump(gmp_import('a', 0));
58 var_dump(gmp_import('a', 2));
59 var_dump(gmp_import('aa', 3));
60 var_dump(gmp_import(str_repeat('a', 100), 64));
63 var_dump(gmp_import('a', 1, GMP_MSW_FIRST | GMP_LSW_FIRST));
64 var_dump(gmp_import('a', 1, GMP_BIG_ENDIAN | GMP_LITTLE_ENDIAN));
68 Warning: gmp_import() expects at least 1 parameter, 0 given in %s on line %d
71 Warning: gmp_import(): Word size must be positive, -1 given in %s on line %d
74 Warning: gmp_import(): Word size must be positive, 0 given in %s on line %d
77 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
80 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
83 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
86 Warning: gmp_import(): Invalid options: Conflicting word orders in %s on line %d
89 Warning: gmp_import(): Invalid options: Conflicting word endianness in %s on line %d