PageRenderTime 115ms CodeModel.GetById 85ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 1ms

/ide/eclipse/jaggery/org.eclipse.php.core/Resources/language/php5.3/standard.php

https://github.com/blue666man/tools
PHP | 11255 lines | 865 code | 676 blank | 9714 comment | 0 complexity | 4d1813f557251982a602c1f767affcaf MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1<?php
   2
   3// Start of standard v.5.3.2
   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 * Delay for a number of seconds and nanoseconds
  83 * @link http://www.php.net/manual/en/function.time-nanosleep.php
  84 * @param seconds int <p>
  85 * Must be a positive integer.
  86 * </p>
  87 * @param nanoseconds int <p>
  88 * Must be a positive integer less than 1 billion.
  89 * </p>
  90 * @return mixed Returns true on success or false on failure.
  91 * </p>
  92 * <p>
  93 * If the delay was interrupted by a signal, an associative array will be
  94 * returned with the components:
  95 * seconds - number of seconds remaining in
  96 * the delay
  97 * nanoseconds - number of nanoseconds
  98 * remaining in the delay
  99 */
 100function time_nanosleep ($seconds, $nanoseconds) {}
 101
 102/**
 103 * Make the script sleep until the specified time
 104 * @link http://www.php.net/manual/en/function.time-sleep-until.php
 105 * @param timestamp float <p>
 106 * The timestamp when the script should wake.
 107 * </p>
 108 * @return bool Returns true on success or false on failure.
 109 */
 110function time_sleep_until ($timestamp) {}
 111
 112/**
 113 * Parse a time/date generated with <function>strftime</function>
 114 * @link http://www.php.net/manual/en/function.strptime.php
 115 * @param date string <p>
 116 * The string to parse (e.g. returned from strftime)
 117 * </p>
 118 * @param format string <p>
 119 * The format used in date (e.g. the same as
 120 * used in strftime).
 121 * </p>
 122 * <p>
 123 * For more information about the format options, read the
 124 * strftime page.
 125 * </p>
 126 * @return array an array&return.falseforfailure;.
 127 * </p>
 128 * <p>
 129 * <table>
 130 * The following parameters are returned in the array
 131 * <tr valign="top">
 132 * <td>parameters</td>
 133 * <td>Description</td>
 134 * </tr>
 135 * <tr valign="top">
 136 * <td>"tm_sec"</td>
 137 * <td>Seconds after the minute (0-61)</td>
 138 * </tr>
 139 * <tr valign="top">
 140 * <td>"tm_min"</td>
 141 * <td>Minutes after the hour (0-59)</td>
 142 * </tr>
 143 * <tr valign="top">
 144 * <td>"tm_hour"</td>
 145 * <td>Hour since midnight (0-23)</td>
 146 * </tr>
 147 * <tr valign="top">
 148 * <td>"tm_mday"</td>
 149 * <td>Day of the month (1-31)</td>
 150 * </tr>
 151 * <tr valign="top">
 152 * <td>"tm_mon"</td>
 153 * <td>Months since January (0-11)</td>
 154 * </tr>
 155 * <tr valign="top">
 156 * <td>"tm_year"</td>
 157 * <td>Years since 1900</td>
 158 * </tr>
 159 * <tr valign="top">
 160 * <td>"tm_wday"</td>
 161 * <td>Days since Sunday (0-6)</td>
 162 * </tr>
 163 * <tr valign="top">
 164 * <td>"tm_yday"</td>
 165 * <td>Days since January 1 (0-365)</td>
 166 * </tr>
 167 * <tr valign="top">
 168 * <td>"unparsed"</td>
 169 * <td>the date part which was not
 170 * recognized using the specified format</td>
 171 * </tr>
 172 * </table>
 173 */
 174function strptime ($date, $format) {}
 175
 176/**
 177 * Flush the output buffer
 178 * @link http://www.php.net/manual/en/function.flush.php
 179 * @return void 
 180 */
 181function flush () {}
 182
 183/**
 184 * Wraps a string to a given number of characters
 185 * @link http://www.php.net/manual/en/function.wordwrap.php
 186 * @param str string <p>
 187 * The input string.
 188 * </p>
 189 * @param width int[optional] <p>
 190 * The column width.
 191 * </p>
 192 * @param break string[optional] <p>
 193 * The line is broken using the optional
 194 * break parameter.
 195 * </p>
 196 * @param cut bool[optional] <p>
 197 * If the cut is set to true, the string is
 198 * always wrapped at or before the specified width. So if you have
 199 * a word that is larger than the given width, it is broken apart.
 200 * (See second example).
 201 * </p>
 202 * @return string the given string wrapped at the specified column.
 203 */
 204function wordwrap ($str, $width = null, $break = null, $cut = null) {}
 205
 206/**
 207 * Convert special characters to HTML entities
 208 * @link http://www.php.net/manual/en/function.htmlspecialchars.php
 209 * @param string string <p>
 210 * The string being converted.
 211 * </p>
 212 * @param quote_style int[optional] <p>
 213 * The optional second argument, quote_style, tells
 214 * the function what to do with single and double quote characters.
 215 * The default mode, ENT_COMPAT, is the backwards compatible mode
 216 * which only translates the double-quote character and leaves the
 217 * single-quote untranslated. If ENT_QUOTES is set, both single and
 218 * double quotes are translated and if ENT_NOQUOTES is set neither
 219 * single nor double quotes are translated.
 220 * </p>
 221 * @param charset string[optional] <p>
 222 * Defines character set used in conversion.
 223 * The default character set is ISO-8859-1.
 224 * </p>
 225 * <p>
 226 * For the purposes of this function, the charsets
 227 * ISO-8859-1, ISO-8859-15,
 228 * UTF-8, cp866,
 229 * cp1251, cp1252, and
 230 * KOI8-R are effectively equivalent, as the
 231 * characters affected by htmlspecialchars
 232 * occupy the same positions in all of these charsets.
 233 * </p>
 234 * &reference.strings.charsets;
 235 * @param double_encode bool[optional] <p>
 236 * When double_encode is turned off PHP will not
 237 * encode existing html entities, the default is to convert everything.
 238 * </p>
 239 * @return string The converted string.
 240 */
 241function htmlspecialchars ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 242
 243/**
 244 * Convert all applicable characters to HTML entities
 245 * @link http://www.php.net/manual/en/function.htmlentities.php
 246 * @param string string <p>
 247 * The input string.
 248 * </p>
 249 * @param quote_style int[optional] <p>
 250 * Like htmlspecialchars, the optional second
 251 * quote_style parameter lets you define what will
 252 * be done with 'single' and "double" quotes. It takes on one of three
 253 * constants with the default being ENT_COMPAT:
 254 * <table>
 255 * Available quote_style constants
 256 * <tr valign="top">
 257 * <td>Constant Name</td>
 258 * <td>Description</td>
 259 * </tr>
 260 * <tr valign="top">
 261 * <td>ENT_COMPAT</td>
 262 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 263 * </tr>
 264 * <tr valign="top">
 265 * <td>ENT_QUOTES</td>
 266 * <td>Will convert both double and single quotes.</td>
 267 * </tr>
 268 * <tr valign="top">
 269 * <td>ENT_NOQUOTES</td>
 270 * <td>Will leave both double and single quotes unconverted.</td>
 271 * </tr>
 272 * </table>
 273 * </p>
 274 * @param charset string[optional] <p>
 275 * Like htmlspecialchars, it takes an optional
 276 * third argument charset which defines character
 277 * set used in conversion.
 278 * Presently, the ISO-8859-1 character set is used as the default.
 279 * </p>
 280 * &reference.strings.charsets;
 281 * @param double_encode bool[optional] <p>
 282 * When double_encode is turned off PHP will not
 283 * encode existing html entities. The default is to convert everything.
 284 * </p>
 285 * @return string the encoded string.
 286 */
 287function htmlentities ($string, $quote_style = null, $charset = null, $double_encode = null) {}
 288
 289/**
 290 * Convert all HTML entities to their applicable characters
 291 * @link http://www.php.net/manual/en/function.html-entity-decode.php
 292 * @param string string <p>
 293 * The input string.
 294 * </p>
 295 * @param quote_style int[optional] <p>
 296 * The optional second quote_style parameter lets
 297 * you define what will be done with 'single' and "double" quotes. It takes
 298 * on one of three constants with the default being
 299 * ENT_COMPAT:
 300 * <table>
 301 * Available quote_style constants
 302 * <tr valign="top">
 303 * <td>Constant Name</td>
 304 * <td>Description</td>
 305 * </tr>
 306 * <tr valign="top">
 307 * <td>ENT_COMPAT</td>
 308 * <td>Will convert double-quotes and leave single-quotes alone.</td>
 309 * </tr>
 310 * <tr valign="top">
 311 * <td>ENT_QUOTES</td>
 312 * <td>Will convert both double and single quotes.</td>
 313 * </tr>
 314 * <tr valign="top">
 315 * <td>ENT_NOQUOTES</td>
 316 * <td>Will leave both double and single quotes unconverted.</td>
 317 * </tr>
 318 * </table>
 319 * </p>
 320 * @param charset string[optional] <p>
 321 * The ISO-8859-1 character set is used as default for the optional third
 322 * charset. This defines the character set used in
 323 * conversion.
 324 * </p>
 325 * &reference.strings.charsets;
 326 * @return string the decoded string.
 327 */
 328function html_entity_decode ($string, $quote_style = null, $charset = null) {}
 329
 330/**
 331 * Convert special HTML entities back to characters
 332 * @link http://www.php.net/manual/en/function.htmlspecialchars-decode.php
 333 * @param string string <p>
 334 * The string to decode
 335 * </p>
 336 * @param quote_style int[optional] <p>
 337 * The quote style. One of the following constants:
 338 * <table>
 339 * quote_style constants
 340 * <tr valign="top">
 341 * <td>Constant Name</td>
 342 * <td>Description</td>
 343 * </tr>
 344 * <tr valign="top">
 345 * <td>ENT_COMPAT</td>
 346 * <td>Will convert double-quotes and leave single-quotes alone
 347 * (default)</td>
 348 * </tr>
 349 * <tr valign="top">
 350 * <td>ENT_QUOTES</td>
 351 * <td>Will convert both double and single quotes</td>
 352 * </tr>
 353 * <tr valign="top">
 354 * <td>ENT_NOQUOTES</td>
 355 * <td>Will leave both double and single quotes unconverted</td>
 356 * </tr>
 357 * </table>
 358 * </p>
 359 * @return string the decoded string.
 360 */
 361function htmlspecialchars_decode ($string, $quote_style = null) {}
 362
 363/**
 364 * Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
 365 * @link http://www.php.net/manual/en/function.get-html-translation-table.php
 366 * @param table int[optional] <p>
 367 * There are two new constants (HTML_ENTITIES,
 368 * HTML_SPECIALCHARS) that allow you to specify the
 369 * table you want.
 370 * </p>
 371 * @param quote_style int[optional] <p>
 372 * Like the htmlspecialchars and
 373 * htmlentities functions you can optionally specify
 374 * the quote_style you are working with.
 375 * See the description
 376 * of these modes in htmlspecialchars.
 377 * </p>
 378 * @return array the translation table as an array.
 379 */
 380function get_html_translation_table ($table = null, $quote_style = null) {}
 381
 382/**
 383 * Calculate the sha1 hash of a string
 384 * @link http://www.php.net/manual/en/function.sha1.php
 385 * @param str string <p>
 386 * The input string.
 387 * </p>
 388 * @param raw_output bool[optional] <p>
 389 * If the optional raw_output is set to true,
 390 * then the sha1 digest is instead returned in raw binary format with a
 391 * length of 20, otherwise the returned value is a 40-character
 392 * hexadecimal number.
 393 * </p>
 394 * @return string the sha1 hash as a string.
 395 */
 396function sha1 ($str, $raw_output = null) {}
 397
 398/**
 399 * Calculate the sha1 hash of a file
 400 * @link http://www.php.net/manual/en/function.sha1-file.php
 401 * @param filename string <p>
 402 * The filename of the file to hash.
 403 * </p>
 404 * @param raw_output bool[optional] <p>
 405 * When true, returns the digest in raw binary format with a length of
 406 * 20.
 407 * </p>
 408 * @return string a string on success, false otherwise.
 409 */
 410function sha1_file ($filename, $raw_output = null) {}
 411
 412/**
 413 * Calculate the md5 hash of a string
 414 * @link http://www.php.net/manual/en/function.md5.php
 415 * @param str string <p>
 416 * The string.
 417 * </p>
 418 * @param raw_output bool[optional] <p>
 419 * If the optional raw_output is set to true,
 420 * then the md5 digest is instead returned in raw binary format with a
 421 * length of 16.
 422 * </p>
 423 * @return string the hash as a 32-character hexadecimal number.
 424 */
 425function md5 ($str, $raw_output = null) {}
 426
 427/**
 428 * Calculates the md5 hash of a given file
 429 * @link http://www.php.net/manual/en/function.md5-file.php
 430 * @param filename string <p>
 431 * The filename
 432 * </p>
 433 * @param raw_output bool[optional] <p>
 434 * When true, returns the digest in raw binary format with a length of
 435 * 16.
 436 * </p>
 437 * @return string a string on success, false otherwise.
 438 */
 439function md5_file ($filename, $raw_output = null) {}
 440
 441/**
 442 * Calculates the crc32 polynomial of a string
 443 * @link http://www.php.net/manual/en/function.crc32.php
 444 * @param str string <p>
 445 * The data.
 446 * </p>
 447 * @return int the crc32 checksum of str as an integer.
 448 */
 449function crc32 ($str) {}
 450
 451/**
 452 * Parse a binary IPTC block into single tags.
 453 * @link http://www.php.net/manual/en/function.iptcparse.php
 454 * @param iptcblock string <p>
 455 * A binary IPTC block.
 456 * </p>
 457 * @return array an array using the tagmarker as an index and the value as the
 458 * value. It returns false on error or if no IPTC data was found.
 459 */
 460function iptcparse ($iptcblock) {}
 461
 462/**
 463 * Embeds binary IPTC data into a JPEG image
 464 * @link http://www.php.net/manual/en/function.iptcembed.php
 465 * @param iptcdata string <p>
 466 * The data to be written.
 467 * </p>
 468 * @param jpeg_file_name string <p>
 469 * Path to the JPEG image.
 470 * </p>
 471 * @param spool int[optional] <p>
 472 * Spool flag. If the spool flag is over 2 then the JPEG will be 
 473 * returned as a string.
 474 * </p>
 475 * @return mixed If success and spool flag is lower than 2 then the JPEG will not be 
 476 * returned as a string, false on errors.
 477 */
 478function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
 479
 480/**
 481 * Get the size of an image
 482 * @link http://www.php.net/manual/en/function.getimagesize.php
 483 * @param filename string <p>
 484 * This parameter specifies the file you wish to retrieve information
 485 * about. It can reference a local file or (configuration permitting) a
 486 * remote file using one of the supported streams. 
 487 * </p>
 488 * @param imageinfo array[optional] <p>
 489 * This optional parameter allows you to extract some extended
 490 * information from the image file. Currently, this will return the
 491 * different JPG APP markers as an associative array.
 492 * Some programs use these APP markers to embed text information in 
 493 * images. A very common one is to embed 
 494 * IPTC information in the APP13 marker.
 495 * You can use the iptcparse function to parse the
 496 * binary APP13 marker into something readable.
 497 * </p>
 498 * @return array an array with 7 elements.
 499 * </p>
 500 * <p>
 501 * Index 0 and 1 contains respectively the width and the height of the image.
 502 * </p>
 503 * <p>
 504 * Some formats may contain no image or may contain multiple images. In these
 505 * cases, getimagesize might not be able to properly
 506 * determine the image size. getimagesize will return
 507 * zero for width and height in these cases.
 508 * </p>
 509 * <p>
 510 * Index 2 is one of the IMAGETYPE_XXX constants indicating 
 511 * the type of the image.
 512 * </p>
 513 * <p>
 514 * Index 3 is a text string with the correct 
 515 * height="yyy" width="xxx" string that can be used
 516 * directly in an IMG tag.
 517 * </p>
 518 * <p>
 519 * mime is the correspondant MIME type of the image.
 520 * This information can be used to deliver images with correct the HTTP 
 521 * Content-type header:
 522 * getimagesize and MIME types
 523 * ]]>
 524 * </p>
 525 * <p>
 526 * channels will be 3 for RGB pictures and 4 for CMYK
 527 * pictures.
 528 * </p>
 529 * <p>
 530 * bits is the number of bits for each color.
 531 * </p>
 532 * <p>
 533 * For some image types, the presence of channels and
 534 * bits values can be a bit
 535 * confusing. As an example, GIF always uses 3 channels
 536 * per pixel, but the number of bits per pixel cannot be calculated for an
 537 * animated GIF with a global color table.
 538 * </p>
 539 * <p>
 540 * On failure, false is returned.
 541 */
 542function getimagesize ($filename, array &$imageinfo = null) {}
 543
 544/**
 545 * Get Mime-Type for image-type returned by getimagesize,
 546   exif_read_data, exif_thumbnail, exif_imagetype
 547 * @link http://www.php.net/manual/en/function.image-type-to-mime-type.php
 548 * @param imagetype int <p>
 549 * One of the IMAGETYPE_XXX constants.
 550 * </p>
 551 * @return string The returned values are as follows
 552 * <table>
 553 * Returned values Constants
 554 * <tr valign="top">
 555 * <td>imagetype</td>
 556 * <td>Returned value</td>
 557 * </tr>
 558 * <tr valign="top">
 559 * <td>IMAGETYPE_GIF</td>
 560 * <td>image/gif</td>
 561 * </tr>
 562 * <tr valign="top">
 563 * <td>IMAGETYPE_JPEG</td>
 564 * <td>image/jpeg</td>
 565 * </tr>
 566 * <tr valign="top">
 567 * <td>IMAGETYPE_PNG</td>
 568 * <td>image/png</td>
 569 * </tr>
 570 * <tr valign="top">
 571 * <td>IMAGETYPE_SWF</td>
 572 * <td>application/x-shockwave-flash</td>
 573 * </tr>
 574 * <tr valign="top">
 575 * <td>IMAGETYPE_PSD</td>
 576 * <td>image/psd</td>
 577 * </tr>
 578 * <tr valign="top">
 579 * <td>IMAGETYPE_BMP</td>
 580 * <td>image/bmp</td>
 581 * </tr>
 582 * <tr valign="top">
 583 * <td>IMAGETYPE_TIFF_II (intel byte order)</td>
 584 * <td>image/tiff</td>
 585 * </tr>
 586 * <tr valign="top">
 587 * <td>
 588 * IMAGETYPE_TIFF_MM (motorola byte order)
 589 * </td>
 590 * <td>image/tiff</td>
 591 * </tr>
 592 * <tr valign="top">
 593 * <td>IMAGETYPE_JPC</td>
 594 * <td>application/octet-stream</td>
 595 * </tr>
 596 * <tr valign="top">
 597 * <td>IMAGETYPE_JP2</td>
 598 * <td>image/jp2</td>
 599 * </tr>
 600 * <tr valign="top">
 601 * <td>IMAGETYPE_JPX</td>
 602 * <td>application/octet-stream</td>
 603 * </tr>
 604 * <tr valign="top">
 605 * <td>IMAGETYPE_JB2</td>
 606 * <td>application/octet-stream</td>
 607 * </tr>
 608 * <tr valign="top">
 609 * <td>IMAGETYPE_SWC</td>
 610 * <td>application/x-shockwave-flash</td>
 611 * </tr>
 612 * <tr valign="top">
 613 * <td>IMAGETYPE_IFF</td>
 614 * <td>image/iff</td>
 615 * </tr>
 616 * <tr valign="top">
 617 * <td>IMAGETYPE_WBMP</td>
 618 * <td>image/vnd.wap.wbmp</td>
 619 * </tr>
 620 * <tr valign="top">
 621 * <td>IMAGETYPE_XBM</td>
 622 * <td>image/xbm</td>
 623 * </tr>
 624 * <tr valign="top">
 625 * <td>IMAGETYPE_ICO</td>
 626 * <td>image/vnd.microsoft.icon</td>
 627 * </tr>
 628 * </table>
 629 */
 630function image_type_to_mime_type ($imagetype) {}
 631
 632/**
 633 * Get file extension for image type
 634 * @link http://www.php.net/manual/en/function.image-type-to-extension.php
 635 * @param imagetype int <p>
 636 * One of the IMAGETYPE_XXX constant.
 637 * </p>
 638 * @param include_dot bool[optional] <p>
 639 * Whether to prepend a dot to the extension or not. Default to true.
 640 * </p>
 641 * @return string A string with the extension corresponding to the given image type.
 642 */
 643function image_type_to_extension ($imagetype, $include_dot = null) {}
 644
 645/**
 646 * Outputs information about PHP's configuration
 647 * @link http://www.php.net/manual/en/function.phpinfo.php
 648 * @param what int[optional] <p>
 649 * The output may be customized by passing one or more of the
 650 * following constants bitwise values summed
 651 * together in the optional what parameter.
 652 * One can also combine the respective constants or bitwise values
 653 * together with the or operator.
 654 * </p>
 655 * <p>
 656 * <table>
 657 * phpinfo options
 658 * <tr valign="top">
 659 * <td>Name (constant)</td>
 660 * <td>Value</td>
 661 * <td>Description</td>
 662 * </tr>
 663 * <tr valign="top">
 664 * <td>INFO_GENERAL</td>
 665 * <td>1</td>
 666 * <td>
 667 * The configuration line, &php.ini; location, build date, Web
 668 * Server, System and more.
 669 * </td>
 670 * </tr>
 671 * <tr valign="top">
 672 * <td>INFO_CREDITS</td>
 673 * <td>2</td>
 674 * <td>
 675 * PHP Credits. See also phpcredits.
 676 * </td>
 677 * </tr>
 678 * <tr valign="top">
 679 * <td>INFO_CONFIGURATION</td>
 680 * <td>4</td>
 681 * <td>
 682 * Current Local and Master values for PHP directives. See
 683 * also ini_get.
 684 * </td>
 685 * </tr>
 686 * <tr valign="top">
 687 * <td>INFO_MODULES</td>
 688 * <td>8</td>
 689 * <td>
 690 * Loaded modules and their respective settings. See also
 691 * get_loaded_extensions.
 692 * </td>
 693 * </tr>
 694 * <tr valign="top">
 695 * <td>INFO_ENVIRONMENT</td>
 696 * <td>16</td>
 697 * <td>
 698 * Environment Variable information that's also available in
 699 * $_ENV.
 700 * </td>
 701 * </tr>
 702 * <tr valign="top">
 703 * <td>INFO_VARIABLES</td>
 704 * <td>32</td>
 705 * <td>
 706 * Shows all 
 707 * predefined variables from EGPCS (Environment, GET,
 708 * POST, Cookie, Server).
 709 * </td>
 710 * </tr>
 711 * <tr valign="top">
 712 * <td>INFO_LICENSE</td>
 713 * <td>64</td>
 714 * <td>
 715 * PHP License information. See also the license FAQ.
 716 * </td>
 717 * </tr>
 718 * <tr valign="top">
 719 * <td>INFO_ALL</td>
 720 * <td>-1</td>
 721 * <td>
 722 * Shows all of the above.
 723 * </td>
 724 * </tr>
 725 * </table>
 726 * </p>
 727 * @return bool Returns true on success or false on failure.
 728 */
 729function phpinfo ($what = null) {}
 730
 731/**
 732 * Gets the current PHP version
 733 * @link http://www.php.net/manual/en/function.phpversion.php
 734 * @param extension string[optional] <p>
 735 * An optional extension name.
 736 * </p>
 737 * @return string If the optional extension parameter is
 738 * specified, phpversion returns the version of that
 739 * extension, or false if there is no version information associated or
 740 * the extension isn't enabled.
 741 */
 742function phpversion ($extension = null) {}
 743
 744/**
 745 * Prints out the credits for PHP
 746 * @link http://www.php.net/manual/en/function.phpcredits.php
 747 * @param flag int[optional] <p>
 748 * To generate a custom credits page, you may want to use the
 749 * flag parameter.
 750 * </p>
 751 * <p>
 752 * <table>
 753 * Pre-defined phpcredits flags
 754 * <tr valign="top">
 755 * <td>name</td>
 756 * <td>description</td>
 757 * </tr>
 758 * <tr valign="top">
 759 * <td>CREDITS_ALL</td>
 760 * <td>
 761 * All the credits, equivalent to using: CREDITS_DOCS +
 762 * CREDITS_GENERAL + CREDITS_GROUP +
 763 * CREDITS_MODULES + CREDITS_FULLPAGE.
 764 * It generates a complete stand-alone HTML page with the appropriate tags.
 765 * </td>
 766 * </tr>
 767 * <tr valign="top">
 768 * <td>CREDITS_DOCS</td>
 769 * <td>The credits for the documentation team</td>
 770 * </tr>
 771 * <tr valign="top">
 772 * <td>CREDITS_FULLPAGE</td>
 773 * <td>
 774 * Usually used in combination with the other flags. Indicates
 775 * that a complete stand-alone HTML page needs to be
 776 * printed including the information indicated by the other
 777 * flags.
 778 * </td>
 779 * </tr>
 780 * <tr valign="top">
 781 * <td>CREDITS_GENERAL</td>
 782 * <td>
 783 * General credits: Language design and concept, PHP authors 
 784 * and SAPI module.
 785 * </td>
 786 * </tr>
 787 * <tr valign="top">
 788 * <td>CREDITS_GROUP</td>
 789 * <td>A list of the core developers</td>
 790 * </tr>
 791 * <tr valign="top">
 792 * <td>CREDITS_MODULES</td>
 793 * <td>
 794 * A list of the extension modules for PHP, and their authors
 795 * </td>
 796 * </tr>
 797 * <tr valign="top">
 798 * <td>CREDITS_SAPI</td>
 799 * <td>
 800 * A list of the server API modules for PHP, and their authors
 801 * </td>
 802 * </tr>
 803 * </table>
 804 * </p>
 805 * @return bool Returns true on success or false on failure.
 806 */
 807function phpcredits ($flag = null) {}
 808
 809/**
 810 * Gets the logo guid
 811 * @link http://www.php.net/manual/en/function.php-logo-guid.php
 812 * @return string PHPE9568F34-D428-11d2-A769-00AA001ACF42.
 813 */
 814function php_logo_guid () {}
 815
 816function php_real_logo_guid () {}
 817
 818function php_egg_logo_guid () {}
 819
 820/**
 821 * Gets the Zend guid
 822 * @link http://www.php.net/manual/en/function.zend-logo-guid.php
 823 * @return string PHPE9568F35-D428-11d2-A769-00AA001ACF42.
 824 */
 825function zend_logo_guid () {}
 826
 827/**
 828 * Returns the type of interface between web server and PHP
 829 * @link http://www.php.net/manual/en/function.php-sapi-name.php
 830 * @return string the interface type, as a lowercase string.
 831 * </p>
 832 * <p>
 833 * Although not exhaustive, the possible return values include 
 834 * aolserver, apache, 
 835 * apache2filter, apache2handler, 
 836 * caudium, cgi (until PHP 5.3), 
 837 * cgi-fcgi, cli, 
 838 * continuity, embed,
 839 * isapi, litespeed, 
 840 * milter, nsapi, 
 841 * phttpd, pi3web, roxen,
 842 * thttpd, tux, and webjames.
 843 */
 844function php_sapi_name () {}
 845
 846/**
 847 * Returns information about the operating system PHP is running on
 848 * @link http://www.php.net/manual/en/function.php-uname.php
 849 * @param mode string[optional] <p>
 850 * mode is a single character that defines what
 851 * information is returned:
 852 * 'a': This is the default. Contains all modes in
 853 * the sequence "s n r v m".
 854 * @return string the description, as a string.
 855 */
 856function php_uname ($mode = null) {}
 857
 858/**
 859 * Return a list of .ini files parsed from the additional ini dir
 860 * @link http://www.php.net/manual/en/function.php-ini-scanned-files.php
 861 * @return string a comma-separated string of .ini files on success. Each comma is
 862 * followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
 863 * false is returned. If it was set and the directory was empty, an
 864 * empty string is returned. If a file is unrecognizable, the file will
 865 * still make it into the returned string but a PHP error will also result.
 866 * This PHP error will be seen both at compile time and while using
 867 * php_ini_scanned_files.
 868 */
 869function php_ini_scanned_files () {}
 870
 871/**
 872 * Retrieve a path to the loaded php.ini file
 873 * @link http://www.php.net/manual/en/function.php-ini-loaded-file.php
 874 * @return string The loaded &php.ini; path, or false if one is not loaded.
 875 */
 876function php_ini_loaded_file () {}
 877
 878/**
 879 * String comparisons using a "natural order" algorithm
 880 * @link http://www.php.net/manual/en/function.strnatcmp.php
 881 * @param str1 string <p>
 882 * The first string.
 883 * </p>
 884 * @param str2 string <p>
 885 * The second string.
 886 * </p>
 887 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 888 * str1 is less than str2; &gt;
 889 * 0 if str1 is greater than
 890 * str2, and 0 if they are equal.
 891 */
 892function strnatcmp ($str1, $str2) {}
 893
 894/**
 895 * Case insensitive string comparisons using a "natural order" algorithm
 896 * @link http://www.php.net/manual/en/function.strnatcasecmp.php
 897 * @param str1 string <p>
 898 * The first string.
 899 * </p>
 900 * @param str2 string <p>
 901 * The second string.
 902 * </p>
 903 * @return int Similar to other string comparison functions, this one returns &lt; 0 if
 904 * str1 is less than str2 &gt;
 905 * 0 if str1 is greater than
 906 * str2, and 0 if they are equal.
 907 */
 908function strnatcasecmp ($str1, $str2) {}
 909
 910/**
 911 * Count the number of substring occurrences
 912 * @link http://www.php.net/manual/en/function.substr-count.php
 913 * @param haystack string <p>
 914 * The string to search in
 915 * </p>
 916 * @param needle string <p>
 917 * The substring to search for
 918 * </p>
 919 * @param offset int[optional] <p>
 920 * The offset where to start counting
 921 * </p>
 922 * @param length int[optional] <p>
 923 * The maximum length after the specified offset to search for the
 924 * substring. It outputs a warning if the offset plus the length is
 925 * greater than the haystack length.
 926 * </p>
 927 * @return int This functions returns an integer.
 928 */
 929function substr_count ($haystack, $needle, $offset = null, $length = null) {}
 930
 931/**
 932 * Finds the length of the first segment of a string consisting
 933   entirely of characters contained within a given mask.
 934 * @link http://www.php.net/manual/en/function.strspn.php
 935 * @param subject string <p>
 936 * The string to examine.
 937 * </p>
 938 * @param mask string <p>
 939 * The list of allowable characters to include in counted segments.
 940 * </p>
 941 * @param start int[optional] <p>
 942 * The position in subject to
 943 * start searching.
 944 * </p>
 945 * <p>
 946 * If start is given and is non-negative,
 947 * then strspn will begin
 948 * examining subject at
 949 * the start'th position. For instance, in
 950 * the string 'abcdef', the character at
 951 * position 0 is 'a', the
 952 * character at position 2 is
 953 * 'c', and so forth.
 954 * </p>
 955 * <p>
 956 * If start is given and is negative,
 957 * then strspn will begin
 958 * examining subject at
 959 * the start'th position from the end
 960 * of subject.
 961 * </p>
 962 * @param length int[optional] <p>
 963 * The length of the segment from subject
 964 * to examine. 
 965 * </p>
 966 * <p>
 967 * If length is given and is non-negative,
 968 * then subject will be examined
 969 * for length characters after the starting
 970 * position.
 971 * </p>
 972 * <p>
 973 * If lengthis given and is negative,
 974 * then subject will be examined from the
 975 * starting position up to length
 976 * characters from the end of subject.
 977 * </p>
 978 * @return int the length of the initial segment of str1
 979 * which consists entirely of characters in str2.
 980 */
 981function strspn ($subject, $mask, $start = null, $length = null) {}
 982
 983/**
 984 * Find length of initial segment not matching mask
 985 * @link http://www.php.net/manual/en/function.strcspn.php
 986 * @param str1 string <p>
 987 * The first string.
 988 * </p>
 989 * @param str2 string <p>
 990 * The second string.
 991 * </p>
 992 * @param start int[optional] <p>
 993 * The start position of the string to examine.
 994 * </p>
 995 * @param length int[optional] <p>
 996 * The length of the string to examine.
 997 * </p>
 998 * @return int the length of the segment as an integer.
 999 */
1000function strcspn ($str1, $str2, $start = null, $length = null) {}
1001
1002/**
1003 * Tokenize string
1004 * @link http://www.php.net/manual/en/function.strtok.php
1005 * @param str string <p>
1006 * The string being split up into smaller strings (tokens).
1007 * </p>
1008 * @param token string <p>
1009 * The delimiter used when splitting up str.
1010 * </p>
1011 * @return string A string token.
1012 */
1013function strtok ($str, $token) {}
1014
1015/**
1016 * Make a string uppercase
1017 * @link http://www.php.net/manual/en/function.strtoupper.php
1018 * @param string string <p>
1019 * The input string.
1020 * </p>
1021 * @return string the uppercased string.
1022 */
1023function strtoupper ($string) {}
1024
1025/**
1026 * Make a string lowercase
1027 * @link http://www.php.net/manual/en/function.strtolower.php
1028 * @param str string <p>
1029 * The input string.
1030 * </p>
1031 * @return string the lowercased string.
1032 */
1033function strtolower ($str) {}
1034
1035/**
1036 * Find position of first occurrence of a string
1037 * @link http://www.php.net/manual/en/function.strpos.php
1038 * @param haystack string <p>
1039 * The string to search in
1040 * </p>
1041 * @param needle mixed <p>
1042 * If needle is not a string, it is converted
1043 * to an integer and applied as the ordinal value of a character.
1044 * </p>
1045 * @param offset int[optional] <p>
1046 * The optional offset parameter allows you
1047 * to specify which character in haystack to
1048 * start searching. The position returned is still relative to the
1049 * beginning of haystack.
1050 * </p>
1051 * @return int the position as an integer. If needle is
1052 * not found, strpos will return boolean
1053 * false.
1054 */
1055function strpos ($haystack, $needle, $offset = null) {}
1056
1057/**
1058 * Find position of first occurrence of a case-insensitive string
1059 * @link http://www.php.net/manual/en/function.stripos.php
1060 * @param haystack string <p>
1061 * The string to search in
1062 * </p>
1063 * @param needle string <p>
1064 * Note that the needle may be a string of one or
1065 * more characters.
1066 * </p>
1067 * <p>
1068 * If needle is not a string, it is converted to
1069 * an integer and applied as the ordinal value of a character.
1070 * </p>
1071 * @param offset int[optional] <p>
1072 * The optional offset parameter allows you
1073 * to specify which character in haystack to
1074 * start searching. The position returned is still relative to the
1075 * beginning of haystack.
1076 * </p>
1077 * @return int If needle is not found,
1078 * stripos will return boolean false.
1079 */
1080function stripos ($haystack, $needle, $offset = null) {}
1081
1082/**
1083 * Find position of last occurrence of a char in a string
1084 * @link http://www.php.net/manual/en/function.strrpos.php
1085 * @param haystack string <p>
1086 * The string to search in.
1087 * </p>
1088 * @param needle string <p>
1089 * If needle is not a string, it is converted
1090 * to an integer and applied as the ordinal value of a character.
1091 * </p>
1092 * @param offset int[optional] <p>
1093 * May be specified to begin searching an arbitrary number of characters into
1094 * the string. Negative values will stop searching at an arbitrary point
1095 * prior to the end of the string.
1096 * </p>
1097 * @return int the position where the needle exists. Returns false if the needle
1098 * was not found.
1099 */
1100function strrpos ($haystack, $needle, $offset = null) {}
1101
1102/**
1103 * Find position of last occurrence of a case-insensitive string in a string
1104 * @link http://www.php.net/manual/en/function.strripos.php
1105 * @param haystack string <p>
1106 * The string to search in
1107 * </p>
1108 * @param needle string <p>
1109 * Note that the needle may be a string of one or
1110 * more characters.
1111 * </p>
1112 * @param offset int[optional] <p>
1113 * The offset parameter may be specified to begin
1114 * searching an arbitrary number of characters into the string.
1115 * </p>
1116 * <p>
1117 * Negative offset values will start the search at
1118 * offset characters from the
1119 * start of the string.
1120 * </p>
1121 * @return int the numerical position of the last occurrence of
1122 * needle. Also note that string positions start at 0,
1123 * and not 1.
1124 * </p>
1125 * <p>
1126 * If needle is not found, false is returned.
1127 */
1128function strripos ($haystack, $needle, $offset = null) {}
1129
1130/**
1131 * Reverse a string
1132 * @link http://www.php.net/manual/en/function.strrev.php
1133 * @param string string <p>
1134 * The string to be reversed.
1135 * </p>
1136 * @return string the reversed string.
1137 */
1138function strrev ($string) {}
1139
1140/**
1141 * Convert logical Hebrew text to visual text
1142 * @link http://www.php.net/manual/en/function.hebrev.php
1143 * @param hebrew_text string <p>
1144 * A Hebrew input string.
1145 * </p>
1146 * @param max_chars_per_line int[optional] <p>
1147 * This optional parameter indicates maximum number of characters per
1148 * line that will be returned.
1149 * </p>
1150 * @return string the visual string.
1151 */
1152function hebrev ($hebrew_text, $max_chars_per_line = null) {}
1153
1154/**
1155 * Convert logical Hebrew text to visual text with newline conversion
1156 * @link http://www.php.net/manual/en/function.hebrevc.php
1157 * @param hebrew_text string <p>
1158 * A Hebrew input string.
1159 * </p>
1160 * @param max_chars_per_line int[optional] <p>
1161 * This optional parameter indicates maximum number of characters per
1162 * line that will be returned.
1163 * </p>
1164 * @return string the visual string.
1165 */
1166function hebrevc ($hebrew_text, $max_chars_per_line = null) {}
1167
1168/**
1169 * Inserts HTML line breaks before all newlines in a string
1170 * @link http://www.php.net/manual/en/function.nl2br.php
1171 * @param string string <p>
1172 * The input string.
1173 * </p>
1174 * @param is_xhtml bool[optional] <p>
1175 * Whenever to use XHTML compatible line breaks or not.
1176 * </p>
1177 * @return string the altered string.
1178 */
1179function nl2br ($string, $is_xhtml = null) {}
1180
1181/**
1182 * Returns filename component of path
1183 * @link http://www.php.net/manual/en/function.basename.php
1184 * @param path string <p>
1185 * A path.
1186 * </p>
1187 * <p>
1188 * On Windows, both slash (/) and backslash
1189 * (\) are used as directory separator character. In
1190 * other environments, it is the forward slash (/).
1191 * </p>
1192 * @param suffix string[optional] <p>
1193 * If the filename ends in suffix this will also
1194 * be cut off.
1195 * </p>
1196 * @return string the base name of the given path.
1197 */
1198function basename ($path, $suffix = null) {}
1199
1200/**
1201 * Returns directory name component of path
1202 * @link http://www.php.net/manual/en/function.dirname.php
1203 * @param path string <p>
1204 * A path.
1205 * </p>
1206 * <p>
1207 * On Windows, both slash (/) and backslash
1208 * (\) are used as directory separator character. In
1209 * other environments, it is the forward slash (/).
1210 * </p>
1211 * @return string the name of the directory. If there are no slashes in
1212 * path, a dot ('.') is returned,
1213 * indicating the current directory. Otherwise, the returned string is
1214 * path with any trailing
1215 * /component removed.
1216 */
1217function dirname ($path) {}
1218
1219/**
1220 * Returns information about a file path
1221 * @link http://www.php.net/manual/en/function.pathinfo.php
1222 * @param path string <p>
1223 * The path being checked.
1224 * </p>
1225 * @param options int[optional] <p>
1226 * You can specify which elements are returned with optional parameter
1227 * options. It composes from
1228 * PATHINFO_DIRNAME,
1229 * PATHINFO_BASENAME,
1230 * PATHINFO_EXTENSION and
1231 * PATHINFO_FILENAME. It
1232 * defaults to return all elements.
1233 * </p>
1234 * @return mixed The following associative array elements are returned:
1235 * dirname, basename,
1236 * extension (if any), and filename.
1237 * </p>
1238 * <p>
1239 * If options is used, this function will return a 
1240 * string if not all elements are requested.
1241 */
1242function pathinfo ($path, $options = null) {}
1243
1244/**
1245 * Un-quotes a quoted string
1246 * @link http://www.php.net/manual/en/function.stripslashes.php
1247 * @param str string <p>
1248 * The input string.
1249 * </p>
1250 * @return string a string with backslashes stripped off.
1251 * (\' becomes ' and so on.)
1252 * Double backslashes (\\) are made into a single
1253 * backslash (\).
1254 */
1255function stripslashes ($str) {}
1256
1257/**
1258 * Un-quote string quoted with <function>addcslashes</function>
1259 * @link http://www.php.net/manual/en/function.stripcslashes.php
1260 * @param str string <p>
1261 * The string to be unescaped.
1262 * </p>
1263 * @return string the unescaped string.
1264 */
1265function stripcslashes ($str) {}
1266
1267/**
1268 * Find first occurrence of a string
1269 * @link http://www.php.net/manual/en/function.strstr.php
1270 * @param haystack string <p>
1271 * The input string.
1272 * </p>
1273 * @param needle mixed <p>
1274 * If needle is not a string, it is converted to
1275 * an integer and applied as the ordinal value of a character.
1276 * </p>
1277 * @param before_needle bool[optional] <p>
1278 * If true, strstr returns
1279 * the part of the haystack before the first
1280 * occurrence of the needle.
1281 * </p>
1282 * @return string the portion of string, or false if needle
1283 * is not found.
1284 */
1285function strstr ($haystack, $needle, $before_needle = null) {}
1286
1287/**
1288 * Case-insensitive <function>strstr</function>
1289 * @link http://www.php.net/manual/en/function.stristr.php
1290 * @param haystack string <p>
1291 * The string to search in
1292 * </p>
1293 * @param needle mixed <p>
1294 * If needle is not a string, it is converted to
1295 * an integer and applied as the ordinal value of a character.
1296 * </p>
1297 * @param before_needle bool[optional] <p>
1298 * If true, stristr
1299 * returns the part of the haystack before the
1300 * first occurrence of the needle.
1301 * </p>
1302 * @return string the matched substring. If needle is not
1303 * found, returns false.
1304 */
1305function stristr ($haystack, $needle, $before_needle = null) {}
1306
1307/**
1308 * Find the last occurrence of a character in a string
1309 * @link http://www.php.net/manual/en/function.strrchr.php
1310 * @param haystack string <p>
1311 * The string to search in
1312 * </p>
1313 * @param needle mixed <p>
1314 * If needle contains more than one character,
1315 * only the first is used. This behavior is different from that of
1316 * strstr.
1317 * </p>
1318 * <p>
1319 * If needle is not a string, it is converted to
1320 * an integer and applied as the ordinal value of a character.
1321 * </p>
1322 * @return string This function returns the portion of string, or false if
1323 * needle is not found.
1324 */
1325function strrchr ($haystack, $needle) {}
1326
1327/**
1328 * Randomly shuffles a string
1329 * @link http://www.php.net/manual/en/function.str-shuffle.php
1330 * @param str string <p>
1331 * The input string.
1332 * </p>
1333 * @return string the shuffled string.
1334 */
1335function str_shuffle ($str) {}
1336
1337/**
1338 * Return information about words used in a string
1339 * @link http://www.php.net/manual/en/function.str-word-count.php
1340 * @param string string <p>
1341 * The string
1342 * </p>
1343 * @param format int[optional] <p>
1344 * Specify the return value of this function. The current supported values
1345 * are:
1346 * 0 - returns the number of words found
1347 * @param charlist string[optional] <p>
1348 * A list of additional characters which will be considered as 'word'
1349 * </p>
1350 * @return mixed an array or an integer, depending on the
1351 * format chosen.
1352 */
1353function str_word_count ($string, $format = null, $charlist = null) {}
1354
1355/**
1356 * Convert a string to an array
1357 * @link http://www.php.net/manual/en/function.str-split.php
1358 * @param string string <p>
1359 * The input string.
1360 * </p>
1361 * @param split_length int[optional] <p>
1362 * Maximum length of the chunk.
1363 * </p>
1364 * @return array If the optional split_length parameter is
1365 * specified, the returned array will be broken down into chunks with each
1366 * being split_length in length, otherwise each chunk
1367 * will be one character in length.
1368 * </p>
1369 * <p>
1370 * false is returned if split_length is less than 1.
1371 * If the split_length length exceeds the length of
1372 * string, the entire string is returned as the first
1373 * (and only) array element.
1374 */
1375function str_split ($string, $split_length = null) {}
1376
1377/**
1378 * Search a string for any of a set of characters
1379 * @link http://www.php.net/manual/en/function.strpbrk.php
1380 * @param haystack string <p>
1381 * The string where char_list is looked for.
1382 * </p>
1383 * @param char_list string <p>
1384 * This parameter is case sensitive.
1385 * </p>
1386 * @return string a string starting from the character found, or false if it is
1387 * not found.
1388 */
1389function strpbrk ($haystack, $char_list) {}
1390
1391/**
1392 * Binary safe comparison of two strings from an offset, up to length characters
1393 * @link http://www.php.net/manual/en/function.substr-compare.php
1394 * @param main_str string <p>
1395 * The main string being compared.
1396 * </p>
1397 * @param str string <p>
1398 * The secondary string being compared.
1399 * </p>
1400 * @param offset int <p>
1401 * The start position for the comparison. If negative, it starts counting
1402 * from the end of the string.
1403 * </p>
1404 * @param length int[optional] <p>
1405 * The length of the comparison. The default value is the largest of the
1406 * length of the str compared to the length of
1407 * main_str less the
1408 * offset.
1409 * </p>
1410 * @param case_insensitivity bool[optional] <p>
1411 * If case_insensitivity is true, comparison is
1412 * case insensitive.
1413 * </p>
1414 * @return int &lt; 0 if main_str from position
1415 * offset is less than str, &gt;
1416 * 0 if it is greater than str, and 0 if they are equal.
1417 * If offset is equal to or greater than the length of
1418 * main_str or length is set and
1419 * is less than 1, substr_compare prints a warning and returns
1420 * false.
1421 */
1422function substr_compare ($main_str, $str, $offset, $length = null, $case_insensitivity = null) {}
1423
1424/**
1425 * Locale based string comparison
1426 * @link http://www.php.net/manual/en/function.strcoll.php
1427 * @param str1 string <p>
1428 * The first string.
1429 * </p>
1430 * @param str2 string <p>
1431 * The second string.
1432 * </p>
1433 * @return int &lt; 0 if str1 is less than
1434 * str2; &gt; 0 if
1435 * str1 is greater than
1436 * str2, and 0 if they are equal.
1437 */
1438function strcoll ($str1, $str2) {}
1439
1440/**
1441 * Formats a number as a currency string
1442 * @link http://www.php.net/manual/en/function.money-format.php
1443 * @param format string <p>
1444 * The format specification consists of the following sequence:
1445 * <p>a % character</p>
1446 * @param number float <p>
1447 * The number to be formatted.
1448 * </p>
1449 * @return string the formatted string. Characters before and after the formatting
1450 * string will be returned unchanged.
1451 * Non-numeric number causes returning &null; and
1452 * emitting E_WARNING.
1453 */
1454function money_format ($format, $number) {}
1455
1456/**
1457 * Return part of a string
1458 * @link http://www.php.net/manual/en/function.substr.php
1459 * @param string string <p>
1460 * The input string.
1461 * </p>
1462 * @param start int <p>
1463 * If start is non-negative, the returned string
1464 * will start at the start'th position in
1465 * string, counting from zero. For instance,
1466 * in the string 'abcdef', the character at
1467 * position 0 is 'a', the
1468 * character at position 2 is
1469 * 'c', and so forth.
1470 * </p>
1471 * <p>
1472 * If start is negative, the returned string
1473 * will start at the start'th character
1474 * from the end of string.
1475 * </p>
1476 * <p>
1477 * If string is less than or equal to
1478 * start characters long, false will be returned.
1479 * </p>
1480 * <p>
1481 * Using a negative start
1482 * ]]>
1483 * </p>
1484 * @param length int[optional] <p>
1485 * If length is given and is positive, the string
1486 * returned will contain at most length characters
1487 * beginning from start (depending on the length of
1488 * string).
1489 * </p>
1490 * <p>
1491 * If length is given and is negative, then that many
1492 * characters will be omitted from the end of string
1493 * (after the start position has been calculated when a
1494 * start is negative). If
1495 * start denotes a position beyond this truncation,
1496 * an empty string will be returned.
1497 * </p>
1498 * <p>
1499 * If length is given and is 0,
1500 * false or &null; an empty string will be returned.
1501 * </p>
1502 * Using a negative length
1503 * ]]>
1504 * @return string the extracted part of string&return.falseforfailure;.
1505 */
1506function substr ($string, $start, $length = null) {}
1507
1508/**
1509 * Replace text within a portion of a string
1510 * @link http://www.php.net/manual/en/function.substr-replace.php
1511 * @param string mixed <p>
1512 * The input string.
1513 * </p>
1514 * @param replacement string <p>
1515 * The replacement string.
1516 * </p>
1517 * @param start int <p>
1518 * If start is positive, the replacing will
1519 * begin at the start'th offset into
1520 * string.
1521 * </p>
1522 * <p>
1523 * If start is negative, the replacing will
1524 * begin at the start'th character from the
1525 * end of string.
1526 * </p>
1527 * @param length int[optional] <p>
1528 * If given and is positive, it represents the length of the portion of
1529 * string which is to be replaced. If it is
1530 * negative, it represents the number of characters from the end of
1531 * string at which to stop replacing. If it
1532 * is not given, then it will default to strlen(
1533 * string ); i.e. end the replacing at the
1534 * end of string. Of course, if
1535 * length is zero then this function will have the
1536 * effect of inserting replacement into
1537 * string at the given
1538 * start offset.
1539 * </p>
1540 * @return mixed The result string is returned. If string is an
1541 * array then array is returned.
1542 */
1543function substr_replace ($string, $replacement, $start, $length = null) {}
1544
1545/**
1546 * Quote meta characters
1547 * @link http://www.php.net/manual/en/function.quotemeta.php
1548 * @param str string <p>
1549 * The input string.
1550 * </p>
1551 * @return string the string with meta characters quoted.
1552 */
1553function quotemeta ($str) {}
1554
1555/**
1556 * Make a string's first character uppercase
1557 * @link http://www.php.net/manual/en/function.ucfirst.php
1558 * @param str string <p>
1559 * The input string.
1560 * </p>
1561 * @return string the resulting string.
1562 */
1563function ucfirst ($str) {}
1564
1565/**
1566 * Make a string's first character lowercase
1567 * @link http://www.php.net/manual/en/function.lcfirst.php
1568 * @param str string <p>
1569 * The input string.
1570 * </p>
1571 * @return string the resulting string.
1572 */
1573function lcfirst ($str) {}
1574
1575/**
1576 * Uppercase the first character of each word in a string
1577 * @link http://www.php.net/manual/en/function.ucwords.php
1578 * @param str string <p>
1579 * The input string.
1580 * </p>
1581 * @return string the modified string.
1582 */
1583function ucwords ($str) {}
1584
1585/**
1586 * Translate certain characters
1587 * @link http://www.php.net/manual/en/function.strtr.php
1588 * @param str string <p>
1589 * The string being translated.
1590 * </p>
1591 * @param from string <p>
1592 * The string being translated to to.
1593 * </p>
1594 * @param to string <p>
1595 * The string replacing from.
1596 * </p>
1597 * @return string This function returns a copy of str,
1598 * translating all occurrences of each character in
1599 * from to the corresponding character in
1600 * to.
1601 */
1602function strtr ($str, $from, $to) {}
1603
1604/**
1605 * Quote string with slashes
1606 * @link http://www.php.net/manual/en/function.addslashes.php
1607 * @param str string <p>
1608 * The string to be escaped.
1609 * </p>
1610 * @return string the escaped string.
1611 */
1612function addslashes ($str) {}
1613
1614/**
1615 * Quote string with slashes in a C style
1616 * @link http://www.php.net/manual/en/function.addcslashes.php
1617 * @param str string <p>
1618 * The string to be escaped.
1619 * </p>
1620 * @param charlist string <p>
1621 * A list of characters to be escaped. If
1622 * charlist contains characters
1623 * \n, \r etc., they are
1624 * converted in C-like style, while other non-alphanumeric characters
1625 * with ASCII codes lower than 32 and higher than 126 converted to
1626 * octal representation.
1627 * </p>
1628 * <p>
1629 * When you define a sequence of characters in the charlist argument
1630 * make sure that you know what characters come between the
1631 * characters that you set as the start and end of the range.
1632 * ]]>
1633 * Also, if the first character in a range has a higher ASCII value
1634 * than the second character in the range, no range will be
1635 * constructed. Only the start, end and period characters will be
1636 * escaped. Use the ord function to find the
1637 * ASCII value for a character.
1638 * ]]>
1639 * </p>
1640 * <p>
1641 * Be careful if you choose to escape characters 0, a, b, f, n, r,
1642 * t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t
1643 * and \v.
1644 * In PHP \0 (NULL), \r (carriage return), \n (newline), \f (form feed),
1645 * \v (vertical tab) and \t (tab) are predefined escape sequences, 
1646 * while in C all of these are predefined escape sequences.
1647 * </p>
1648 * @return string the escaped string.
1649 */
1650function addcslashes ($str, $charlist) {}
1651
1652/**
1653 * Strip whitespace (or other characters) from the end of a string
1654 * @link http://www.php.net/manual/en/function.rtrim.php
1655 * @param str string <p>
1656 * The input string.
1657 * </p>
1658 * @param charlist string[optional] <p>
1659 * You can also specify the characters you want to strip, by means
1660 * of the charlist parameter.
1661 * Simply list all characters that you want to be stripped. With
1662 * .. you can specify a range of characters.
1663 * </p>
1664 * @return string the modified string.
1665 */
1666function rtrim ($str, $charlist = null) {}
1667
1668/**
1669 * Replace all occurrences of the search string with the replacement string
1670 * @link http://www.php.net/manual/en/function.str-replace.php
1671 * @param search mixed <p>
1672 * The value being searched for, otherwise known as the needle.
1673 * An array may be used to designate multiple needles.
1674 * </p>
1675 * @param replace mixed <p>
1676 * The replacement value that replaces found search
1677 * values. An array may be used to designate multiple replacements.
1678 * </p>
1679 * @param subject mixed <p>
1680 * The string or array being searched and replaced on,
1681 * otherwise known as the haystack.
1682 * </p>
1683 * <p>
1684 * If subject is an array, then the search and
1685 * replace is performed with every entry of
1686 * subject, and the return value is an array as
1687 * well.
1688 * </p>
1689 * @param count int[optional] If passed, this will hold the number of matched and replaced needles.
1690 * @return mixed This function returns a string or an array with the replaced values.
1691 */
1692function str_replace ($search, $replace, $subject, &$count = null) {}
1693
1694/**
1695 * Case-insensitive version of <function>str_replace</function>.
1696 * @link http://www.php.net/manual/en/function.str-ireplace.php
1697 * @param search mixed <p>
1698 * Every replacement with search array is
1699 * performed on the result of previous replacement.
1700 * </p>
1701 * @param replace mixed <p>
1702 * </p>
1703 * @param subject mixed <p>
1704 * If subject is an array, then the search and
1705 * replace is performed with every entry of 
1706 * subject, and the return value is an array as
1707 * well.
1708 * </p>
1709 * @param count int[optional] <p>
1710 * The number of matched and replaced needles will
1711 * be returned in count which is passed by
1712 * reference.
1713 * </p>
1714 * @return mixed a string or an array of replacements.
1715 */
1716function str_ireplace ($search, $replace, $subject, &$count = null) {}
1717
1718/**
1719 * Repeat a string
1720 * @link http://www.php.net/manual/en/function.str-repeat.php
1721 * @param input string <

Large files files are truncated, but you can click here to view the full file