[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/ -> functions-compat.php (summary)

(no description)

File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  json_encode()
  yourls_array_to_json()
  bcdiv()
  bcmod()
  bcmul()
  bcadd()
  bcpow()

Functions
Functions that are not part of a class:

json_encode( $array )   X-Ref
json_encode for PHP, should someone run a distro without php-json -- see http://askubuntu.com/questions/361424/


yourls_array_to_json( $array )   X-Ref
Converts an associative array of arbitrary depth and dimension into JSON representation. Used for compatibility with older PHP builds.

return: mixed The resulting JSON string, or false if the argument was not an array.
param: array $array the array to convert.
author: Andy Rusterholz

bcdiv( $dividend, $divisor )   X-Ref
BC Math functions (assuming if one doesn't exist, none does)


bcmod( $dividend, $modulo )   X-Ref
No description

bcmul( $left, $right )   X-Ref
No description

bcadd( $left, $right )   X-Ref
No description

bcpow( $base, $power )   X-Ref
No description



Generated: Tue Jan 21 05:10:11 2025 Cross-referenced by PHPXref 0.7.1