PageRenderTime 18ms CodeModel.GetById 4ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 1ms

/stubs/standard_0.php

http://github.com/nnmatveev/php-stubs
PHP | 1061 lines | 57 code | 56 blank | 948 comment | 0 complexity | 9e9bebf234d50d85c9b7150b4e823437 MD5 | raw file
   1<?php
   2
   3// Start of standard v.5.3.2-0.dotdeb.1
   4
   5class __PHP_Incomplete_Class  {
   6}
   7
   8class php_user_filter  {
   9        public $filtername;
  10        public $params;
  11
  12
  13        /**
  14         * @param $in
  15         * @param $out
  16         * @param $consumed
  17         * @param $closing
  18         */
  19        public function filter ($in, $out, &$consumed, $closing) {}
  20
  21        public function onCreate () {}
  22
  23        public function onClose () {}
  24
  25}
  26
  27class Directory  {
  28
  29        public function close () {}
  30
  31        public function rewind () {}
  32
  33        public function read () {}
  34
  35}
  36
  37/**
  38 * (PHP 4 &gt;= 4.0.4, PHP 5)<br/>
  39 * Returns the value of a constant
  40 * @link http://php.net/manual/en/function.constant.php
  41 * @param string $name <p>
  42 * The constant name.
  43 * </p>
  44 * @return mixed the value of the constant, or &null; if the constant is not
  45 * defined.
  46 */
  47function constant ($name) {}
  48
  49/**
  50 * (PHP 4, PHP 5)<br/>
  51 * Convert binary data into hexadecimal representation
  52 * @link http://php.net/manual/en/function.bin2hex.php
  53 * @param string $str <p>
  54 * A character.
  55 * </p>
  56 * @return string the hexadecimal representation of the given string.
  57 */
  58function bin2hex ($str) {}
  59
  60/**
  61 * (PHP 4, PHP 5)<br/>
  62 * Delay execution
  63 * @link http://php.net/manual/en/function.sleep.php
  64 * @param int $seconds <p>
  65 * Halt time in seconds.
  66 * </p>
  67 * @return int zero on success, or false on errors. If the call was interrupted
  68 * by a signal, sleep returns the number of seconds left
  69 * to sleep.
  70 */
  71function sleep ($seconds) {}
  72
  73/**
  74 * (PHP 4, PHP 5)<br/>
  75 * Delay execution in microseconds
  76 * @link http://php.net/manual/en/function.usleep.php
  77 * @param int $micro_seconds <p>
  78 * Halt time in micro seconds. A micro second is one millionth of a
  79 * second.
  80 * </p>
  81 * @return void 
  82 */
  83function usleep ($micro_seconds) {}
  84
  85/**
  86 * (PHP 5)<br/>
  87 * Delay for a number of seconds and nanoseconds
  88 * @link http://php.net/manual/en/function.time-nanosleep.php
  89 * @param int $seconds <p>
  90 * Must be a positive integer.
  91 * </p>
  92 * @param int $nanoseconds <p>
  93 * Must be a positive integer less than 1 billion.
  94 * </p>
  95 * @return mixed Returns true on success or false on failure.
  96 * </p>
  97 * <p>
  98 * If the delay was interrupted by a signal, an associative array will be
  99 * returned with the components:
 100 * seconds - number of seconds remaining in
 101 * the delay
 102 * nanoseconds - number of nanoseconds
 103 * remaining in the delay
 104 */
 105function time_nanosleep ($seconds, $nanoseconds) {}
 106
 107/**
 108 * (PHP 5 &gt;= 5.1.0)<br/>
 109 * Make the script sleep until the specified time
 110 * @link http://php.net/manual/en/function.time-sleep-until.php
 111 * @param float $timestamp <p>
 112 * The timestamp when the script should wake.
 113 * </p>
 114 * @return bool Returns true on success or false on failure.
 115 */
 116function time_sleep_until ($timestamp) {}
 117
 118/**
 119 * (PHP 5 &gt;= 5.1.0)<br/>
 120 * Parse a time/date generated with <function>strftime</function>
 121 * @link http://php.net/manual/en/function.strptime.php
 122 * @param string $date <p>
 123 * The string to parse (e.g. returned from strftime)
 124 * </p>
 125 * @param string $format <p>
 126 * The format used in date (e.g. the same as
 127 * used in strftime).
 128 * </p>
 129 * <p>
 130 * For more information about the format options, read the
 131 * strftime page.
 132 * </p>
 133 * @return array an array&return.falseforfailure;.
 134 * </p>
 135 * <p>
 136 * <table>
 137 * The following parameters are returned in the array
 138 * <tr valign="top">
 139 * <td>parameters</td>
 140 * <td>Description</td>
 141 * </tr>
 142 * <tr valign="top">
 143 * <td>"tm_sec"</td>
 144 * <td>Seconds after the minute (0-61)</td>
 145 * </tr>
 146 * <tr valign="top">
 147 * <td>"tm_min"</td>
 148 * <td>Minutes after the hour (0-59)</td>
 149 * </tr>
 150 * <tr valign="top">
 151 * <td>"tm_hour"</td>
 152 * <td>Hour since midnight (0-23)</td>
 153 * </tr>
 154 * <tr valign="top">
 155 * <td>"tm_mday"</td>
 156 * <td>Day of the month (1-31)</td>
 157 * </tr>
 158 * <tr valign="top">
 159 * <td>"tm_mon"</td>
 160 * <td>Months since January (0-11)</td>
 161 * </tr>
 162 * <tr valign="top">
 163 * <td>"tm_year"</td>
 164 * <td>Years since 1900</td>
 165 * </tr>
 166 * <tr valign="top">
 167 * <td>"tm_wday"</td>
 168 * <td>Days since Sunday (0-6)</td>
 169 * </tr>
 170 * <tr valign="top">
 171 * <td>"tm_yday"</td>
 172 * <td>Days since January 1 (0-365)</td>
 173 * </tr>
 174 * <tr valign="top">
 175 * <td>"unparsed"</td>
 176 * <td>the date part which was not
 177 * recognized using the specified format</td>
 178 * </tr>
 179 * </table>
 180 */
 181function strptime ($date, $format) {}
 182
 183/**
 184 * (PHP 4, PHP 5)<br/>
 185 * Flush the output buffer
 186 * @link http://php.net/manual/en/function.flush.php
 187 * @return void 
 188 */
 189function flush () {}
 190
 191/**
 192 * (PHP 4 &gt;= 4.0.2, PHP 5)<br/>
 193 * Wraps a string to a given number of characters
 194 * @link http://php.net/manual/en/function.wordwrap.php
 195 * @param string $str <p>
 196 * The input string.
 197 * </p>
 198 * @param int $width [optional] <p>
 199 * The column width.
 200 * </p>
 201 * @param string $break [optional] <p>
 202 * The line is broken using the optional
 203 * break parameter.
 204 * </p>
 205 * @param bool $cut [optional] <p>
 206 * If the cut is set to true, the string is
 207 * always wrapped at or before the specified width. So if you have
 208 * a word that is larger than the given width, it is broken apart.
 209 * (See second example).
 210 * </p>
 211 * @return string the given string wrapped at the specified column.
 212 */
 213function wordwrap ($str, $width = null, $break = null, $cut = null) {}
 214
 215/**
 216 * (PHP 4, PHP 5)<br/>
 217 * Convert special characters to HTML entities
 218 * @link http://php.net/manual/en/function.htmlspecialchars.php
 219 * @param string $string <p>
 220 * The string being converted.
 221 * </p>
 222 * @param int $quote_style [optional] <p>
 223 * The optional second argument, quote_style, tells
 224 * the function what to do with single and double quote characters.
 225 * The default mode, ENT_COMPAT, is the backwards compatible mode
 226 * which only translates the double-quote character and leaves the
 227 * single-quote untranslated. If ENT_QUOTES is set, both single and
 228 * double quotes are translated and if ENT_NOQUOTES is set neither
 229 * single nor double quotes are translated.
 230 * </p>
 231 * @param string $charset [optional] <p>
 232 * Defines character set used in conversion.
 233 * The default character set is ISO-8859-1.
 234 * </p>
 235 * <p>
 236 * For the purposes of this function, the charsets
 237 * ISO-8859-1, ISO-8859-15,
 238 * UTF-8, cp866,
 239 * cp1251, cp1252, and
 240 * KOI8-R are effectively equivalent, as the
 241 * characters affected by htmlspecialchars
 242 * occupy the same positions in all of these charsets.
 243 * </p>
 244 * &reference.strings.charsets;
 245 * @param bool $double_encode [optional] <p>
 246 * When double_encode is turned off PHP will not
 247 * encode existing html entities, the default is to convert everything.
 248 * </p>
 249 * @return string The converted string.
 250 */
 251function htmlspecialchars ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 252
 253/**
 254 * (PHP 4, PHP 5)<br/>
 255 * Convert all applicable characters to HTML entities
 256 * @link http://php.net/manual/en/function.htmlentities.php
 257 * @param string $string <p>
 258 * The input string.
 259 * </p>
 260 * @param int $quote_style [optional] <p>
 261 * Like htmlspecialchars, the optional second
 262 * quote_style parameter lets you define what will
 263 * be done with 'single' and "double" quotes. It takes on one of three
 264 * constants with the default being ENT_COMPAT:
 265 * <table>
 266 * Available quote_style constants
 267 * <tr valign="top">
 268 * <td>Constant Name</td>
 269 * <td>Description</td>
 270 * </tr>
 271 * <tr valign="top">
 272 * <td>ENT_COMPAT</td>
 273 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 274 * </tr>
 275 * <tr valign="top">
 276 * <td>ENT_QUOTES</td>
 277 * <td>Will convert both double and single quotes.</td>
 278 * </tr>
 279 * <tr valign="top">
 280 * <td>ENT_NOQUOTES</td>
 281 * <td>Will leave both double and single quotes unconverted.</td>
 282 * </tr>
 283 * </table>
 284 * </p>
 285 * @param string $charset [optional] <p>
 286 * Like htmlspecialchars, it takes an optional
 287 * third argument charset which defines character
 288 * set used in conversion.
 289 * Presently, the ISO-8859-1 character set is used as the default.
 290 * </p>
 291 * &reference.strings.charsets;
 292 * @param bool $double_encode [optional] <p>
 293 * When double_encode is turned off PHP will not
 294 * encode existing html entities. The default is to convert everything.
 295 * </p>
 296 * @return string the encoded string.
 297 */
 298function htmlentities ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 299
 300/**
 301 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 302 * Convert all HTML entities to their applicable characters
 303 * @link http://php.net/manual/en/function.html-entity-decode.php
 304 * @param string $string <p>
 305 * The input string.
 306 * </p>
 307 * @param int $quote_style [optional] <p>
 308 * The optional second quote_style parameter lets
 309 * you define what will be done with 'single' and "double" quotes. It takes
 310 * on one of three constants with the default being
 311 * ENT_COMPAT:
 312 * <table>
 313 * Available quote_style constants
 314 * <tr valign="top">
 315 * <td>Constant Name</td>
 316 * <td>Description</td>
 317 * </tr>
 318 * <tr valign="top">
 319 * <td>ENT_COMPAT</td>
 320 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 321 * </tr>
 322 * <tr valign="top">
 323 * <td>ENT_QUOTES</td>
 324 * <td>Will convert both double and single quotes.</td>
 325 * </tr>
 326 * <tr valign="top">
 327 * <td>ENT_NOQUOTES</td>
 328 * <td>Will leave both double and single quotes unconverted.</td>
 329 * </tr>
 330 * </table>
 331 * </p>
 332 * @param string $charset [optional] <p>
 333 * The ISO-8859-1 character set is used as default for the optional third
 334 * charset. This defines the character set used in
 335 * conversion.
 336 * </p>
 337 * &reference.strings.charsets;
 338 * @return string the decoded string.
 339 */
 340function html_entity_decode ($string, $quote_style = null, $charset = null) {}
 341
 342/**
 343 * (PHP 5 &gt;= 5.1.0)<br/>
 344 * Convert special HTML entities back to characters
 345 * @link http://php.net/manual/en/function.htmlspecialchars-decode.php
 346 * @param string $string <p>
 347 * The string to decode
 348 * </p>
 349 * @param int $quote_style [optional] <p>
 350 * The quote style. One of the following constants:
 351 * <table>
 352 * quote_style constants
 353 * <tr valign="top">
 354 * <td>Constant Name</td>
 355 * <td>Description</td>
 356 * </tr>
 357 * <tr valign="top">
 358 * <td>ENT_COMPAT</td>
 359 * <td>Will convert double-quotes and leave single-quotes alone
 360 * (default)</td>
 361 * </tr>
 362 * <tr valign="top">
 363 * <td>ENT_QUOTES</td>
 364 * <td>Will convert both double and single quotes</td>
 365 * </tr>
 366 * <tr valign="top">
 367 * <td>ENT_NOQUOTES</td>
 368 * <td>Will leave both double and single quotes unconverted</td>
 369 * </tr>
 370 * </table>
 371 * </p>
 372 * @return string the decoded string.
 373 */
 374function htmlspecialchars_decode ($string, $quote_style = null) {}
 375
 376/**
 377 * (PHP 4, PHP 5)<br/>
 378 * Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
 379 * @link http://php.net/manual/en/function.get-html-translation-table.php
 380 * @param int $table [optional] <p>
 381 * There are two new constants (HTML_ENTITIES,
 382 * HTML_SPECIALCHARS) that allow you to specify the
 383 * table you want.
 384 * </p>
 385 * @param int $quote_style [optional] <p>
 386 * Like the htmlspecialchars and
 387 * htmlentities functions you can optionally specify
 388 * the quote_style you are working with.
 389 * See the description
 390 * of these modes in htmlspecialchars.
 391 * </p>
 392 * @return array the translation table as an array.
 393 */
 394function get_html_translation_table ($table = null, $quote_style = null) {}
 395
 396/**
 397 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 398 * Calculate the sha1 hash of a string
 399 * @link http://php.net/manual/en/function.sha1.php
 400 * @param string $str <p>
 401 * The input string.
 402 * </p>
 403 * @param bool $raw_output [optional] <p>
 404 * If the optional raw_output is set to true,
 405 * then the sha1 digest is instead returned in raw binary format with a
 406 * length of 20, otherwise the returned value is a 40-character
 407 * hexadecimal number.
 408 * </p>
 409 * @return string the sha1 hash as a string.
 410 */
 411function sha1 ($str, $raw_output = null) {}
 412
 413/**
 414 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 415 * Calculate the sha1 hash of a file
 416 * @link http://php.net/manual/en/function.sha1-file.php
 417 * @param string $filename <p>
 418 * The filename
 419 * </p>
 420 * @param bool $raw_output [optional] <p>
 421 * When true, returns the digest in raw binary format with a length of
 422 * 20.
 423 * </p>
 424 * @return string a string on success, false otherwise.
 425 */
 426function sha1_file ($filename, $raw_output = null) {}
 427
 428/**
 429 * (PHP 4, PHP 5)<br/>
 430 * Calculate the md5 hash of a string
 431 * @link http://php.net/manual/en/function.md5.php
 432 * @param string $str <p>
 433 * The string.
 434 * </p>
 435 * @param bool $raw_output [optional] <p>
 436 * If the optional raw_output is set to true,
 437 * then the md5 digest is instead returned in raw binary format with a
 438 * length of 16.
 439 * </p>
 440 * @return string the hash as a 32-character hexadecimal number.
 441 */
 442function md5 ($str, $raw_output = null) {}
 443
 444/**
 445 * (PHP 4 &gt;= 4.2.0, PHP 5)<br/>
 446 * Calculates the md5 hash of a given file
 447 * @link http://php.net/manual/en/function.md5-file.php
 448 * @param string $filename <p>
 449 * The filename
 450 * </p>
 451 * @param bool $raw_output [optional] <p>
 452 * When true, returns the digest in raw binary format with a length of
 453 * 16.
 454 * </p>
 455 * @return string a string on success, false otherwise.
 456 */
 457function md5_file ($filename, $raw_output = null) {}
 458
 459/**
 460 * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
 461 * Calculates the crc32 polynomial of a string
 462 * @link http://php.net/manual/en/function.crc32.php
 463 * @param string $str <p>
 464 * The data.
 465 * </p>
 466 * @return int the crc32 checksum of str as an integer.
 467 */
 468function crc32 ($str) {}
 469
 470/**
 471 * (PHP 4, PHP 5)<br/>
 472 * Parse a binary IPTC block into single tags.
 473 * @link http://php.net/manual/en/function.iptcparse.php
 474 * @param string $iptcblock <p>
 475 * A binary IPTC block.
 476 * </p>
 477 * @return array an array using the tagmarker as an index and the value as the
 478 * value. It returns false on error or if no IPTC data was found.
 479 */
 480function iptcparse ($iptcblock) {}
 481
 482/**
 483 * (PHP 4, PHP 5)<br/>
 484 * Embeds binary IPTC data into a JPEG image
 485 * @link http://php.net/manual/en/function.iptcembed.php
 486 * @param string $iptcdata <p>
 487 * The data to be written.
 488 * </p>
 489 * @param string $jpeg_file_name <p>
 490 * Path to the JPEG image.
 491 * </p>
 492 * @param int $spool [optional] <p>
 493 * Spool flag. If the spool flag is over 2 then the JPEG will be 
 494 * returned as a string.
 495 * </p>
 496 * @return mixed If success and spool flag is lower than 2 then the JPEG will not be 
 497 * returned as a string, false on errors.
 498 */
 499function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
 500
 501/**
 502 * (PHP 4, PHP 5)<br/>
 503 * Get the size of an image
 504 * @link http://php.net/manual/en/function.getimagesize.php
 505 * @param string $filename <p>
 506 * This parameter specifies the file you wish to retrieve information
 507 * about. It can reference a local file or (configuration permitting) a
 508 * remote file using one of the supported streams. 
 509 * </p>
 510 * @param array $imageinfo [optional] <p>
 511 * This optional parameter allows you to extract some extended
 512 * information from the image file. Currently, this will return the
 513 * different JPG APP markers as an associative array.
 514 * Some programs use these APP markers to embed text information in 
 515 * images. A very common one is to embed 
 516 * IPTC information in the APP13 marker.
 517 * You can use the iptcparse function to parse the
 518 * binary APP13 marker into something readable.
 519 * </p>
 520 * @return array an array with 7 elements.
 521 * </p>
 522 * <p>
 523 * Index 0 and 1 contains respectively the width and the height of the image.
 524 * </p>
 525 * <p>
 526 * Some formats may contain no image or may contain multiple images. In these
 527 * cases, getimagesize might not be able to properly
 528 * determine the image size. getimagesize will return
 529 * zero for width and height in these cases.
 530 * </p>
 531 * <p>
 532 * Index 2 is one of the IMAGETYPE_XXX constants indicating 
 533 * the type of the image.
 534 * </p>
 535 * <p>
 536 * Index 3 is a text string with the correct 
 537 * height="yyy" width="xxx" string that can be used
 538 * directly in an IMG tag.
 539 * </p>
 540 * <p>
 541 * mime is the correspondant MIME type of the image.
 542 * This information can be used to deliver images with correct the HTTP 
 543 * Content-type header:
 544 * getimagesize and MIME types
 545 * ]]>
 546 * </p>
 547 * <p>
 548 * channels will be 3 for RGB pictures and 4 for CMYK
 549 * pictures.
 550 * </p>
 551 * <p>
 552 * bits is the number of bits for each color.
 553 * </p>
 554 * <p>
 555 * For some image types, the presence of channels and
 556 * bits values can be a bit
 557 * confusing. As an example, GIF always uses 3 channels
 558 * per pixel, but the number of bits per pixel cannot be calculated for an
 559 * animated GIF with a global color table.
 560 * </p>
 561 * <p>
 562 * On failure, false is returned.
 563 */
 564function getimagesize ($filename, array &$imageinfo = null) {}
 565
 566/**
 567 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 568 * Get Mime-Type for image-type returned by getimagesize,
 569   exif_read_data, exif_thumbnail, exif_imagetype
 570 * @link http://php.net/manual/en/function.image-type-to-mime-type.php
 571 * @param int $imagetype <p>
 572 * One of the IMAGETYPE_XXX constants.
 573 * </p>
 574 * @return string The returned values are as follows
 575 * <table>
 576 * Returned values Constants
 577 * <tr valign="top">
 578 * <td>imagetype</td>
 579 * <td>Returned value</td>
 580 * </tr>
 581 * <tr valign="top">
 582 * <td>IMAGETYPE_GIF</td>
 583 * <td>image/gif</td>
 584 * </tr>
 585 * <tr valign="top">
 586 * <td>IMAGETYPE_JPEG</td>
 587 * <td>image/jpeg</td>
 588 * </tr>
 589 * <tr valign="top">
 590 * <td>IMAGETYPE_PNG</td>
 591 * <td>image/png</td>
 592 * </tr>
 593 * <tr valign="top">
 594 * <td>IMAGETYPE_SWF</td>
 595 * <td>application/x-shockwave-flash</td>
 596 * </tr>
 597 * <tr valign="top">
 598 * <td>IMAGETYPE_PSD</td>
 599 * <td>image/psd</td>
 600 * </tr>
 601 * <tr valign="top">
 602 * <td>IMAGETYPE_BMP</td>
 603 * <td>image/bmp</td>
 604 * </tr>
 605 * <tr valign="top">
 606 * <td>IMAGETYPE_TIFF_II (intel byte order)</td>
 607 * <td>image/tiff</td>
 608 * </tr>
 609 * <tr valign="top">
 610 * <td>
 611 * IMAGETYPE_TIFF_MM (motorola byte order)
 612 * </td>
 613 * <td>image/tiff</td>
 614 * </tr>
 615 * <tr valign="top">
 616 * <td>IMAGETYPE_JPC</td>
 617 * <td>application/octet-stream</td>
 618 * </tr>
 619 * <tr valign="top">
 620 * <td>IMAGETYPE_JP2</td>
 621 * <td>image/jp2</td>
 622 * </tr>
 623 * <tr valign="top">
 624 * <td>IMAGETYPE_JPX</td>
 625 * <td>application/octet-stream</td>
 626 * </tr>
 627 * <tr valign="top">
 628 * <td>IMAGETYPE_JB2</td>
 629 * <td>application/octet-stream</td>
 630 * </tr>
 631 * <tr valign="top">
 632 * <td>IMAGETYPE_SWC</td>
 633 * <td>application/x-shockwave-flash</td>
 634 * </tr>
 635 * <tr valign="top">
 636 * <td>IMAGETYPE_IFF</td>
 637 * <td>image/iff</td>
 638 * </tr>
 639 * <tr valign="top">
 640 * <td>IMAGETYPE_WBMP</td>
 641 * <td>image/vnd.wap.wbmp</td>
 642 * </tr>
 643 * <tr valign="top">
 644 * <td>IMAGETYPE_XBM</td>
 645 * <td>image/xbm</td>
 646 * </tr>
 647 * <tr valign="top">
 648 * <td>IMAGETYPE_ICO</td>
 649 * <td>image/vnd.microsoft.icon</td>
 650 * </tr>
 651 * </table>
 652 */
 653function image_type_to_mime_type ($imagetype) {}
 654
 655/**
 656 * (PHP 5)<br/>
 657 * Get file extension for image type
 658 * @link http://php.net/manual/en/function.image-type-to-extension.php
 659 * @param int $imagetype <p>
 660 * One of the IMAGETYPE_XXX constant.
 661 * </p>
 662 * @param bool $include_dot [optional] <p>
 663 * Whether to prepend a dot to the extension or not. Default to true.
 664 * </p>
 665 * @return string A string with the extension corresponding to the given image type.
 666 */
 667function image_type_to_extension ($imagetype, $include_dot = null) {}
 668
 669/**
 670 * (PHP 4, PHP 5)<br/>
 671 * Outputs lots of PHP information
 672 * @link http://php.net/manual/en/function.phpinfo.php
 673 * @param int $what [optional] <p>
 674 * The output may be customized by passing one or more of the
 675 * following constants bitwise values summed
 676 * together in the optional what parameter.
 677 * One can also combine the respective constants or bitwise values
 678 * together with the or operator.
 679 * </p>
 680 * <p>
 681 * <table>
 682 * phpinfo options
 683 * <tr valign="top">
 684 * <td>Name (constant)</td>
 685 * <td>Value</td>
 686 * <td>Description</td>
 687 * </tr>
 688 * <tr valign="top">
 689 * <td>INFO_GENERAL</td>
 690 * <td>1</td>
 691 * <td>
 692 * The configuration line, &php.ini; location, build date, Web
 693 * Server, System and more.
 694 * </td>
 695 * </tr>
 696 * <tr valign="top">
 697 * <td>INFO_CREDITS</td>
 698 * <td>2</td>
 699 * <td>
 700 * PHP Credits. See also phpcredits.
 701 * </td>
 702 * </tr>
 703 * <tr valign="top">
 704 * <td>INFO_CONFIGURATION</td>
 705 * <td>4</td>
 706 * <td>
 707 * Current Local and Master values for PHP directives. See
 708 * also ini_get.
 709 * </td>
 710 * </tr>
 711 * <tr valign="top">
 712 * <td>INFO_MODULES</td>
 713 * <td>8</td>
 714 * <td>
 715 * Loaded modules and their respective settings. See also
 716 * get_loaded_extensions.
 717 * </td>
 718 * </tr>
 719 * <tr valign="top">
 720 * <td>INFO_ENVIRONMENT</td>
 721 * <td>16</td>
 722 * <td>
 723 * Environment Variable information that's also available in
 724 * $_ENV.
 725 * </td>
 726 * </tr>
 727 * <tr valign="top">
 728 * <td>INFO_VARIABLES</td>
 729 * <td>32</td>
 730 * <td>
 731 * Shows all 
 732 * predefined variables from EGPCS (Environment, GET,
 733 * POST, Cookie, Server).
 734 * </td>
 735 * </tr>
 736 * <tr valign="top">
 737 * <td>INFO_LICENSE</td>
 738 * <td>64</td>
 739 * <td>
 740 * PHP License information. See also the license FAQ.
 741 * </td>
 742 * </tr>
 743 * <tr valign="top">
 744 * <td>INFO_ALL</td>
 745 * <td>-1</td>
 746 * <td>
 747 * Shows all of the above.
 748 * </td>
 749 * </tr>
 750 * </table>
 751 * </p>
 752 * @return bool Returns true on success or false on failure.
 753 */
 754function phpinfo ($what = null) {}
 755
 756/**
 757 * (PHP 4, PHP 5)<br/>
 758 * Gets the current PHP version
 759 * @link http://php.net/manual/en/function.phpversion.php
 760 * @param string $extension [optional] <p>
 761 * An optional extension name.
 762 * </p>
 763 * @return string If the optional extension parameter is
 764 * specified, phpversion returns the version of that
 765 * extension, or false if there is no version information associated or
 766 * the extension isn't enabled.
 767 */
 768function phpversion ($extension = null) {}
 769
 770/**
 771 * (PHP 4, PHP 5)<br/>
 772 * Prints out the credits for PHP
 773 * @link http://php.net/manual/en/function.phpcredits.php
 774 * @param int $flag [optional] <p>
 775 * To generate a custom credits page, you may want to use the
 776 * flag parameter.
 777 * </p>
 778 * <p>
 779 * <table>
 780 * Pre-defined phpcredits flags
 781 * <tr valign="top">
 782 * <td>name</td>
 783 * <td>description</td>
 784 * </tr>
 785 * <tr valign="top">
 786 * <td>CREDITS_ALL</td>
 787 * <td>
 788 * All the credits, equivalent to using: CREDITS_DOCS +
 789 * CREDITS_GENERAL + CREDITS_GROUP +
 790 * CREDITS_MODULES + CREDITS_FULLPAGE.
 791 * It generates a complete stand-alone HTML page with the appropriate tags.
 792 * </td>
 793 * </tr>
 794 * <tr valign="top">
 795 * <td>CREDITS_DOCS</td>
 796 * <td>The credits for the documentation team</td>
 797 * </tr>
 798 * <tr valign="top">
 799 * <td>CREDITS_FULLPAGE</td>
 800 * <td>
 801 * Usually used in combination with the other flags. Indicates
 802 * that a complete stand-alone HTML page needs to be
 803 * printed including the information indicated by the other
 804 * flags.
 805 * </td>
 806 * </tr>
 807 * <tr valign="top">
 808 * <td>CREDITS_GENERAL</td>
 809 * <td>
 810 * General credits: Language design and concept, PHP 4.0
 811 * authors and SAPI module.
 812 * </td>
 813 * </tr>
 814 * <tr valign="top">
 815 * <td>CREDITS_GROUP</td>
 816 * <td>A list of the core developers</td>
 817 * </tr>
 818 * <tr valign="top">
 819 * <td>CREDITS_MODULES</td>
 820 * <td>
 821 * A list of the extension modules for PHP, and their authors
 822 * </td>
 823 * </tr>
 824 * <tr valign="top">
 825 * <td>CREDITS_SAPI</td>
 826 * <td>
 827 * A list of the server API modules for PHP, and their authors
 828 * </td>
 829 * </tr>
 830 * </table>
 831 * </p>
 832 * @return bool Returns true on success or false on failure.
 833 */
 834function phpcredits ($flag = null) {}
 835
 836/**
 837 * (PHP 4, PHP 5)<br/>
 838 * Gets the logo guid
 839 * @link http://php.net/manual/en/function.php-logo-guid.php
 840 * @return string PHPE9568F34-D428-11d2-A769-00AA001ACF42.
 841 */
 842function php_logo_guid () {}
 843
 844function php_real_logo_guid () {}
 845
 846function php_egg_logo_guid () {}
 847
 848/**
 849 * (PHP 4, PHP 5)<br/>
 850 * Gets the Zend guid
 851 * @link http://php.net/manual/en/function.zend-logo-guid.php
 852 * @return string PHPE9568F35-D428-11d2-A769-00AA001ACF42.
 853 */
 854function zend_logo_guid () {}
 855
 856/**
 857 * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
 858 * Returns the type of interface between web server and PHP
 859 * @link http://php.net/manual/en/function.php-sapi-name.php
 860 * @return string the interface type, as a lowercase string.
 861 * </p>
 862 * <p>
 863 * Although not exhaustive, the possible return values include 
 864 * aolserver, apache, 
 865 * apache2filter, apache2handler, 
 866 * caudium, cgi (until PHP 5.3), 
 867 * cgi-fcgi, cli, 
 868 * continuity, embed,
 869 * isapi, litespeed, 
 870 * milter, nsapi, 
 871 * phttpd, pi3web, roxen,
 872 * thttpd, tux, and webjames.
 873 */
 874function php_sapi_name () {}
 875
 876/**
 877 * (PHP 4 &gt;= 4.0.2, PHP 5)<br/>
 878 * Returns information about the operating system PHP is running on
 879 * @link http://php.net/manual/en/function.php-uname.php
 880 * @param string $mode [optional] <p>
 881 * mode is a single character that defines what
 882 * information is returned:
 883 * 'a': This is the default. Contains all modes in
 884 * the sequence "s n r v m".
 885 * @return string the description, as a string.
 886 */
 887function php_uname ($mode = null) {}
 888
 889/**
 890 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 891 * Return a list of .ini files parsed from the additional ini dir
 892 * @link http://php.net/manual/en/function.php-ini-scanned-files.php
 893 * @return string a comma-separated string of .ini files on success. Each comma is
 894 * followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
 895 * false is returned. If it was set and the directory was empty, an
 896 * empty string is returned. If a file is unrecognizable, the file will
 897 * still make it into the returned string but a PHP error will also result.
 898 * This PHP error will be seen both at compile time and while using
 899 * php_ini_scanned_files.
 900 */
 901function php_ini_scanned_files () {}
 902
 903/**
 904 * (PHP 5 &gt;= 5.2.4)<br/>
 905 * Retrieve a path to the loaded php.ini file
 906 * @link http://php.net/manual/en/function.php-ini-loaded-file.php
 907 * @return string The loaded &php.ini; path, or false if one is not loaded.
 908 */
 909function php_ini_loaded_file () {}
 910
 911/**
 912 * (PHP 4, PHP 5)<br/>
 913 * String comparisons using a "natural order" algorithm
 914 * @link http://php.net/manual/en/function.strnatcmp.php
 915 * @param string $str1 <p>
 916 * The first string.
 917 * </p>
 918 * @param string $str2 <p>
 919 * The second string.
 920 * </p>
 921 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 922 * str1 is less than str2; &gt;
 923 * 0 if str1 is greater than
 924 * str2, and 0 if they are equal.
 925 */
 926function strnatcmp ($str1, $str2) {}
 927
 928/**
 929 * (PHP 4, PHP 5)<br/>
 930 * Case insensitive string comparisons using a "natural order" algorithm
 931 * @link http://php.net/manual/en/function.strnatcasecmp.php
 932 * @param string $str1 <p>
 933 * The first string.
 934 * </p>
 935 * @param string $str2 <p>
 936 * The second string.
 937 * </p>
 938 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 939 * str1 is less than str2 &gt;
 940 * 0 if str1 is greater than
 941 * str2, and 0 if they are equal.
 942 */
 943function strnatcasecmp ($str1, $str2) {}
 944
 945/**
 946 * (PHP 4, PHP 5)<br/>
 947 * Count the number of substring occurrences
 948 * @link http://php.net/manual/en/function.substr-count.php
 949 * @param string $haystack <p>
 950 * The string to search in
 951 * </p>
 952 * @param string $needle <p>
 953 * The substring to search for
 954 * </p>
 955 * @param int $offset [optional] <p>
 956 * The offset where to start counting
 957 * </p>
 958 * @param int $length [optional] <p>
 959 * The maximum length after the specified offset to search for the
 960 * substring. It outputs a warning if the offset plus the length is
 961 * greater than the haystack length.
 962 * </p>
 963 * @return int This functions returns an integer.
 964 */
 965function substr_count ($haystack, $needle, $offset = null, $length = null) {}
 966
 967/**
 968 * (PHP 4, PHP 5)<br/>
 969 * Finds the length of the first segment of a string consisting
 970   entirely of characters contained within a given mask.
 971 * @link http://php.net/manual/en/function.strspn.php
 972 * @param string $subject <p>
 973 * The string to examine.
 974 * </p>
 975 * @param string $mask <p>
 976 * The list of allowable characters to include in counted segments.
 977 * </p>
 978 * @param int $start [optional] <p>
 979 * The position in subject to
 980 * start searching.
 981 * </p>
 982 * <p>
 983 * If start is given and is non-negative,
 984 * then strspn will begin
 985 * examining subject at
 986 * the start'th position. For instance, in
 987 * the string 'abcdef', the character at
 988 * position 0 is 'a', the
 989 * character at position 2 is
 990 * 'c', and so forth.
 991 * </p>
 992 * <p>
 993 * If start is given and is negative,
 994 * then strspn will begin
 995 * examining subject at
 996 * the start'th position from the end
 997 * of subject.
 998 * </p>
 999 * @param int $length [optional] <p>
1000 * The length of the segment from subject
1001 * to examine. 
1002 * </p>
1003 * <p>
1004 * If length is given and is non-negative,
1005 * then subject will be examined
1006 * for length characters after the starting
1007 * position.
1008 * </p>
1009 * <p>
1010 * If lengthis given and is negative,
1011 * then subject will be examined from the
1012 * starting position up to length
1013 * characters from the end of subject.
1014 * </p>
1015 * @return int the length of the initial segment of str1
1016 * which consists entirely of characters in str2.
1017 */
1018function strspn ($subject, $mask, $start = null, $length = null) {}
1019
1020/**
1021 * (PHP 4, PHP 5)<br/>
1022 * Find length of initial segment not matching mask
1023 * @link http://php.net/manual/en/function.strcspn.php
1024 * @param string $str1 <p>
1025 * The first string.
1026 * </p>
1027 * @param string $str2 <p>
1028 * The second string.
1029 * </p>
1030 * @param int $start [optional] <p>
1031 * The start position of the string to examine.
1032 * </p>
1033 * @param int $length [optional] <p>
1034 * The length of the string to examine.
1035 * </p>
1036 * @return int the length of the segment as an integer.
1037 */
1038function strcspn ($str1, $str2, $start = null, $length = null) {}
1039
1040/**
1041 * (PHP 4, PHP 5)<br/>
1042 * Tokenize string
1043 * Note that only the first call to strtok uses the string argument.
1044 * Every subsequent call to strtok only needs the token to use, as it keeps track of where it is in the current string.
1045 * To start over, or to tokenize a new string you simply call strtok with the string argument again to initialize it.
1046 * Note that you may put multiple tokens in the token parameter.
1047 * The string will be tokenized when any one of the characters in the argument are found.
1048 * @link http://php.net/manual/en/function.strtok.php
1049 * @param string $str [optional] <p>
1050 * The string being split up into smaller strings (tokens).
1051 * </p>
1052 * @param string $token <p>
1053 * The delimiter used when splitting up str.
1054 * </p>
1055 * @return string A string token.
1056 */
1057function strtok ($str = null, $token) {}
1058
1059
1060// End of standard v.5.3.1-0.dotdeb.1
1061?>