1 /* This is a generated file, edit the .stub.php file instead. 2 * Stub hash: f28dafc2a279f5421cd0d0e668fde0032e996ebc */ 3 4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bcadd, 0, 2, IS_STRING, 0) 5 ZEND_ARG_TYPE_INFO(0, num1, IS_STRING, 0) 6 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0) 7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 8 ZEND_END_ARG_INFO() 9 10 #define arginfo_bcsub arginfo_bcadd 11 12 #define arginfo_bcmul arginfo_bcadd 13 14 #define arginfo_bcdiv arginfo_bcadd 15 16 #define arginfo_bcmod arginfo_bcadd 17 18 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bcpowmod, 0, 3, IS_STRING, 0) 19 ZEND_ARG_TYPE_INFO(0, num, IS_STRING, 0) 20 ZEND_ARG_TYPE_INFO(0, exponent, IS_STRING, 0) 21 ZEND_ARG_TYPE_INFO(0, modulus, IS_STRING, 0) 22 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 23 ZEND_END_ARG_INFO() 24 25 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bcpow, 0, 2, IS_STRING, 0) 26 ZEND_ARG_TYPE_INFO(0, num, IS_STRING, 0) 27 ZEND_ARG_TYPE_INFO(0, exponent, IS_STRING, 0) 28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 29 ZEND_END_ARG_INFO() 30 31 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bcsqrt, 0, 1, IS_STRING, 0) 32 ZEND_ARG_TYPE_INFO(0, num, IS_STRING, 0) 33 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 34 ZEND_END_ARG_INFO() 35 36 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bccomp, 0, 2, IS_LONG, 0) 37 ZEND_ARG_TYPE_INFO(0, num1, IS_STRING, 0) 38 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0) 39 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 40 ZEND_END_ARG_INFO() 41 42 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bcscale, 0, 0, IS_LONG, 0) 43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scale, IS_LONG, 1, "null") 44 ZEND_END_ARG_INFO() 45 46 47 ZEND_FUNCTION(bcadd); 48 ZEND_FUNCTION(bcsub); 49 ZEND_FUNCTION(bcmul); 50 ZEND_FUNCTION(bcdiv); 51 ZEND_FUNCTION(bcmod); 52 ZEND_FUNCTION(bcpowmod); 53 ZEND_FUNCTION(bcpow); 54 ZEND_FUNCTION(bcsqrt); 55 ZEND_FUNCTION(bccomp); 56 ZEND_FUNCTION(bcscale); 57 58 59 static const zend_function_entry ext_functions[] = { 60 ZEND_FE(bcadd, arginfo_bcadd) 61 ZEND_FE(bcsub, arginfo_bcsub) 62 ZEND_FE(bcmul, arginfo_bcmul) 63 ZEND_FE(bcdiv, arginfo_bcdiv) 64 ZEND_FE(bcmod, arginfo_bcmod) 65 ZEND_FE(bcpowmod, arginfo_bcpowmod) 66 ZEND_FE(bcpow, arginfo_bcpow) 67 ZEND_FE(bcsqrt, arginfo_bcsqrt) 68 ZEND_FE(bccomp, arginfo_bccomp) 69 ZEND_FE(bcscale, arginfo_bcscale) 70 ZEND_FE_END 71 }; 72