• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

php zend string functions

Document preview thumbnail
Preview 2 out of 5 pages

addcslashes - answer-Quote string with slashes in a C style addslashes - answer-Quote string with slashes bin2hex - answer-Convert binary data into hexadecimal representation chop - answer-Alias of rtrim chr - answer-Generate a single-byte string from a number chunk_split - answer-Split a string into smaller chunks convert_cyr_string - answer-Convert from one Cyrillic character set to another convert_uudecode - answer-Decode a uuencoded string convert_uuencode - answer-Uuencode a string count_chars - answer-Return information about characters used in a string crc32 - answer-Calculates the crc32 polynomial of a string crypt - answer-One-way string hashing echo - answer-Output one or more strings explode - answer-Split a string by a string fprintf - answer-Write a formatted string to a stream get_html_translation_table - answer-Returns the translation table used by htmlspecialchars and htmlentities hebrev - answer-Convert logical Hebrew text to visual text hebrevc - answer-Convert logical Hebrew text to visual text with newline conversion hex2bin - answer-Decodes a hexadecimally encoded binary string html_entity_decode - answer-Convert HTML entities to their corresponding characters htmlentities - answer-Convert all applicable characters to HTML entities htmlspecialchars_decode - answer-Convert special HTML entities back to characters htmlspecialchars - answer-Convert special characters to HTML entities implode - answer-Join array elements with a string join - answer-Alias of implode lcfirst - answer-Make a string's first character lowercase levenshtein - answer-Calculate Levenshtein distance between two strings localeconv - answer-Get numeric formatting information ltrim - answer-Strip whitespace (or other characters) from the beginning of a string md5_file - answer-Calculates the md5 hash of a given file md5 - answer-Calculate the md5 hash of a string metaphone - answer-Calculate the metaphone key of a string money_format - answer-Formats a number as a currency string nl_langinfo - answer-Query language and locale information nl2br - answer-Inserts HTML line breaks before all newlines in a string number_format - answer-Format a number with grouped thousands ord - answer-Convert the first byte of a string to a value between 0 and 255 parse_str - answer-Parses the string into variables print - answer-Output a string printf - answer-Output a formatted string quoted_printable_decode - answer-Convert a quoted-printable string to an 8 bit string quoted_printable_encode - answer-Convert a 8 bit string to a quoted-printable string quotemeta - answer-Quote meta characters rtrim - answer-Strip whitespace (or other characters) from the end of a string setlocale - answer-Set locale information sha1_file - answer-Calculate the sha1 hash of a file sha1 - answer-Calculate the sha1 hash of a string similar_text - answer-Calculate the similarity between two strings soundex - answer-Calculate the soundex key of a string sprintf - answer-Return a formatted string sscanf - answer-Parses input from a string according to a format str_contains - answer-Determine if a string contains a given substring str_ends_with - answer-Checks if a string ends with a given substring str_getcsv - answer-Parse a CSV string into an array str_ireplace - answer-Case-insensitive version of str_replace str_pad - answer-Pad a string to a certain length with another string str_repeat - answer-Repeat a string str_replace - answer-Replace all occurrences of the search string with the replacement string str_rot13 - answer-Perform the rot13 transform on a string str_shuffle - answer-Randomly shuffles a string str_split - answer-Convert a string to an array str_starts_with - answer-Checks if a string starts with a given substring str_word_count - answer-Return information about words used in a string strcasecmp - answer-Binary safe case-insensitive string comparison strchr - answer-Alias of strstr strcmp - answer-Binary safe string comparison strcoll

Content preview

PHP ZEND STRING FUNCTIONS

addcslashes - answer-Quote string with slashes in a C style

addslashes - answer-Quote string with slashes

bin2hex - answer-Convert binary data into hexadecimal representation

chop - answer-Alias of rtrim

chr - answer-Generate a single-byte string from a number

chunk_split - answer-Split a string into smaller chunks

convert_cyr_string - answer-Convert from one Cyrillic character set to another

convert_uudecode - answer-Decode a uuencoded string

convert_uuencode - answer-Uuencode a string

count_chars - answer-Return information about characters used in a string

crc32 - answer-Calculates the crc32 polynomial of a string

crypt - answer-One-way string hashing

echo - answer-Output one or more strings

explode - answer-Split a string by a string

fprintf - answer-Write a formatted string to a stream

get_html_translation_table - answer-Returns the translation table used by
htmlspecialchars and htmlentities

hebrev - answer-Convert logical Hebrew text to visual text

hebrevc - answer-Convert logical Hebrew text to visual text with newline conversion

hex2bin - answer-Decodes a hexadecimally encoded binary string

html_entity_decode - answer-Convert HTML entities to their corresponding characters

htmlentities - answer-Convert all applicable characters to HTML entities

, htmlspecialchars_decode - answer-Convert special HTML entities back to characters

htmlspecialchars - answer-Convert special characters to HTML entities

implode - answer-Join array elements with a string

join - answer-Alias of implode

lcfirst - answer-Make a string's first character lowercase

levenshtein - answer-Calculate Levenshtein distance between two strings

localeconv - answer-Get numeric formatting information

ltrim - answer-Strip whitespace (or other characters) from the beginning of a string

md5_file - answer-Calculates the md5 hash of a given file

md5 - answer-Calculate the md5 hash of a string

metaphone - answer-Calculate the metaphone key of a string

money_format - answer-Formats a number as a currency string

nl_langinfo - answer-Query language and locale information

nl2br - answer-Inserts HTML line breaks before all newlines in a string

number_format - answer-Format a number with grouped thousands

ord - answer-Convert the first byte of a string to a value between 0 and 255

parse_str - answer-Parses the string into variables

print - answer-Output a string

printf - answer-Output a formatted string

quoted_printable_decode - answer-Convert a quoted-printable string to an 8 bit string

quoted_printable_encode - answer-Convert a 8 bit string to a quoted-printable string

quotemeta - answer-Quote meta characters

rtrim - answer-Strip whitespace (or other characters) from the end of a string

Document information

Uploaded on
August 6, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TOPDOCTOR
5.0
(1)
Sold
10
Followers
5
Items
3387
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions