PageRenderTime 63ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/plugins/com.aptana.editor.php.epl/Resources/language/php5.3/standard.php

https://github.com/haegyung/aptana-php
PHP | 10072 lines | 787 code | 524 blank | 8761 comment | 0 complexity | 8bfd47fc298d11e5d2910feb4918bddc MD5 | raw file

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

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

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