/plugins/com.aptana.editor.php.epl/Resources/language/php5/standard.php
PHP | 11723 lines | 887 code | 693 blank | 10143 comment | 0 complexity | 612bc99c2af4b523fe3d23ebe59c79c9 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
- <?php
- // Start of standard v.5.4.4-2
- class __PHP_Incomplete_Class {
- }
- class php_user_filter {
- public $filtername;
- public $params;
- /**
- * Called when applying the filter
- * @link http://www.php.net/manual/en/php-user-filter.filter.php
- * @param in resource <p>
- * in is a resource pointing to a bucket brigade
- * which contains one or more bucket objects containing data to be filtered.
- * </p>
- * @param out resource <p>
- * out is a resource pointing to a second bucket brigade
- * into which your modified buckets should be placed.
- * </p>
- * @param consumed int <p>
- * consumed, which must always
- * be declared by reference, should be incremented by the length of the data
- * which your filter reads in and alters. In most cases this means you will
- * increment consumed by $bucket->datalen
- * for each $bucket.
- * </p>
- * @param closing bool <p>
- * If the stream is in the process of closing
- * (and therefore this is the last pass through the filterchain),
- * the closing parameter will be set to true.
- * </p>
- * @return int The filter method must return one of
- * three values upon completion.
- * <tr valign="top">
- * <td>Return Value</td>
- * <td>Meaning</td>
- * </tr>
- * <tr valign="top">
- * <td>PSFS_PASS_ON</td>
- * <td>
- * Filter processed successfully with data available in the
- * out bucket brigade.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>PSFS_FEED_ME</td>
- * <td>
- * Filter processed successfully, however no data was available to
- * return. More data is required from the stream or prior filter.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>PSFS_ERR_FATAL (default)</td>
- * <td>
- * The filter experienced an unrecoverable error and cannot continue.
- * </td>
- * </tr>
- */
- public function filter ($in, $out, &$consumed, $closing) {}
- /**
- * Called when creating the filter
- * @link http://www.php.net/manual/en/php-user-filter.oncreate.php
- * @return bool Your implementation of
- * this method should return false on failure, or true on success.
- */
- public function onCreate () {}
- /**
- * Called when closing the filter
- * @link http://www.php.net/manual/en/php-user-filter.onclose.php
- * @return void Return value is ignored.
- */
- public function onClose () {}
- }
- class Directory {
- /**
- * Close directory handle
- * @link http://www.php.net/manual/en/directory.close.php
- * @param dir_handle resource[optional]
- * @return void
- */
- public function close ($dir_handle = null) {}
- /**
- * Rewind directory handle
- * @link http://www.php.net/manual/en/directory.rewind.php
- * @param dir_handle resource[optional]
- * @return void
- */
- public function rewind ($dir_handle = null) {}
- /**
- * Read entry from directory handle
- * @link http://www.php.net/manual/en/directory.read.php
- * @param dir_handle resource[optional]
- * @return string
- */
- public function read ($dir_handle = null) {}
- }
- /**
- * Returns the value of a constant
- * @link http://www.php.net/manual/en/function.constant.php
- * @param name string <p>
- * The constant name.
- * </p>
- * @return mixed the value of the constant, or &null; if the constant is not
- * defined.
- */
- function constant ($name) {}
- /**
- * Convert binary data into hexadecimal representation
- * @link http://www.php.net/manual/en/function.bin2hex.php
- * @param str string <p>
- * A string.
- * </p>
- * @return string the hexadecimal representation of the given string.
- */
- function bin2hex ($str) {}
- /**
- * Decodes a hexadecimally encoded binary string
- * @link http://www.php.net/manual/en/function.hex2bin.php
- * @param data string <p>
- * Hexadecimal representation of data.
- * </p>
- * @return string the binary representation of the given data &return.falseforfailure;.
- */
- function hex2bin ($data) {}
- /**
- * Delay execution
- * @link http://www.php.net/manual/en/function.sleep.php
- * @param seconds int <p>
- * Halt time in seconds.
- * </p>
- * @return int zero on success, or false on error.
- * </p>
- * <p>
- * If the call was interrupted by a signal, sleep returns
- * a non-zero value. On Windows, this value will always be
- * 192 (the value of the
- * WAIT_IO_COMPLETION constant within the Windows API).
- * On other platforms, the return value will be the number of seconds left to
- * sleep.
- */
- function sleep ($seconds) {}
- /**
- * Delay execution in microseconds
- * @link http://www.php.net/manual/en/function.usleep.php
- * @param micro_seconds int <p>
- * Halt time in micro seconds. A micro second is one millionth of a
- * second.
- * </p>
- * @return void
- */
- function usleep ($micro_seconds) {}
- /**
- * Delay for a number of seconds and nanoseconds
- * @link http://www.php.net/manual/en/function.time-nanosleep.php
- * @param seconds int <p>
- * Must be a non-negative integer.
- * </p>
- * @param nanoseconds int <p>
- * Must be a non-negative integer less than 1 billion.
- * </p>
- * @return mixed Returns true on success or false on failure.
- * </p>
- * <p>
- * If the delay was interrupted by a signal, an associative array will be
- * returned with the components:
- * seconds - number of seconds remaining in
- * the delay
- * nanoseconds - number of nanoseconds
- * remaining in the delay
- */
- function time_nanosleep ($seconds, $nanoseconds) {}
- /**
- * Make the script sleep until the specified time
- * @link http://www.php.net/manual/en/function.time-sleep-until.php
- * @param timestamp float <p>
- * The timestamp when the script should wake.
- * </p>
- * @return bool Returns true on success or false on failure.
- */
- function time_sleep_until ($timestamp) {}
- /**
- * Parse a time/date generated with <function>strftime</function>
- * @link http://www.php.net/manual/en/function.strptime.php
- * @param date string <p>
- * The string to parse (e.g. returned from strftime).
- * </p>
- * @param format string <p>
- * The format used in date (e.g. the same as
- * used in strftime). Note that some of the format
- * options available to strftime may not have any
- * effect within strptime; the exact subset that are
- * supported will vary based on the operating system and C library in
- * use.
- * </p>
- * <p>
- * For more information about the format options, read the
- * strftime page.
- * </p>
- * @return array an array&return.falseforfailure;.
- * </p>
- * <p>
- * <table>
- * The following parameters are returned in the array
- * <tr valign="top">
- * <td>parameters</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_sec"</td>
- * <td>Seconds after the minute (0-61)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_min"</td>
- * <td>Minutes after the hour (0-59)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_hour"</td>
- * <td>Hour since midnight (0-23)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_mday"</td>
- * <td>Day of the month (1-31)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_mon"</td>
- * <td>Months since January (0-11)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_year"</td>
- * <td>Years since 1900</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_wday"</td>
- * <td>Days since Sunday (0-6)</td>
- * </tr>
- * <tr valign="top">
- * <td>"tm_yday"</td>
- * <td>Days since January 1 (0-365)</td>
- * </tr>
- * <tr valign="top">
- * <td>"unparsed"</td>
- * <td>the date part which was not
- * recognized using the specified format</td>
- * </tr>
- * </table>
- */
- function strptime ($date, $format) {}
- /**
- * Flush the output buffer
- * @link http://www.php.net/manual/en/function.flush.php
- * @return void
- */
- function flush () {}
- /**
- * Wraps a string to a given number of characters
- * @link http://www.php.net/manual/en/function.wordwrap.php
- * @param str string <p>
- * The input string.
- * </p>
- * @param width int[optional] <p>
- * The number of characters at which the string will be wrapped.
- * </p>
- * @param break string[optional] <p>
- * The line is broken using the optional
- * break parameter.
- * </p>
- * @param cut bool[optional] <p>
- * If the cut is set to true, the string is
- * always wrapped at or before the specified width. So if you have
- * a word that is larger than the given width, it is broken apart.
- * (See second example).
- * </p>
- * @return string the given string wrapped at the specified length.
- */
- function wordwrap ($str, $width = null, $break = null, $cut = null) {}
- /**
- * Convert special characters to HTML entities
- * @link http://www.php.net/manual/en/function.htmlspecialchars.php
- * @param string string <p>
- * The string being converted.
- * </p>
- * @param flags int[optional] <p>
- * A bitmask of one or more of the following flags, which specify how to handle quotes,
- * invalid code unit sequences and the used document type. The default is
- * ENT_COMPAT | ENT_HTML401.
- * <table>
- * Available flags constants
- * <tr valign="top">
- * <td>Constant Name</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_COMPAT</td>
- * <td>Will convert double-quotes and leave single-quotes alone.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_QUOTES</td>
- * <td>Will convert both double and single quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_NOQUOTES</td>
- * <td>Will leave both double and single quotes unconverted.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_IGNORE</td>
- * <td>
- * Silently discard invalid code unit sequences instead of returning
- * an empty string. Using this flag is discouraged as it
- * may have security implications.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_SUBSTITUTE</td>
- * <td>
- * Replace invalid code unit sequences with a Unicode Replacement Character
- * U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_DISALLOWED</td>
- * <td>
- * Replace invalid code points for the given document type with a
- * Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
- * (otherwise) instead of leaving them as is. This may be useful, for
- * instance, to ensure the well-formedness of XML documents with
- * embedded external content.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML401</td>
- * <td>
- * Handle code as HTML 4.01.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XML1</td>
- * <td>
- * Handle code as XML 1.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XHTML</td>
- * <td>
- * Handle code as XHTML.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML5</td>
- * <td>
- * Handle code as HTML 5.
- * </td>
- * </tr>
- * </table>
- * </p>
- * @param encoding string[optional] <p>
- * Defines encoding used in conversion.
- * If omitted, the default value for this argument is ISO-8859-1 in
- * versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
- * </p>
- * <p>
- * For the purposes of this function, the encodings
- * ISO-8859-1, ISO-8859-15,
- * UTF-8, cp866,
- * cp1251, cp1252, and
- * KOI8-R are effectively equivalent, provided the
- * string itself is valid for the encoding, as
- * the characters affected by htmlspecialchars occupy
- * the same positions in all of these encodings.
- * </p>
- * &reference.strings.charsets;
- * @param double_encode bool[optional] <p>
- * When double_encode is turned off PHP will not
- * encode existing html entities, the default is to convert everything.
- * </p>
- * @return string The converted string.
- * </p>
- * <p>
- * If the input string contains an invalid code unit
- * sequence within the given encoding an empty string
- * will be returned, unless either the ENT_IGNORE or
- * ENT_SUBSTITUTE flags are set.
- */
- function htmlspecialchars ($string, $flags = null, $encoding = null, $double_encode = null) {}
- /**
- * Convert all applicable characters to HTML entities
- * @link http://www.php.net/manual/en/function.htmlentities.php
- * @param string string <p>
- * The input string.
- * </p>
- * @param flags int[optional] <p>
- * A bitmask of one or more of the following flags, which specify how to handle quotes,
- * invalid code unit sequences and the used document type. The default is
- * ENT_COMPAT | ENT_HTML401.
- * <table>
- * Available flags constants
- * <tr valign="top">
- * <td>Constant Name</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_COMPAT</td>
- * <td>Will convert double-quotes and leave single-quotes alone.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_QUOTES</td>
- * <td>Will convert both double and single quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_NOQUOTES</td>
- * <td>Will leave both double and single quotes unconverted.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_IGNORE</td>
- * <td>
- * Silently discard invalid code unit sequences instead of returning
- * an empty string. Using this flag is discouraged as it
- * may have security implications.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_SUBSTITUTE</td>
- * <td>
- * Replace invalid code unit sequences with a Unicode Replacement Character
- * U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_DISALLOWED</td>
- * <td>
- * Replace invalid code points for the given document type with a
- * Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
- * (otherwise) instead of leaving them as is. This may be useful, for
- * instance, to ensure the well-formedness of XML documents with
- * embedded external content.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML401</td>
- * <td>
- * Handle code as HTML 4.01.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XML1</td>
- * <td>
- * Handle code as XML 1.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XHTML</td>
- * <td>
- * Handle code as XHTML.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML5</td>
- * <td>
- * Handle code as HTML 5.
- * </td>
- * </tr>
- * </table>
- * </p>
- * @param encoding string[optional] <p>
- * Like htmlspecialchars,
- * htmlentities takes an optional third argument
- * encoding which defines encoding used in
- * conversion.
- * If omitted, the default value for this argument is ISO-8859-1 in
- * versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
- * Although this argument is technically optional, you are highly
- * encouraged to specify the correct value for your code.
- * </p>
- * &reference.strings.charsets;
- * @param double_encode bool[optional] <p>
- * When double_encode is turned off PHP will not
- * encode existing html entities. The default is to convert everything.
- * </p>
- * @return string the encoded string.
- * </p>
- * <p>
- * If the input string contains an invalid code unit
- * sequence within the given encoding an empty string
- * will be returned, unless either the ENT_IGNORE or
- * ENT_SUBSTITUTE flags are set.
- */
- function htmlentities ($string, $flags = null, $encoding = null, $double_encode = null) {}
- /**
- * Convert all HTML entities to their applicable characters
- * @link http://www.php.net/manual/en/function.html-entity-decode.php
- * @param string string <p>
- * The input string.
- * </p>
- * @param flags int[optional] <p>
- * A bitmask of one or more of the following flags, which specify how to handle quotes and
- * which document type to use. The default is ENT_COMPAT | ENT_HTML401.
- * <table>
- * Available flags constants
- * <tr valign="top">
- * <td>Constant Name</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_COMPAT</td>
- * <td>Will convert double-quotes and leave single-quotes alone.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_QUOTES</td>
- * <td>Will convert both double and single quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_NOQUOTES</td>
- * <td>Will leave both double and single quotes unconverted.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML401</td>
- * <td>
- * Handle code as HTML 4.01.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XML1</td>
- * <td>
- * Handle code as XML 1.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XHTML</td>
- * <td>
- * Handle code as XHTML.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML5</td>
- * <td>
- * Handle code as HTML 5.
- * </td>
- * </tr>
- * </table>
- * </p>
- * @param encoding string[optional] <p>
- * Encoding to use.
- * If omitted, the default value for this argument is ISO-8859-1 in
- * versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
- * </p>
- * &reference.strings.charsets;
- * @return string the decoded string.
- */
- function html_entity_decode ($string, $flags = null, $encoding = null) {}
- /**
- * Convert special HTML entities back to characters
- * @link http://www.php.net/manual/en/function.htmlspecialchars-decode.php
- * @param string string <p>
- * The string to decode.
- * </p>
- * @param flags int[optional] <p>
- * A bitmask of one or more of the following flags, which specify how to handle quotes and
- * which document type to use. The default is ENT_COMPAT | ENT_HTML401.
- * <table>
- * Available flags constants
- * <tr valign="top">
- * <td>Constant Name</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_COMPAT</td>
- * <td>Will convert double-quotes and leave single-quotes alone.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_QUOTES</td>
- * <td>Will convert both double and single quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_NOQUOTES</td>
- * <td>Will leave both double and single quotes unconverted.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML401</td>
- * <td>
- * Handle code as HTML 4.01.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XML1</td>
- * <td>
- * Handle code as XML 1.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XHTML</td>
- * <td>
- * Handle code as XHTML.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML5</td>
- * <td>
- * Handle code as HTML 5.
- * </td>
- * </tr>
- * </table>
- * </p>
- * @return string the decoded string.
- */
- function htmlspecialchars_decode ($string, $flags = null) {}
- /**
- * Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
- * @link http://www.php.net/manual/en/function.get-html-translation-table.php
- * @param table int[optional] <p>
- * Which table to return. Either HTML_ENTITIES or
- * HTML_SPECIALCHARS.
- * </p>
- * @param flags int[optional] <p>
- * A bitmask of one or more of the following flags, which specify which quotes the
- * table will contain as well as which document type the table is for. The default is
- * ENT_COMPAT | ENT_HTML401.
- * <table>
- * Available flags constants
- * <tr valign="top">
- * <td>Constant Name</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_COMPAT</td>
- * <td>Table will contain entities for double-quotes, but not for single-quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_QUOTES</td>
- * <td>Table will contain entities for both double and single quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_NOQUOTES</td>
- * <td>Table will neither contain entities for single quotes nor for double quotes.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML401</td>
- * <td>Table for HTML 4.01.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XML1</td>
- * <td>Table for XML 1.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_XHTML</td>
- * <td>Table for XHTML.</td>
- * </tr>
- * <tr valign="top">
- * <td>ENT_HTML5</td>
- * <td>Table for HTML 5.</td>
- * </tr>
- * </table>
- * </p>
- * @param encoding string[optional] <p>
- * Encoding to use.
- * If omitted, the default value for this argument is ISO-8859-1 in
- * versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
- * </p>
- * &reference.strings.charsets;
- * @return array the translation table as an array, with the original characters
- * as keys and entities as values.
- */
- function get_html_translation_table ($table = null, $flags = null, $encoding = null) {}
- /**
- * Calculate the sha1 hash of a string
- * @link http://www.php.net/manual/en/function.sha1.php
- * @param str string <p>
- * The input string.
- * </p>
- * @param raw_output bool[optional] <p>
- * If the optional raw_output is set to true,
- * then the sha1 digest is instead returned in raw binary format with a
- * length of 20, otherwise the returned value is a 40-character
- * hexadecimal number.
- * </p>
- * @return string the sha1 hash as a string.
- */
- function sha1 ($str, $raw_output = null) {}
- /**
- * Calculate the sha1 hash of a file
- * @link http://www.php.net/manual/en/function.sha1-file.php
- * @param filename string <p>
- * The filename of the file to hash.
- * </p>
- * @param raw_output bool[optional] <p>
- * When true, returns the digest in raw binary format with a length of
- * 20.
- * </p>
- * @return string a string on success, false otherwise.
- */
- function sha1_file ($filename, $raw_output = null) {}
- /**
- * Calculate the md5 hash of a string
- * @link http://www.php.net/manual/en/function.md5.php
- * @param str string <p>
- * The string.
- * </p>
- * @param raw_output bool[optional] <p>
- * If the optional raw_output is set to true,
- * then the md5 digest is instead returned in raw binary format with a
- * length of 16.
- * </p>
- * @return string the hash as a 32-character hexadecimal number.
- */
- function md5 ($str, $raw_output = null) {}
- /**
- * Calculates the md5 hash of a given file
- * @link http://www.php.net/manual/en/function.md5-file.php
- * @param filename string <p>
- * The filename
- * </p>
- * @param raw_output bool[optional] <p>
- * When true, returns the digest in raw binary format with a length of
- * 16.
- * </p>
- * @return string a string on success, false otherwise.
- */
- function md5_file ($filename, $raw_output = null) {}
- /**
- * Calculates the crc32 polynomial of a string
- * @link http://www.php.net/manual/en/function.crc32.php
- * @param str string <p>
- * The data.
- * </p>
- * @return int the crc32 checksum of str as an integer.
- */
- function crc32 ($str) {}
- /**
- * Parse a binary IPTC block into single tags.
- * @link http://www.php.net/manual/en/function.iptcparse.php
- * @param iptcblock string <p>
- * A binary IPTC block.
- * </p>
- * @return array an array using the tagmarker as an index and the value as the
- * value. It returns false on error or if no IPTC data was found.
- */
- function iptcparse ($iptcblock) {}
- /**
- * Embeds binary IPTC data into a JPEG image
- * @link http://www.php.net/manual/en/function.iptcembed.php
- * @param iptcdata string <p>
- * The data to be written.
- * </p>
- * @param jpeg_file_name string <p>
- * Path to the JPEG image.
- * </p>
- * @param spool int[optional] <p>
- * Spool flag. If the spool flag is over 2 then the JPEG will be
- * returned as a string.
- * </p>
- * @return mixed If success and spool flag is lower than 2 then the JPEG will not be
- * returned as a string, false on errors.
- */
- function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
- /**
- * Get the size of an image
- * @link http://www.php.net/manual/en/function.getimagesize.php
- * @param filename string <p>
- * This parameter specifies the file you wish to retrieve information
- * about. It can reference a local file or (configuration permitting) a
- * remote file using one of the supported streams.
- * </p>
- * @param imageinfo array[optional] <p>
- * This optional parameter allows you to extract some extended
- * information from the image file. Currently, this will return the
- * different JPG APP markers as an associative array.
- * Some programs use these APP markers to embed text information in
- * images. A very common one is to embed
- * IPTC information in the APP13 marker.
- * You can use the iptcparse function to parse the
- * binary APP13 marker into something readable.
- * </p>
- * @return array an array with 7 elements.
- * </p>
- * <p>
- * Index 0 and 1 contains respectively the width and the height of the image.
- * </p>
- * <p>
- * Some formats may contain no image or may contain multiple images. In these
- * cases, getimagesize might not be able to properly
- * determine the image size. getimagesize will return
- * zero for width and height in these cases.
- * </p>
- * <p>
- * Index 2 is one of the IMAGETYPE_XXX constants indicating
- * the type of the image.
- * </p>
- * <p>
- * Index 3 is a text string with the correct
- * height="yyy" width="xxx" string that can be used
- * directly in an IMG tag.
- * </p>
- * <p>
- * mime is the correspondant MIME type of the image.
- * This information can be used to deliver images with the correct HTTP
- * Content-type header:
- * getimagesize and MIME types
- * ]]>
- * </p>
- * <p>
- * channels will be 3 for RGB pictures and 4 for CMYK
- * pictures.
- * </p>
- * <p>
- * bits is the number of bits for each color.
- * </p>
- * <p>
- * For some image types, the presence of channels and
- * bits values can be a bit
- * confusing. As an example, GIF always uses 3 channels
- * per pixel, but the number of bits per pixel cannot be calculated for an
- * animated GIF with a global color table.
- * </p>
- * <p>
- * On failure, false is returned.
- */
- function getimagesize ($filename, array &$imageinfo = null) {}
- /**
- * Get the size of an image from a string
- * @link http://www.php.net/manual/en/function.getimagesizefromstring.php
- * @param imagedata string <p>
- * The image data, as a string.
- * </p>
- * @param imageinfo array[optional] <p>
- * See getimagesize.
- * </p>
- * @return array See getimagesize.
- */
- function getimagesizefromstring ($imagedata, array &$imageinfo = null) {}
- /**
- * Get Mime-Type for image-type returned by getimagesize,
- exif_read_data, exif_thumbnail, exif_imagetype
- * @link http://www.php.net/manual/en/function.image-type-to-mime-type.php
- * @param imagetype int <p>
- * One of the IMAGETYPE_XXX constants.
- * </p>
- * @return string The returned values are as follows
- * <table>
- * Returned values Constants
- * <tr valign="top">
- * <td>imagetype</td>
- * <td>Returned value</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_GIF</td>
- * <td>image/gif</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_JPEG</td>
- * <td>image/jpeg</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_PNG</td>
- * <td>image/png</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_SWF</td>
- * <td>application/x-shockwave-flash</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_PSD</td>
- * <td>image/psd</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_BMP</td>
- * <td>image/bmp</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_TIFF_II (intel byte order)</td>
- * <td>image/tiff</td>
- * </tr>
- * <tr valign="top">
- * <td>
- * IMAGETYPE_TIFF_MM (motorola byte order)
- * </td>
- * <td>image/tiff</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_JPC</td>
- * <td>application/octet-stream</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_JP2</td>
- * <td>image/jp2</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_JPX</td>
- * <td>application/octet-stream</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_JB2</td>
- * <td>application/octet-stream</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_SWC</td>
- * <td>application/x-shockwave-flash</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_IFF</td>
- * <td>image/iff</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_WBMP</td>
- * <td>image/vnd.wap.wbmp</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_XBM</td>
- * <td>image/xbm</td>
- * </tr>
- * <tr valign="top">
- * <td>IMAGETYPE_ICO</td>
- * <td>image/vnd.microsoft.icon</td>
- * </tr>
- * </table>
- */
- function image_type_to_mime_type ($imagetype) {}
- /**
- * Get file extension for image type
- * @link http://www.php.net/manual/en/function.image-type-to-extension.php
- * @param imagetype int <p>
- * One of the IMAGETYPE_XXX constant.
- * </p>
- * @param include_dot bool[optional] <p>
- * Whether to prepend a dot to the extension or not. Default to true.
- * </p>
- * @return string A string with the extension corresponding to the given image type.
- */
- function image_type_to_extension ($imagetype, $include_dot = null) {}
- /**
- * Outputs information about PHP's configuration
- * @link http://www.php.net/manual/en/function.phpinfo.php
- * @param what int[optional] <p>
- * The output may be customized by passing one or more of the
- * following constants bitwise values summed
- * together in the optional what parameter.
- * One can also combine the respective constants or bitwise values
- * together with the or operator.
- * </p>
- * <p>
- * <table>
- * phpinfo options
- * <tr valign="top">
- * <td>Name (constant)</td>
- * <td>Value</td>
- * <td>Description</td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_GENERAL</td>
- * <td>1</td>
- * <td>
- * The configuration line, &php.ini; location, build date, Web
- * Server, System and more.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_CREDITS</td>
- * <td>2</td>
- * <td>
- * PHP Credits. See also phpcredits.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_CONFIGURATION</td>
- * <td>4</td>
- * <td>
- * Current Local and Master values for PHP directives. See
- * also ini_get.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_MODULES</td>
- * <td>8</td>
- * <td>
- * Loaded modules and their respective settings. See also
- * get_loaded_extensions.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_ENVIRONMENT</td>
- * <td>16</td>
- * <td>
- * Environment Variable information that's also available in
- * $_ENV.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_VARIABLES</td>
- * <td>32</td>
- * <td>
- * Shows all
- * predefined variables from EGPCS (Environment, GET,
- * POST, Cookie, Server).
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_LICENSE</td>
- * <td>64</td>
- * <td>
- * PHP License information. See also the license FAQ.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>INFO_ALL</td>
- * <td>-1</td>
- * <td>
- * Shows all of the above.
- * </td>
- * </tr>
- * </table>
- * </p>
- * @return bool Returns true on success or false on failure.
- */
- function phpinfo ($what = null) {}
- /**
- * Gets the current PHP version
- * @link http://www.php.net/manual/en/function.phpversion.php
- * @param extension string[optional] <p>
- * An optional extension name.
- * </p>
- * @return string If the optional extension parameter is
- * specified, phpversion returns the version of that
- * extension, or false if there is no version information associated or
- * the extension isn't enabled.
- */
- function phpversion ($extension = null) {}
- /**
- * Prints out the credits for PHP
- * @link http://www.php.net/manual/en/function.phpcredits.php
- * @param flag int[optional] <p>
- * To generate a custom credits page, you may want to use the
- * flag parameter.
- * </p>
- * <p>
- * <table>
- * Pre-defined phpcredits flags
- * <tr valign="top">
- * <td>name</td>
- * <td>description</td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_ALL</td>
- * <td>
- * All the credits, equivalent to using: CREDITS_DOCS +
- * CREDITS_GENERAL + CREDITS_GROUP +
- * CREDITS_MODULES + CREDITS_FULLPAGE.
- * It generates a complete stand-alone HTML page with the appropriate tags.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_DOCS</td>
- * <td>The credits for the documentation team</td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_FULLPAGE</td>
- * <td>
- * Usually used in combination with the other flags. Indicates
- * that a complete stand-alone HTML page needs to be
- * printed including the information indicated by the other
- * flags.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_GENERAL</td>
- * <td>
- * General credits: Language design and concept, PHP authors
- * and SAPI module.
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_GROUP</td>
- * <td>A list of the core developers</td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_MODULES</td>
- * <td>
- * A list of the extension modules for PHP, and their authors
- * </td>
- * </tr>
- * <tr valign="top">
- * <td>CREDITS_SAPI</td>
- * <td>
- * A list of the server API modules for PHP, and their authors
- * </td>
- * </tr>
- * </table>
- * </p>
- * @return bool Returns true on success or false on failure.
- */
- function phpcredits ($flag = null) {}
- /**
- * Gets the logo guid
- * @link http://www.php.net/manual/en/function.php-logo-guid.php
- * @return string PHPE9568F34-D428-11d2-A769-00AA001ACF42.
- */
- function php_logo_guid () {}
- function php_real_logo_guid () {}
- function php_egg_logo_guid () {}
- /**
- * Gets the Zend guid
- * @link http://www.php.net/manual/en/function.zend-logo-guid.php
- * @return string PHPE9568F35-D428-11d2-A769-00AA001ACF42.
- */
- function zend_logo_guid () {}
- /**
- * Returns the type of interface between web server and PHP
- * @link http://www.php.net/manual/en/function.php-sapi-name.php
- * @return string the interface type, as a lowercase string.
- * </p>
- * <p>
- * Although not exhaustive, the possible return values include
- * aolserver, apache,
- * apache2filter, apache2handler,
- * caudium, cgi (until PHP 5.3),
- * cgi-fcgi, cli,
- * continuity, embed,
- * isapi, litespeed,
- * milter, nsapi,
- * phttpd, pi3web, roxen,
- * thttpd, tux, and webjames.
- */
- function php_sapi_name () {}
- /**
- * Returns information about the operating system PHP is running on
- * @link http://www.php.net/manual/en/function.php-uname.php
- * @param mode string[optional] <p>
- * mode is a single character that defines what
- * information is returned:
- * 'a': This is the default. Contains all modes in
- * the sequence "s n r v m".
- * @return string the description, as a string.
- */
- function php_uname ($mode = null) {}
- /**
- * Return a list of .ini files parsed from the additional ini dir
- * @link http://www.php.net/manual/en/function.php-ini-scanned-files.php
- * @return string a comma-separated string of .ini files on success. Each comma is
- * followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
- * false is returned. If it was set and the directory was empty, an
- * empty string is returned. If a file is unrecognizable, the file will
- * still make it into the returned string but a PHP error will also result.
- * This PHP error will be seen both at compile time and while using
- * php_ini_scanned_files.
- */
- function php_ini_scanned_files () {}
- /**
- * Retrieve a path to the loaded php.ini file
- * @link http://www.php.net/manual/en/function.php-ini-loaded-file.php
- * @return string The loaded &php.ini; path, or false if one is not loaded.
- */
- function php_ini_loaded_file () {}
- /**
- * String comparisons using a "natural order" algorithm
- * @link http://www.php.net/manual/en/function.strnatcmp.php
- * @param str1 string <p>
- * The first string.
- * </p>
- * @param str2 string <p>
- * The second string.
- * </p>
- * @return int Similar to other string comparison functions, this one returns < 0 if
- * str1 is less than str2; >
- * 0 if str1 is greater than
- * str2, and 0 if they are equal.
- */
- function strnatcmp ($str1, $str2) {}
- /**
- * Case insensitive string comparisons using a "natural order" algorithm
- * @link http://www.php.net/manual/en/function.strnatcasecmp.php
- * @param str1 string <p>
- * The first string.
- * </p>
- * @param str2 string <p>
- * The second string.
- * </p>
- * @return int Similar to other string comparison functions, this one returns < 0 if
- * str1 is less than str2 >
- * 0 if str1 is greater than
- * str2, and 0 if they are equal.
- */
- function strnatcasecmp ($str1, $str2) {}
- /**
- * Count the number of substring occurrences
- * @link http://www.php.net/manual/en/function.substr-count.php
- * @param haystack string <p>
- * The string to search in
- * </p>
- * @param needle string <p>
- * The substring to search for
- * </p>
- * @param offset int[optional] <p>
- * The offset where to start counting
- * </p>
- * @param length int[optional] <p>
- * The maximum length after the specified offset to search for the
- * substring. It outputs a warning if the offset plus the length is
- * greater than the haystack length.
- * </p>
- * @return int This function returns an integer.
- */
- function substr_count ($haystack, $needle, $offset = null, $length = null) {}
- /**
- * Finds the length of the initial segment of a string consisting
- entirely of characters contained within a given mask.
- * @link http://www.php.net/manual/en/function.strspn.php
- * @param subject string <p>
- * The string to examine.
- * </p>
- * @param mask string <p>
- * The list of allowable characters.
- * </p>
- * @param start int[optional] <p>
- * The position in subject to
- * start searching.
- * </p>
- * <p>
- * If start is given and is non-negative,
- * then strspn will begin
- * examining subject at
- * the start'th position. For instance, in
- * the string 'abcdef', the character at
- * position 0 is 'a', the
- * character at position 2 is
- * 'c', and so forth.
- * </p>
- * <p>
- * If start is given and is negative,
- * then strspn will begin
- * examining subject at
- * the start'th position from the end
- * of subject.
- * </p>
- * @param length int[optional] <p>
- * The length of the segment from subject
- * to examine.
- * </p>
- * <p>
- * If length is given and is non-negative,
- * then subject will be examined
- * for length characters after the starting
- * position.
- * </p>
- * <p>
- * If lengthis given and is negative,
- * then subject will be examined from the
- * starting position up to length
- * characters from the end of subject.
- * </p>
- * @return int the length of the initial segment of subject
- * which consists entirely of characters in mask.
- */
- function strspn ($subject, $mask, $start = null, $length = null) {}
- /**
- * Find length of initial segment not matching mask
- * @link http://www.php.net/manual/en/function.strcspn.php
- * @param str1 string <p>
- * The first string.
- * </p>
- * @param str2 string <p>
- * The second string.
- * </p>
- * @param start int[optional] <p>
- * The start position of the string to examine.
- * </p>
- * @param length int[optional] <p>
- * The length of the string to examine.
- * </p>
- * @return int the length of the segment as an integer.
- */
- function strcspn ($str1, $str2, $start = null, $length = null) {}
- /**
- * Tokenize string
- * @link http://www.php.net/manual/en/function.strtok.php
- * @param str string <p>
- * The string being split up into smaller strings (tokens).
- * </p>
- * @param token string <p>
- * The delimiter used when splitting up str.
- * </p>
- * @return string A string token.
- */
- function strtok ($str, $token) {}
- /**
- * Make a string uppercase
- * @link http://www.php.net/manual/en/function.strtoupper.php
- * @param string string <p>
- * The input string.
- * </p>
- * @return string the uppercased string.
- */
- function strtoupper ($string) {}
- /**
- * Make a string lowercase
- * @link http://www.php.net/manual/en/function.strtolower.php
- * @param str string <p>
- * The input string.
- * </p>
- * @return string the lowercased string.
- */
- function strtolower ($str) {}
- /**
- * Find the position of the first occurrence of a substring in a string
- * @link http://www.php.net/manual/en/function.strpos.php
- * @param haystack string <p>
- * The string to search in.
- * </p>
- * @param needle mixed <p>
- * If needle is not a string, it is converted
- * to an integer and applied as the ordinal value of a character.
- * </p>
- * @param offset int[optional] <p>
- * If specified, search will start this number of characters counted from
- * the beginning of the string. Unlike strrpos and
- * strripos, the offset cannot be negative.
- * </p>
- * @return int the position of where the needle exists relative to the beginning of
- * the haystack string (independent of offset).
- * Also note that string positions start at 0, and not 1.
- * </p>
- * <p>
- * Returns false if the needle was not found.
- */
- function strpos ($haystack, $needle, $offset = null) {}
- /**
- * Find the position of the first occurrence of a case-insensitive substring in a string
- * @link http://www.php.net/manual/en/function.stripos.php
- * @param haystack string <p>
- * The string to search in.
- * </p>
- * @param needle string <p>
- * Note that the needle may be a string of one or
- * more characters.
- * </p>
- * <p>
- * If needle is not a string, it is converted to
- * an integer and applied as the ordinal value of a character.
- * </p>
- * @param offset int[optional] <p>
- * If specified, search will start this number of characters counted from
- * the beginning of the string. Unlike strrpos and
- * strripos, the offset cannot be negative.
- * </p>
- * @return int the position of where the needle exists relative to the beginnning of
- * the haystack string (independent of offset).
- * Also note that string positions start at 0, and not 1.
- * </p>
- * <p>
- * Returns false if the needle was not found.
- */
- function stripos ($haystack, $needle, $offset = null) {}
- /**
- * Find the position of the last occurrence of a substring in a string
- * @link http://www.php.net/manual/en/function.strrpos.php
- * @param haystack string <p>
- * The string to search in.
- * </p>
- * @param needle string <p>
- * If needle is not a string, it is converted
- * to an integer and applied as the ordinal value of a character.
- * </p>
- * @param offset int[optional] <p>
- * If specified, search will start this number of characters counted from the
- * beginning of the string. If the value is negative, search will instead start
- * from that many characters from the end of the string, searching backwards.
- * </p>
- * @return int the position where the needle exists relative to the beginnning of
- * the haystack string (independent of search direction
- * or offset).
- * Also note that string positions start at 0, and not 1.
- * </p>
- * <p>
- * Returns false if the needle was not found.
- */
- function strrpos ($haystack, $needle, $offset = null) {}
- /**
- * Find the position of the last occurrence of a case-insensitive substring in a string
- * @link http://www.php.net/manual/en/function.strripos.php
- * @param haystack string <p>
- * The string to search in.
- * </p>
- * @param needle string <p>
- * If needle is not a string, it is converted
- * to an integer and applied as the ordinal value of a character.
- * </p>
- * @param offset int[optional] <p>
- * If specified, search will start this number of characters counted from the
- * beginning of the string. If the value is negative, search will instead start
- * from that many characters from the end of the string, searching backwards.
- * </p>
- * @return int the position where the needle exists relative to the beginnning of
- * the haystack string (independent of search direction
- * or offset).
- * Also note that string positions start at 0, and not 1.
- * </p>
- * <p>
- * Returns false if the needle was not found.
- */
- function strripos ($haystack, $needle, $offset = null) {}
- /**
- * Reverse a string
- * @link http://www.php.net/manual/en/function.strrev.php
- * @param string string <p>
- * The string to be reversed.
- * </p>
- * @return string the reversed string.
- */
- function strrev ($string) {}
- /**
- * Convert logical Hebrew text to visual text
- * @link http://www.php.net/manual/en/function.hebrev.php
- * @param hebrew_text string <p>
- * A Hebrew input string.
- * </p>
- * @param max_chars_per_line int[optional] <p>
- * This optional parameter indicates maximum number of characters per
- * line that will be returned.
- * </p>
- * @return string the visual string.
- */
- function hebrev ($hebrew_text, $max_chars_per_line = null) {}
- /**
- * Convert logical Hebrew text to visual text with newline conversion
- * @link http://www.php.net/manual/en/function.hebrevc.php
- * @param hebrew_text string <p>
- * A Hebrew input string.
- * </p>
- * @param max_chars_per_line int[optional] <p>
- * This optional parameter indicates maximum number of characters per
- * line that will be returned.
- * </p>
- * @return string the visual string.
- */
- function hebrevc ($hebrew_text, $max_chars_per_line = null) {}
- /**
- * Inserts HTML line breaks before all newlines in a string
- * @link http://www.php.net/manual/en/function.nl2br.php
- * @param string string <p>
- * The input string.
- * </p>
- * @param is_xhtml bool[optional] <p>
- * Whether to use XHTML compatible line breaks or not.
- * </p>
- * @return string the altered string.
- */
- function nl2br ($string, $is_xhtml = null) {}
- /**
- * Returns trailing name component of path
- * @link http://www.php.net/manual/en/function.basename.php
- * @param path string <p>
- * A path.
- * </p>
- * <p>
- * On Windows, both slash (/) and backslash
- * (\) are used as directory separator character. In
- * other environments, it is the forward slash (/).
- * </p>
- * @param suffix string[optional] <p>
- * If the name component ends in suffix this will also
- * be cut off.
- * </p>
- * @return string the base name of the given path.
- */
- function basename ($path, $suffix = null) {}
- /**
- * Returns parent directory's path
- * @link http://www.php.net/manual/en/function.dirname.php
- * @param path string <p>
- * A path.
- * </p>
- * <p>
- * On Windows, both slash (/) and backslash
- * (\) are used as directory separator character. In
- * other environments, it is the forward slash (/).
- * </p>
- * @return string the path of the parent directory. If there are no slashes in
- * path, a dot ('.') is returned,
- * indicating the current directory. Otherwise, the returned string is
- * path with any trailing
- * /component removed.
- */
- function dirname ($path) {}
- /**
- * Returns information about a file path
- * @link http://www.php.net/manual/en/function.pathinfo.php
- * @param path string <p>
- * The path to be parsed.
- * </p>
- * @param options int[optional] <p>
- * If present, specifies a specific element to be returned; one of
- * PATHINFO_DIRNAME,
- * PATHINFO_BASENAME,
- * PATHINFO_EXTENSION or
- * PATHINFO_FILENAME.
- * </p>
- * <p>If options is not specified, returns all
- * available elements.
- * </p>
- * @return mixed If the options parameter is not passed, an
- * associative array containing the following elements is
- * returned:
- * dirname, basename,
- * extension (if any), and filename.
- * </p>
- * <p>
- * If the path does not have an extension, no
- * extension element will be returned
- * (see second example below).
- * </p>
- * <p>
- * If options is present, returns a
- * string containing the requested element.
- */
- function pathinfo ($path, $options = null) {}
- /**
- * Un-quotes a quoted string
- * @link http://www.php.net/manual/en/function.stripslashes.php
- * @param str string <p>
- * The input string.
- * </p>
- * @return string a string with backslashes stripped off.
- * (\' becomes ' and so on.)
- * Double backslashes (\\) are made into a single
- * backslash (\).
- */
- function stripslashes ($str) {}
- /**
- * Un-quote string quoted with <function>addcslashes</function>
- * @link http://www.php.net/manual/en/function.stripcslashes.php
- * @param str string <p>
- * The string to be unescaped.
- * </p>
- * @return string the unescaped string.
- */
- function stripcslashes ($str) {}
- /**
- * Find the first occurrence of a string
- * @link http://www.php.net/manual/en/function.strstr.php
- * @param haystack string <p>
- * The input string.
- * </p>
- * @param needle mixed <p>
- * If needle is not a string, it is converted to
- * an integer and applied as the ordinal value of a character.
- * </p>
- * @param before_needle bool[optional] <p>
- * If true, strstr returns
- * the part of the haystack before the first
- * occurrence of the needle (excluding the needle).
- * </p>
- * @return string the portion of string, or false if needle
- * is not found.
- */
- function strstr ($haystack, $needle, $before_needle = null) {}
- /**
- * Case-insensitive <function>strstr</function>
- * @link http://www.php.net/manual/en/function.stristr.php
- * @param haystack string <p>
- * The string to search in
- * </p>
- * @param needle mixed <p>
- * If needle is not a string, it is converted to
- * an integer and applied as the ordinal value of a character.
- * </p>
- * @param before_needle bool[optional] <p>
- * If true, stristr
- * returns the part of the haystack before the
- * first occurrence of the needle (excluding needle).
- * </p>
- * @return string the matched substring. If needle is not
- * found, returns false.
- */
- function stristr ($haystack, $needle, $before_needle = null) {}
- /**
- * Find the last occurrence of a character in a string
- * @link http://www.php.net/manual/en/function.strrchr.php
- * @param haystack string <p>
- * The string to search in
- * </p>
- * @param needle mixed <p>
- * If needle contains more than one character,
- * only the first is used. This behavior is different from that of
- * strstr.
- * </p>
- * <p>
- * If needle is not a string, it is converted to
- * an integer and applied as the ordinal value of a character.
- * </p>
- * @return string This function returns the portion of string, or false if
- * needle is not found.
- */
- function strrchr ($haystack, $needle) {}
- /**
- * Randomly shuffles a string
- * @link http://www.php.net/manual/en/function.str-shuffle.php
- * @param str string <p>
- * The input string.
- * </p>
- * @return string the shuffled string.
- */
- function str_shuffle ($str) {}
- /**
- * Return information about words used in a string
- * @link http://www.php.net/manual/en/function.str-word-count.php
- * @param string string <p>
- * The string
- * </p>
- * @param format int[optional] <p>
- * Specify the return value of this function. The current supported values
- * are:
- * 0 - returns the number of words found
- * @param charlist string[optional] <p>
- * A list of additional characters which will be considered as 'word'
- * </p>
- * @return mixed an array or an integer, depending on the
- * format chosen.
- */
- function str_word_count ($string, $format = null, $charlist = null) {}
- /**
- * Convert a string to an array
- * @link http://www.php.net/manual/en/function.str-split.php
- * @param string string <p>
- * The input string.
- * </p>
- * @param split_length int[optional] <p>
- * Maximum length of the chunk.
- * </p>
- * @return array If the optional split_length parameter is
- * specified, the returned array will be broken down into chunks with each
- * being split_length in length, otherwise each chunk
- * will be one character in length.
- * </p>
- * <p>
- * false is returned if split_length is less than 1.
- * If the split_length length exceeds the length of
- * string, the entire string is returned as the first
- * (and only) array element.
- */
- function str_split ($string, $split_length = null) {}
- /**
- * Search a string for any of a set of characters
- * @link http://www.php.net/manual/en/function.strpbrk.php
- * @param haystack string <p>
- * The string where char_list is looked for.
- * </p>
- * @param char_list string <p>
- * This parameter is case sensitive.
- * </p>
- * @return string a string starting from the character found, or false if it is
- * not found.
- */
- function strpbrk ($haystack, $char_list) {}
- /**
- * Binary safe comparison of two strings from an offset, up to length characters
- * @link http://www.php.net/manual/en/function.substr-compare.php
- * @param main_str string <p>
- * The main string being compared.
- * </p>
- * @param str string <p>
- * The secondary string being compared.
- * </p>
- * @param offset int <p>
- * The start po…
Large files files are truncated, but you can click here to view the full file