PageRenderTime 57ms CodeModel.GetById 11ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 2ms

/configuration/org.eclipse.osgi/bundles/322/1/.cp/Resources/language/php5.4/standard.php

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

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