/stubs/standard_0.php
PHP | 1061 lines | 57 code | 56 blank | 948 comment | 0 complexity | 9e9bebf234d50d85c9b7150b4e823437 MD5 | raw file
- <?php
- // Start of standard v.5.3.2-0.dotdeb.1
- class __PHP_Incomplete_Class {
- }
- class php_user_filter {
- public $filtername;
- public $params;
- /**
- * @param $in
- * @param $out
- * @param $consumed
- * @param $closing
- */
- public function filter ($in, $out, &$consumed, $closing) {}
- public function onCreate () {}
- public function onClose () {}
- }
- class Directory {
- public function close () {}
- public function rewind () {}
- public function read () {}
- }
- /**
- * (PHP 4 >= 4.0.4, PHP 5)<br/>
- * Returns the value of a constant
- * @link http://php.net/manual/en/function.constant.php
- * @param string $name <p>
- * The constant name.
- * </p>
- * @return mixed the value of the constant, or &null; if the constant is not
- * defined.
- */
- function constant ($name) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Convert binary data into hexadecimal representation
- * @link http://php.net/manual/en/function.bin2hex.php
- * @param string $str <p>
- * A character.
- * </p>
- * @return string the hexadecimal representation of the given string.
- */
- function bin2hex ($str) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Delay execution
- * @link http://php.net/manual/en/function.sleep.php
- * @param int $seconds <p>
- * Halt time in seconds.
- * </p>
- * @return int zero on success, or false on errors. If the call was interrupted
- * by a signal, sleep returns the number of seconds left
- * to sleep.
- */
- function sleep ($seconds) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Delay execution in microseconds
- * @link http://php.net/manual/en/function.usleep.php
- * @param int $micro_seconds <p>
- * Halt time in micro seconds. A micro second is one millionth of a
- * second.
- * </p>
- * @return void
- */
- function usleep ($micro_seconds) {}
- /**
- * (PHP 5)<br/>
- * Delay for a number of seconds and nanoseconds
- * @link http://php.net/manual/en/function.time-nanosleep.php
- * @param int $seconds <p>
- * Must be a positive integer.
- * </p>
- * @param int $nanoseconds <p>
- * Must be a positive 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) {}
- /**
- * (PHP 5 >= 5.1.0)<br/>
- * Make the script sleep until the specified time
- * @link http://php.net/manual/en/function.time-sleep-until.php
- * @param float $timestamp <p>
- * The timestamp when the script should wake.
- * </p>
- * @return bool Returns true on success or false on failure.
- */
- function time_sleep_until ($timestamp) {}
- /**
- * (PHP 5 >= 5.1.0)<br/>
- * Parse a time/date generated with <function>strftime</function>
- * @link http://php.net/manual/en/function.strptime.php
- * @param string $date <p>
- * The string to parse (e.g. returned from strftime)
- * </p>
- * @param string $format <p>
- * The format used in date (e.g. the same as
- * used in strftime).
- * </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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Flush the output buffer
- * @link http://php.net/manual/en/function.flush.php
- * @return void
- */
- function flush () {}
- /**
- * (PHP 4 >= 4.0.2, PHP 5)<br/>
- * Wraps a string to a given number of characters
- * @link http://php.net/manual/en/function.wordwrap.php
- * @param string $str <p>
- * The input string.
- * </p>
- * @param int $width [optional] <p>
- * The column width.
- * </p>
- * @param string $break [optional] <p>
- * The line is broken using the optional
- * break parameter.
- * </p>
- * @param bool $cut [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 column.
- */
- function wordwrap ($str, $width = null, $break = null, $cut = null) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Convert special characters to HTML entities
- * @link http://php.net/manual/en/function.htmlspecialchars.php
- * @param string $string <p>
- * The string being converted.
- * </p>
- * @param int $quote_style [optional] <p>
- * The optional second argument, quote_style, tells
- * the function what to do with single and double quote characters.
- * The default mode, ENT_COMPAT, is the backwards compatible mode
- * which only translates the double-quote character and leaves the
- * single-quote untranslated. If ENT_QUOTES is set, both single and
- * double quotes are translated and if ENT_NOQUOTES is set neither
- * single nor double quotes are translated.
- * </p>
- * @param string $charset [optional] <p>
- * Defines character set used in conversion.
- * The default character set is ISO-8859-1.
- * </p>
- * <p>
- * For the purposes of this function, the charsets
- * ISO-8859-1, ISO-8859-15,
- * UTF-8, cp866,
- * cp1251, cp1252, and
- * KOI8-R are effectively equivalent, as the
- * characters affected by htmlspecialchars
- * occupy the same positions in all of these charsets.
- * </p>
- * &reference.strings.charsets;
- * @param bool $double_encode [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.
- */
- function htmlspecialchars ($string, $quote_style = null, $charset = null, $double_encode = null) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Convert all applicable characters to HTML entities
- * @link http://php.net/manual/en/function.htmlentities.php
- * @param string $string <p>
- * The input string.
- * </p>
- * @param int $quote_style [optional] <p>
- * Like htmlspecialchars, the optional second
- * quote_style parameter lets you define what will
- * be done with 'single' and "double" quotes. It takes on one of three
- * constants with the default being ENT_COMPAT:
- * <table>
- * Available quote_style 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>
- * </table>
- * </p>
- * @param string $charset [optional] <p>
- * Like htmlspecialchars, it takes an optional
- * third argument charset which defines character
- * set used in conversion.
- * Presently, the ISO-8859-1 character set is used as the default.
- * </p>
- * &reference.strings.charsets;
- * @param bool $double_encode [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.
- */
- function htmlentities ($string, $quote_style = null, $charset = null, $double_encode = null) {}
- /**
- * (PHP 4 >= 4.3.0, PHP 5)<br/>
- * Convert all HTML entities to their applicable characters
- * @link http://php.net/manual/en/function.html-entity-decode.php
- * @param string $string <p>
- * The input string.
- * </p>
- * @param int $quote_style [optional] <p>
- * The optional second quote_style parameter lets
- * you define what will be done with 'single' and "double" quotes. It takes
- * on one of three constants with the default being
- * ENT_COMPAT:
- * <table>
- * Available quote_style 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>
- * </table>
- * </p>
- * @param string $charset [optional] <p>
- * The ISO-8859-1 character set is used as default for the optional third
- * charset. This defines the character set used in
- * conversion.
- * </p>
- * &reference.strings.charsets;
- * @return string the decoded string.
- */
- function html_entity_decode ($string, $quote_style = null, $charset = null) {}
- /**
- * (PHP 5 >= 5.1.0)<br/>
- * Convert special HTML entities back to characters
- * @link http://php.net/manual/en/function.htmlspecialchars-decode.php
- * @param string $string <p>
- * The string to decode
- * </p>
- * @param int $quote_style [optional] <p>
- * The quote style. One of the following constants:
- * <table>
- * quote_style 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
- * (default)</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>
- * </table>
- * </p>
- * @return string the decoded string.
- */
- function htmlspecialchars_decode ($string, $quote_style = null) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
- * @link http://php.net/manual/en/function.get-html-translation-table.php
- * @param int $table [optional] <p>
- * There are two new constants (HTML_ENTITIES,
- * HTML_SPECIALCHARS) that allow you to specify the
- * table you want.
- * </p>
- * @param int $quote_style [optional] <p>
- * Like the htmlspecialchars and
- * htmlentities functions you can optionally specify
- * the quote_style you are working with.
- * See the description
- * of these modes in htmlspecialchars.
- * </p>
- * @return array the translation table as an array.
- */
- function get_html_translation_table ($table = null, $quote_style = null) {}
- /**
- * (PHP 4 >= 4.3.0, PHP 5)<br/>
- * Calculate the sha1 hash of a string
- * @link http://php.net/manual/en/function.sha1.php
- * @param string $str <p>
- * The input string.
- * </p>
- * @param bool $raw_output [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) {}
- /**
- * (PHP 4 >= 4.3.0, PHP 5)<br/>
- * Calculate the sha1 hash of a file
- * @link http://php.net/manual/en/function.sha1-file.php
- * @param string $filename <p>
- * The filename
- * </p>
- * @param bool $raw_output [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Calculate the md5 hash of a string
- * @link http://php.net/manual/en/function.md5.php
- * @param string $str <p>
- * The string.
- * </p>
- * @param bool $raw_output [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) {}
- /**
- * (PHP 4 >= 4.2.0, PHP 5)<br/>
- * Calculates the md5 hash of a given file
- * @link http://php.net/manual/en/function.md5-file.php
- * @param string $filename <p>
- * The filename
- * </p>
- * @param bool $raw_output [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) {}
- /**
- * (PHP 4 >= 4.0.1, PHP 5)<br/>
- * Calculates the crc32 polynomial of a string
- * @link http://php.net/manual/en/function.crc32.php
- * @param string $str <p>
- * The data.
- * </p>
- * @return int the crc32 checksum of str as an integer.
- */
- function crc32 ($str) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Parse a binary IPTC block into single tags.
- * @link http://php.net/manual/en/function.iptcparse.php
- * @param string $iptcblock <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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Embeds binary IPTC data into a JPEG image
- * @link http://php.net/manual/en/function.iptcembed.php
- * @param string $iptcdata <p>
- * The data to be written.
- * </p>
- * @param string $jpeg_file_name <p>
- * Path to the JPEG image.
- * </p>
- * @param int $spool [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Get the size of an image
- * @link http://php.net/manual/en/function.getimagesize.php
- * @param string $filename <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 array $imageinfo [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 correct the 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) {}
- /**
- * (PHP 4 >= 4.3.0, PHP 5)<br/>
- * Get Mime-Type for image-type returned by getimagesize,
- exif_read_data, exif_thumbnail, exif_imagetype
- * @link http://php.net/manual/en/function.image-type-to-mime-type.php
- * @param int $imagetype <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) {}
- /**
- * (PHP 5)<br/>
- * Get file extension for image type
- * @link http://php.net/manual/en/function.image-type-to-extension.php
- * @param int $imagetype <p>
- * One of the IMAGETYPE_XXX constant.
- * </p>
- * @param bool $include_dot [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Outputs lots of PHP information
- * @link http://php.net/manual/en/function.phpinfo.php
- * @param int $what [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Gets the current PHP version
- * @link http://php.net/manual/en/function.phpversion.php
- * @param string $extension [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Prints out the credits for PHP
- * @link http://php.net/manual/en/function.phpcredits.php
- * @param int $flag [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 4.0
- * 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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Gets the logo guid
- * @link http://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 () {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Gets the Zend guid
- * @link http://php.net/manual/en/function.zend-logo-guid.php
- * @return string PHPE9568F35-D428-11d2-A769-00AA001ACF42.
- */
- function zend_logo_guid () {}
- /**
- * (PHP 4 >= 4.0.1, PHP 5)<br/>
- * Returns the type of interface between web server and PHP
- * @link http://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 () {}
- /**
- * (PHP 4 >= 4.0.2, PHP 5)<br/>
- * Returns information about the operating system PHP is running on
- * @link http://php.net/manual/en/function.php-uname.php
- * @param string $mode [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) {}
- /**
- * (PHP 4 >= 4.3.0, PHP 5)<br/>
- * Return a list of .ini files parsed from the additional ini dir
- * @link http://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 () {}
- /**
- * (PHP 5 >= 5.2.4)<br/>
- * Retrieve a path to the loaded php.ini file
- * @link http://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 () {}
- /**
- * (PHP 4, PHP 5)<br/>
- * String comparisons using a "natural order" algorithm
- * @link http://php.net/manual/en/function.strnatcmp.php
- * @param string $str1 <p>
- * The first string.
- * </p>
- * @param string $str2 <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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Case insensitive string comparisons using a "natural order" algorithm
- * @link http://php.net/manual/en/function.strnatcasecmp.php
- * @param string $str1 <p>
- * The first string.
- * </p>
- * @param string $str2 <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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Count the number of substring occurrences
- * @link http://php.net/manual/en/function.substr-count.php
- * @param string $haystack <p>
- * The string to search in
- * </p>
- * @param string $needle <p>
- * The substring to search for
- * </p>
- * @param int $offset [optional] <p>
- * The offset where to start counting
- * </p>
- * @param int $length [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 functions returns an integer.
- */
- function substr_count ($haystack, $needle, $offset = null, $length = null) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Finds the length of the first segment of a string consisting
- entirely of characters contained within a given mask.
- * @link http://php.net/manual/en/function.strspn.php
- * @param string $subject <p>
- * The string to examine.
- * </p>
- * @param string $mask <p>
- * The list of allowable characters to include in counted segments.
- * </p>
- * @param int $start [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 int $length [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 str1
- * which consists entirely of characters in str2.
- */
- function strspn ($subject, $mask, $start = null, $length = null) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Find length of initial segment not matching mask
- * @link http://php.net/manual/en/function.strcspn.php
- * @param string $str1 <p>
- * The first string.
- * </p>
- * @param string $str2 <p>
- * The second string.
- * </p>
- * @param int $start [optional] <p>
- * The start position of the string to examine.
- * </p>
- * @param int $length [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) {}
- /**
- * (PHP 4, PHP 5)<br/>
- * Tokenize string
- * Note that only the first call to strtok uses the string argument.
- * Every subsequent call to strtok only needs the token to use, as it keeps track of where it is in the current string.
- * To start over, or to tokenize a new string you simply call strtok with the string argument again to initialize it.
- * Note that you may put multiple tokens in the token parameter.
- * The string will be tokenized when any one of the characters in the argument are found.
- * @link http://php.net/manual/en/function.strtok.php
- * @param string $str [optional] <p>
- * The string being split up into smaller strings (tokens).
- * </p>
- * @param string $token <p>
- * The delimiter used when splitting up str.
- * </p>
- * @return string A string token.
- */
- function strtok ($str = null, $token) {}
- // End of standard v.5.3.1-0.dotdeb.1
- ?>