#if HAVE_GETSERVBYNAME
/* {{{ proto int getservbyname(string service, string protocol)
- Returns port associated with service. Protocol must be "tcp" or "udp". */
+ Returns port associated with service. Protocol must be "tcp" or "udp" */
PHP_FUNCTION(getservbyname)
{
pval **name, **proto;
#if HAVE_GETSERVBYPORT
/* {{{ proto string getservbyport(int port, string protocol)
- Returns service name associated with port. Protocol must be "tcp" or "udp". */
+ Returns service name associated with port. Protocol must be "tcp" or "udp" */
PHP_FUNCTION(getservbyport)
{
pval **port, **proto;
}
/* }}} */
-/* {{{ proto bool is_callable(mixed var [, bool syntax_only [, string callable_name]]) */
+/* {{{ proto bool is_callable(mixed var [, bool syntax_only [, string callable_name]])
+ ??? */
PHP_FUNCTION(is_callable)
{
zval **var, **syntax_only, **callable_name;
#endif
/* {{{ proto int abs(int number)
-
Return the absolute value of the number */
+
PHP_FUNCTION(abs)
{
zval **value;
/* {{{ proto float round(float number [, int precision])
- Returns the number rounded to specified precision. */
+ Returns the number rounded to specified precision */
PHP_FUNCTION(round)
{
zval **value, **precision;
/* }}} */
/* {{{ proto float sinh(float number)
- Returns the hyperbolic sine of the number,
- defined as (exp(number) - exp(-number))/2 */
+ Returns the hyperbolic sine of the number, defined as (exp(number) - exp(-number))/2 */
PHP_FUNCTION(sinh)
{
/* }}} */
/* {{{ proto float cosh(float number)
- Returns the hyperbolic cosine of the number,
- defined as (exp(number) + exp(-number))/2 */
+ Returns the hyperbolic cosine of the number, defined as (exp(number) + exp(-number))/2 */
PHP_FUNCTION(cosh)
{
}
/* }}} */
/* {{{ proto float tanh(float number)
- Returns the hyperbolic tangent of the number,
- defined as sinh(number)/cosh(number) */
+ Returns the hyperbolic tangent of the number, defined as sinh(number)/cosh(number) */
PHP_FUNCTION(tanh)
{
zval **num;
#ifndef PHP_WIN32
/* {{{ proto float asinh(float number)
- Returns the inverse hyperbolic sine of the number,
- i.e. the value whose hyperbolic sine is number */
+ Returns the inverse hyperbolic sine of the number, i.e. the value whose hyperbolic sine is number */
PHP_FUNCTION(asinh)
{
/* }}} */
/* {{{ proto float acosh(float number)
- Returns the inverse hyperbolic cosine of the number,
- i.e. the value whose hyperbolic cosine is number */
+ Returns the inverse hyperbolic cosine of the number, i.e. the value whose hyperbolic cosine is number */
PHP_FUNCTION(acosh)
{
/* }}} */
/* {{{ proto float atanh(float number)
- Returns the inverse hyperbolic tangent of the number,
- i.e. the value whose hyperbolic tangent is number */
+ Returns the inverse hyperbolic tangent of the number, i.e. the value whose hyperbolic tangent is number */
PHP_FUNCTION(atanh)
{
/* {{{ proto bool finite(double val)
- Returns whether double is finite. */
+ Returns whether double is finite */
PHP_FUNCTION(finite)
{
double dval;
/* }}} */
/* {{{ proto bool isinf(double val)
- Returns whether double is infinite. */
+ Returns whether double is infinite */
PHP_FUNCTION(isinf)
{
double dval;
/* }}} */
/* {{{ proto bool isnan(double val)
- Returns whether double is not a number. */
+ Returns whether double is not a number */
PHP_FUNCTION(isnan)
{
double dval;
/* }}} */
/* {{{ proto number pow(number base, number exponent)
- Returns base raised to the power of exponent. Returns
- integer result when possible. */
+ Returns base raised to the power of exponent. Returns integer result when possible */
PHP_FUNCTION(pow)
{
zval *zbase, *zexp;
#ifndef PHP_WIN32
/* {{{ proto float expm1(float number)
- Returns exp(number) - 1, computed in a way that accurate even when
- the value of number is close to zero
+ Returns exp(number) - 1, computed in a way that accurate even when the value of number is close to zero */
+
+/*
WARNING: this function is expermental: it could change its name or
disappear in the next version of PHP!
- */
+*/
PHP_FUNCTION(expm1)
{
/* }}} */
/* {{{ proto float log1p(float number)
- Returns log(1 + number), computed in a way that accurate even when
- the value of number is close to zero
+ Returns log(1 + number), computed in a way that accurate even when the value of number is close to zero */
+
+/*
WARNING: this function is expermental: it could change its name or
disappear in the next version of PHP!
- */
+*/
PHP_FUNCTION(log1p)
{
/* {{{ proto float hypot(float num1, float num2)
- Returns sqrt( num1*num1 + num2*num2)
+ Returns sqrt(num1*num1 + num2*num2) */
+
+/*
WARNING: this function is expermental: it could change its name or
disappear in the next version of PHP!
- */
+*/
PHP_FUNCTION(hypot)
{
/* }}} */
/* {{{ proto string base_convert(string number, int frombase, int tobase)
-
- Converts a number in a string from any base <= 36 to any base <= 36.
-*/
+ Converts a number in a string from any base <= 36 to any base <= 36 */
PHP_FUNCTION(base_convert)
{