Summary of PHP function accumulation

Source: Internet
Author: User
Tags crc32 generator join log natural logarithm string square root

Math function:
10 more commonly used standard red.
abs-Absolute Value
acos-Anti-cosine
acosh-Inverse hyperbolic cosine
asin-anyway Chord
asinh-Inverse hyperbolic sine
atan2-two-parameter tangent
atan-anyway cut
atanh-Inverse hyperbolic tangent
Base_convert-converts numbers between arbitrary systems
bindec-binary conversion to decimal
Ceil-into one method to take the whole
cos-cosine
cosh-Hyperbolic cosine
decbin-Decimal conversion to Binary
dechex-decimal conversion to hexadecimal
decoct-Decimal conversion to octal
deg2rad-converts an angle to radians
Exp-calculates the index of E
Expm1-returns exp (number)-1, even when the value of number is close to 0 to calculate the exact result
Floor-the method of rounding out
Fmod-to return the floating-point number remainder of division
getrandmax-display the maximum possible value of random number
hexdec-16 Convert to Decimal
Hypot-calculates the hypotenuse length of a corner triangle
Is_finite-judge whether it is a finite value
Is_infinite-Determine whether it is an infinite value
is_nan-judge whether it is a legal value
lcg_value-Combination Linear congruence generator
log10-with a 10-base logarithm
log1p-returns log (1 + number), even when the value of number is close to 0 to calculate the exact result
log-Natural logarithm
max-Find the maximum value
min-Find the Minimum value
mt_getrandmax-display the maximum possible value of random numbers
mt_rand-to generate better random numbers
Mt_srand-to sow a better random number generator seed
octdec-octal conversion to decimal
pi-Get pi Value
pow-exponential expression
Rad2deg-converts the number of radians to the corresponding number of angles
Rand-produces a random integer
round-the floating-point numbers
sin-sine
sinh-hyperbolic sine
sqrt-Square Root
Seed of random number generator under srand-sowing
tan-Tangent
tanh-Hyperbolic tangent
String functions:
The more you have, at least 20. More commonly used standard red.
addcslashes-use backslashes to escape characters in a string in C language style
addslashes-use backslashes to refer to strings
bin2hex-converts binary data to hexadecimal representations
Alias of Chop-rtrim
chr-returns the specified character
chunk_split-splits a string into small chunks
Convert_cyr_string-converts a character from one Cyrillic character to another
Convert_uudecode-decodes a uuencode encoded string
Convert_uuencode-uses Uuencode to encode a string
count_chars-information that returns the character used for the string
crc32-computes a crc32 polynomial of a string
crypt-One-way string hash
echo-output one or more strings
explode-use a string to split another string
Fprintf-writes the formatted string to the stream
get_html_translation_table-returns the conversion table after using Htmlspecialchars and htmlentities
hebrev-converts logical Order Hebrew (logical-hebrew) to Visual Order Hebrew (visual-hebrew)
hebrevc-converts logical Order Hebrew (logical-hebrew) to Visual Order Hebrew (visual-hebrew), and converts line breaks
Html_entity_decode-convert all HTML entities to their applicable characters
Htmlentities-convert all applicable characters to HTML entities
Htmlspecialchars_decode-convert Special HTML entities back to characters
Htmlspecialchars-convert special characters to HTML entities
Implode-join array elements with a string
join-alias implode This article links http://www.cxybl.com/html/wlbc/Php/20130729/39381.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.