PageRenderTime 17ms CodeModel.GetById 2ms app.highlight 29ms RepoModel.GetById 1ms app.codeStats 1ms

/www/.metadata/.plugins/org.eclipse.php.core/__language__/ea1b290a/standard.php

http://iprn.googlecode.com/
PHP | 2218 lines | 115 code | 114 blank | 1989 comment | 0 complexity | df22207fbe33cd3fa58d045760fe0378 MD5 | raw file
   1<?php
   2
   3// Start of standard v.5.2.10
   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 * Returns the value of a constant
  39 * @link http://www.php.net/manual/en/function.constant.php
  40 * @param name string <p>
  41 * The constant name.
  42 * </p>
  43 * @return mixed the value of the constant, or &null; if the constant is not
  44 * defined.
  45 */
  46function constant ($name) {}
  47
  48/**
  49 * Convert binary data into hexadecimal representation
  50 * @link http://www.php.net/manual/en/function.bin2hex.php
  51 * @param str string <p>
  52 * A character.
  53 * </p>
  54 * @return string the hexadecimal representation of the given string.
  55 */
  56function bin2hex ($str) {}
  57
  58/**
  59 * Delay execution
  60 * @link http://www.php.net/manual/en/function.sleep.php
  61 * @param seconds int <p>
  62 * Halt time in seconds.
  63 * </p>
  64 * @return int zero on success, or false on errors. If the call was interrupted
  65 * by a signal, sleep returns the number of seconds left
  66 * to sleep.
  67 */
  68function sleep ($seconds) {}
  69
  70/**
  71 * Delay execution in microseconds
  72 * @link http://www.php.net/manual/en/function.usleep.php
  73 * @param micro_seconds int <p>
  74 * Halt time in micro seconds. A micro second is one millionth of a
  75 * second.
  76 * </p>
  77 * @return void 
  78 */
  79function usleep ($micro_seconds) {}
  80
  81/**
  82 * Flush the output buffer
  83 * @link http://www.php.net/manual/en/function.flush.php
  84 * @return void 
  85 */
  86function flush () {}
  87
  88/**
  89 * Wraps a string to a given number of characters
  90 * @link http://www.php.net/manual/en/function.wordwrap.php
  91 * @param str string <p>
  92 * The input string.
  93 * </p>
  94 * @param width int[optional] <p>
  95 * The column width.
  96 * </p>
  97 * @param break string[optional] <p>
  98 * The line is broken using the optional
  99 * break parameter.
 100 * </p>
 101 * @param cut bool[optional] <p>
 102 * If the cut is set to true, the string is
 103 * always wrapped at or before the specified width. So if you have
 104 * a word that is larger than the given width, it is broken apart.
 105 * (See second example).
 106 * </p>
 107 * @return string the given string wrapped at the specified column.
 108 */
 109function wordwrap ($str, $width = null, $break = null, $cut = null) {}
 110
 111/**
 112 * Convert special characters to HTML entities
 113 * @link http://www.php.net/manual/en/function.htmlspecialchars.php
 114 * @param string string <p>
 115 * The string being converted.
 116 * </p>
 117 * @param quote_style int[optional] <p>
 118 * The optional second argument, quote_style, tells
 119 * the function what to do with single and double quote characters.
 120 * The default mode, ENT_COMPAT, is the backwards compatible mode
 121 * which only translates the double-quote character and leaves the
 122 * single-quote untranslated. If ENT_QUOTES is set, both single and
 123 * double quotes are translated and if ENT_NOQUOTES is set neither
 124 * single nor double quotes are translated.
 125 * </p>
 126 * @param charset string[optional] <p>
 127 * Defines character set used in conversion.
 128 * The default character set is ISO-8859-1.
 129 * </p>
 130 * <p>
 131 * For the purposes of this function, the charsets
 132 * ISO-8859-1, ISO-8859-15,
 133 * UTF-8, cp866,
 134 * cp1251, cp1252, and
 135 * KOI8-R are effectively equivalent, as the
 136 * characters affected by htmlspecialchars
 137 * occupy the same positions in all of these charsets.
 138 * </p>
 139 * &reference.strings.charsets;
 140 * @param double_encode bool[optional] <p>
 141 * When double_encode is turned off PHP will not
 142 * encode existing html entities, the default is to convert everything.
 143 * </p>
 144 * @return string The converted string.
 145 */
 146function htmlspecialchars ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 147
 148/**
 149 * Convert all applicable characters to HTML entities
 150 * @link http://www.php.net/manual/en/function.htmlentities.php
 151 * @param string string <p>
 152 * The input string.
 153 * </p>
 154 * @param quote_style int[optional] <p>
 155 * Like htmlspecialchars, the optional second
 156 * quote_style parameter lets you define what will
 157 * be done with 'single' and "double" quotes. It takes on one of three
 158 * constants with the default being ENT_COMPAT:
 159 * <table>
 160 * Available quote_style constants
 161 * <tr valign="top">
 162 * <td>Constant Name</td>
 163 * <td>Description</td>
 164 * </tr>
 165 * <tr valign="top">
 166 * <td>ENT_COMPAT</td>
 167 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 168 * </tr>
 169 * <tr valign="top">
 170 * <td>ENT_QUOTES</td>
 171 * <td>Will convert both double and single quotes.</td>
 172 * </tr>
 173 * <tr valign="top">
 174 * <td>ENT_NOQUOTES</td>
 175 * <td>Will leave both double and single quotes unconverted.</td>
 176 * </tr>
 177 * </table>
 178 * </p>
 179 * @param charset string[optional] <p>
 180 * Like htmlspecialchars, it takes an optional
 181 * third argument charset which defines character
 182 * set used in conversion.
 183 * Presently, the ISO-8859-1 character set is used as the default.
 184 * </p>
 185 * &reference.strings.charsets;
 186 * @param double_encode bool[optional] <p>
 187 * When double_encode is turned off PHP will not
 188 * encode existing html entities. The default is to convert everything.
 189 * </p>
 190 * @return string the encoded string.
 191 */
 192function htmlentities ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 193
 194/**
 195 * Convert all HTML entities to their applicable characters
 196 * @link http://www.php.net/manual/en/function.html-entity-decode.php
 197 * @param string string <p>
 198 * The input string.
 199 * </p>
 200 * @param quote_style int[optional] <p>
 201 * The optional second quote_style parameter lets
 202 * you define what will be done with 'single' and "double" quotes. It takes
 203 * on one of three constants with the default being
 204 * ENT_COMPAT:
 205 * <table>
 206 * Available quote_style constants
 207 * <tr valign="top">
 208 * <td>Constant Name</td>
 209 * <td>Description</td>
 210 * </tr>
 211 * <tr valign="top">
 212 * <td>ENT_COMPAT</td>
 213 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 214 * </tr>
 215 * <tr valign="top">
 216 * <td>ENT_QUOTES</td>
 217 * <td>Will convert both double and single quotes.</td>
 218 * </tr>
 219 * <tr valign="top">
 220 * <td>ENT_NOQUOTES</td>
 221 * <td>Will leave both double and single quotes unconverted.</td>
 222 * </tr>
 223 * </table>
 224 * </p>
 225 * @param charset string[optional] <p>
 226 * The ISO-8859-1 character set is used as default for the optional third
 227 * charset. This defines the character set used in
 228 * conversion.
 229 * </p>
 230 * &reference.strings.charsets;
 231 * @return string the decoded string.
 232 */
 233function html_entity_decode ($string, $quote_style = null, $charset = null) {}
 234
 235/**
 236 * Convert special HTML entities back to characters
 237 * @link http://www.php.net/manual/en/function.htmlspecialchars-decode.php
 238 * @param string string <p>
 239 * The string to decode
 240 * </p>
 241 * @param quote_style int[optional] <p>
 242 * The quote style. One of the following constants:
 243 * <table>
 244 * quote_style constants
 245 * <tr valign="top">
 246 * <td>Constant Name</td>
 247 * <td>Description</td>
 248 * </tr>
 249 * <tr valign="top">
 250 * <td>ENT_COMPAT</td>
 251 * <td>Will convert double-quotes and leave single-quotes alone
 252 * (default)</td>
 253 * </tr>
 254 * <tr valign="top">
 255 * <td>ENT_QUOTES</td>
 256 * <td>Will convert both double and single quotes</td>
 257 * </tr>
 258 * <tr valign="top">
 259 * <td>ENT_NOQUOTES</td>
 260 * <td>Will leave both double and single quotes unconverted</td>
 261 * </tr>
 262 * </table>
 263 * </p>
 264 * @return string the decoded string.
 265 */
 266function htmlspecialchars_decode ($string, $quote_style = null) {}
 267
 268/**
 269 * Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
 270 * @link http://www.php.net/manual/en/function.get-html-translation-table.php
 271 * @param table int[optional] <p>
 272 * There are two new constants (HTML_ENTITIES,
 273 * HTML_SPECIALCHARS) that allow you to specify the
 274 * table you want.
 275 * </p>
 276 * @param quote_style int[optional] <p>
 277 * Like the htmlspecialchars and
 278 * htmlentities functions you can optionally specify
 279 * the quote_style you are working with.
 280 * See the description
 281 * of these modes in htmlspecialchars.
 282 * </p>
 283 * @return array the translation table as an array.
 284 */
 285function get_html_translation_table ($table = null, $quote_style = null) {}
 286
 287/**
 288 * Calculate the sha1 hash of a string
 289 * @link http://www.php.net/manual/en/function.sha1.php
 290 * @param str string <p>
 291 * The input string.
 292 * </p>
 293 * @param raw_output bool[optional] <p>
 294 * If the optional raw_output is set to true,
 295 * then the sha1 digest is instead returned in raw binary format with a
 296 * length of 20, otherwise the returned value is a 40-character
 297 * hexadecimal number.
 298 * </p>
 299 * @return string the sha1 hash as a string.
 300 */
 301function sha1 ($str, $raw_output = null) {}
 302
 303/**
 304 * Calculate the sha1 hash of a file
 305 * @link http://www.php.net/manual/en/function.sha1-file.php
 306 * @param filename string <p>
 307 * The filename of the file to hash.
 308 * </p>
 309 * @param raw_output bool[optional] <p>
 310 * When true, returns the digest in raw binary format with a length of
 311 * 20.
 312 * </p>
 313 * @return string a string on success, false otherwise.
 314 */
 315function sha1_file ($filename, $raw_output = null) {}
 316
 317/**
 318 * Calculate the md5 hash of a string
 319 * @link http://www.php.net/manual/en/function.md5.php
 320 * @param str string <p>
 321 * The string.
 322 * </p>
 323 * @param raw_output bool[optional] <p>
 324 * If the optional raw_output is set to true,
 325 * then the md5 digest is instead returned in raw binary format with a
 326 * length of 16.
 327 * </p>
 328 * @return string the hash as a 32-character hexadecimal number.
 329 */
 330function md5 ($str, $raw_output = null) {}
 331
 332/**
 333 * Calculates the md5 hash of a given file
 334 * @link http://www.php.net/manual/en/function.md5-file.php
 335 * @param filename string <p>
 336 * The filename
 337 * </p>
 338 * @param raw_output bool[optional] <p>
 339 * When true, returns the digest in raw binary format with a length of
 340 * 16.
 341 * </p>
 342 * @return string a string on success, false otherwise.
 343 */
 344function md5_file ($filename, $raw_output = null) {}
 345
 346/**
 347 * Calculates the crc32 polynomial of a string
 348 * @link http://www.php.net/manual/en/function.crc32.php
 349 * @param str string <p>
 350 * The data.
 351 * </p>
 352 * @return int the crc32 checksum of str as an integer.
 353 */
 354function crc32 ($str) {}
 355
 356/**
 357 * Parse a binary IPTC block into single tags.
 358 * @link http://www.php.net/manual/en/function.iptcparse.php
 359 * @param iptcblock string <p>
 360 * A binary IPTC block.
 361 * </p>
 362 * @return array an array using the tagmarker as an index and the value as the
 363 * value. It returns false on error or if no IPTC data was found.
 364 */
 365function iptcparse ($iptcblock) {}
 366
 367/**
 368 * Embeds binary IPTC data into a JPEG image
 369 * @link http://www.php.net/manual/en/function.iptcembed.php
 370 * @param iptcdata string <p>
 371 * The data to be written.
 372 * </p>
 373 * @param jpeg_file_name string <p>
 374 * Path to the JPEG image.
 375 * </p>
 376 * @param spool int[optional] <p>
 377 * Spool flag. If the spool flag is over 2 then the JPEG will be 
 378 * returned as a string.
 379 * </p>
 380 * @return mixed If success and spool flag is lower than 2 then the JPEG will not be 
 381 * returned as a string, false on errors.
 382 */
 383function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
 384
 385/**
 386 * Get the size of an image
 387 * @link http://www.php.net/manual/en/function.getimagesize.php
 388 * @param filename string <p>
 389 * This parameter specifies the file you wish to retrieve information
 390 * about. It can reference a local file or (configuration permitting) a
 391 * remote file using one of the supported streams. 
 392 * </p>
 393 * @param imageinfo array[optional] <p>
 394 * This optional parameter allows you to extract some extended
 395 * information from the image file. Currently, this will return the
 396 * different JPG APP markers as an associative array.
 397 * Some programs use these APP markers to embed text information in 
 398 * images. A very common one is to embed 
 399 * IPTC information in the APP13 marker.
 400 * You can use the iptcparse function to parse the
 401 * binary APP13 marker into something readable.
 402 * </p>
 403 * @return array an array with 7 elements.
 404 * </p>
 405 * <p>
 406 * Index 0 and 1 contains respectively the width and the height of the image.
 407 * </p>
 408 * <p>
 409 * Some formats may contain no image or may contain multiple images. In these
 410 * cases, getimagesize might not be able to properly
 411 * determine the image size. getimagesize will return
 412 * zero for width and height in these cases.
 413 * </p>
 414 * <p>
 415 * Index 2 is one of the IMAGETYPE_XXX constants indicating 
 416 * the type of the image.
 417 * </p>
 418 * <p>
 419 * Index 3 is a text string with the correct 
 420 * height="yyy" width="xxx" string that can be used
 421 * directly in an IMG tag.
 422 * </p>
 423 * <p>
 424 * mime is the correspondant MIME type of the image.
 425 * This information can be used to deliver images with correct the HTTP 
 426 * Content-type header:
 427 * getimagesize and MIME types
 428 * ]]>
 429 * </p>
 430 * <p>
 431 * channels will be 3 for RGB pictures and 4 for CMYK
 432 * pictures.
 433 * </p>
 434 * <p>
 435 * bits is the number of bits for each color.
 436 * </p>
 437 * <p>
 438 * For some image types, the presence of channels and
 439 * bits values can be a bit
 440 * confusing. As an example, GIF always uses 3 channels
 441 * per pixel, but the number of bits per pixel cannot be calculated for an
 442 * animated GIF with a global color table.
 443 * </p>
 444 * <p>
 445 * On failure, false is returned.
 446 */
 447function getimagesize ($filename, array &$imageinfo = null) {}
 448
 449/**
 450 * Get Mime-Type for image-type returned by getimagesize,
 451   exif_read_data, exif_thumbnail, exif_imagetype
 452 * @link http://www.php.net/manual/en/function.image-type-to-mime-type.php
 453 * @param imagetype int <p>
 454 * One of the IMAGETYPE_XXX constants.
 455 * </p>
 456 * @return string The returned values are as follows
 457 * <table>
 458 * Returned values Constants
 459 * <tr valign="top">
 460 * <td>imagetype</td>
 461 * <td>Returned value</td>
 462 * </tr>
 463 * <tr valign="top">
 464 * <td>IMAGETYPE_GIF</td>
 465 * <td>image/gif</td>
 466 * </tr>
 467 * <tr valign="top">
 468 * <td>IMAGETYPE_JPEG</td>
 469 * <td>image/jpeg</td>
 470 * </tr>
 471 * <tr valign="top">
 472 * <td>IMAGETYPE_PNG</td>
 473 * <td>image/png</td>
 474 * </tr>
 475 * <tr valign="top">
 476 * <td>IMAGETYPE_SWF</td>
 477 * <td>application/x-shockwave-flash</td>
 478 * </tr>
 479 * <tr valign="top">
 480 * <td>IMAGETYPE_PSD</td>
 481 * <td>image/psd</td>
 482 * </tr>
 483 * <tr valign="top">
 484 * <td>IMAGETYPE_BMP</td>
 485 * <td>image/bmp</td>
 486 * </tr>
 487 * <tr valign="top">
 488 * <td>IMAGETYPE_TIFF_II (intel byte order)</td>
 489 * <td>image/tiff</td>
 490 * </tr>
 491 * <tr valign="top">
 492 * <td>
 493 * IMAGETYPE_TIFF_MM (motorola byte order)
 494 * </td>
 495 * <td>image/tiff</td>
 496 * </tr>
 497 * <tr valign="top">
 498 * <td>IMAGETYPE_JPC</td>
 499 * <td>application/octet-stream</td>
 500 * </tr>
 501 * <tr valign="top">
 502 * <td>IMAGETYPE_JP2</td>
 503 * <td>image/jp2</td>
 504 * </tr>
 505 * <tr valign="top">
 506 * <td>IMAGETYPE_JPX</td>
 507 * <td>application/octet-stream</td>
 508 * </tr>
 509 * <tr valign="top">
 510 * <td>IMAGETYPE_JB2</td>
 511 * <td>application/octet-stream</td>
 512 * </tr>
 513 * <tr valign="top">
 514 * <td>IMAGETYPE_SWC</td>
 515 * <td>application/x-shockwave-flash</td>
 516 * </tr>
 517 * <tr valign="top">
 518 * <td>IMAGETYPE_IFF</td>
 519 * <td>image/iff</td>
 520 * </tr>
 521 * <tr valign="top">
 522 * <td>IMAGETYPE_WBMP</td>
 523 * <td>image/vnd.wap.wbmp</td>
 524 * </tr>
 525 * <tr valign="top">
 526 * <td>IMAGETYPE_XBM</td>
 527 * <td>image/xbm</td>
 528 * </tr>
 529 * <tr valign="top">
 530 * <td>IMAGETYPE_ICO</td>
 531 * <td>image/vnd.microsoft.icon</td>
 532 * </tr>
 533 * </table>
 534 */
 535function image_type_to_mime_type ($imagetype) {}
 536
 537/**
 538 * Get file extension for image type
 539 * @link http://www.php.net/manual/en/function.image-type-to-extension.php
 540 * @param imagetype int <p>
 541 * One of the IMAGETYPE_XXX constant.
 542 * </p>
 543 * @param include_dot bool[optional] <p>
 544 * Whether to prepend a dot to the extension or not. Default to true.
 545 * </p>
 546 * @return string A string with the extension corresponding to the given image type.
 547 */
 548function image_type_to_extension ($imagetype, $include_dot = null) {}
 549
 550/**
 551 * Outputs lots of PHP information
 552 * @link http://www.php.net/manual/en/function.phpinfo.php
 553 * @param what int[optional] <p>
 554 * The output may be customized by passing one or more of the
 555 * following constants bitwise values summed
 556 * together in the optional what parameter.
 557 * One can also combine the respective constants or bitwise values
 558 * together with the or operator.
 559 * </p>
 560 * <p>
 561 * <table>
 562 * phpinfo options
 563 * <tr valign="top">
 564 * <td>Name (constant)</td>
 565 * <td>Value</td>
 566 * <td>Description</td>
 567 * </tr>
 568 * <tr valign="top">
 569 * <td>INFO_GENERAL</td>
 570 * <td>1</td>
 571 * <td>
 572 * The configuration line, &php.ini; location, build date, Web
 573 * Server, System and more.
 574 * </td>
 575 * </tr>
 576 * <tr valign="top">
 577 * <td>INFO_CREDITS</td>
 578 * <td>2</td>
 579 * <td>
 580 * PHP Credits. See also phpcredits.
 581 * </td>
 582 * </tr>
 583 * <tr valign="top">
 584 * <td>INFO_CONFIGURATION</td>
 585 * <td>4</td>
 586 * <td>
 587 * Current Local and Master values for PHP directives. See
 588 * also ini_get.
 589 * </td>
 590 * </tr>
 591 * <tr valign="top">
 592 * <td>INFO_MODULES</td>
 593 * <td>8</td>
 594 * <td>
 595 * Loaded modules and their respective settings. See also
 596 * get_loaded_extensions.
 597 * </td>
 598 * </tr>
 599 * <tr valign="top">
 600 * <td>INFO_ENVIRONMENT</td>
 601 * <td>16</td>
 602 * <td>
 603 * Environment Variable information that's also available in
 604 * $_ENV.
 605 * </td>
 606 * </tr>
 607 * <tr valign="top">
 608 * <td>INFO_VARIABLES</td>
 609 * <td>32</td>
 610 * <td>
 611 * Shows all 
 612 * predefined variables from EGPCS (Environment, GET,
 613 * POST, Cookie, Server).
 614 * </td>
 615 * </tr>
 616 * <tr valign="top">
 617 * <td>INFO_LICENSE</td>
 618 * <td>64</td>
 619 * <td>
 620 * PHP License information. See also the license FAQ.
 621 * </td>
 622 * </tr>
 623 * <tr valign="top">
 624 * <td>INFO_ALL</td>
 625 * <td>-1</td>
 626 * <td>
 627 * Shows all of the above.
 628 * </td>
 629 * </tr>
 630 * </table>
 631 * </p>
 632 * @return bool Returns true on success or false on failure.
 633 */
 634function phpinfo ($what = null) {}
 635
 636/**
 637 * Gets the current PHP version
 638 * @link http://www.php.net/manual/en/function.phpversion.php
 639 * @param extension string[optional] <p>
 640 * An optional extension name.
 641 * </p>
 642 * @return string If the optional extension parameter is
 643 * specified, phpversion returns the version of that
 644 * extension, or false if there is no version information associated or
 645 * the extension isn't enabled.
 646 */
 647function phpversion ($extension = null) {}
 648
 649/**
 650 * Prints out the credits for PHP
 651 * @link http://www.php.net/manual/en/function.phpcredits.php
 652 * @param flag int[optional] <p>
 653 * To generate a custom credits page, you may want to use the
 654 * flag parameter.
 655 * </p>
 656 * <p>
 657 * <table>
 658 * Pre-defined phpcredits flags
 659 * <tr valign="top">
 660 * <td>name</td>
 661 * <td>description</td>
 662 * </tr>
 663 * <tr valign="top">
 664 * <td>CREDITS_ALL</td>
 665 * <td>
 666 * All the credits, equivalent to using: CREDITS_DOCS +
 667 * CREDITS_GENERAL + CREDITS_GROUP +
 668 * CREDITS_MODULES + CREDITS_FULLPAGE.
 669 * It generates a complete stand-alone HTML page with the appropriate tags.
 670 * </td>
 671 * </tr>
 672 * <tr valign="top">
 673 * <td>CREDITS_DOCS</td>
 674 * <td>The credits for the documentation team</td>
 675 * </tr>
 676 * <tr valign="top">
 677 * <td>CREDITS_FULLPAGE</td>
 678 * <td>
 679 * Usually used in combination with the other flags. Indicates
 680 * that a complete stand-alone HTML page needs to be
 681 * printed including the information indicated by the other
 682 * flags.
 683 * </td>
 684 * </tr>
 685 * <tr valign="top">
 686 * <td>CREDITS_GENERAL</td>
 687 * <td>
 688 * General credits: Language design and concept, PHP 4.0
 689 * authors and SAPI module.
 690 * </td>
 691 * </tr>
 692 * <tr valign="top">
 693 * <td>CREDITS_GROUP</td>
 694 * <td>A list of the core developers</td>
 695 * </tr>
 696 * <tr valign="top">
 697 * <td>CREDITS_MODULES</td>
 698 * <td>
 699 * A list of the extension modules for PHP, and their authors
 700 * </td>
 701 * </tr>
 702 * <tr valign="top">
 703 * <td>CREDITS_SAPI</td>
 704 * <td>
 705 * A list of the server API modules for PHP, and their authors
 706 * </td>
 707 * </tr>
 708 * </table>
 709 * </p>
 710 * @return bool Returns true on success or false on failure.
 711 */
 712function phpcredits ($flag = null) {}
 713
 714/**
 715 * Gets the logo guid
 716 * @link http://www.php.net/manual/en/function.php-logo-guid.php
 717 * @return string PHPE9568F34-D428-11d2-A769-00AA001ACF42.
 718 */
 719function php_logo_guid () {}
 720
 721function php_real_logo_guid () {}
 722
 723function php_egg_logo_guid () {}
 724
 725/**
 726 * Gets the Zend guid
 727 * @link http://www.php.net/manual/en/function.zend-logo-guid.php
 728 * @return string PHPE9568F35-D428-11d2-A769-00AA001ACF42.
 729 */
 730function zend_logo_guid () {}
 731
 732/**
 733 * Returns the type of interface between web server and PHP
 734 * @link http://www.php.net/manual/en/function.php-sapi-name.php
 735 * @return string the interface type, as a lowercase string.
 736 * </p>
 737 * <p>
 738 * Although not exhaustive, the possible return values include 
 739 * aolserver, apache, 
 740 * apache2filter, apache2handler, 
 741 * caudium, cgi (until PHP 5.3), 
 742 * cgi-fcgi, cli, 
 743 * continuity, embed,
 744 * isapi, litespeed, 
 745 * milter, nsapi, 
 746 * phttpd, pi3web, roxen,
 747 * thttpd, tux, and webjames.
 748 */
 749function php_sapi_name () {}
 750
 751/**
 752 * Returns information about the operating system PHP is running on
 753 * @link http://www.php.net/manual/en/function.php-uname.php
 754 * @param mode string[optional] <p>
 755 * mode is a single character that defines what
 756 * information is returned:
 757 * 'a': This is the default. Contains all modes in
 758 * the sequence "s n r v m".
 759 * @return string the description, as a string.
 760 */
 761function php_uname ($mode = null) {}
 762
 763/**
 764 * Return a list of .ini files parsed from the additional ini dir
 765 * @link http://www.php.net/manual/en/function.php-ini-scanned-files.php
 766 * @return string a comma-separated string of .ini files on success. Each comma is
 767 * followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
 768 * false is returned. If it was set and the directory was empty, an
 769 * empty string is returned. If a file is unrecognizable, the file will
 770 * still make it into the returned string but a PHP error will also result.
 771 * This PHP error will be seen both at compile time and while using
 772 * php_ini_scanned_files.
 773 */
 774function php_ini_scanned_files () {}
 775
 776/**
 777 * Retrieve a path to the loaded php.ini file
 778 * @link http://www.php.net/manual/en/function.php-ini-loaded-file.php
 779 * @return string The loaded &php.ini; path, or false if one is not loaded.
 780 */
 781function php_ini_loaded_file () {}
 782
 783/**
 784 * String comparisons using a "natural order" algorithm
 785 * @link http://www.php.net/manual/en/function.strnatcmp.php
 786 * @param str1 string <p>
 787 * The first string.
 788 * </p>
 789 * @param str2 string <p>
 790 * The second string.
 791 * </p>
 792 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 793 * str1 is less than str2; &gt;
 794 * 0 if str1 is greater than
 795 * str2, and 0 if they are equal.
 796 */
 797function strnatcmp ($str1, $str2) {}
 798
 799/**
 800 * Case insensitive string comparisons using a "natural order" algorithm
 801 * @link http://www.php.net/manual/en/function.strnatcasecmp.php
 802 * @param str1 string <p>
 803 * The first string.
 804 * </p>
 805 * @param str2 string <p>
 806 * The second string.
 807 * </p>
 808 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 809 * str1 is less than str2 &gt;
 810 * 0 if str1 is greater than
 811 * str2, and 0 if they are equal.
 812 */
 813function strnatcasecmp ($str1, $str2) {}
 814
 815/**
 816 * Count the number of substring occurrences
 817 * @link http://www.php.net/manual/en/function.substr-count.php
 818 * @param haystack string <p>
 819 * The string to search in
 820 * </p>
 821 * @param needle string <p>
 822 * The substring to search for
 823 * </p>
 824 * @param offset int[optional] <p>
 825 * The offset where to start counting
 826 * </p>
 827 * @param length int[optional] <p>
 828 * The maximum length after the specified offset to search for the
 829 * substring. It outputs a warning if the offset plus the length is
 830 * greater than the haystack length.
 831 * </p>
 832 * @return int This functions returns an integer.
 833 */
 834function substr_count ($haystack, $needle, $offset = null, $length = null) {}
 835
 836/**
 837 * Finds the length of the first segment of a string consisting
 838   entirely of characters contained within a given mask.
 839 * @link http://www.php.net/manual/en/function.strspn.php
 840 * @param subject string <p>
 841 * The string to examine.
 842 * </p>
 843 * @param mask string <p>
 844 * The list of allowable characters to include in counted segments.
 845 * </p>
 846 * @param start int[optional] <p>
 847 * The position in subject to
 848 * start searching.
 849 * </p>
 850 * <p>
 851 * If start is given and is non-negative,
 852 * then strspn will begin
 853 * examining subject at
 854 * the start'th position. For instance, in
 855 * the string 'abcdef', the character at
 856 * position 0 is 'a', the
 857 * character at position 2 is
 858 * 'c', and so forth.
 859 * </p>
 860 * <p>
 861 * If start is given and is negative,
 862 * then strspn will begin
 863 * examining subject at
 864 * the start'th position from the end
 865 * of subject.
 866 * </p>
 867 * @param length int[optional] <p>
 868 * The length of the segment from subject
 869 * to examine. 
 870 * </p>
 871 * <p>
 872 * If length is given and is non-negative,
 873 * then subject will be examined
 874 * for length characters after the starting
 875 * position.
 876 * </p>
 877 * <p>
 878 * If lengthis given and is negative,
 879 * then subject will be examined from the
 880 * starting position up to length
 881 * characters from the end of subject.
 882 * </p>
 883 * @return int the length of the initial segment of str1
 884 * which consists entirely of characters in str2.
 885 */
 886function strspn ($subject, $mask, $start = null, $length = null) {}
 887
 888/**
 889 * Find length of initial segment not matching mask
 890 * @link http://www.php.net/manual/en/function.strcspn.php
 891 * @param str1 string <p>
 892 * The first string.
 893 * </p>
 894 * @param str2 string <p>
 895 * The second string.
 896 * </p>
 897 * @param start int[optional] <p>
 898 * The start position of the string to examine.
 899 * </p>
 900 * @param length int[optional] <p>
 901 * The length of the string to examine.
 902 * </p>
 903 * @return int the length of the segment as an integer.
 904 */
 905function strcspn ($str1, $str2, $start = null, $length = null) {}
 906
 907/**
 908 * Tokenize string
 909 * @link http://www.php.net/manual/en/function.strtok.php
 910 * @param str string <p>
 911 * The string being split up into smaller strings (tokens).
 912 * </p>
 913 * @param token string <p>
 914 * The delimiter used when splitting up str.
 915 * </p>
 916 * @return string A string token.
 917 */
 918function strtok ($str, $token) {}
 919
 920/**
 921 * Make a string uppercase
 922 * @link http://www.php.net/manual/en/function.strtoupper.php
 923 * @param string string <p>
 924 * The input string.
 925 * </p>
 926 * @return string the uppercased string.
 927 */
 928function strtoupper ($string) {}
 929
 930/**
 931 * Make a string lowercase
 932 * @link http://www.php.net/manual/en/function.strtolower.php
 933 * @param str string <p>
 934 * The input string.
 935 * </p>
 936 * @return string the lowercased string.
 937 */
 938function strtolower ($str) {}
 939
 940/**
 941 * Find position of first occurrence of a string
 942 * @link http://www.php.net/manual/en/function.strpos.php
 943 * @param haystack string <p>
 944 * The string to search in
 945 * </p>
 946 * @param needle mixed <p>
 947 * If needle is not a string, it is converted
 948 * to an integer and applied as the ordinal value of a character.
 949 * </p>
 950 * @param offset int[optional] <p>
 951 * The optional offset parameter allows you
 952 * to specify which character in haystack to
 953 * start searching. The position returned is still relative to the
 954 * beginning of haystack.
 955 * </p>
 956 * @return int the position as an integer. If needle is
 957 * not found, strpos will return boolean
 958 * false.
 959 */
 960function strpos ($haystack, $needle, $offset = null) {}
 961
 962/**
 963 * Find position of first occurrence of a case-insensitive string
 964 * @link http://www.php.net/manual/en/function.stripos.php
 965 * @param haystack string <p>
 966 * The string to search in
 967 * </p>
 968 * @param needle string <p>
 969 * Note that the needle may be a string of one or
 970 * more characters.
 971 * </p>
 972 * <p>
 973 * If needle is not a string, it is converted to
 974 * an integer and applied as the ordinal value of a character.
 975 * </p>
 976 * @param offset int[optional] <p>
 977 * The optional offset parameter allows you
 978 * to specify which character in haystack to
 979 * start searching. The position returned is still relative to the
 980 * beginning of haystack.
 981 * </p>
 982 * @return int If needle is not found,
 983 * stripos will return boolean false.
 984 */
 985function stripos ($haystack, $needle, $offset = null) {}
 986
 987/**
 988 * Find position of last occurrence of a char in a string
 989 * @link http://www.php.net/manual/en/function.strrpos.php
 990 * @param haystack string <p>
 991 * The string to search in.
 992 * </p>
 993 * @param needle string <p>
 994 * If needle is not a string, it is converted
 995 * to an integer and applied as the ordinal value of a character.
 996 * </p>
 997 * @param offset int[optional] <p>
 998 * May be specified to begin searching an arbitrary number of characters into
 999 * the string. Negative values will stop searching at an arbitrary point
1000 * prior to the end of the string.
1001 * </p>
1002 * @return int the position where the needle exists. Returns false if the needle
1003 * was not found.
1004 */
1005function strrpos ($haystack, $needle, $offset = null) {}
1006
1007/**
1008 * Find position of last occurrence of a case-insensitive string in a string
1009 * @link http://www.php.net/manual/en/function.strripos.php
1010 * @param haystack string <p>
1011 * The string to search in
1012 * </p>
1013 * @param needle string <p>
1014 * Note that the needle may be a string of one or
1015 * more characters.
1016 * </p>
1017 * @param offset int[optional] <p>
1018 * The offset parameter may be specified to begin
1019 * searching an arbitrary number of characters into the string.
1020 * </p>
1021 * <p>
1022 * Negative offset values will start the search at
1023 * offset characters from the
1024 * start of the string.
1025 * </p>
1026 * @return int the numerical position of the last occurrence of
1027 * needle. Also note that string positions start at 0,
1028 * and not 1.
1029 * </p>
1030 * <p>
1031 * If needle is not found, false is returned.
1032 */
1033function strripos ($haystack, $needle, $offset = null) {}
1034
1035/**
1036 * Reverse a string
1037 * @link http://www.php.net/manual/en/function.strrev.php
1038 * @param string string <p>
1039 * The string to be reversed.
1040 * </p>
1041 * @return string the reversed string.
1042 */
1043function strrev ($string) {}
1044
1045/**
1046 * Convert logical Hebrew text to visual text
1047 * @link http://www.php.net/manual/en/function.hebrev.php
1048 * @param hebrew_text string <p>
1049 * A Hebrew input string.
1050 * </p>
1051 * @param max_chars_per_line int[optional] <p>
1052 * This optional parameter indicates maximum number of characters per
1053 * line that will be returned.
1054 * </p>
1055 * @return string the visual string.
1056 */
1057function hebrev ($hebrew_text, $max_chars_per_line = null) {}
1058
1059/**
1060 * Convert logical Hebrew text to visual text with newline conversion
1061 * @link http://www.php.net/manual/en/function.hebrevc.php
1062 * @param hebrew_text string <p>
1063 * A Hebrew input string.
1064 * </p>
1065 * @param max_chars_per_line int[optional] <p>
1066 * This optional parameter indicates maximum number of characters per
1067 * line that will be returned.
1068 * </p>
1069 * @return string the visual string.
1070 */
1071function hebrevc ($hebrew_text, $max_chars_per_line = null) {}
1072
1073/**
1074 * Inserts HTML line breaks before all newlines in a string
1075 * @link http://www.php.net/manual/en/function.nl2br.php
1076 * @param string string <p>
1077 * The input string.
1078 * </p>
1079 * @param is_xhtml bool[optional] <p>
1080 * Whenever to use XHTML compatible line breaks or not.
1081 * </p>
1082 * @return string the altered string.
1083 */
1084function nl2br ($string, $is_xhtml = null) {}
1085
1086/**
1087 * Returns filename component of path
1088 * @link http://www.php.net/manual/en/function.basename.php
1089 * @param path string <p>
1090 * A path.
1091 * </p>
1092 * <p>
1093 * On Windows, both slash (/) and backslash
1094 * (\) are used as directory separator character. In
1095 * other environments, it is the forward slash (/).
1096 * </p>
1097 * @param suffix string[optional] <p>
1098 * If the filename ends in suffix this will also
1099 * be cut off.
1100 * </p>
1101 * @return string the base name of the given path.
1102 */
1103function basename ($path, $suffix = null) {}
1104
1105/**
1106 * Returns directory name component of path
1107 * @link http://www.php.net/manual/en/function.dirname.php
1108 * @param path string <p>
1109 * A path.
1110 * </p>
1111 * <p>
1112 * On Windows, both slash (/) and backslash
1113 * (\) are used as directory separator character. In
1114 * other environments, it is the forward slash (/).
1115 * </p>
1116 * @return string the name of the directory. If there are no slashes in
1117 * path, a dot ('.') is returned,
1118 * indicating the current directory. Otherwise, the returned string is
1119 * path with any trailing
1120 * /component removed.
1121 */
1122function dirname ($path) {}
1123
1124/**
1125 * Returns information about a file path
1126 * @link http://www.php.net/manual/en/function.pathinfo.php
1127 * @param path string <p>
1128 * The path being checked.
1129 * </p>
1130 * @param options int[optional] <p>
1131 * You can specify which elements are returned with optional parameter
1132 * options. It composes from
1133 * PATHINFO_DIRNAME,
1134 * PATHINFO_BASENAME,
1135 * PATHINFO_EXTENSION and
1136 * PATHINFO_FILENAME. It
1137 * defaults to return all elements.
1138 * </p>
1139 * @return mixed The following associative array elements are returned:
1140 * dirname, basename,
1141 * extension (if any), and filename.
1142 * </p>
1143 * <p>
1144 * If options is used, this function will return a 
1145 * string if not all elements are requested.
1146 */
1147function pathinfo ($path, $options = null) {}
1148
1149/**
1150 * Un-quotes a quoted string
1151 * @link http://www.php.net/manual/en/function.stripslashes.php
1152 * @param str string <p>
1153 * The input string.
1154 * </p>
1155 * @return string a string with backslashes stripped off.
1156 * (\' becomes ' and so on.)
1157 * Double backslashes (\\) are made into a single
1158 * backslash (\).
1159 */
1160function stripslashes ($str) {}
1161
1162/**
1163 * Un-quote string quoted with <function>addcslashes</function>
1164 * @link http://www.php.net/manual/en/function.stripcslashes.php
1165 * @param str string <p>
1166 * The string to be unescaped.
1167 * </p>
1168 * @return string the unescaped string.
1169 */
1170function stripcslashes ($str) {}
1171
1172/**
1173 * Find first occurrence of a string
1174 * @link http://www.php.net/manual/en/function.strstr.php
1175 * @param haystack string <p>
1176 * The input string.
1177 * </p>
1178 * @param needle mixed <p>
1179 * If needle is not a string, it is converted to
1180 * an integer and applied as the ordinal value of a character.
1181 * </p>
1182 * @param before_needle bool[optional] <p>
1183 * If true, strstr returns
1184 * the part of the haystack before the first
1185 * occurrence of the needle.
1186 * </p>
1187 * @return string the portion of string, or false if needle
1188 * is not found.
1189 */
1190function strstr ($haystack, $needle, $before_needle = null) {}
1191
1192/**
1193 * Case-insensitive <function>strstr</function>
1194 * @link http://www.php.net/manual/en/function.stristr.php
1195 * @param haystack string <p>
1196 * The string to search in
1197 * </p>
1198 * @param needle mixed <p>
1199 * If needle is not a string, it is converted to
1200 * an integer and applied as the ordinal value of a character.
1201 * </p>
1202 * @param before_needle bool[optional] <p>
1203 * If true, stristr
1204 * returns the part of the haystack before the
1205 * first occurrence of the needle.
1206 * </p>
1207 * @return string the matched substring. If needle is not
1208 * found, returns false.
1209 */
1210function stristr ($haystack, $needle, $before_needle = null) {}
1211
1212/**
1213 * Find the last occurrence of a character in a string
1214 * @link http://www.php.net/manual/en/function.strrchr.php
1215 * @param haystack string <p>
1216 * The string to search in
1217 * </p>
1218 * @param needle mixed <p>
1219 * If needle contains more than one character,
1220 * only the first is used. This behavior is different from that of
1221 * strstr.
1222 * </p>
1223 * <p>
1224 * If needle is not a string, it is converted to
1225 * an integer and applied as the ordinal value of a character.
1226 * </p>
1227 * @return string This function returns the portion of string, or false if
1228 * needle is not found.
1229 */
1230function strrchr ($haystack, $needle) {}
1231
1232/**
1233 * Randomly shuffles a string
1234 * @link http://www.php.net/manual/en/function.str-shuffle.php
1235 * @param str string <p>
1236 * The input string.
1237 * </p>
1238 * @return string the shuffled string.
1239 */
1240function str_shuffle ($str) {}
1241
1242/**
1243 * Return information about words used in a string
1244 * @link http://www.php.net/manual/en/function.str-word-count.php
1245 * @param string string <p>
1246 * The string
1247 * </p>
1248 * @param format int[optional] <p>
1249 * Specify the return value of this function. The current supported values
1250 * are:
1251 * 0 - returns the number of words found
1252 * @param charlist string[optional] <p>
1253 * A list of additional characters which will be considered as 'word'
1254 * </p>
1255 * @return mixed an array or an integer, depending on the
1256 * format chosen.
1257 */
1258function str_word_count ($string, $format = null, $charlist = null) {}
1259
1260/**
1261 * Convert a string to an array
1262 * @link http://www.php.net/manual/en/function.str-split.php
1263 * @param string string <p>
1264 * The input string.
1265 * </p>
1266 * @param split_length int[optional] <p>
1267 * Maximum length of the chunk.
1268 * </p>
1269 * @return array If the optional split_length parameter is
1270 * specified, the returned array will be broken down into chunks with each
1271 * being split_length in length, otherwise each chunk
1272 * will be one character in length.
1273 * </p>
1274 * <p>
1275 * false is returned if split_length is less than 1.
1276 * If the split_length length exceeds the length of
1277 * string, the entire string is returned as the first
1278 * (and only) array element.
1279 */
1280function str_split ($string, $split_length = null) {}
1281
1282/**
1283 * Search a string for any of a set of characters
1284 * @link http://www.php.net/manual/en/function.strpbrk.php
1285 * @param haystack string <p>
1286 * The string where char_list is looked for.
1287 * </p>
1288 * @param char_list string <p>
1289 * This parameter is case sensitive.
1290 * </p>
1291 * @return string a string starting from the character found, or false if it is
1292 * not found.
1293 */
1294function strpbrk ($haystack, $char_list) {}
1295
1296/**
1297 * Binary safe comparison of 2 strings from an offset, up to length characters
1298 * @link http://www.php.net/manual/en/function.substr-compare.php
1299 * @param main_str string <p>
1300 * The main string being compared.
1301 * </p>
1302 * @param str string <p>
1303 * The secondary string being compared.
1304 * </p>
1305 * @param offset int <p>
1306 * The start position for the comparison. If negative, it starts counting
1307 * from the end of the string.
1308 * </p>
1309 * @param length int[optional] <p>
1310 * The length of the comparison. The default value is the largest of the
1311 * length of the str compared to the length of
1312 * main_str less the
1313 * offset.
1314 * </p>
1315 * @param case_insensitivity bool[optional] <p>
1316 * If case_insensitivity is true, comparison is
1317 * case insensitive.
1318 * </p>
1319 * @return int &lt; 0 if main_str from position
1320 * offset is less than str, &gt;
1321 * 0 if it is greater than str, and 0 if they are equal.
1322 * If offset is equal to or greater than the length of
1323 * main_str or length is set and
1324 * is less than 1, substr_compare prints a warning and returns
1325 * false.
1326 */
1327function substr_compare ($main_str, $str, $offset, $length = null, $case_insensitivity = null) {}
1328
1329/**
1330 * Locale based string comparison
1331 * @link http://www.php.net/manual/en/function.strcoll.php
1332 * @param str1 string <p>
1333 * The first string.
1334 * </p>
1335 * @param str2 string <p>
1336 * The second string.
1337 * </p>
1338 * @return int &lt; 0 if str1 is less than
1339 * str2; &gt; 0 if
1340 * str1 is greater than
1341 * str2, and 0 if they are equal.
1342 */
1343function strcoll ($str1, $str2) {}
1344
1345/**
1346 * Return part of a string
1347 * @link http://www.php.net/manual/en/function.substr.php
1348 * @param string string <p>
1349 * The input string.
1350 * </p>
1351 * @param start int <p>
1352 * If start is non-negative, the returned string
1353 * will start at the start'th position in
1354 * string, counting from zero. For instance,
1355 * in the string 'abcdef', the character at
1356 * position 0 is 'a', the
1357 * character at position 2 is
1358 * 'c', and so forth.
1359 * </p>
1360 * <p>
1361 * If start is negative, the returned string
1362 * will start at the start'th character
1363 * from the end of string.
1364 * </p>
1365 * <p>
1366 * If string is less than or equal to
1367 * start characters long, false will be returned.
1368 * </p>
1369 * <p>
1370 * Using a negative start
1371 * ]]>
1372 * </p>
1373 * @param length int[optional] <p>
1374 * If length is given and is positive, the string
1375 * returned will contain at most length characters
1376 * beginning from start (depending on the length of
1377 * string).
1378 * </p>
1379 * <p>
1380 * If length is given and is negative, then that many
1381 * characters will be omitted from the end of string
1382 * (after the start position has been calculated when a
1383 * start is negative). If
1384 * start denotes a position beyond this truncation,
1385 * an empty string will be returned.
1386 * </p>
1387 * <p>
1388 * If length is given and is 0,
1389 * false or &null; an empty string will be returned.
1390 * </p>
1391 * Using a negative length
1392 * ]]>
1393 * @return string the extracted part of string&return.falseforfailure;.
1394 */
1395function substr ($string, $start, $length = null) {}
1396
1397/**
1398 * Replace text within a portion of a string
1399 * @link http://www.php.net/manual/en/function.substr-replace.php
1400 * @param string mixed <p>
1401 * The input string.
1402 * </p>
1403 * @param replacement string <p>
1404 * The replacement string.
1405 * </p>
1406 * @param start int <p>
1407 * If start is positive, the replacing will
1408 * begin at the start'th offset into
1409 * string.
1410 * </p>
1411 * <p>
1412 * If start is negative, the replacing will
1413 * begin at the start'th character from the
1414 * end of string.
1415 * </p>
1416 * @param length int[optional] <p>
1417 * If given and is positive, it represents the length of the portion of
1418 * string which is to be replaced. If it is
1419 * negative, it represents the number of characters from the end of
1420 * string at which to stop replacing. If it
1421 * is not given, then it will default to strlen(
1422 * string ); i.e. end the replacing at the
1423 * end of string. Of course, if
1424 * length is zero then this function will have the
1425 * effect of inserting replacement into
1426 * string at the given
1427 * start offset.
1428 * </p>
1429 * @return mixed The result string is returned. If string is an
1430 * array then array is returned.
1431 */
1432function substr_replace ($string, $replacement, $start, $length = null) {}
1433
1434/**
1435 * Quote meta characters
1436 * @link http://www.php.net/manual/en/function.quotemeta.php
1437 * @param str string <p>
1438 * The input string.
1439 * </p>
1440 * @return string the string with meta characters quoted.
1441 */
1442function quotemeta ($str) {}
1443
1444/**
1445 * Make a string's first character uppercase
1446 * @link http://www.php.net/manual/en/function.ucfirst.php
1447 * @param str string <p>
1448 * The input string.
1449 * </p>
1450 * @return string the resulting string.
1451 */
1452function ucfirst ($str) {}
1453
1454/**
1455 * Uppercase the first character of each word in a string
1456 * @link http://www.php.net/manual/en/function.ucwords.php
1457 * @param str string <p>
1458 * The input string.
1459 * </p>
1460 * @return string the modified string.
1461 */
1462function ucwords ($str) {}
1463
1464/**
1465 * Translate certain characters
1466 * @link http://www.php.net/manual/en/function.strtr.php
1467 * @param str string <p>
1468 * The string being translated.
1469 * </p>
1470 * @param from string <p>
1471 * The string being translated to to.
1472 * </p>
1473 * @param to string <p>
1474 * The string replacing from.
1475 * </p>
1476 * @return string This function returns a copy of str,
1477 * translating all occurrences of each character in
1478 * from to the corresponding character in
1479 * to.
1480 */
1481function strtr ($str, $from, $to) {}
1482
1483/**
1484 * Quote string with slashes
1485 * @link http://www.php.net/manual/en/function.addslashes.php
1486 * @param str string <p>
1487 * The string to be escaped.
1488 * </p>
1489 * @return string the escaped string.
1490 */
1491function addslashes ($str) {}
1492
1493/**
1494 * Quote string with slashes in a C style
1495 * @link http://www.php.net/manual/en/function.addcslashes.php
1496 * @param str string <p>
1497 * The string to be escaped.
1498 * </p>
1499 * @param charlist string <p>
1500 * A list of characters to be escaped. If
1501 * charlist contains characters
1502 * \n, \r etc., they are
1503 * converted in C-like style, while other non-alphanumeric characters
1504 * with ASCII codes lower than 32 and higher than 126 converted to
1505 * octal representation.
1506 * </p>
1507 * <p>
1508 * When you define a sequence of characters in the charlist argument
1509 * make sure that you know what characters come between the
1510 * characters that you set as the start and end of the range.
1511 * ]]>
1512 * Also, if the first character in a range has a higher ASCII value
1513 * than the second character in the range, no range will be
1514 * constructed. Only the start, end and period characters will be
1515 * escaped. Use the ord function to find the
1516 * ASCII value for a character.
1517 * ]]>
1518 * </p>
1519 * <p>
1520 * Be careful if you choose to escape characters 0, a, b, f, n, r,
1521 * t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t
1522 * and \v.
1523 * In PHP \0 (NULL), \r (carriage return), \n (newline), \f (form feed),
1524 * \v (vertical tab) and \t (tab) are predefined escape sequences, 
1525 * while in C all of these are predefined escape sequences.
1526 * </p>
1527 * @return string the escaped string.
1528 */
1529function addcslashes ($str, $charlist) {}
1530
1531/**
1532 * Strip whitespace (or other characters) from the end of a string
1533 * @link http://www.php.net/manual/en/function.rtrim.php
1534 * @param str string <p>
1535 * The input string.
1536 * </p>
1537 * @param charlist string[optional] <p>
1538 * You can also specify the characters you want to strip, by means
1539 * of the charlist parameter.
1540 * Simply list all characters that you want to be stripped. With
1541 * .. you can specify a range of characters.
1542 * </p>
1543 * @return string the modified string.
1544 */
1545function rtrim ($str, $charlist = null) {}
1546
1547/**
1548 * Replace all occurrences of the search string with the replacement string
1549 * @link http://www.php.net/manual/en/function.str-replace.php
1550 * @param search mixed <p>
1551 * The value being searched for, otherwise known as the needle.
1552 * An array may be used to designate multiple needles.
1553 * </p>
1554 * @param replace mixed <p>
1555 * The replacement value that replaces found search
1556 * values. An array may be used to designate multiple replacements.
1557 * </p>
1558 * @param subject mixed <p>
1559 * The string or array being searched and replaced on,
1560 * otherwise known as the haystack.
1561 * </p>
1562 * <p>
1563 * If subject is an array, then the search and
1564 * replace is performed with every entry of
1565 * subject, and the return value is an array as
1566 * well.
1567 * </p>
1568 * @param count int[optional] If passed, this will hold the number of matched and replaced needles.
1569 * @return mixed This function returns a string or an array with the replaced values.
1570 */
1571function str_replace ($search, $replace, $subject, &$count = null) {}
1572
1573/**
1574 * Case-insensitive version of <function>str_replace</function>.
1575 * @link http://www.php.net/manual/en/function.str-ireplace.php
1576 * @param search mixed <p>
1577 * Every replacement with search array is
1578 * performed on the result of previous replacement.
1579 * </p>
1580 * @param replace mixed <p>
1581 * </p>
1582 * @param subject mixed <p>
1583 * If subject is an array, then the search and
1584 * replace is performed with every entry of 
1585 * subject, and the return value is an array as
1586 * well.
1587 * </p>
1588 * @param count int[optional] <p>
1589 * The number of matched and replaced needles will
1590 * be returned in count which is passed by
1591 * reference.
1592 * </p>
1593 * @return mixed a string or an array of replacements.
1594 */
1595function str_ireplace ($search, $replace, $subject, &$count = null) {}
1596
1597/**
1598 * Repeat a string
1599 * @link http://www.php.net/manual/en/function.str-repeat.php
1600 * @param input string <p>
1601 * The string to be repeated.
1602 * </p>
1603 * @param multiplier int <p>
1604 * Number of time the input string should be
1605 * repeated.
1606 * </p>
1607 * <p>
1608 * multiplier has to be greater than or equal to 0.
1609 * If the multiplier is set to 0, the function
1610 * will return an empty string.
1611 * </p>
1612 * @return string the repeated string.
1613 */
1614function str_repeat ($input, $multiplier) {}
1615
1616/**
1617 * Return information about characters used in a string
1618 * @link http://www.php.net/manual/en/function.count-chars.php
1619 * @param string string <p>
1620 * The examined string.
1621 * </p>
1622 * @param mode int[optional] <p>
1623 * See return values.
1624 * </p>
1625 * @return mixed Depending on mode
1626 * count_chars returns one of the following:
1627 * 0 - an array with the byte-value as key and the frequency of
1628 * every byte as value.
1629 * 1 - same as 0 but only byte-values with a frequency greater
1630 * than zero are listed.
1631 * 2 - same as 0 but only byte-values with a frequency equal to
1632 * zero are listed.
1633 * 3 - a string containing all unique characters is returned.
1634 * 4 - a string containing all not used characters is returned.
1635 */
1636function count_chars ($string, $mode = null) {}
1637
1638/**
1639 * Split a string into smaller chunks
1640 * @link http://www.php.net/manual/en/function.chunk-split.php
1641 * @param body string <p>
1642 * The string to be chunked.
1643 * </p>
1644 * @param chunklen int[optional] <p>
1645 * The chunk length.
1646 * </p>
1647 * @param end string[optional] <p>
1648 * The line ending sequence.
1649 * </p>
1650 * @return string the chunked string.
1651 */
1652function chunk_split ($body, $chunklen = null, $end = null) {}
1653
1654/**
1655 * Strip whitespace (or other characters) from the beginning and end of a string
1656 * @link http://www.php.net/manual/en/function.trim.php
1657 * @param str string <p>
1658 * The string that will be trimmed.
1659 * </p>
1660 * @param charlist string[optional] <p>
1661 * Optionally, the stripped characters can also be specified using
1662 * the charlist parameter.
1663 * Simply list all characters that you want to be stripped. With
1664 * .. you can specify a range of characters.
1665 * </p>
1666 * @return string The trimmed string.
1667 */
1668function trim ($str, $charlist = null) {}
1669
1670/**
1671 * Strip whitespace (or other characters) from the beginning of a string
1672 * @link http://www.php.net/manual/en/function.ltrim.php
1673 * @param str string <p>
1674 * The input string.
1675 * </p>
1676 * @param charlist string[optional] <p>
1677 * You can also specify the characters you want to strip, by means of the
1678 * charlist parameter.
1679 * Simply list all characters that you want to be stripped. With
1680 * .. you can specify a range of characters.
1681 * </p>
1682 * @return string This function returns a string with whitespace stripped from the
1683 * beginning of str.
1684 * Without the second parameter,
1685 * ltrim will strip these characters:
1686 * " " (ASCII 32
1687 * (0x20)), an ordinary space.
1688 * "\t" (ASCII 9
1689 * (0x09)), a tab.
1690 * "\n" (ASCII 10
1691 * (0x0A)), a new line (line feed).
1692 * "\r" (ASCII 13
1693 * (0x0D)), a carriage return.
1694 * "\0" (ASCII 0
1695 * (0x00)), the NUL-byte.
1696 * "\x0B" (ASCII 11
1697 * (0x0B)), a vertical tab.
1698 */
1699function ltrim ($str, $charlist = null) {}
1700
1701/**
1702 * Strip HTML and PHP tags from a string
1703 * @link http://www.php.net/manual/en/function.strip-tags.php
1704 * @param str string <p>
1705 * The input string.
1706 * </p>
1707 * @param allowable_tags string[optional] <p>
1708 * You can use the optional second parameter to specify tags which should
1709 * not be stripped.
1710 * </p>
1711 * <p>
1712 * HTML comments and PHP tags are also stripped. This is hardcoded and
1713 * can not be changed with allowable_tags.
1714 * </p>
1715 * @return string the stripped string.
1716 */
1717function strip_tags ($str, $allowable_tags = null) {}
1718
1719/**
1720 * Calculate the similarity between two strings
1721 * @link http://www.php.net/manual/en/function.similar-text.php
1722 * @param first string <p>
1723 * The first string.
1724 * </p>
1725 * @param second string <p>
1726 * The second string.
1727 * </p>
1728 * @param percent float[optional] <p>
1729 * By passing a reference as third argument,
1730 * similar_text will calculate the similarity in
1731 * percent for you. 
1732 * </p>
1733 * @return int the number of matching chars in both strings.
1734 */
1735function similar_text ($first, $second, &$percent = null) {}
1736
1737/**
1738 * Split a string by string
1739 * @link http://www.php.net/manual/en/function.explode.php
1740 * @param delimiter string <p>
1741 * The boundary string.
1742 * </p>
1743 * @param string string <p>
1744 * The input string.
1745 * </p>
1746 * @param limit int[optional] <p>
1747 * If limit is set and positive, the returned array will contain
1748 * a maximum of limit elements with the last
1749 * element containing the rest of string.
1750 * </p>
1751 * <p>
1752 * If the limit parameter is negative, all components
1753 * except the last -limit are returned.
1754 * </p>
1755 * <p>
1756 * If the limit parameter is zero, then this is treated as 1.
1757 * </p>
1758 * @return array If delimiter is an empty string (""),
1759 * explode will return false.
1760 * If delimiter contains a value that is not
1761 * contained in string and a negative
1762 * limit is used, then an empty array will be
1763 * returned. For any other limit, an array containing
1764 * string will be returned.
1765 */
1766function explode ($delimiter, $string, $limit = null) {}
1767
1768/**
1769 * Join array elements with a string
1770 * @link http://www.php.net/manual/en/function.implode.php
1771 * @param glue string <p>
1772 * Defaults to an empty string. This is not the preferred usage of
1773 * implode as glue would be
1774 * the second parameter and thus, the bad prototype would be used.
1775 * </p>
1776 * @param pieces array <p>
1777 * The array of strings to implode.
1778 * </p>
1779 * @return string a string containing a string representation of all the array
1780 * elements in the same order, with the glue string between each element.
1781 */
1782function implode ($glue, array $pieces) {}
1783
1784/**
1785 * Set locale information
1786 * @link http://www.php.net/manual/en/function.setlocale.php
1787 * @param category int <p>
1788 * category is a named constant specifying the
1789 * category of the functions affected by the locale setting:
1790 * LC_ALL for all of the below
1791 * @param locale string <p>
1792 * If locale is &null; or the empty string
1793 * "", the locale names will be set from the
1794 * values of environment variables with the same names as the above
1795 * categories, or from "LANG".
1796 * </p>
1797 * <p>
1798 * If locale is "0",
1799 * the locale setting is not affected, only the current setting is returned.
1800 * </p>
1801 * <p>
1802 * If locale is an array or followed by additional
1803 * parameters then each array element or parameter is tried to be set as
1804 * new locale until success. This is useful if a locale is known under
1805 * different names on different systems or for providing a fallback
1806 * for a possibly not available locale.
1807 * </p>
1808 * @param _ string[optional] 
1809 * @return string the new current locale, or false if the locale functionality is
1810 * not implemented on your platform, the specified locale does not exist or
1811 * the category name is invalid.
1812 * </p>
1813 * <p>
1814 * An invalid category name also causes a warning message. Category/locale
1815 * names can be found in RFC 1766
1816 * and ISO 639.
1817 * Different systems have different naming schemes for locales.
1818 * </p>
1819 * <p>
1820 * The return value of setlocale depends
1821 * on the system that PHP is running. It returns exactly
1822 * what the system setlocale function returns.
1823 */
1824function setlocale ($category, $locale, $_ = null) {}
1825
1826/**
1827 * Get numeric formatting information
1828 * @link http://www.php.net/manual/en/function.localeconv.php
1829 * @return array localeconv returns data based upon the current locale
1830 * as set by setlocale. The associative array that is
1831 * returned contains the following fields:
1832 * <tr valign="top">
1833 * <td>Array element</td>
1834 * <td>Description</td>
1835 * </tr>
1836 * <tr valign="top">
1837 * <td>decimal_point</td>
1838 * <td>Decimal point character</td>
1839 * </tr>
1840 * <tr valign="top">
1841 * <td>thousands_sep</td>
1842 * <td>Thousands separator</td>
1843 * </tr>
1844 * <tr valign="top">
1845 * <td>grouping</td>
1846 * <td>Array containing numeric groupings</td>
1847 * </tr>
1848 * <tr valign="top">
1849 * <td>int_curr_symbol</td>
1850 * <td>International currency symbol (i.e. USD)</td>
1851 * </tr>
1852 * <tr valign="top">
1853 * <td>currency_symbol</td>
1854 * <td>Local currency symbol (i.e. $)</td>
1855 * </tr>
1856 * <tr valign="top">
1857 * <td>mon_decimal_point</td>
1858 * <td>Monetary decimal point character</td>
1859 * </tr>
1860 * <tr valign="top">
1861 * <td>mon_thousands_sep</td>
1862 * <td>Monetary thousands separator</td>
1863 * </tr>
1864 * <tr valign="top">
1865 * <td>mon_grouping</td>
1866 * <td>Array containing monetary groupings</td>
1867 * </tr>
1868 * <tr valign="top">
1869 * <td>positive_sign</td>
1870 * <td>Sign for positive values</td>
1871 * </tr>
1872 * <tr valign="top">
1873 * <td>negative_sign</td>
1874 * <td>Sign for negative values</td>
1875 * </tr>
1876 * <tr valign="top">
1877 * <td>int_frac_digits</td>
1878 * <td>International fractional digits</td>
1879 * </tr>
1880 * <tr valign="top">
1881 * <td>frac_digits</td>
1882 * <td>Local fractional digits</td>
1883 * </tr>
1884 * <tr valign="top">
1885 * <td>p_cs_precedes</td>
1886 * <td>
1887 * true if currency_symbol precedes a positive value, false
1888 * if it succeeds one
1889 * </td>
1890 * </tr>
1891 * <tr valign="top">
1892 * <td>p_sep_by_space</td>
1893 * <td>
1894 * true if a space separates currency_symbol from a positive
1895 * value, false otherwise
1896 * </td>
1897 * </tr>
1898 * <tr valign="top">
1899 * <td>n_cs_precedes</td>
1900 * <td>
1901 * true if currency_symbol precedes a negative value, false
1902 * if it succeeds one
1903 * </td>
1904 * </tr>
1905 * <tr valign="top">
1906 * <td>n_sep_by_space</td>
1907 * <td>
1908 * true if a space separates currency_symbol from a negative
1909 * value, false otherwise
1910 * </td>
1911 * </tr>
1912 * <td>p_sign_posn</td>
1913 * <td>
1914 * 0 - Parentheses surround the quantity and currency_symbol
1915 * 1 - The sign string precedes the quantity and currency_symbol
1916 * 2 - The sign string succeeds the quantity and currency_symbol
1917 * 3 - The sign string immediately precedes the currency_symbol
1918 * 4 - The sign string immediately succeeds the currency_symbol
1919 * </td>
1920 * </tr>
1921 * <td>n_sign_posn</td>
1922 * <td>
1923 * 0 - Parentheses surround the quantity and currency_symbol
1924 * 1 - The sign string precedes the quantity and currency_symbol
1925 * 2 - The sign string succeeds the quantity and currency_symbol
1926 * 3 - The sign string immediately precedes the currency_symbol
1927 * 4 - The sign string immediately succeeds the currency_symbol
1928 * </td>
1929 * </tr>
1930 * </p>
1931 * <p>
1932 * The p_sign_posn, and n_sign_posn contain a string
1933 * of formatting options. Each number representing one of the above listed conditions.
1934 * </p>
1935 * <p>
1936 * The grouping fields contain arrays that define the way numbers should be
1937 * grouped. For example, the monetary grouping field for the nl_NL locale (in
1938 * UTF-8 mode with the euro sign), would contain a 2 item array with the
1939 * values 3 and 3. The higher the index in the array, the farther left the
1940 * grouping is. If an array element is equal to CHAR_MAX,
1941 * no further grouping is done. If an array element is equal to 0, the previous
1942 * element should be used.
1943 */
1944function localeconv () {}
1945
1946/**
1947 * Calculate the soundex key of a string
1948 * @link http://www.php.net/manual/en/function.soundex.php
1949 * @param str string <p>
1950 * The input string.
1951 * </p>
1952 * @return string the soundex key as a string.
1953 */
1954function soundex ($str) {}
1955
1956/**
1957 * Calculate Levenshtein distance between two strings
1958 * @link http://www.php.net/manual/en/function.levenshtein.php
1959 * @param str1 string <p>
1960 * One of the strings being evaluated for Levenshtein distance.
1961 * </p>
1962 * @param str2 string <p>
1963 * One of the strings being evaluated for Levenshtein distance.
1964 * </p>
1965 * @return int This function returns the Levenshtein-Distance between the
1966 * two argument strings or -1, if one of the argument strings
1967 * is longer than the limit of 255 characters.
1968 */
1969function levenshtein ($str1, $str2) {}
1970
1971/**
1972 * Return a specific character
1973 * @link http://www.php.net/manual/en/function.chr.php
1974 * @param ascii int <p>
1975 * The ascii code.
1976 * </p>
1977 * @return string the specified character.
1978 */
1979function chr ($ascii) {}
1980
1981/**
1982 * Return ASCII value of character
1983 * @link http://www.php.net/manual/en/function.ord.php
1984 * @param string string <p>
1985 * A character.
1986 * </p>
1987 * @return int the ASCII value as an integer.
1988 */
1989function ord ($string) {}
1990
1991/**
1992 * Parses the string into variables
1993 * @link http://www.php.net/manual/en/function.parse-str.php
1994 * @param str string <p>
1995 * The input string.
1996 * </p>
1997 * @param arr array[optional] <p>
1998 * If the second parameter arr is present,
1999 * variables are stored in this variable as array elements instead.
2000 * </p>
2001 * @return void 
2002 */
2003function parse_str ($str, array &$arr = null) {}
2004
2005/**
2006 * Pad a string to a certain length with another string
2007 * @link http://www.php.net/manual/en/function.str-pad.php
2008 * @param input string <p>
2009 * The input string.
2010 * </p>
2011 * @param pad_length int <p>
2012 * If the value of pad_length is negative,
2013 * less than, or equal to the length of the input string, no padding
2014 * takes place.
2015 * </p>
2016 * @param pad_string string[optional] <p>
2017 * The pad_string may be truncated if the
2018 * required number of padding characters can't be evenly divided by the
2019 * pad_string's length.
2020 * </p>
2021 * @param pad_type int[optional] <p>
2022 * Optional argument pad_type can be
2023 * STR_PAD_RIGHT, STR_PAD_LEFT,
2024 * or STR_PAD_BOTH. If
2025 * pad_type is not specified it is assumed to be
2026 * STR_PAD_RIGHT.
2027 * </p>
2028 * @return string the padded string.
2029 */
2030function str_pad ($input, $pad_length, $pad_string = null, $pad_type = null) {}
2031
2032/**
2033 * &Alias; <function>rtrim</function>
2034 * @link http://www.php.net/manual/en/function.chop.php
2035 * @param str
2036 * @param character_mask[optional]
2037 */
2038function chop ($str, $character_mask) {}
2039
2040/**
2041 * &Alias; <function>strstr</function>
2042 * @link http://www.php.net/manual/en/function.strchr.php
2043 * @param haystack
2044 * @param needle
2045 */
2046function strchr ($haystack, $needle) {}
2047
2048/**
2049 * Return a formatted string
2050 * @link http://www.php.net/manual/en/function.sprintf.php
2051 * @param format string <p>
2052 * The format string is composed of zero or more directives:
2053 * ordinary characters (excluding %) that are
2054 * copied directly to the result, and conversion
2055 * specifications, each of which results in fetching its
2056 * own parameter. This applies to both sprintf
2057 * and printf.
2058 * </p>
2059 * <p>
2060 * Each conversion specification consists of a percent sign
2061 * (%), followed by one or more of these
2062 * elements, in order:
2063 * An optional sign specifier that forces a sign
2064 * (- or +) to be used on a number. By default, only the - sign is used
2065 * on a number if it's negative. This specifier forces positive numbers
2066 * to have the + sign attached as well, and was added in PHP 4.3.0.
2067 * @param args mixed[optional] <p>
2068 * </p>
2069 * @param _ mixed[optional] 
2070 * @return string a string produced according to the formatting string
2071 * format.
2072 */
2073function sprintf ($format, $args = null, $_ = null) {}
2074
2075/**
2076 * Output a formatted string
2077 * @link http://www.php.net/manual/en/function.printf.php
2078 * @param format string <p>
2079 * See sprintf for a description of
2080 * format.
2081 * </p>
2082 * @param args mixed[optional] <p>
2083 * </p>
2084 * @param _ mixed[optional] 
2085 * @return int the length of the outputted string.
2086 */
2087function printf ($format, $args = null, $_ = null) {}
2088
2089/**
2090 * Output a formatted string
2091 * @link http://www.php.net/manual/en/function.vprintf.php
2092 * @param format string <p>
2093 * See sprintf for a description of
2094 * format.
2095 * </p>
2096 * @param args array <p>
2097 * </p>
2098 * @return int the length of the outputted string.
2099 */
2100function vprintf ($format, array $args) {}
2101
2102/**
2103 * Return a formatted string
2104 * @link http://www.php.net/manual/en/function.vsprintf.php
2105 * @param format string <p>
2106 * See sprintf for a description of
2107 * format.
2108 * </p>
2109 * @param args array <p>
2110 * </p>
2111 * @return string Return array values as a formatted string according to
2112 * format (which is described in the documentation
2113 * for sprintf).
2114 */
2115function vsprintf ($format, array $args) {}
2116
2117/**
2118 * Write a formatted string to a stream
2119 * @link http://www.php.net/manual/en/function.fprintf.php
2120 * @param handle resource &fs.file.pointer;
2121 * @param format string <p>
2122 * See sprintf for a description of 
2123 * format.
2124 * </p>
2125 * @param args mixed[optional] <p>
2126 * </p>
2127 * @param _ mixed[optional] 
2128 * @return int the length of the string written.
2129 */
2130function fprintf ($handle, $format, $args = null, $_ = null) {}
2131
2132/**
2133 * Write a formatted string to a stream
2134 * @link http://www.php.net/manual/en/function.vfprintf.php
2135 * @param handle resource <p>
2136 * </p>
2137 * @param format string <p>
2138 * See sprintf for a description of
2139 * format.
2140 * </p>
2141 * @param args array <p>
2142 * </p>
2143 * @return int the length of the outputted string.
2144 */
2145function vfprintf ($handle, $format, array $args) {}
2146
2147/**
2148 * Parses input from a string according to a format
2149 * @link http://www.php.net/manual/en/function.sscanf.php
2150 * @param str string <p>
2151 * The input string being parsed.
2152 * </p>
2153 * @param format string <p>
2154 * The interpreted format for str, which is
2155 * described in the documentation for sprintf with
2156 * following differences:
2157 * Function is not locale-aware.
2158 * F, g, G and
2159 * b are not supported.
2160 * D stands for decimal number.
2161 * i stands for integer with base detection.
2162 * n stands for number of characters processed so far.
2163 * </p>
2164 * @param _ mixed[optional] 
2165 * @return mixed If only
2166 * two parameters were passed to this function, the values parsed
2167 * will be returned as an array. Otherwise, if optional parameters are passed,
2168 * the function will return the number of assigned values. The optional
2169 * parameters must be passed by reference.
2170 */
2171function sscanf ($str, $format, &$_ = null) {}
2172
2173/**
2174 * Parses input from a file according to a format
2175 * @link http://www.php.net/manual/en/function.fscanf.php
2176 * @param handle resource &fs.file.pointer;
2177 * @param format string <p>
2178 * The specified format as described in the 
2179 * sprintf documentation.
2180 * </p>
2181 * @param _ mixed[optional] 
2182 * @return mixed If only two parameters were passed to this function, the values parsed will be
2183 * returned as an array. Otherwise, if optional parameters are passed, the
2184 * function will return the number of assigned values. The optional
2185 * parameters must be passed by reference.
2186 */
2187function fscanf ($handle, $format, &$_ = null) {}
2188
2189/**
2190 * Parse a URL and return its components
2191 * @link http://www.php.net/manual/en/function.parse-url.php
2192 * @param url string <p>
2193 * The URL to parse. Invalid characters are replaced by
2194 * _.
2195 * </p>
2196 * @param component int[optional] <p>
2197 * Specify one of PHP_URL_SCHEME,
2198 * PHP_URL_HOST, PHP_URL_PORT,
2199 * PHP_URL_USER, PHP_URL_PASS,
2200 * PHP_URL_PATH, PHP_URL_QUERY
2201 * or PHP_URL_FRAGMENT to retrieve just a specific
2202 * URL component as a string.
2203 * </p>
2204 * @return mixed On seriously malformed URLs, parse_url may return
2205 * false and emit a E_WARNING. Otherwise an associative
2206 * array is returned, whose components may be (at least one):
2207 * scheme - e.g. http
2208 * host 
2209 * port
2210 * user
2211 * pass
2212 * path
2213 * query - after the question mark ?
2214 * fragment - after the hashmark #
2215 * </p>
2216 * <p>
2217 * If the component parameter is specified a
2218 * st