PageRenderTime 58ms CodeModel.GetById 2ms RepoModel.GetById 0ms app.codeStats 2ms

/plugins/com.aptana.editor.php.epl/Resources/language/php4/basic.php

https://github.com/haegyung/aptana-php
PHP | 25462 lines | 2789 code | 2980 blank | 19693 comment | 0 complexity | 519878241a771af587f26661751cdf02 MD5 | raw file
  1. <?php
  2. /**
  3. * Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist
  4. *
  5. * @return string
  6. * @param msgid string
  7. */
  8. function _($msgid) {}
  9. /**
  10. * Return the absolute value of the number
  11. *
  12. * @return int
  13. * @param number int
  14. */
  15. function abs($number) {}
  16. /**
  17. * Return the arc cosine of the number in radians
  18. *
  19. * @return float
  20. * @param number float
  21. */
  22. function acos($number) {}
  23. /**
  24. * Returns the inverse hyperbolic cosine of the number, i.e. the value whose hyperbolic cosine is number
  25. *
  26. * @return float
  27. * @param number float
  28. */
  29. function acosh($number) {}
  30. /**
  31. * Escapes all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...)
  32. *
  33. * @return string
  34. * @param str string
  35. * @param charlist string
  36. */
  37. function addcslashes($str, $charlist) {}
  38. /**
  39. * Escapes single quote, double quotes and backslash characters in a string with backslashes
  40. *
  41. * @return string
  42. * @param str string
  43. */
  44. function addslashes($str) {}
  45. /**
  46. *
  47. *
  48. * @return void
  49. * @param obj object
  50. * @param class string
  51. */
  52. function aggregate($obj, $class) {}
  53. /**
  54. *
  55. *
  56. * @return void
  57. * @param obj object
  58. * @param class string
  59. */
  60. function aggregate_methods($obj, $class) {}
  61. /**
  62. *
  63. *
  64. * @return void
  65. * @param obj object
  66. * @param class string
  67. * @param method_list array
  68. * @param exclude bool[optional]
  69. */
  70. function aggregate_methods_by_list($obj, $class, $method_list, $exclude = null) {}
  71. /**
  72. *
  73. *
  74. * @return void
  75. * @param obj object
  76. * @param class string
  77. * @param regexp string
  78. * @param exclude bool[optional]
  79. */
  80. function aggregate_methods_by_regexp($obj, $class, $regexp, $exclude = null) {}
  81. /**
  82. *
  83. *
  84. * @return void
  85. * @param obj object
  86. * @param class string
  87. */
  88. function aggregate_properties($obj, $class) {}
  89. /**
  90. *
  91. *
  92. * @return void
  93. * @param obj object
  94. * @param class string
  95. * @param props_list array
  96. * @param exclude bool[optional]
  97. */
  98. function aggregate_properties_by_list($obj, $class, $props_list, $exclude = null) {}
  99. /**
  100. *
  101. *
  102. * @return void
  103. * @param obj object
  104. * @param class string
  105. * @param regexp string
  106. * @param exclude bool[optional]
  107. */
  108. function aggregate_properties_by_regexp($obj, $class, $regexp, $exclude = null) {}
  109. /**
  110. *
  111. *
  112. * @return array
  113. * @param obj object
  114. */
  115. function aggregation_info($obj) {}
  116. /**
  117. * Terminate apache process after this request
  118. *
  119. * @return bool
  120. */
  121. function apache_child_terminate() {}
  122. /**
  123. * Get a list of loaded Apache modules
  124. *
  125. * @return array
  126. */
  127. function apache_get_modules() {}
  128. /**
  129. * Fetch Apache version
  130. *
  131. * @return string
  132. */
  133. function apache_get_version() {}
  134. /**
  135. * Get an Apache subprocess_env variable
  136. *
  137. * @return bool
  138. * @param variable string
  139. * @param walk_to_top bool[optional]
  140. */
  141. function apache_getenv($variable, $walk_to_top = null) {}
  142. /**
  143. * Perform a partial request of the given URI to obtain information about it
  144. *
  145. * @return object
  146. * @param URI string
  147. */
  148. function apache_lookup_uri($URI) {}
  149. /**
  150. * Get and set Apache request notes
  151. *
  152. * @return string
  153. * @param note_name string
  154. * @param note_value string[optional]
  155. */
  156. function apache_note($note_name, $note_value = null) {}
  157. /**
  158. * Get all headers from the request
  159. *
  160. * @return array
  161. */
  162. function apache_request_headers() {}
  163. /**
  164. * Get all headers from the response
  165. *
  166. * @return array
  167. */
  168. function apache_response_headers() {}
  169. /**
  170. * Set an Apache subprocess_env variable
  171. *
  172. * @return bool
  173. * @param variable string
  174. * @param value string
  175. * @param walk_to_top bool[optional]
  176. */
  177. function apache_setenv($variable, $value, $walk_to_top = null) {}
  178. /**
  179. * Retuns an array with all string keys lowercased [or uppercased]
  180. *
  181. * @return array
  182. * @param input array
  183. * @param case int[optional]
  184. */
  185. function array_change_key_case($input, $case = CASE_LOWER) {}
  186. /**
  187. * Split array into chunks
  188. *
  189. * @return array
  190. * @param input array
  191. * @param size int
  192. * @param preserve_keys bool[optional]
  193. */
  194. function array_chunk($input, $size, $preserve_keys = null) {}
  195. /**
  196. * Return the value as key and the frequency of that value in input as value
  197. *
  198. * @return array
  199. * @param input array
  200. */
  201. function array_count_values($input) {}
  202. /**
  203. * Returns the entries of arr1 that have values which are not present in any of the others arguments
  204. *
  205. * @return array
  206. * @param arr1 array
  207. * @param arr2 array
  208. * @vararg ... array
  209. */
  210. function array_diff($arr1, $arr2) {}
  211. /**
  212. * Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal
  213. *
  214. * @return array
  215. * @param arr1 array
  216. * @param arr2 array
  217. * @vararg ... array
  218. */
  219. function array_diff_assoc($arr1, $arr2) {}
  220. /**
  221. * Create an array containing num elements starting with index start_key each initialized to val
  222. *
  223. * @return array
  224. * @param start_key int
  225. * @param num int
  226. * @param val mixed
  227. */
  228. function array_fill($start_key, $num, $val) {}
  229. /**
  230. * Filters elements from the array via the callback.
  231. *
  232. * @return array
  233. * @param input array
  234. * @param callback mixed[optional]
  235. */
  236. function array_filter($input, $callback = null) {}
  237. /**
  238. * Return array with key <-> value flipped
  239. *
  240. * @return array
  241. * @param input array
  242. */
  243. function array_flip($input) {}
  244. /**
  245. * Returns the entries of arr1 that have values which are present in all the other arguments
  246. *
  247. * @return array
  248. * @param arr1 array
  249. * @param arr2 array
  250. * @vararg ... array
  251. */
  252. function array_intersect($arr1, $arr2) {}
  253. /**
  254. * Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrctive check
  255. *
  256. * @return array
  257. * @param arr1 array
  258. * @param arr2 array
  259. * @vararg ... array
  260. */
  261. function array_intersect_assoc($arr1, $arr2) {}
  262. /**
  263. * Checks if the given key or index exists in the array
  264. *
  265. * @return bool
  266. * @param key mixed
  267. * @param search array
  268. */
  269. function array_key_exists($key, $search) {}
  270. /**
  271. * Return just the keys from the input array, optionally only for the specified search_value
  272. *
  273. * @return array
  274. * @param input array
  275. * @param search_value mixed[optional]
  276. */
  277. function array_keys($input, $search_value = null) {}
  278. /**
  279. * Applies the callback to the elements in given arrays.
  280. *
  281. * @return array
  282. * @param callback mixed
  283. * @param input1 array
  284. * @param input2 array[optional]
  285. * @vararg ...
  286. */
  287. function array_map($callback, $input1, $input2 = null) {}
  288. /**
  289. * Merges elements from passed arrays into one array
  290. *
  291. * @return array
  292. * @param arr1 array
  293. * @param arr2 array
  294. * @vararg ... array
  295. */
  296. function array_merge($arr1, $arr2) {}
  297. /**
  298. * Recursively merges elements from passed arrays into one array
  299. *
  300. * @return array
  301. * @param arr1 array
  302. * @param arr2 array
  303. * @vararg ... array
  304. */
  305. function array_merge_recursive($arr1, $arr2) {}
  306. /**
  307. * Sort multiple arrays at once similar to how ORDER BY clause works in SQL
  308. *
  309. * @return bool
  310. * @param ar1 array
  311. * @param SORT_ASC|SORT_DESC unknown[optional]
  312. * @param SORT_REGULAR|SORT_NUMERIC|SORT_STRING unknown[optional]
  313. * @param ar2 array[optional]
  314. * @param SORT_ASC|SORT_DESC unknown[optional]
  315. * @param SORT_REGULAR|SORT_NUMERIC|SORT_STRING unknown[optional]
  316. * @vararg ...
  317. */
  318. function array_multisort($ar1, $SORT_ASC = null, $SORT_REGULAR = null, $ar2 = null, $SORT_ASC = null, $SORT_REGULAR = null) {}
  319. /**
  320. * Returns a copy of input array padded with pad_value to size pad_size
  321. *
  322. * @return array
  323. * @param input array
  324. * @param pad_size int
  325. * @param pad_value mixed
  326. */
  327. function array_pad($input, $pad_size, $pad_value) {}
  328. /**
  329. * Pops an element off the end of the array
  330. *
  331. * @return mixed
  332. * @param stack array
  333. */
  334. function array_pop($stack) {}
  335. /**
  336. * Pushes elements onto the end of the array
  337. *
  338. * @return int
  339. * @param stack array
  340. * @param var mixed
  341. * @vararg ... mixed
  342. */
  343. function array_push($stack, $var) {}
  344. /**
  345. * Return key/keys for random entry/entries in the array
  346. *
  347. * @return mixed
  348. * @param input array
  349. * @param num_req int[optional]
  350. */
  351. function array_rand($input, $num_req = null) {}
  352. /**
  353. * Iteratively reduce the array to a single value via the callback.
  354. *
  355. * @return mixed
  356. * @param input array
  357. * @param callback mixed
  358. * @param initial int[optional]
  359. */
  360. function array_reduce($input, $callback, $initial = null) {}
  361. /**
  362. * Return input as a new array with the order of the entries reversed
  363. *
  364. * @return array
  365. * @param input array
  366. * @param preserve_keys bool[optional]
  367. */
  368. function array_reverse($input, $preserve_keys = null) {}
  369. /**
  370. * Searches the array for a given value and returns the corresponding key if successful
  371. *
  372. * @return mixed
  373. * @param needle mixed
  374. * @param haystack array
  375. * @param strict bool[optional]
  376. */
  377. function array_search($needle, $haystack, $strict = null) {}
  378. /**
  379. * Pops an element off the beginning of the array
  380. *
  381. * @return mixed
  382. * @param stack array
  383. */
  384. function array_shift($stack) {}
  385. /**
  386. * Returns elements specified by offset and length
  387. *
  388. * @return array
  389. * @param input array
  390. * @param offset int
  391. * @param length int[optional]
  392. */
  393. function array_slice($input, $offset, $length = null) {}
  394. /**
  395. * Removes the elements designated by offset and length and replace them with supplied array
  396. *
  397. * @return array
  398. * @param input array
  399. * @param offset int
  400. * @param length int[optional]
  401. * @param replacement array[optional]
  402. */
  403. function array_splice($input, $offset, $length = null, $replacement = null) {}
  404. /**
  405. * Returns the sum of the array entries
  406. *
  407. * @return mixed
  408. * @param input array
  409. */
  410. function array_sum($input) {}
  411. /**
  412. * Removes duplicate values from array
  413. *
  414. * @return array
  415. * @param input array
  416. */
  417. function array_unique($input) {}
  418. /**
  419. * Pushes elements onto the beginning of the array
  420. *
  421. * @return int
  422. * @param stack array
  423. * @param var mixed
  424. * @vararg ... mixed
  425. */
  426. function array_unshift($stack, $var) {}
  427. /**
  428. * Return just the values from the input array
  429. *
  430. * @return array
  431. * @param input array
  432. */
  433. function array_values($input) {}
  434. /**
  435. * Apply a user function to every member of an array
  436. *
  437. * @return bool
  438. * @param input array
  439. * @param funcname string
  440. * @param userdata mixed[optional]
  441. */
  442. function array_walk($input, $funcname, $userdata = null) {}
  443. /**
  444. * Sort an array in reverse order and maintain index association
  445. *
  446. * @return bool
  447. * @param array_arg array
  448. * @param sort_flags int[optional]
  449. */
  450. function arsort($array_arg, $sort_flags = null) {}
  451. /**
  452. * Returns the arc sine of the number in radians
  453. *
  454. * @return float
  455. * @param number float
  456. */
  457. function asin($number) {}
  458. /**
  459. * Returns the inverse hyperbolic sine of the number, i.e. the value whose hyperbolic sine is number
  460. *
  461. * @return float
  462. * @param number float
  463. */
  464. function asinh($number) {}
  465. /**
  466. * Sort an array and maintain index association
  467. *
  468. * @return bool
  469. * @param array_arg array
  470. * @param sort_flags int[optional]
  471. */
  472. function asort($array_arg, $sort_flags = null) {}
  473. /**
  474. * Checks if assertion is false
  475. *
  476. * @return int
  477. * @param assertion string|bool
  478. */
  479. function assert($assertion) {}
  480. /**
  481. * Set/get the various assert flags
  482. *
  483. * @return mixed
  484. * @param what int
  485. * @param value mixed[optional]
  486. */
  487. function assert_options($what, $value = null) {}
  488. /**
  489. * Returns the arc tangent of the number in radians
  490. *
  491. * @return float
  492. * @param number float
  493. */
  494. function atan($number) {}
  495. /**
  496. * Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x
  497. *
  498. * @return float
  499. * @param y float
  500. * @param x float
  501. */
  502. function atan2($y, $x) {}
  503. /**
  504. * Returns the inverse hyperbolic tangent of the number, i.e. the value whose hyperbolic tangent is number
  505. *
  506. * @return float
  507. * @param number float
  508. */
  509. function atanh($number) {}
  510. /**
  511. * Decodes string using MIME base64 algorithm
  512. *
  513. * @return string
  514. * @param str string
  515. */
  516. function base64_decode($str) {}
  517. /**
  518. * Encodes string using MIME base64 algorithm
  519. *
  520. * @return string
  521. * @param str string
  522. */
  523. function base64_encode($str) {}
  524. /**
  525. * Converts a number in a string from any base <= 36 to any base <= 36
  526. *
  527. * @return string
  528. * @param number string
  529. * @param frombase int
  530. * @param tobase int
  531. */
  532. function base_convert($number, $frombase, $tobase) {}
  533. /**
  534. * Returns the filename component of the path
  535. *
  536. * @return string
  537. * @param path string
  538. * @param suffix string[optional]
  539. */
  540. function basename($path, $suffix = null) {}
  541. /**
  542. * Returns the sum of two arbitrary precision numbers
  543. *
  544. * @return string
  545. * @param left_operand string
  546. * @param right_operand string
  547. * @param scale int[optional]
  548. */
  549. function bcadd($left_operand, $right_operand, $scale = null) {}
  550. /**
  551. * Compares two arbitrary precision numbers
  552. *
  553. * @return int
  554. * @param left_operand string
  555. * @param right_operand string
  556. * @param scale int[optional]
  557. */
  558. function bccomp($left_operand, $right_operand, $scale = null) {}
  559. /**
  560. * Returns the quotient of two arbitrary precision numbers (division)
  561. *
  562. * @return string
  563. * @param left_operand string
  564. * @param right_operand string
  565. * @param scale int[optional]
  566. */
  567. function bcdiv($left_operand, $right_operand, $scale = null) {}
  568. /**
  569. * Returns the modulus of the two arbitrary precision operands
  570. *
  571. * @return string
  572. * @param left_operand string
  573. * @param right_operand string
  574. */
  575. function bcmod($left_operand, $right_operand) {}
  576. /**
  577. * Returns the multiplication of two arbitrary precision numbers
  578. *
  579. * @return string
  580. * @param left_operand string
  581. * @param right_operand string
  582. * @param scale int[optional]
  583. */
  584. function bcmul($left_operand, $right_operand, $scale = null) {}
  585. /**
  586. * Returns the value of an arbitrary precision number raised to the power of another
  587. *
  588. * @return string
  589. * @param x string
  590. * @param y string
  591. * @param scale int[optional]
  592. */
  593. function bcpow($x, $y, $scale = null) {}
  594. /**
  595. * Sets default scale parameter for all bc math functions
  596. *
  597. * @return bool
  598. * @param scale int
  599. */
  600. function bcscale($scale) {}
  601. /**
  602. * Returns the square root of an arbitray precision number
  603. *
  604. * @return string
  605. * @param operand string
  606. * @param scale int[optional]
  607. */
  608. function bcsqrt($operand, $scale = null) {}
  609. /**
  610. * Returns the difference between two arbitrary precision numbers
  611. *
  612. * @return string
  613. * @param left_operand string
  614. * @param right_operand string
  615. * @param scale int[optional]
  616. */
  617. function bcsub($left_operand, $right_operand, $scale = null) {}
  618. /**
  619. * Converts the binary representation of data to hex
  620. *
  621. * @return string
  622. * @param data string
  623. */
  624. function bin2hex($data) {}
  625. /**
  626. * Specify the character encoding in which the messages from the DOMAIN message catalog will be returned.
  627. *
  628. * @return string
  629. * @param domain string
  630. * @param codeset string
  631. */
  632. function bind_textdomain_codeset($domain, $codeset) {}
  633. /**
  634. * Returns the decimal equivalent of the binary number
  635. *
  636. * @return int
  637. * @param binary_number string
  638. */
  639. function bindec($binary_number) {}
  640. /**
  641. * Bind to the text domain domain_name, looking for translations in dir. Returns the current domain
  642. *
  643. * @return string
  644. * @param domain_name string
  645. * @param dir string
  646. */
  647. function bindtextdomain($domain_name, $dir) {}
  648. /**
  649. *
  650. *
  651. * @return bool
  652. * @param index int
  653. */
  654. function birdstep_autocommit($index) {}
  655. /**
  656. *
  657. *
  658. * @return bool
  659. * @param id int
  660. */
  661. function birdstep_close($id) {}
  662. /**
  663. *
  664. *
  665. * @return bool
  666. * @param index int
  667. */
  668. function birdstep_commit($index) {}
  669. /**
  670. *
  671. *
  672. * @return int
  673. * @param server string
  674. * @param user string
  675. * @param pass sting
  676. */
  677. function birdstep_connect($server, $user, $pass) {}
  678. /**
  679. *
  680. *
  681. * @return int
  682. * @param index int
  683. * @param exec_str string
  684. */
  685. function birdstep_exec($index, $exec_str) {}
  686. /**
  687. *
  688. *
  689. * @return bool
  690. * @param index int
  691. */
  692. function birdstep_fetch($index) {}
  693. /**
  694. *
  695. *
  696. * @return string
  697. * @param index int
  698. * @param col int
  699. */
  700. function birdstep_fieldname($index, $col) {}
  701. /**
  702. *
  703. *
  704. * @return int
  705. * @param index int
  706. */
  707. function birdstep_fieldnum($index) {}
  708. /**
  709. *
  710. *
  711. * @return bool
  712. * @param index int
  713. */
  714. function birdstep_freeresult($index) {}
  715. /**
  716. *
  717. *
  718. * @return bool
  719. * @param index int
  720. */
  721. function birdstep_off_autocommit($index) {}
  722. /**
  723. *
  724. *
  725. * @return mixed
  726. * @param index int
  727. * @param col int
  728. */
  729. function birdstep_result($index, $col) {}
  730. /**
  731. *
  732. *
  733. * @return bool
  734. * @param index int
  735. */
  736. function birdstep_rollback($index) {}
  737. /**
  738. * Returns the number of days in a month for a given year and calendar
  739. *
  740. * @return int
  741. * @param calendar int
  742. * @param month int
  743. * @param year int
  744. */
  745. function cal_days_in_month($calendar, $month, $year) {}
  746. /**
  747. * Converts from Julian Day Count to a supported calendar and return extended information
  748. *
  749. * @return array
  750. * @param jd int
  751. * @param calendar int
  752. */
  753. function cal_from_jd($jd, $calendar) {}
  754. /**
  755. * Returns information about a particular calendar
  756. *
  757. * @return array
  758. * @param calendar int
  759. */
  760. function cal_info($calendar) {}
  761. /**
  762. * Converts from a supported calendar to Julian Day Count
  763. *
  764. * @return int
  765. * @param calendar int
  766. * @param month int
  767. * @param day int
  768. * @param year int
  769. */
  770. function cal_to_jd($calendar, $month, $day, $year) {}
  771. /**
  772. * Call a user function which is the first parameter
  773. *
  774. * @return mixed
  775. * @param function_name string
  776. * @param parmeter mixed[optional]
  777. * @vararg ... mixed
  778. */
  779. function call_user_func($function_name, $parmeter = null) {}
  780. /**
  781. * Call a user function which is the first parameter with the arguments contained in array
  782. *
  783. * @return mixed
  784. * @param function_name string
  785. * @param parameters array
  786. */
  787. function call_user_func_array($function_name, $parameters) {}
  788. /**
  789. * Call a user method on a specific object or class
  790. *
  791. * @return mixed
  792. * @param method_name string
  793. * @param object mixed
  794. * @param parameter mixed[optional]
  795. * @vararg ... mixed
  796. */
  797. function call_user_method($method_name, $object, $parameter = null) {}
  798. /**
  799. * Call a user method on a specific object or class using a parameter array
  800. *
  801. * @return mixed
  802. * @param method_name string
  803. * @param object mixed
  804. * @param params array
  805. */
  806. function call_user_method_array($method_name, $object, $params) {}
  807. /**
  808. * Returns the next highest integer value of the number
  809. *
  810. * @return float
  811. * @param number float
  812. */
  813. function ceil($number) {}
  814. /**
  815. * Change the current directory
  816. *
  817. * @return bool
  818. * @param directory string
  819. */
  820. function chdir($directory) {}
  821. /**
  822. * Returns true(1) if it is a valid date in gregorian calendar
  823. *
  824. * @return bool
  825. * @param month int
  826. * @param day int
  827. * @param year int
  828. */
  829. function checkdate($month, $day, $year) {}
  830. /**
  831. * Check DNS records corresponding to a given Internet host name or IP address
  832. *
  833. * @return int
  834. * @param host string
  835. * @param type string[optional]
  836. */
  837. function checkdnsrr($host, $type = null) {}
  838. /**
  839. * Change file group
  840. *
  841. * @return bool
  842. * @param filename string
  843. * @param group mixed
  844. */
  845. function chgrp($filename, $group) {}
  846. /**
  847. * Change file mode
  848. *
  849. * @return bool
  850. * @param filename string
  851. * @param mode int
  852. */
  853. function chmod($filename, $mode) {}
  854. /**
  855. * Removes trailing whitespace
  856. *
  857. * @return string
  858. * @param str string
  859. * @param character_mask string[optional]
  860. */
  861. function chop($str, $character_mask = null) {}
  862. /**
  863. * Change file owner
  864. *
  865. * @return bool
  866. * @param filename string
  867. * @param user mixed
  868. */
  869. function chown($filename, $user) {}
  870. /**
  871. * Converts ASCII code to a character
  872. *
  873. * @return string
  874. * @param ascii int
  875. */
  876. function chr($ascii) {}
  877. /**
  878. * Change root directory
  879. *
  880. * @return bool
  881. * @param directory string
  882. */
  883. function chroot($directory) {}
  884. /**
  885. * Returns split line
  886. *
  887. * @return string
  888. * @param str string
  889. * @param chunklen int[optional]
  890. * @param ending string[optional]
  891. */
  892. function chunk_split($str, $chunklen = null, $ending = null) {}
  893. /**
  894. * Checks if the class exists
  895. *
  896. * @return bool
  897. * @param classname string
  898. */
  899. function class_exists($classname) {}
  900. /**
  901. * Clear file stat cache
  902. *
  903. * @return void
  904. */
  905. function clearstatcache() {}
  906. /**
  907. * Close directory connection identified by the dir_handle
  908. *
  909. * @return void
  910. * @param dir_handle resource[optional]
  911. */
  912. function closedir($dir_handle = null) {}
  913. /**
  914. * Close connection to system logger
  915. *
  916. * @return bool
  917. */
  918. function closelog() {}
  919. /**
  920. * Increases the reference counter on a COM object
  921. *
  922. * @return mixed
  923. * @param module int
  924. */
  925. function com_addref($module) {}
  926. /**
  927. * Connect events from a COM object to a PHP object
  928. *
  929. * @return bool
  930. * @param comobject mixed
  931. * @param sinkobject object
  932. * @param sinkinterface mixed[optional]
  933. */
  934. function com_event_sink($comobject, $sinkobject, $sinkinterface = null) {}
  935. /**
  936. * Gets properties from a COM module
  937. *
  938. * @return mixed
  939. * @param module int
  940. * @param property_name string
  941. * @vararg ... mixed
  942. */
  943. function com_get($module, $property_name) {}
  944. /**
  945. * Invokes a COM module
  946. *
  947. * @return mixed
  948. * @param module int
  949. * @param handler_name string
  950. * @param arg mixed[optional]
  951. * @vararg ... mixed
  952. */
  953. function com_invoke($module, $handler_name, $arg = null) {}
  954. /**
  955. * Invokes a COM module
  956. *
  957. * @return mixed
  958. * @param module int
  959. * @param invokeflags int
  960. * @param handler_name string
  961. * @param arg mixed[optional]
  962. * @vararg ... mixed
  963. */
  964. function com_invoke_ex($module, $invokeflags, $handler_name, $arg = null) {}
  965. /**
  966. * Grabs an IEnumVariant
  967. *
  968. * @return bool
  969. * @param com_module object
  970. */
  971. function com_isenum($com_module) {}
  972. /**
  973. * Loads a COM module
  974. *
  975. * @return int
  976. * @param module_name string
  977. * @param remote_host string[optional]
  978. * @param codepage int[optional]
  979. * @param typelib string[optional]
  980. */
  981. function com_load($module_name, $remote_host = null, $codepage = null, $typelib = null) {}
  982. /**
  983. * Loads a Typelib
  984. *
  985. * @return bool
  986. * @param typelib_name string
  987. * @param case_insensitive int[optional]
  988. */
  989. function com_load_typelib($typelib_name, $case_insensitive = null) {}
  990. /**
  991. * Process COM messages, sleeping for up to timeoutms milliseconds
  992. *
  993. * @return bool
  994. * @param timeoutms int[optional]
  995. */
  996. function com_message_pump($timeoutms = null) {}
  997. /**
  998. * Print out a PHP class definition for a dispatchable interface
  999. *
  1000. * @return bool
  1001. * @param comobject_|_string_typelib mixed
  1002. * @param dispinterface string
  1003. * @param wantsink bool
  1004. */
  1005. function com_print_typeinfo($comobject_, $dispinterface, $wantsink) {}
  1006. /**
  1007. * Gets properties from a COM module
  1008. *
  1009. * @return mixed
  1010. * @param module int
  1011. * @param property_name string
  1012. * @vararg ... mixed
  1013. */
  1014. function com_propget($module, $property_name) {}
  1015. /**
  1016. * Puts the properties for a module
  1017. *
  1018. * @return bool
  1019. * @param module int
  1020. * @param property_name string
  1021. * @param value mixed
  1022. * @vararg ...
  1023. */
  1024. function com_propput($module, $property_name, $value) {}
  1025. /**
  1026. * Puts the properties for a module
  1027. *
  1028. * @return bool
  1029. * @param module int
  1030. * @param property_name string
  1031. * @param value mixed
  1032. * @vararg ...
  1033. */
  1034. function com_propset($module, $property_name, $value) {}
  1035. /**
  1036. * Releases a COM object
  1037. *
  1038. * @return mixed
  1039. * @param module int
  1040. */
  1041. function com_release($module) {}
  1042. /**
  1043. * Puts the properties for a module
  1044. *
  1045. * @return bool
  1046. * @param module int
  1047. * @param property_name string
  1048. * @param value mixed
  1049. * @vararg ...
  1050. */
  1051. function com_set($module, $property_name, $value) {}
  1052. /**
  1053. * Creates a hash containing variables and their values
  1054. *
  1055. * @return array
  1056. * @param var_names mixed
  1057. * @vararg ... mixed
  1058. */
  1059. function compact($var_names) {}
  1060. /**
  1061. * Return a string to confirm that the module is compiled in
  1062. *
  1063. * @return string
  1064. * @param arg string
  1065. */
  1066. function confirm_extname_compiled($arg) {}
  1067. /**
  1068. * Returns true if client disconnected
  1069. *
  1070. * @return int
  1071. */
  1072. function connection_aborted() {}
  1073. /**
  1074. * Returns the connection status bitfield
  1075. *
  1076. * @return int
  1077. */
  1078. function connection_status() {}
  1079. /**
  1080. * Given the name of a constant this function will return the constants associated value
  1081. *
  1082. * @return mixed
  1083. * @param const_name string
  1084. */
  1085. function constant($const_name) {}
  1086. /**
  1087. * Convert from one Cyrillic character set to another
  1088. *
  1089. * @return string
  1090. * @param str string
  1091. * @param from string
  1092. * @param to string
  1093. */
  1094. function convert_cyr_string($str, $from, $to) {}
  1095. /**
  1096. * Copy a file
  1097. *
  1098. * @return bool
  1099. * @param source_file string
  1100. * @param destination_file string
  1101. */
  1102. function copy($source_file, $destination_file) {}
  1103. /**
  1104. * Returns the cosine of the number in radians
  1105. *
  1106. * @return float
  1107. * @param number float
  1108. */
  1109. function cos($number) {}
  1110. /**
  1111. * Returns the hyperbolic cosine of the number, defined as (exp(number) + exp(-number))/2
  1112. *
  1113. * @return float
  1114. * @param number float
  1115. */
  1116. function cosh($number) {}
  1117. /**
  1118. * Count the number of elements in a variable (usually an array)
  1119. *
  1120. * @return int
  1121. * @param var mixed
  1122. * @param mode int[optional]
  1123. */
  1124. function count($var, $mode = null) {}
  1125. /**
  1126. * Returns info about what characters are used in input
  1127. *
  1128. * @return mixed
  1129. * @param input string
  1130. * @param mode int[optional]
  1131. */
  1132. function count_chars($input, $mode = null) {}
  1133. /**
  1134. * Sets annotation
  1135. *
  1136. * @return bool
  1137. * @param pdfdoc int
  1138. * @param xll float
  1139. * @param yll float
  1140. * @param xur float
  1141. * @param xur float
  1142. * @param title string
  1143. * @param text string
  1144. * @param mode int[optional]
  1145. */
  1146. function cpdf_add_annotation($pdfdoc, $xll, $yll, $xur, $xur, $title, $text, $mode = null) {}
  1147. /**
  1148. * Adds outline
  1149. *
  1150. * @return int
  1151. * @param pdfdoc int
  1152. * @param lastoutline int
  1153. * @param sublevel int
  1154. * @param open int
  1155. * @param pagenr int
  1156. * @param title string
  1157. */
  1158. function cpdf_add_outline($pdfdoc, $lastoutline, $sublevel, $open, $pagenr, $title) {}
  1159. /**
  1160. * Draws an arc
  1161. *
  1162. * @return bool
  1163. * @param pdfdoc int
  1164. * @param x float
  1165. * @param y float
  1166. * @param radius float
  1167. * @param start float
  1168. * @param end float
  1169. * @param mode int[optional]
  1170. */
  1171. function cpdf_arc($pdfdoc, $x, $y, $radius, $start, $end, $mode = null) {}
  1172. /**
  1173. * Starts text section
  1174. *
  1175. * @return bool
  1176. * @param pdfdoc int
  1177. */
  1178. function cpdf_begin_text($pdfdoc) {}
  1179. /**
  1180. * Draws a circle
  1181. *
  1182. * @return bool
  1183. * @param pdfdoc int
  1184. * @param x float
  1185. * @param y float
  1186. * @param radius float
  1187. * @param mode int[optional]
  1188. */
  1189. function cpdf_circle($pdfdoc, $x, $y, $radius, $mode = null) {}
  1190. /**
  1191. * Clips to current path
  1192. *
  1193. * @return bool
  1194. * @param pdfdoc int
  1195. */
  1196. function cpdf_clip($pdfdoc) {}
  1197. /**
  1198. * Closes the pdf document
  1199. *
  1200. * @return void
  1201. * @param pdfdoc int
  1202. */
  1203. function cpdf_close($pdfdoc) {}
  1204. /**
  1205. * Close path
  1206. *
  1207. * @return bool
  1208. * @param pdfdoc int
  1209. */
  1210. function cpdf_closepath($pdfdoc) {}
  1211. /**
  1212. * Close, fill and stroke current path
  1213. *
  1214. * @return bool
  1215. * @param pdfdoc int
  1216. */
  1217. function cpdf_closepath_fill_stroke($pdfdoc) {}
  1218. /**
  1219. * Close path and draw line along path
  1220. *
  1221. * @return bool
  1222. * @param pdfdoc int
  1223. */
  1224. function cpdf_closepath_stroke($pdfdoc) {}
  1225. /**
  1226. * Outputs text in next line
  1227. *
  1228. * @return bool
  1229. * @param pdfdoc int
  1230. * @param text string
  1231. */
  1232. function cpdf_continue_text($pdfdoc, $text) {}
  1233. /**
  1234. * Draws a curve
  1235. *
  1236. * @return bool
  1237. * @param pdfdoc int
  1238. * @param x1 float
  1239. * @param y1 float
  1240. * @param x2 float
  1241. * @param y2 float
  1242. * @param x3 float
  1243. * @param y3 float
  1244. * @param mode int[optional]
  1245. */
  1246. function cpdf_curveto($pdfdoc, $x1, $y1, $x2, $y2, $x3, $y3, $mode = null) {}
  1247. /**
  1248. * Ends text section
  1249. *
  1250. * @return bool
  1251. * @param pdfdoc int
  1252. */
  1253. function cpdf_end_text($pdfdoc) {}
  1254. /**
  1255. * Fills current path
  1256. *
  1257. * @return bool
  1258. * @param pdfdoc int
  1259. */
  1260. function cpdf_fill($pdfdoc) {}
  1261. /**
  1262. * Fills and stroke current path
  1263. *
  1264. * @return bool
  1265. * @param pdfdoc int
  1266. */
  1267. function cpdf_fill_stroke($pdfdoc) {}
  1268. /**
  1269. * Creates PDF doc in memory
  1270. *
  1271. * @return bool
  1272. * @param pdfdoc int
  1273. */
  1274. function cpdf_finalize($pdfdoc) {}
  1275. /**
  1276. * Ends the page to save memory
  1277. *
  1278. * @return bool
  1279. * @param pdfdoc int
  1280. * @param pagenr int
  1281. */
  1282. function cpdf_finalize_page($pdfdoc, $pagenr) {}
  1283. /**
  1284. * Sets document settings for all documents
  1285. *
  1286. * @return bool
  1287. * @param maxPages int
  1288. * @param maxFonts int
  1289. * @param maxImages int
  1290. * @param maxAnnots int
  1291. * @param maxObjects int
  1292. */
  1293. function cpdf_global_set_document_limits($maxPages, $maxFonts, $maxImages, $maxAnnots, $maxObjects) {}
  1294. /**
  1295. * Includes JPEG image
  1296. *
  1297. * @return bool
  1298. * @param pdfdoc int
  1299. * @param filename string
  1300. * @param x float
  1301. * @param y float
  1302. * @param angle float
  1303. * @param width float
  1304. * @param height float
  1305. * @param x_scale float
  1306. * @param y_scale float
  1307. * @param gsave int
  1308. * @param mode int[optional]
  1309. */
  1310. function cpdf_import_jpeg($pdfdoc, $filename, $x, $y, $angle, $width, $height, $x_scale, $y_scale, $gsave, $mode = null) {}
  1311. /**
  1312. * Draws a line
  1313. *
  1314. * @return bool
  1315. * @param pdfdoc int
  1316. * @param x float
  1317. * @param y float
  1318. * @param mode int[optional]
  1319. */
  1320. function cpdf_lineto($pdfdoc, $x, $y, $mode = null) {}
  1321. /**
  1322. * Sets current point
  1323. *
  1324. * @return bool
  1325. * @param pdfdoc int
  1326. * @param x float
  1327. * @param y float
  1328. * @param mode int[optional]
  1329. */
  1330. function cpdf_moveto($pdfdoc, $x, $y, $mode = null) {}
  1331. /**
  1332. * Starts new path
  1333. *
  1334. * @return bool
  1335. * @param pdfdoc int
  1336. */
  1337. function cpdf_newpath($pdfdoc) {}
  1338. /**
  1339. * Opens a new pdf document
  1340. *
  1341. * @return int
  1342. * @param compression int
  1343. * @param filename string[optional]
  1344. * @param doc_limits array[optional]
  1345. */
  1346. function cpdf_open($compression, $filename = null, $doc_limits = null) {}
  1347. /**
  1348. * Returns the internal memory stream as string
  1349. *
  1350. * @return bool
  1351. * @param pdfdoc int
  1352. */
  1353. function cpdf_output_buffer($pdfdoc) {}
  1354. /**
  1355. * Starts page
  1356. *
  1357. * @return bool
  1358. * @param pdfdoc int
  1359. * @param pagenr int
  1360. * @param orientation int
  1361. * @param height int
  1362. * @param width int
  1363. * @param unit float[optional]
  1364. */
  1365. function cpdf_page_init($pdfdoc, $pagenr, $orientation, $height, $width, $unit = null) {}
  1366. /**
  1367. * Includes image
  1368. *
  1369. * @return bool
  1370. * @param pdfdoc int
  1371. * @param gdimage int
  1372. * @param x float
  1373. * @param y float
  1374. * @param angle float
  1375. * @param width fload
  1376. * @param height float
  1377. * @param gsave int
  1378. * @param mode int[optional]
  1379. */
  1380. function cpdf_place_inline_image($pdfdoc, $gdimage, $x, $y, $angle, $width, $height, $gsave, $mode = null) {}
  1381. /**
  1382. * Draws a rectangle
  1383. *
  1384. * @return bool
  1385. * @param pdfdoc int
  1386. * @param x float
  1387. * @param y float
  1388. * @param width float
  1389. * @param height float
  1390. * @param mode int[optional]
  1391. */
  1392. function cpdf_rect($pdfdoc, $x, $y, $width, $height, $mode = null) {}
  1393. /**
  1394. * Restores formerly saved enviroment
  1395. *
  1396. * @return bool
  1397. * @param pdfdoc int
  1398. */
  1399. function cpdf_restore($pdfdoc) {}
  1400. /**
  1401. * Draws a line relative to current point
  1402. *
  1403. * @return bool
  1404. * @param pdfdoc int
  1405. * @param x float
  1406. * @param y float
  1407. * @param mode int[optional]
  1408. */
  1409. function cpdf_rlineto($pdfdoc, $x, $y, $mode = null) {}
  1410. /**
  1411. * Sets current point
  1412. *
  1413. * @return bool
  1414. * @param pdfdoc int
  1415. * @param x float
  1416. * @param y float
  1417. * @param mode int[optional]
  1418. */
  1419. function cpdf_rmoveto($pdfdoc, $x, $y, $mode = null) {}
  1420. /**
  1421. * Sets rotation
  1422. *
  1423. * @return bool
  1424. * @param pdfdoc int
  1425. * @param angle float
  1426. */
  1427. function cpdf_rotate($pdfdoc, $angle) {}
  1428. /**
  1429. * Sets text rotation angle
  1430. *
  1431. * @return bool
  1432. * @param pdfdoc int
  1433. * @param angle float
  1434. */
  1435. function cpdf_rotate_text($pdfdoc, $angle) {}
  1436. /**
  1437. * Saves current enviroment
  1438. *
  1439. * @return bool
  1440. * @param pdfdoc int
  1441. */
  1442. function cpdf_save($pdfdoc) {}
  1443. /**
  1444. * Saves the internal memory stream to a file
  1445. *
  1446. * @return bool
  1447. * @param pdfdoc int
  1448. * @param filename string
  1449. */
  1450. function cpdf_save_to_file($pdfdoc, $filename) {}
  1451. /**
  1452. * Sets scaling
  1453. *
  1454. * @return bool
  1455. * @param pdfdoc int
  1456. * @param x_scale float
  1457. * @param y_scale float
  1458. */
  1459. function cpdf_scale($pdfdoc, $x_scale, $y_scale) {}
  1460. /**
  1461. * Sets hyperlink
  1462. *
  1463. * @return void
  1464. * @param pdfdoc int
  1465. * @param xll float
  1466. * @param yll float
  1467. * @param xur float
  1468. * @param xur float
  1469. * @param url string
  1470. * @param mode int[optional]
  1471. */
  1472. function cpdf_set_action_url($pdfdoc, $xll, $yll, $xur, $xur, $url, $mode = null) {}
  1473. /**
  1474. * Sets character spacing
  1475. *
  1476. * @return bool
  1477. * @param pdfdoc int
  1478. * @param space float
  1479. */
  1480. function cpdf_set_char_spacing($pdfdoc, $space) {}
  1481. /**
  1482. * Sets the creator field
  1483. *
  1484. * @return bool
  1485. * @param pdfdoc int
  1486. * @param creator string
  1487. */
  1488. function cpdf_set_creator($pdfdoc, $creator) {}
  1489. /**
  1490. * Sets page for output
  1491. *
  1492. * @return bool
  1493. * @param pdfdoc int
  1494. * @param pagenr int
  1495. */
  1496. function cpdf_set_current_page($pdfdoc, $pagenr) {}
  1497. /**
  1498. * Selects the current font face, size and encoding
  1499. *
  1500. * @return bool
  1501. * @param pdfdoc int
  1502. * @param font string
  1503. * @param size float
  1504. * @param encoding string
  1505. */
  1506. function cpdf_set_font($pdfdoc, $font, $size, $encoding) {}
  1507. /**
  1508. * Sets directories to search when using external fonts
  1509. *
  1510. * @return bool
  1511. * @param pdfdoc int
  1512. * @param pfmdir string
  1513. * @param pfbdir string
  1514. */
  1515. function cpdf_set_font_directories($pdfdoc, $pfmdir, $pfbdir) {}
  1516. /**
  1517. * Sets fontname to filename translation map when using external fonts
  1518. *
  1519. * @return bool
  1520. * @param pdfdoc int
  1521. * @param filename string
  1522. */
  1523. function cpdf_set_font_map_file($pdfdoc, $filename) {}
  1524. /**
  1525. * Sets horizontal scaling of text
  1526. *
  1527. * @return bool
  1528. * @param pdfdoc int
  1529. * @param scale float
  1530. */
  1531. function cpdf_set_horiz_scaling($pdfdoc, $scale) {}
  1532. /**
  1533. * Fills the keywords field of the info structure
  1534. *
  1535. * @return bool
  1536. * @param pdfptr int
  1537. * @param keywords string
  1538. */
  1539. function cpdf_set_keywords($pdfptr, $keywords) {}
  1540. /**
  1541. * Sets distance between text lines
  1542. *
  1543. * @return bool
  1544. * @param pdfdoc int
  1545. * @param distance float
  1546. */
  1547. function cpdf_set_leading($pdfdoc, $distance) {}
  1548. /**
  1549. * Sets transition between pages
  1550. *
  1551. * @return bool
  1552. * @param pdfdoc int
  1553. * @param transition int
  1554. * @param duration float
  1555. * @param direction float
  1556. * @param orientation int
  1557. * @param inout int
  1558. */
  1559. function cpdf_set_page_animation($pdfdoc, $transition, $duration, $direction, $orientation, $inout) {}
  1560. /**
  1561. * Fills the subject field of the info structure
  1562. *
  1563. * @return bool
  1564. * @param pdfptr int
  1565. * @param subject string
  1566. */
  1567. function cpdf_set_subject($pdfptr, $subject) {}
  1568. /**
  1569. * Sets the text matrix
  1570. *
  1571. * @return bool
  1572. * @param pdfdoc int
  1573. * @param matrix arry
  1574. */
  1575. function cpdf_set_text_matrix($pdfdoc, $matrix) {}
  1576. /**
  1577. * Sets the position of text for the next cpdf_show call
  1578. *
  1579. * @return bool
  1580. * @param pdfdoc int
  1581. * @param x float
  1582. * @param y float
  1583. * @param mode int[optional]
  1584. */
  1585. function cpdf_set_text_pos($pdfdoc, $x, $y, $mode = null) {}
  1586. /**
  1587. * Determines how text is rendered
  1588. *
  1589. * @return bool
  1590. * @param pdfdoc int
  1591. * @param rendermode int
  1592. */
  1593. function cpdf_set_text_rendering($pdfdoc, $rendermode) {}
  1594. /**
  1595. * Sets the text rise
  1596. *
  1597. * @return bool
  1598. * @param pdfdoc int
  1599. * @param value float
  1600. */
  1601. function cpdf_set_text_rise($pdfdoc, $value) {}
  1602. /**
  1603. * Fills the title field of the info structure
  1604. *
  1605. * @return bool
  1606. * @param pdfptr int
  1607. * @param title string
  1608. */
  1609. function cpdf_set_title($pdfptr, $title) {}
  1610. /**
  1611. * How to show the document in the viewer
  1612. *
  1613. * @return bool
  1614. * @param pdfdoc int
  1615. * @param preferences array
  1616. */
  1617. function cpdf_set_viewer_preferences($pdfdoc, $preferences) {}
  1618. /**
  1619. * Sets spacing between words
  1620. *
  1621. * @return bool
  1622. * @param pdfdoc int
  1623. * @param space float
  1624. */
  1625. function cpdf_set_word_spacing($pdfdoc, $space) {}
  1626. /**
  1627. * Sets dash pattern
  1628. *
  1629. * @return bool
  1630. * @param pdfdoc int
  1631. * @param white long
  1632. * @param black long
  1633. */
  1634. function cpdf_setdash($pdfdoc, $white, $black) {}
  1635. /**
  1636. * Sets flatness
  1637. *
  1638. * @return bool
  1639. * @param pdfdoc int
  1640. * @param value float
  1641. */
  1642. function cpdf_setflat($pdfdoc, $value) {}
  1643. /**
  1644. * Sets drawing and filling color to gray value
  1645. *
  1646. * @return bool
  1647. * @param pdfdoc int
  1648. * @param value float
  1649. */
  1650. function cpdf_setgray($pdfdoc, $value) {}
  1651. /**
  1652. * Sets filling color to gray value
  1653. *
  1654. * @return bool
  1655. * @param pdfdoc int
  1656. * @param value float
  1657. */
  1658. function cpdf_setgray_fill($pdfdoc, $value) {}
  1659. /**
  1660. * Sets drawing color to gray value
  1661. *
  1662. * @return bool
  1663. * @param pdfdoc int
  1664. * @param value float
  1665. */
  1666. function cpdf_setgray_stroke($pdfdoc, $value) {}
  1667. /**
  1668. * Sets linecap parameter
  1669. *
  1670. * @return bool
  1671. * @param pdfdoc int
  1672. * @param value int
  1673. */
  1674. function cpdf_setlinecap($pdfdoc, $value) {}
  1675. /**
  1676. * Sets linejoin parameter
  1677. *
  1678. * @return bool
  1679. * @param pdfdoc int
  1680. * @param value int
  1681. */
  1682. function cpdf_setlinejoin($pdfdoc, $value) {}
  1683. /**
  1684. * Sets line width
  1685. *
  1686. * @return bool
  1687. * @param pdfdoc int
  1688. * @param width float
  1689. */
  1690. function cpdf_setlinewidth($pdfdoc, $width) {}
  1691. /**
  1692. * Sets miter limit
  1693. *
  1694. * @return bool
  1695. * @param pdfdoc int
  1696. * @param value float
  1697. */
  1698. function cpdf_setmiterlimit($pdfdoc, $value) {}
  1699. /**
  1700. * Sets drawing and filling color to RGB color value
  1701. *
  1702. * @return bool
  1703. * @param pdfdoc int
  1704. * @param red float
  1705. * @param green float
  1706. * @param blue float
  1707. */
  1708. function cpdf_setrgbcolor($pdfdoc, $red, $green, $blue) {}
  1709. /**
  1710. * Sets filling color to rgb color value
  1711. *
  1712. * @return bool
  1713. * @param pdfdoc int
  1714. * @param red float
  1715. * @param green float
  1716. * @param blue float
  1717. */
  1718. function cpdf_setrgbcolor_fill($pdfdoc, $red, $green, $blue) {}
  1719. /**
  1720. * Sets drawing color to RGB color value
  1721. *
  1722. * @return bool
  1723. * @param pdfdoc int
  1724. * @param red float
  1725. * @param green float
  1726. * @param blue float
  1727. */
  1728. function cpdf_setrgbcolor_stroke($pdfdoc, $red, $green, $blue) {}
  1729. /**
  1730. * Output text at current position
  1731. *
  1732. * @return bool
  1733. * @param pdfdoc int
  1734. * @param text string
  1735. */
  1736. function cpdf_show($pdfdoc, $text) {}
  1737. /**
  1738. * Output text at position
  1739. *
  1740. * @return bool
  1741. * @param pdfdoc int
  1742. * @param text string
  1743. * @param x_koor float
  1744. * @param y_koor float
  1745. * @param mode int[optional]
  1746. */
  1747. function cpdf_show_xy($pdfdoc, $text, $x_koor, $y_koor, $mode = null) {}
  1748. /**
  1749. * Returns width of text in current font
  1750. *
  1751. * @return float
  1752. * @param pdfdoc int
  1753. * @param text string
  1754. */
  1755. function cpdf_stringwidth($pdfdoc, $text) {}
  1756. /**
  1757. * Draws line along path path
  1758. *
  1759. * @return bool
  1760. * @param pdfdoc int
  1761. */
  1762. function cpdf_stroke($pdfdoc) {}
  1763. /**
  1764. * Outputs text
  1765. *
  1766. * @return bool
  1767. * @param pdfdoc int
  1768. * @param text string
  1769. * @param x_koor float[optional]
  1770. * @param y_koor float
  1771. * @param mode int[optional]
  1772. * @param orientation float[optional]
  1773. * @param alignmode int[optional]
  1774. */
  1775. function cpdf_text($pdfdoc, $text, $x_koor = null, $y_koor, $mode = null, $orientation = null, $alignmode = null) {}
  1776. /**
  1777. * Sets origin of coordinate system
  1778. *
  1779. * @return bool
  1780. * @param pdfdoc int
  1781. * @param x float
  1782. * @param y float
  1783. */
  1784. function cpdf_translate($pdfdoc, $x, $y) {}
  1785. /**
  1786. * Performs an obscure check with the given password
  1787. *
  1788. * @return bool
  1789. * @param dictionary resource[optional]
  1790. * @param password string
  1791. */
  1792. function crack_check($dictionary = null, $password) {}
  1793. /**
  1794. * Closes an open cracklib dictionary
  1795. *
  1796. * @return bool
  1797. * @param dictionary resource[optional]
  1798. */
  1799. function crack_closedict($dictionary = null) {}
  1800. /**
  1801. * Returns the message from the last obscure check
  1802. *
  1803. * @return string
  1804. */
  1805. function crack_getlastmessage() {}
  1806. /**
  1807. * Opens a new cracklib dictionary
  1808. *
  1809. * @return resource
  1810. * @param dictionary string
  1811. */
  1812. function crack_opendict($dictionary) {}
  1813. /**
  1814. * Calculate the crc32 polynomial of a string
  1815. *
  1816. * @return string
  1817. * @param str string
  1818. */
  1819. function crc32($str) {}
  1820. /**
  1821. * Creates an anonymous function, and returns its name (funny, eh?)
  1822. *
  1823. * @return string
  1824. * @param args string
  1825. * @param code string
  1826. */
  1827. function create_function($args, $code) {}
  1828. /**
  1829. * Encrypt a string
  1830. *
  1831. * @return string
  1832. * @param str string
  1833. * @param salt string[optional]
  1834. */
  1835. function crypt($str, $salt = null) {}
  1836. /**
  1837. * Checks for alphanumeric character(s)
  1838. *
  1839. * @return bool
  1840. * @param c mixed
  1841. */
  1842. function ctype_alnum($c) {}
  1843. /**
  1844. * Checks for alphabetic character(s)
  1845. *
  1846. * @return bool
  1847. * @param c mixed
  1848. */
  1849. function ctype_alpha($c) {}
  1850. /**
  1851. * Checks for control character(s)
  1852. *
  1853. * @return bool
  1854. * @param c mixed
  1855. */
  1856. function ctype_cntrl($c) {}
  1857. /**
  1858. * Checks for numeric character(s)
  1859. *
  1860. * @return bool
  1861. * @param c mixed
  1862. */
  1863. function ctype_digit($c) {}
  1864. /**
  1865. * Checks for any printable character(s) except space
  1866. *
  1867. * @return bool
  1868. * @param c mixed
  1869. */
  1870. function ctype_graph($c) {}
  1871. /**
  1872. * Checks for lowercase character(s)
  1873. *
  1874. * @return bool
  1875. * @param c mixed
  1876. */
  1877. function ctype_lower($c) {}
  1878. /**
  1879. * Checks for printable character(s)
  1880. *
  1881. * @return bool
  1882. * @param c mixed
  1883. */
  1884. function ctype_print($c) {}
  1885. /**
  1886. * Checks for any printable character which is not whitespace or an alphanumeric character
  1887. *
  1888. * @return bool
  1889. * @param c mixed
  1890. */
  1891. function ctype_punct($c) {}
  1892. /**
  1893. * Checks for whitespace character(s)
  1894. *
  1895. * @return bool
  1896. * @param c mixed
  1897. */
  1898. function ctype_space($c) {}
  1899. /**
  1900. * Checks for uppercase character(s)
  1901. *
  1902. * @return bool
  1903. * @param c mixed
  1904. */
  1905. function ctype_upper($c) {}
  1906. /**
  1907. * Checks for character(s) representing a hexadecimal digit
  1908. *
  1909. * @return bool
  1910. * @param c mixed
  1911. */
  1912. function ctype_xdigit($c) {}
  1913. /**
  1914. * Close a CURL session
  1915. *
  1916. * @return void
  1917. * @param ch resource
  1918. */
  1919. function curl_close($ch) {}
  1920. /**
  1921. * Return an integer containing the last error number
  1922. *
  1923. * @return int
  1924. * @param ch resource
  1925. */
  1926. function curl_errno($ch) {}
  1927. /**
  1928. * Return a string contain the last error for the current session
  1929. *
  1930. * @return string
  1931. * @param ch resource
  1932. */
  1933. function curl_error($ch) {}
  1934. /**
  1935. * Perform a CURL session
  1936. *
  1937. * @return bool
  1938. * @param ch resource
  1939. */
  1940. function curl_exec($ch) {}
  1941. /**
  1942. * Get information regarding a specific transfer
  1943. *
  1944. * @return mixed
  1945. * @param ch resource
  1946. * @param opt int
  1947. */
  1948. function curl_getinfo($ch, $opt) {}
  1949. /**
  1950. * Initialize a CURL session
  1951. *
  1952. * @return resource
  1953. * @param url string[optional]
  1954. */
  1955. function curl_init($url = null) {}
  1956. /**
  1957. * Set an option for a CURL transfer
  1958. *
  1959. * @return bool
  1960. * @param ch resource
  1961. * @param option string
  1962. * @param value mixed
  1963. */
  1964. function curl_setopt($ch, $option, $value) {}
  1965. /**
  1966. * Return cURL version information.
  1967. *
  1968. * @return string
  1969. */
  1970. function curl_version() {}
  1971. /**
  1972. * Return the element currently pointed to by the internal array pointer
  1973. *
  1974. * @return mixed
  1975. * @param array_arg array
  1976. */
  1977. function current($array_arg) {}
  1978. /**
  1979. * Authenticate agaings a Cyrus IMAP server
  1980. *
  1981. * @return void
  1982. * @param connection resource
  1983. * @param mechlist string[optional]
  1984. * @param service string[optional]
  1985. * @param user string[optional]
  1986. * @param minssf int[optional]
  1987. * @param maxssf int[optional]
  1988. */
  1989. function cyrus_authenticate($connection, $mechlist = null, $service = null, $user = null, $minssf = null, $maxssf = null) {}
  1990. /**
  1991. * Bind callbacks to a Cyrus IMAP connection
  1992. *
  1993. * @return bool
  1994. * @param connection resource
  1995. * @param callbacks array
  1996. */
  1997. function cyrus_bind($connection, $callbacks) {}
  1998. /**
  1999. * Close connection to a cyrus server
  2000. *
  2001. * @return bool
  2002. * @param connection resource
  2003. */
  2004. function cyrus_close($connection) {}
  2005. /**
  2006. * Connect to a Cyrus IMAP server
  2007. *
  2008. * @return resource
  2009. * @param host string[optional]
  2010. * @param port string[optional]
  2011. * @param flags int[optional]
  2012. */
  2013. function cyrus_connect($host = null, $port = null, $flags = null) {}
  2014. /**
  2015. * Send a query to a Cyrus IMAP server
  2016. *
  2017. * @return bool
  2018. * @param connection resource
  2019. * @param query string
  2020. */
  2021. function cyrus_query($connection, $query) {}
  2022. /**
  2023. * Unbind ...
  2024. *
  2025. * @return bool
  2026. * @param connection resource
  2027. * @param trigger_name string
  2028. */
  2029. function cyrus_unbind($connection, $trigger_name) {}
  2030. /**
  2031. * Format a local time/date
  2032. *
  2033. * @return string
  2034. * @param format string
  2035. * @param timestamp int[optional]
  2036. */
  2037. function date($format, $timestamp = null) {}
  2038. /**
  2039. * Closes database
  2040. *
  2041. * @return void
  2042. * @param handle resource
  2043. */
  2044. function dba_close($handle) {}
  2045. /**
  2046. *
  2047. *
  2048. * @return bool
  2049. * @param key string
  2050. * @param handle int
  2051. */
  2052. function dba_delete($key, $handle) {}
  2053. /**
  2054. * Checks, if the specified key exists
  2055. *
  2056. * @return bool
  2057. * @param key string
  2058. * @param handle int
  2059. */
  2060. function dba_exists($key, $handle) {}
  2061. /**
  2062. * Fetches the data associated with key
  2063. *
  2064. * @return string
  2065. * @param key string
  2066. * @param skip int[optional]
  2067. * @param handle int
  2068. */
  2069. function dba_fetch($key, $skip = null, $handle) {}
  2070. /**
  2071. * Resets the internal key pointer and returns the first key
  2072. *
  2073. * @return string
  2074. * @param handle int
  2075. */
  2076. function dba_firstkey($handle) {}
  2077. /**
  2078. * List configured database handlers
  2079. *
  2080. * @return array
  2081. * @param full_info bool[optional]
  2082. */
  2083. function dba_handlers($full_info = null) {}
  2084. /**
  2085. *
  2086. *
  2087. * @return bool
  2088. * @param key string
  2089. * @param value string
  2090. * @param handle int
  2091. */
  2092. function dba_insert($key, $value, $handle) {}
  2093. /**
  2094. * List opened databases
  2095. *
  2096. * @return array
  2097. */
  2098. function dba_list() {}
  2099. /**
  2100. * Returns the next key
  2101. *
  2102. * @return string
  2103. * @param handle int
  2104. */
  2105. function dba_nextkey($handle) {}
  2106. /**
  2107. * Opens path using the specified handler in mode
  2108. *
  2109. * @return resource
  2110. * @param path string
  2111. * @param mode string
  2112. * @param handlername string[optional]
  2113. * @vararg ... string
  2114. */
  2115. function dba_open($path, $mode, $handlername = null) {}
  2116. /**
  2117. * Optimizes (e.g. clean up, vacuum) database
  2118. *
  2119. * @return bool
  2120. * @param handle int
  2121. */
  2122. function dba_optimize($handle) {}
  2123. /**
  2124. * Opens path using the specified handler in mode persistently
  2125. *
  2126. * @return resource
  2127. * @param path string
  2128. * @param mode string
  2129. * @param handlername string[optional]
  2130. * @vararg ... string
  2131. */
  2132. function dba_popen($path, $mode, $handlername = null) {}
  2133. /**
  2134. *
  2135. *
  2136. * @return bool
  2137. * @param key string
  2138. * @param value string
  2139. * @param handle int
  2140. */
  2141. function dba_replace($key, $value, $handle) {}
  2142. /**
  2143. * Synchronizes database
  2144. *
  2145. * @return bool
  2146. * @param handle int
  2147. */
  2148. function dba_sync($handle) {}
  2149. /**
  2150. * Adds a record to the database
  2151. *
  2152. * @return bool
  2153. * @param identifier int
  2154. * @param data array
  2155. */
  2156. function dbase_add_record($identifier, $data) {}
  2157. /**
  2158. * Closes an open dBase-format database file
  2159. *
  2160. * @return bool
  2161. * @param identifier int
  2162. */
  2163. function dbase_close($identifier) {}
  2164. /**
  2165. * Creates a new dBase-format database file
  2166. *
  2167. * @return bool
  2168. * @param filename string
  2169. * @param fields array
  2170. */
  2171. function dbase_create($filename, $fields) {}
  2172. /**
  2173. * Marks a record to be deleted
  2174. *
  2175. * @return bool
  2176. * @param identifier int
  2177. * @param record int
  2178. */
  2179. function dbase_delete_record($identifier, $record) {}
  2180. /**
  2181. * Returns an array representing a record from the database
  2182. *
  2183. * @return array
  2184. * @param identifier int
  2185. * @param record int
  2186. */
  2187. function dbase_get_record($identifier, $record) {}
  2188. /**
  2189. * Returns an associative array representing a record from the database
  2190. *
  2191. * @return array
  2192. * @param identifier int
  2193. * @param record int
  2194. */
  2195. function dbase_get_record_with_names($identifier, $record) {}
  2196. /**
  2197. * Returns the number of fields (columns) in the database
  2198. *
  2199. * @return int
  2200. * @param identifier int
  2201. */
  2202. function dbase_numfields($identifier) {}
  2203. /**
  2204. * Returns the number of records in the database
  2205. *
  2206. * @return int
  2207. * @param identifier int
  2208. */
  2209. function dbase_numrecords($identifier) {}
  2210. /**
  2211. * Opens a dBase-format database file
  2212. *
  2213. * @return int
  2214. * @param name string
  2215. * @param mode int
  2216. */
  2217. function dbase_open($name, $mode) {}
  2218. /**
  2219. * Packs the database (deletes records marked for deletion)
  2220. *
  2221. * @return bool
  2222. * @param identifier int
  2223. */
  2224. function dbase_pack($identifier) {}
  2225. /**
  2226. * Replaces a record to the database
  2227. *
  2228. * @return bool
  2229. * @param identifier int
  2230. * @param data array
  2231. * @param recnum int
  2232. */
  2233. function dbase_replace_record($identifier, $data, $recnum) {}
  2234. /**
  2235. * Describes the dbm-compatible library being used
  2236. *
  2237. * @return string
  2238. */
  2239. function dblist() {}
  2240. /**
  2241. * Closes a dbm database
  2242. *
  2243. * @return bool
  2244. * @param dbm_identifier int
  2245. */
  2246. function dbmclose($dbm_identifier) {}
  2247. /**
  2248. * Deletes the value for a key from a dbm database
  2249. *
  2250. * @return int
  2251. * @param dbm_identifier int
  2252. * @param key string
  2253. */
  2254. function dbmdelete($dbm_identifier, $key) {}
  2255. /**
  2256. * Tells if a value exists for a key in a dbm database
  2257. *
  2258. * @return int
  2259. * @param dbm_identifier int
  2260. * @param key string
  2261. */
  2262. function dbmexists($dbm_identifier, $key) {}
  2263. /**
  2264. * Fetches a value for a key from a dbm database
  2265. *
  2266. * @return string
  2267. * @param dbm_identifier int
  2268. * @param key string
  2269. */
  2270. function dbmfetch($dbm_identifier, $key) {}
  2271. /**
  2272. * Retrieves the first key from a dbm database
  2273. *
  2274. * @return string
  2275. * @param dbm_identifier int
  2276. */
  2277. function dbmfirstkey($dbm_identifier) {}
  2278. /**
  2279. * Inserts a value for a key in a dbm database
  2280. *
  2281. * @return int
  2282. * @param dbm_identifier int
  2283. * @param key string
  2284. * @param value string
  2285. */
  2286. function dbminsert($dbm_identifier, $key, $value) {}
  2287. /**
  2288. * Retrieves the next key from a dbm database
  2289. *
  2290. * @return string
  2291. * @param dbm_identifier int
  2292. * @param key string
  2293. */
  2294. function dbmnextkey($dbm_identifier, $key) {}
  2295. /**
  2296. * Opens a dbm database
  2297. *
  2298. * @return int
  2299. * @param filename string
  2300. * @param mode string
  2301. */
  2302. function dbmopen($filename, $mode) {}
  2303. /**
  2304. * Replaces the value for a key in a dbm database
  2305. *
  2306. * @return int
  2307. * @param dbm_identifier int
  2308. * @param key string
  2309. * @param value string
  2310. */
  2311. function dbmreplace($dbm_identifier, $key, $value) {}
  2312. /**
  2313. *
  2314. *
  2315. * @return bool
  2316. * @param dbx_link dbx_link_object
  2317. */
  2318. function dbx_close($dbx_link) {}
  2319. /**
  2320. * Returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1
  2321. *
  2322. * @return int
  2323. * @param row_x array
  2324. * @param row_y array
  2325. * @param columnname string
  2326. * @param flags int[optional]
  2327. */
  2328. function dbx_compare($row_x, $row_y, $columnname, $flags = null) {}
  2329. /**
  2330. * Returns a dbx_link_object on success and returns 0 on failure
  2331. *
  2332. * @return dbx_link_object
  2333. * @param module_name string
  2334. * @param host string
  2335. * @param db string
  2336. * @param username string
  2337. * @param password string
  2338. * @param persistent bool[optional]
  2339. */
  2340. function dbx_connect($module_name, $host, $db, $username, $password, $persistent = null) {}
  2341. /**
  2342. *
  2343. *
  2344. * @return void
  2345. * @param dbx_link dbx_link_object
  2346. */
  2347. function dbx_error($dbx_link) {}
  2348. /**
  2349. *
  2350. *
  2351. * @return string
  2352. * @param dbx_link dbx_link_object
  2353. * @param sz string
  2354. */
  2355. function dbx_esc($dbx_link, $sz) {}
  2356. /**
  2357. * Returns a dbx_link_object on success and returns 0 on failure
  2358. *
  2359. * @return dbx_result_object
  2360. * @param dbx_link dbx_link_object
  2361. * @param sql_statement string
  2362. * @param flags long[optional]
  2363. */
  2364. function dbx_query($dbx_link, $sql_statement, $flags = null) {}
  2365. /**
  2366. * Returns 0 on failure, 1 on success
  2367. *
  2368. * @return int
  2369. * @param dbx_result object
  2370. * @param compare_function_name string
  2371. */
  2372. function dbx_sort($dbx_result, $compare_function_name) {}
  2373. /**
  2374. * Return the translation of msgid for domain_name and category, or msgid unaltered if a translation does not exist
  2375. *
  2376. * @return string
  2377. * @param domain_name string
  2378. * @param msgid string
  2379. * @param category long
  2380. */
  2381. function dcgettext($domain_name, $msgid, $category) {}
  2382. /**
  2383. * Plural version of dcgettext()
  2384. *
  2385. * @return string
  2386. * @param domain string
  2387. * @param msgid1 string
  2388. * @param msgid2 string
  2389. * @param n int
  2390. * @param category int
  2391. */
  2392. function dcngettext($domain, $msgid1, $msgid2, $n, $category) {}
  2393. /**
  2394. *
  2395. *
  2396. * @return void
  2397. * @param obj object
  2398. * @param class string[optional]
  2399. */
  2400. function deaggregate($obj, $class = null) {}
  2401. /**
  2402. * Prints out a backtrace
  2403. *
  2404. * @return void
  2405. */
  2406. function debug_backtrace() {}
  2407. /**
  2408. * Dumps a string representation of an internal zend value to output.
  2409. *
  2410. * @return void
  2411. * @param var mixed
  2412. */
  2413. function debug_zval_dump($var) {}
  2414. /**
  2415. * Returns a string containing a binary representation of the number
  2416. *
  2417. * @return string
  2418. * @param decimal_number int
  2419. */
  2420. function decbin($decimal_number) {}
  2421. /**
  2422. * Returns a string containing a hexadecimal representation of the given number
  2423. *
  2424. * @return string
  2425. * @param decimal_number int
  2426. */
  2427. function dechex($decimal_number) {}
  2428. /**
  2429. * Returns a string containing an octal representation of the given number
  2430. *
  2431. * @return string
  2432. * @param decimal_number int
  2433. */
  2434. function decoct($decimal_number) {}
  2435. /**
  2436. * Define a new constant
  2437. *
  2438. * @return bool
  2439. * @param constant_name string
  2440. * @param value mixed
  2441. * @param case_sensitive=true unknown
  2442. */
  2443. function define($constant_name, $value, $case_sensitive=true) {}
  2444. /**
  2445. * Initializes all syslog-related variables
  2446. *
  2447. * @return void
  2448. */
  2449. function define_syslog_variables() {}
  2450. /**
  2451. * Check whether a constant exists
  2452. *
  2453. * @return bool
  2454. * @param constant_name string
  2455. */
  2456. function defined($constant_name) {}
  2457. /**
  2458. * Converts the number in degrees to the radian equivalent
  2459. *
  2460. * @return float
  2461. * @param number float
  2462. */
  2463. function deg2rad($number) {}
  2464. /**
  2465. * Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist
  2466. *
  2467. * @return string
  2468. * @param domain_name string
  2469. * @param msgid string
  2470. */
  2471. function dgettext($domain_name, $msgid) {}
  2472. /**
  2473. * Close the file descriptor given by fd
  2474. *
  2475. * @return void
  2476. * @param fd resource
  2477. */
  2478. function dio_close($fd) {}
  2479. /**
  2480. * Perform a c library fcntl on fd
  2481. *
  2482. * @return mixed
  2483. * @param fd resource
  2484. * @param cmd int
  2485. * @param arg mixed
  2486. */
  2487. function dio_fcntl($fd, $cmd, $arg) {}
  2488. /**
  2489. * Open a new filename with specified permissions of flags and creation permissions of mode
  2490. *
  2491. * @return resource
  2492. * @param filename string
  2493. * @param flags int
  2494. * @param mode int
  2495. */
  2496. function dio_open($filename, $flags, $mode) {}
  2497. /**
  2498. * Read n bytes from fd and return them, if n is not specified, read 1k
  2499. *
  2500. * @return string
  2501. * @param fd resource
  2502. * @param n int
  2503. */
  2504. function dio_read($fd, $n) {}
  2505. /**
  2506. * Seek to pos on fd from whence
  2507. *
  2508. * @return int
  2509. * @param fd resource
  2510. * @param pos int
  2511. * @param whence int
  2512. */
  2513. function dio_seek($fd, $pos, $whence) {}
  2514. /**
  2515. * Get stat information about the file descriptor fd
  2516. *
  2517. * @return array
  2518. * @param fd resource
  2519. */
  2520. function dio_stat($fd) {}
  2521. /**
  2522. * Perform a c library tcsetattr on fd
  2523. *
  2524. * @return mixed
  2525. * @param fd resource
  2526. * @param args array
  2527. */
  2528. function dio_tcsetattr($fd, $args) {}
  2529. /**
  2530. * Truncate file descriptor fd to offset bytes
  2531. *
  2532. * @return bool
  2533. * @param fd resource
  2534. * @param offset int
  2535. */
  2536. function dio_truncate($fd, $offset) {}
  2537. /**
  2538. * Write data to fd with optional truncation at length
  2539. *
  2540. * @return int
  2541. * @param fd resource
  2542. * @param data string
  2543. * @param len int
  2544. */
  2545. function dio_write($fd, $data, $len) {}
  2546. /**
  2547. * Directory class with properties, handle and class and methods read, rewind and close
  2548. *
  2549. * @return object
  2550. * @param directory string
  2551. */
  2552. function dir($directory) {}
  2553. /**
  2554. * Returns the directory name component of the path
  2555. *
  2556. * @return string
  2557. * @param path string
  2558. */
  2559. function dirname($path) {}
  2560. /**
  2561. * Get free disk space for filesystem that path is on
  2562. *
  2563. * @return float
  2564. * @param path string
  2565. */
  2566. function disk_free_space($path) {}
  2567. /**
  2568. * Get total disk space for filesystem that path is on
  2569. *
  2570. * @return float
  2571. * @param path string
  2572. */
  2573. function disk_total_space($path) {}
  2574. /**
  2575. * Get free disk space for filesystem that path is on
  2576. *
  2577. * @return float
  2578. * @param path string
  2579. */
  2580. function diskfreespace($path) {}
  2581. /**
  2582. * Load a PHP extension at runtime
  2583. *
  2584. * @return int
  2585. * @param extension_filename string
  2586. */
  2587. function dl($extension_filename) {}
  2588. /**
  2589. * Plural version of dgettext()
  2590. *
  2591. * @return string
  2592. * @param domain string
  2593. * @param msgid1 string
  2594. * @param msgid2 string
  2595. * @param count int
  2596. */
  2597. function dngettext($domain, $msgid1, $msgid2, $count) {}
  2598. /**
  2599. * Adds root node to document
  2600. *
  2601. * @return object
  2602. * @param name string
  2603. */
  2604. function domxml_add_root($name) {}
  2605. /**
  2606. * Set value of attribute
  2607. *
  2608. * @return bool
  2609. * @param content string
  2610. */
  2611. function domxml_attr_set_value($content) {}
  2612. /**
  2613. * Returns list of attributes of node
  2614. *
  2615. * @return array
  2616. */
  2617. function domxml_attributes() {}
  2618. /**
  2619. * Returns list of children nodes
  2620. *
  2621. * @return array
  2622. */
  2623. function domxml_children() {}
  2624. /**
  2625. * Returns root node of document
  2626. *
  2627. * @return object
  2628. * @param domnode int
  2629. */
  2630. function domxml_doc_get_root($domnode) {}
  2631. /**
  2632. * Returns DTD of document
  2633. *
  2634. * @return object
  2635. */
  2636. function domxml_dtd() {}
  2637. /**
  2638. * Dumps document into string and optionally formats it
  2639. *
  2640. * @return string
  2641. * @param doc_handle object
  2642. * @param format int[optional]
  2643. * @param encoding unknown[optional]
  2644. */
  2645. function domxml_dumpmem($doc_handle, $format = null, $encoding = null) {}
  2646. /**
  2647. * Constructor of DomElement
  2648. *
  2649. * @return object
  2650. * @param name string
  2651. */
  2652. function domxml_element($name) {}
  2653. /**
  2654. * Returns value of given attribute
  2655. *
  2656. * @return string
  2657. * @param attrname string
  2658. */
  2659. function domxml_get_attribute($attrname) {}
  2660. /**
  2661. * Returns value of given attribute
  2662. *
  2663. * @return string
  2664. * @param attrname string
  2665. */
  2666. function domxml_getattr($attrname) {}
  2667. /**
  2668. * Adds child node to parent node
  2669. *
  2670. * @return object
  2671. * @param name string
  2672. * @param content string
  2673. */
  2674. function domxml_new_child($name, $content) {}
  2675. /**
  2676. * Creates new xmldoc
  2677. *
  2678. * @return object
  2679. * @param version string
  2680. */
  2681. function domxml_new_doc($version) {}
  2682. /**
  2683. * Creates new xmldoc
  2684. *
  2685. * @return object
  2686. * @param version string
  2687. */
  2688. function domxml_new_xmldoc($version) {}
  2689. /**
  2690. * Creates DOM object of XML document in file
  2691. *
  2692. * @return object
  2693. * @param filename string
  2694. * @param mode int
  2695. * @param error array
  2696. */
  2697. function domxml_open_file($filename, $mode, $error) {}
  2698. /**
  2699. * Creates DOM object of XML document
  2700. *
  2701. * @return object
  2702. * @param xmldoc string
  2703. * @param mode int
  2704. * @param error array
  2705. */
  2706. function domxml_open_mem($xmldoc, $mode, $error) {}
  2707. /**
  2708. * Creates new xmlparser
  2709. *
  2710. * @return object
  2711. * @param buf string[optional]
  2712. * @param filename string
  2713. */
  2714. function domxml_parser($buf = null, $filename) {}
  2715. /**
  2716. * Returns root node of document
  2717. *
  2718. * @return object
  2719. * @param domnode int
  2720. */
  2721. function domxml_root($domnode) {}
  2722. /**
  2723. * Sets value of given attribute
  2724. *
  2725. * @return bool
  2726. * @param attrname string
  2727. * @param value string
  2728. */
  2729. function domxml_set_attribute($attrname, $value) {}
  2730. /**
  2731. * Sets root node of document
  2732. *
  2733. * @return bool
  2734. * @param domnode int
  2735. */
  2736. function domxml_set_root($domnode) {}
  2737. /**
  2738. * Sets value of given attribute
  2739. *
  2740. * @return bool
  2741. * @param attrname string
  2742. * @param value string
  2743. */
  2744. function domxml_setattr($attrname, $value) {}
  2745. /**
  2746. * Set and return the previous value for default entity support
  2747. *
  2748. * @return bool
  2749. * @param enable bool
  2750. */
  2751. function domxml_substitute_entities_default($enable) {}
  2752. /**
  2753. * Unity function for testing
  2754. *
  2755. * @return int
  2756. * @param id int
  2757. */
  2758. function domxml_test($id) {}
  2759. /**
  2760. * Deletes the node from tree, but not from memory
  2761. *
  2762. * @return void
  2763. * @param node object[optional]
  2764. */
  2765. function domxml_unlink_node($node = null) {}
  2766. /**
  2767. * Get XML library version
  2768. *
  2769. * @return string
  2770. */
  2771. function domxml_version() {}
  2772. /**
  2773. * Creates a tree of PHP objects from an XML document
  2774. *
  2775. * @return object
  2776. * @param xmltree string
  2777. */
  2778. function domxml_xmltree($xmltree) {}
  2779. /**
  2780. * Creates XSLT Stylesheet object from string
  2781. *
  2782. * @return object
  2783. * @param xsltstylesheet string
  2784. */
  2785. function domxml_xslt_stylesheet($xsltstylesheet) {}
  2786. /**
  2787. * Creates XSLT Stylesheet object from DOM Document object
  2788. *
  2789. * @return object
  2790. * @param xmldoc object
  2791. */
  2792. function domxml_xslt_stylesheet_doc($xmldoc) {}
  2793. /**
  2794. * Creates XSLT Stylesheet object from file
  2795. *
  2796. * @return object
  2797. * @param filename string
  2798. */
  2799. function domxml_xslt_stylesheet_file($filename) {}
  2800. /**
  2801. * Get XSLT library version
  2802. *
  2803. * @return string
  2804. */
  2805. function domxml_xslt_version() {}
  2806. /**
  2807. * Get the float value of a variable
  2808. *
  2809. * @return float
  2810. * @param var mixed
  2811. */
  2812. function doubleval($var) {}
  2813. /**
  2814. * Return the currently pointed key..value pair in the passed array, and advance the pointer to the next element
  2815. *
  2816. * @return array
  2817. * @param arr array
  2818. */
  2819. function each($arr) {}
  2820. /**
  2821. * Return the timestamp of midnight on Easter of a given year (defaults to current year)
  2822. *
  2823. * @return int
  2824. * @param year int[optional]
  2825. */
  2826. function easter_date($year = null) {}
  2827. /**
  2828. * Return the number of days after March 21 that Easter falls on for a given year (defaults to current year)
  2829. *
  2830. * @return int
  2831. * @param year int[optional]
  2832. * @param method int[optional]
  2833. */
  2834. function easter_days($year = null, $method = null) {}
  2835. /**
  2836. * Advances array argument's internal pointer to the last element and return it
  2837. *
  2838. * @return mixed
  2839. * @param array_arg array
  2840. */
  2841. function end($array_arg) {}
  2842. /**
  2843. * Regular expression match
  2844. *
  2845. * @return int
  2846. * @param pattern string
  2847. * @param string string
  2848. * @param registers array[optional]
  2849. */
  2850. function ereg($pattern, $string, $registers = null) {}
  2851. /**
  2852. * Replace regular expression
  2853. *
  2854. * @return string
  2855. * @param pattern string
  2856. * @param replacement string
  2857. * @param string string
  2858. */
  2859. function ereg_replace($pattern, $replacement, $string) {}
  2860. /**
  2861. * Case-insensitive regular expression match
  2862. *
  2863. * @return int
  2864. * @param pattern string
  2865. * @param string string
  2866. * @param registers array[optional]
  2867. */
  2868. function eregi($pattern, $string, $registers = null) {}
  2869. /**
  2870. * Case insensitive replace regular expression
  2871. *
  2872. * @return string
  2873. * @param pattern string
  2874. * @param replacement string
  2875. * @param string string
  2876. */
  2877. function eregi_replace($pattern, $replacement, $string) {}
  2878. /**
  2879. * Send an error message somewhere
  2880. *
  2881. * @return bool
  2882. * @param message string
  2883. * @param message_type int[optional]
  2884. * @param destination string[optional]
  2885. * @param extra_headers string[optional]
  2886. */
  2887. function error_log($message, $message_type = null, $destination = null, $extra_headers = null) {}
  2888. /**
  2889. * Return the current error_reporting level, and if an argument was passed - change to the new level
  2890. *
  2891. * @return int
  2892. * @param new_error_level int[optional]
  2893. */
  2894. function error_reporting($new_error_level = null) {}
  2895. /**
  2896. * Quote and escape an argument for use in a shell command
  2897. *
  2898. * @return string
  2899. * @param arg string
  2900. */
  2901. function escapeshellarg($arg) {}
  2902. /**
  2903. * Escape shell metacharacters
  2904. *
  2905. * @return string
  2906. * @param command string
  2907. */
  2908. function escapeshellcmd($command) {}
  2909. /**
  2910. * Execute an external program
  2911. *
  2912. * @return string
  2913. * @param command string
  2914. * @param output array[optional]
  2915. * @param return_value int[optional]
  2916. */
  2917. function exec($command, $output = null, $return_value = null) {}
  2918. /**
  2919. * Get the type of an image
  2920. *
  2921. * @return int
  2922. * @param imagefile string
  2923. */
  2924. function exif_imagetype($imagefile) {}
  2925. /**
  2926. * Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails
  2927. *
  2928. * @return array|false
  2929. * @param filename string
  2930. * @param sections_needed unknown[optional]
  2931. * @param sub_arrays unknown[optional]
  2932. * @param read_thumbnail unknown
  2933. */
  2934. function exif_read_data($filename, $sections_needed = null, $sub_arrays = null, $read_thumbnail) {}
  2935. /**
  2936. * Get headername for index or false if not defined
  2937. *
  2938. * @return string|false
  2939. * @param index unknown
  2940. */
  2941. function exif_tagname($index) {}
  2942. /**
  2943. * Reads the embedded thumbnail
  2944. *
  2945. * @return string|false
  2946. * @param filename string
  2947. * @param width unknown[optional]
  2948. * @param height unknown
  2949. * @param imagetype unknown[optional]
  2950. */
  2951. function exif_thumbnail($filename, &$width, &$height, &$imagetype) {}
  2952. /**
  2953. * Returns e raised to the power of the number
  2954. *
  2955. * @return float
  2956. * @param number float
  2957. */
  2958. function exp($number) {}
  2959. /**
  2960. * Splits a string on string separator and return array of components
  2961. *
  2962. * @return array
  2963. * @param separator string
  2964. * @param str string
  2965. * @param limit int[optional]
  2966. */
  2967. function explode($separator, $str, $limit = null) {}
  2968. /**
  2969. * Returns exp(number) - 1, computed in a way that accurate even when the value of number is close to zero
  2970. *
  2971. * @return float
  2972. * @param number float
  2973. */
  2974. function expm1($number) {}
  2975. /**
  2976. * Returns true if the named extension is loaded
  2977. *
  2978. * @return bool
  2979. * @param extension_name string
  2980. */
  2981. function extension_loaded($extension_name) {}
  2982. /**
  2983. * Imports variables into symbol table from an array
  2984. *
  2985. * @return int
  2986. * @param var_array array
  2987. * @param extract_type int[optional]
  2988. * @param prefix string[optional]
  2989. */
  2990. function extract($var_array, $extract_type = null, $prefix = null) {}
  2991. /**
  2992. * Calculate EZMLM list hash value.
  2993. *
  2994. * @return int
  2995. * @param addr string
  2996. */
  2997. function ezmlm_hash($addr) {}
  2998. /**
  2999. * Send one or more SQL statements to a specified database on the server
  3000. *
  3001. * @return resource
  3002. * @param database_name string
  3003. * @param query string
  3004. * @param link_identifier resource[optional]
  3005. */
  3006. function fbsql($database_name, $query, $link_identifier = null) {}
  3007. /**
  3008. * Get the number of rows affected by the last statement
  3009. *
  3010. * @return int
  3011. * @param link_identifier resource[optional]
  3012. */
  3013. function fbsql_affected_rows($link_identifier = null) {}
  3014. /**
  3015. * Turns on auto-commit
  3016. *
  3017. * @return bool
  3018. * @param link_identifier resource
  3019. * @param OnOff bool[optional]
  3020. */
  3021. function fbsql_autocommit($link_identifier, $OnOff = null) {}
  3022. /**
  3023. * Get the size of a BLOB identified by blob_handle
  3024. *
  3025. * @return string
  3026. * @param blob_handle string
  3027. * @param link_identifier resource[optional]
  3028. */
  3029. function fbsql_blob_size($blob_handle, $link_identifier = null) {}
  3030. /**
  3031. * Change the user for a session
  3032. *
  3033. * @return int
  3034. * @param user string
  3035. * @param password string
  3036. * @param database string[optional]
  3037. * @param link_identifier resource[optional]
  3038. */
  3039. function fbsql_change_user($user, $password, $database = null, $link_identifier = null) {}
  3040. /**
  3041. * Get the size of a CLOB identified by clob_handle
  3042. *
  3043. * @return string
  3044. * @param clob_handle string
  3045. * @param link_identifier resource[optional]
  3046. */
  3047. function fbsql_clob_size($clob_handle, $link_identifier = null) {}
  3048. /**
  3049. * Close a connection to a database server
  3050. *
  3051. * @return int
  3052. * @param link_identifier resource[optional]
  3053. */
  3054. function fbsql_close($link_identifier = null) {}
  3055. /**
  3056. * Commit the transaction
  3057. *
  3058. * @return bool
  3059. * @param link_identifier resource[optional]
  3060. */
  3061. function fbsql_commit($link_identifier = null) {}
  3062. /**
  3063. * Create a connection to a database server
  3064. *
  3065. * @return resource
  3066. * @param hostname string[optional]
  3067. * @param username string[optional]
  3068. * @param password string[optional]
  3069. */
  3070. function fbsql_connect($hostname = null, $username = null, $password = null) {}
  3071. /**
  3072. * Create a BLOB in the database for use with an insert or update statement
  3073. *
  3074. * @return string
  3075. * @param blob_data string
  3076. * @param link_identifier resource[optional]
  3077. */
  3078. function fbsql_create_blob($blob_data, $link_identifier = null) {}
  3079. /**
  3080. * Create a CLOB in the database for use with an insert or update statement
  3081. *
  3082. * @return string
  3083. * @param clob_data string
  3084. * @param link_identifier resource[optional]
  3085. */
  3086. function fbsql_create_clob($clob_data, $link_identifier = null) {}
  3087. /**
  3088. * Create a new database on the server
  3089. *
  3090. * @return bool
  3091. * @param database_name string
  3092. * @param link_identifier resource[optional]
  3093. */
  3094. function fbsql_create_db($database_name, $link_identifier = null) {}
  3095. /**
  3096. * Move the internal row counter to the specified row_number
  3097. *
  3098. * @return int
  3099. * @param result int
  3100. * @param row_number int
  3101. */
  3102. function fbsql_data_seek($result, $row_number) {}
  3103. /**
  3104. * Get or set the database name used with a connection
  3105. *
  3106. * @return string
  3107. * @param link_identifier resource
  3108. * @param database string[optional]
  3109. */
  3110. function fbsql_database($link_identifier, $database = null) {}
  3111. /**
  3112. * Get or set the databsae password used with a connection
  3113. *
  3114. * @return string
  3115. * @param link_identifier resource
  3116. * @param database_password string[optional]
  3117. */
  3118. function fbsql_database_password($link_identifier, $database_password = null) {}
  3119. /**
  3120. * Send one or more SQL statements to a specified database on the server
  3121. *
  3122. * @return resource
  3123. * @param database_name string
  3124. * @param query string
  3125. * @param link_identifier resource[optional]
  3126. */
  3127. function fbsql_db_query($database_name, $query, $link_identifier = null) {}
  3128. /**
  3129. * Gets the status (Stopped, Starting, Running, Stopping) for a given database
  3130. *
  3131. * @return int
  3132. * @param database_name string
  3133. * @param link_identifier resource[optional]
  3134. */
  3135. function fbsql_db_status($database_name, $link_identifier = null) {}
  3136. /**
  3137. * Drop a database on the server
  3138. *
  3139. * @return int
  3140. * @param database_name string
  3141. * @param link_identifier resource[optional]
  3142. */
  3143. function fbsql_drop_db($database_name, $link_identifier = null) {}
  3144. /**
  3145. * Returns the last error code
  3146. *
  3147. * @return int
  3148. * @param link_identifier resource[optional]
  3149. */
  3150. function fbsql_errno($link_identifier = null) {}
  3151. /**
  3152. * Returns the last error string
  3153. *
  3154. * @return string
  3155. * @param link_identifier resource[optional]
  3156. */
  3157. function fbsql_error($link_identifier = null) {}
  3158. /**
  3159. * Fetches a result row as an array (associative, numeric or both)
  3160. *
  3161. * @return array
  3162. * @param result resource
  3163. * @param result_type int[optional]
  3164. */
  3165. function fbsql_fetch_array($result, $result_type = null) {}
  3166. /**
  3167. * Detch a row of data. Returns an assoc array
  3168. *
  3169. * @return object
  3170. * @param result resource
  3171. */
  3172. function fbsql_fetch_assoc($result) {}
  3173. /**
  3174. * Get the field properties for a specified field_index
  3175. *
  3176. * @return object
  3177. * @param result int
  3178. * @param field_index int[optional]
  3179. */
  3180. function fbsql_fetch_field($result, $field_index = null) {}
  3181. /**
  3182. * Returns an array of the lengths of each column in the result set
  3183. *
  3184. * @return array
  3185. * @param result int
  3186. */
  3187. function fbsql_fetch_lengths($result) {}
  3188. /**
  3189. * Fetch a row of data. Returns an object
  3190. *
  3191. * @return object
  3192. * @param result resource
  3193. * @param result_type int[optional]
  3194. */
  3195. function fbsql_fetch_object($result, $result_type = null) {}
  3196. /**
  3197. * Fetch a row of data. Returns an indexed array
  3198. *
  3199. * @return array
  3200. * @param result resource
  3201. */
  3202. function fbsql_fetch_row($result) {}
  3203. /**
  3204. * ???
  3205. *
  3206. * @return string
  3207. * @param result int
  3208. * @param field_index int[optional]
  3209. */
  3210. function fbsql_field_flags($result, $field_index = null) {}
  3211. /**
  3212. * Get the column length for a specified field_index
  3213. *
  3214. * @return string
  3215. * @param result int
  3216. * @param field_index int[optional]
  3217. */
  3218. function fbsql_field_len($result, $field_index = null) {}
  3219. /**
  3220. * Get the column name for a specified field_index
  3221. *
  3222. * @return string
  3223. * @param result int
  3224. * @param field_index int[optional]
  3225. */
  3226. function fbsql_field_name($result, $field_index = null) {}
  3227. /**
  3228. * ???
  3229. *
  3230. * @return bool
  3231. * @param result int
  3232. * @param field_index int[optional]
  3233. */
  3234. function fbsql_field_seek($result, $field_index = null) {}
  3235. /**
  3236. * Get the table name for a specified field_index
  3237. *
  3238. * @return string
  3239. * @param result int
  3240. * @param field_index int[optional]
  3241. */
  3242. function fbsql_field_table($result, $field_index = null) {}
  3243. /**
  3244. * Get the field type for a specified field_index
  3245. *
  3246. * @return string
  3247. * @param result int
  3248. * @param field_index int[optional]
  3249. */
  3250. function fbsql_field_type($result, $field_index = null) {}
  3251. /**
  3252. * free the memory used to store a result
  3253. *
  3254. * @return bool
  3255. * @param result resource
  3256. */
  3257. function fbsql_free_result($result) {}
  3258. /**
  3259. * ???
  3260. *
  3261. * @return array
  3262. * @param link_identifier resource[optional]
  3263. */
  3264. function fbsql_get_autostart_info($link_identifier = null) {}
  3265. /**
  3266. * Get or set the host name used with a connection
  3267. *
  3268. * @return string
  3269. * @param link_identifier resource
  3270. * @param host_name string[optional]
  3271. */
  3272. function fbsql_hostname($link_identifier, $host_name = null) {}
  3273. /**
  3274. * Get the internal index for the last insert statement
  3275. *
  3276. * @return int
  3277. * @param link_identifier resource[optional]
  3278. */
  3279. function fbsql_insert_id($link_identifier = null) {}
  3280. /**
  3281. * Retreive a list of all databases on the server
  3282. *
  3283. * @return resource
  3284. * @param link_identifier resource[optional]
  3285. */
  3286. function fbsql_list_dbs($link_identifier = null) {}
  3287. /**
  3288. * Retrieve a list of all fields for the specified database.table
  3289. *
  3290. * @return resource
  3291. * @param database_name string
  3292. * @param table_name string
  3293. * @param link_identifier resource[optional]
  3294. */
  3295. function fbsql_list_fields($database_name, $table_name, $link_identifier = null) {}
  3296. /**
  3297. * Retreive a list of all tables from the specifoied database
  3298. *
  3299. * @return resource
  3300. * @param database string
  3301. * @param link_identifier int[optional]
  3302. */
  3303. function fbsql_list_tables($database, $link_identifier = null) {}
  3304. /**
  3305. * Switch to the next result if multiple results are available
  3306. *
  3307. * @return int
  3308. * @param result int
  3309. */
  3310. function fbsql_next_result($result) {}
  3311. /**
  3312. * Get number of fields in the result set
  3313. *
  3314. * @return int
  3315. * @param result int
  3316. */
  3317. function fbsql_num_fields($result) {}
  3318. /**
  3319. * Get number of rows
  3320. *
  3321. * @return int
  3322. * @param result int
  3323. */
  3324. function fbsql_num_rows($result) {}
  3325. /**
  3326. * Get or set the user password used with a connection
  3327. *
  3328. * @return string
  3329. * @param link_identifier resource
  3330. * @param password string[optional]
  3331. */
  3332. function fbsql_password($link_identifier, $password = null) {}
  3333. /**
  3334. * Create a persistant connection to a database server
  3335. *
  3336. * @return resource
  3337. * @param hostname string[optional]
  3338. * @param username string[optional]
  3339. * @param password string[optional]
  3340. */
  3341. function fbsql_pconnect($hostname = null, $username = null, $password = null) {}
  3342. /**
  3343. * Send one or more SQL statements to the server and execute them
  3344. *
  3345. * @return resource
  3346. * @param query string
  3347. * @param link_identifier resource[optional]
  3348. */
  3349. function fbsql_query($query, $link_identifier = null) {}
  3350. /**
  3351. * Read the BLOB data identified by blob_handle
  3352. *
  3353. * @return string
  3354. * @param blob_handle string
  3355. * @param link_identifier resource[optional]
  3356. */
  3357. function fbsql_read_blob($blob_handle, $link_identifier = null) {}
  3358. /**
  3359. * Read the CLOB data identified by clob_handle
  3360. *
  3361. * @return string
  3362. * @param clob_handle string
  3363. * @param link_identifier resource[optional]
  3364. */
  3365. function fbsql_read_clob($clob_handle, $link_identifier = null) {}
  3366. /**
  3367. * ???
  3368. *
  3369. * @return mixed
  3370. * @param result int
  3371. * @param row int[optional]
  3372. * @param field mixed[optional]
  3373. */
  3374. function fbsql_result($result, $row = null, $field = null) {}
  3375. /**
  3376. * Rollback all statments since last commit
  3377. *
  3378. * @return int
  3379. * @param link_identifier resource[optional]
  3380. */
  3381. function fbsql_rollback($link_identifier = null) {}
  3382. /**
  3383. * Select the database to open
  3384. *
  3385. * @return bool
  3386. * @param database_name string[optional]
  3387. * @param link_identifier resource[optional]
  3388. */
  3389. function fbsql_select_db($database_name = null, $link_identifier = null) {}
  3390. /**
  3391. * Sets the mode for how LOB data re retreived (actual data or a handle)
  3392. *
  3393. * @return bool
  3394. * @param result resource
  3395. * @param lob_mode int
  3396. */
  3397. function fbsql_set_lob_mode($result, $lob_mode) {}
  3398. /**
  3399. * Sets the transaction locking and isolation
  3400. *
  3401. * @return void
  3402. * @param link_identifier resource
  3403. * @param locking int
  3404. * @param isolation int
  3405. */
  3406. function fbsql_set_transaction($link_identifier, $locking, $isolation) {}
  3407. /**
  3408. * Start a database on the server
  3409. *
  3410. * @return bool
  3411. * @param database_name string
  3412. * @param link_identifier resource[optional]
  3413. */
  3414. function fbsql_start_db($database_name, $link_identifier = null) {}
  3415. /**
  3416. * Stop a database on the server
  3417. *
  3418. * @return bool
  3419. * @param database_name string
  3420. * @param link_identifier resource[optional]
  3421. */
  3422. function fbsql_stop_db($database_name, $link_identifier = null) {}
  3423. /**
  3424. * Retreive the table name for index after a call to fbsql_list_tables()
  3425. *
  3426. * @return string
  3427. * @param result resource
  3428. * @param index int
  3429. */
  3430. function fbsql_table_name($result, $index) {}
  3431. /**
  3432. * Retreive the table name for index after a call to fbsql_list_tables()
  3433. *
  3434. * @return string
  3435. * @param result resource
  3436. * @param index int
  3437. */
  3438. function fbsql_tablename($result, $index) {}
  3439. /**
  3440. * Get or set the host user used with a connection
  3441. *
  3442. * @return string
  3443. * @param link_identifier resource
  3444. * @param username string[optional]
  3445. */
  3446. function fbsql_username($link_identifier, $username = null) {}
  3447. /**
  3448. * Enable or disable FrontBase warnings
  3449. *
  3450. * @return bool
  3451. * @param flag int[optional]
  3452. */
  3453. function fbsql_warnings($flag = null) {}
  3454. /**
  3455. * Close an open file pointer
  3456. *
  3457. * @return bool
  3458. * @param fp resource
  3459. */
  3460. function fclose($fp) {}
  3461. /**
  3462. * Add javascript code to the fdf file
  3463. *
  3464. * @return bool
  3465. * @param fdfdoc resource
  3466. * @param scriptname string
  3467. * @param script string
  3468. */
  3469. function fdf_add_doc_javascript($fdfdoc, $scriptname, $script) {}
  3470. /**
  3471. * Adds a template into the FDF document
  3472. *
  3473. * @return bool
  3474. * @param fdfdoc resource
  3475. * @param newpage int
  3476. * @param filename string
  3477. * @param template string
  3478. * @param rename int
  3479. */
  3480. function fdf_add_template($fdfdoc, $newpage, $filename, $template, $rename) {}
  3481. /**
  3482. * Closes the FDF document
  3483. *
  3484. * @return bool
  3485. * @param fdfdoc resource
  3486. */
  3487. function fdf_close($fdfdoc) {}
  3488. /**
  3489. * Creates a new FDF document
  3490. *
  3491. * @return resource
  3492. */
  3493. function fdf_create() {}
  3494. /**
  3495. * Call a user defined function for each document value
  3496. *
  3497. * @return bool
  3498. * @param fdfdoc resource
  3499. * @param function callback
  3500. * @param userdata mixed[optional]
  3501. */
  3502. function fdf_enum_values($fdfdoc, $function, $userdata = null) {}
  3503. /**
  3504. * Gets error code for last operation
  3505. *
  3506. * @return int
  3507. */
  3508. function fdf_errno() {}
  3509. /**
  3510. * Gets error description for error code
  3511. *
  3512. * @return string
  3513. * @param errno int[optional]
  3514. */
  3515. function fdf_error($errno = null) {}
  3516. /**
  3517. * Gets the appearance of a field and creates a PDF document out of it.
  3518. *
  3519. * @return bool
  3520. * @param fdfdoc resource
  3521. * @param fieldname string
  3522. * @param face int
  3523. * @param filename string
  3524. */
  3525. function fdf_get_ap($fdfdoc, $fieldname, $face, $filename) {}
  3526. /**
  3527. * Get attached uploaded file
  3528. *
  3529. * @return array
  3530. * @param fdfdoc resource
  3531. * @param fieldname string
  3532. * @param savepath string
  3533. */
  3534. function fdf_get_attachment($fdfdoc, $fieldname, $savepath) {}
  3535. /**
  3536. * Gets FDF file encoding scheme
  3537. *
  3538. * @return string
  3539. * @param fdf resource
  3540. */
  3541. function fdf_get_encoding($fdf) {}
  3542. /**
  3543. * Gets the value of /F key
  3544. *
  3545. * @return string
  3546. * @param fdfdoc resource
  3547. */
  3548. function fdf_get_file($fdfdoc) {}
  3549. /**
  3550. * Gets the flags of a field
  3551. *
  3552. * @return int
  3553. * @param fdfdoc resorce
  3554. * @param fieldname string
  3555. * @param whichflags int
  3556. */
  3557. function fdf_get_flags($fdfdoc, $fieldname, $whichflags) {}
  3558. /**
  3559. * Gets a value from the opt array of a field
  3560. *
  3561. * @return mixed
  3562. * @param fdfdof resource
  3563. * @param fieldname string
  3564. * @param element int[optional]
  3565. */
  3566. function fdf_get_opt($fdfdof, $fieldname, $element = null) {}
  3567. /**
  3568. * Gets the value of /Status key
  3569. *
  3570. * @return string
  3571. * @param fdfdoc resource
  3572. */
  3573. function fdf_get_status($fdfdoc) {}
  3574. /**
  3575. * Gets the value of a field as string
  3576. *
  3577. * @return string
  3578. * @param fdfdoc resource
  3579. * @param fieldname string
  3580. * @param which int[optional]
  3581. */
  3582. function fdf_get_value($fdfdoc, $fieldname, $which = null) {}
  3583. /**
  3584. * Gets version number for FDF api or file
  3585. *
  3586. * @return string
  3587. * @param fdfdoc resource[optional]
  3588. */
  3589. function fdf_get_version($fdfdoc = null) {}
  3590. /**
  3591. * Set FDF specific HTTP headers
  3592. *
  3593. * @return void
  3594. */
  3595. function fdf_header() {}
  3596. /**
  3597. * Gets the name of the next field name or the first field name
  3598. *
  3599. * @return string
  3600. * @param fdfdoc resource
  3601. * @param fieldname string[optional]
  3602. */
  3603. function fdf_next_field_name($fdfdoc, $fieldname = null) {}
  3604. /**
  3605. * Opens a new FDF document
  3606. *
  3607. * @return resource
  3608. * @param filename string
  3609. */
  3610. function fdf_open($filename) {}
  3611. /**
  3612. * Opens a new FDF document from string
  3613. *
  3614. * @return resource
  3615. * @param fdf_data string
  3616. */
  3617. function fdf_open_string($fdf_data) {}
  3618. /**
  3619. * Sets target frame for form
  3620. *
  3621. * @return bool
  3622. * @param fdfdoc resource
  3623. * @param fieldname string
  3624. * @param item int
  3625. */
  3626. function fdf_remove_item($fdfdoc, $fieldname, $item) {}
  3627. /**
  3628. * Writes out the FDF file
  3629. *
  3630. * @return mixed
  3631. * @param fdfdoc resource
  3632. * @param filename string[optional]
  3633. */
  3634. function fdf_save($fdfdoc, $filename = null) {}
  3635. /**
  3636. * Returns the FDF file as a string
  3637. *
  3638. * @return mixed
  3639. * @param fdfdoc resource
  3640. */
  3641. function fdf_save_string($fdfdoc) {}
  3642. /**
  3643. * Sets the appearence of a field
  3644. *
  3645. * @return bool
  3646. * @param fdfdoc resource
  3647. * @param fieldname string
  3648. * @param face int
  3649. * @param filename string
  3650. * @param pagenr int
  3651. */
  3652. function fdf_set_ap($fdfdoc, $fieldname, $face, $filename, $pagenr) {}
  3653. /**
  3654. * Sets FDF encoding (either "Shift-JIS" or "Unicode")
  3655. *
  3656. * @return bool
  3657. * @param fdf_document resource
  3658. * @param encoding string
  3659. */
  3660. function fdf_set_encoding($fdf_document, $encoding) {}
  3661. /**
  3662. * Sets the value of /F key
  3663. *
  3664. * @return bool
  3665. * @param fdfdoc resource
  3666. * @param filename string
  3667. * @param target_frame string[optional]
  3668. */
  3669. function fdf_set_file($fdfdoc, $filename, $target_frame = null) {}
  3670. /**
  3671. * Sets flags for a field in the FDF document
  3672. *
  3673. * @return bool
  3674. * @param fdfdoc resource
  3675. * @param fieldname string
  3676. * @param whichflags int
  3677. * @param newflags int
  3678. */
  3679. function fdf_set_flags($fdfdoc, $fieldname, $whichflags, $newflags) {}
  3680. /**
  3681. * Sets the javascript action for a field
  3682. *
  3683. * @return bool
  3684. * @param fdfdoc resource
  3685. * @param fieldname string
  3686. * @param whichtrigger int
  3687. * @param script string
  3688. */
  3689. function fdf_set_javascript_action($fdfdoc, $fieldname, $whichtrigger, $script) {}
  3690. /**
  3691. * Adds javascript code to be executed when Acrobat opens the FDF
  3692. *
  3693. * @return bool
  3694. * @param fdfdoc resource
  3695. * @param script string
  3696. * @param before_data_import bool[optional]
  3697. */
  3698. function fdf_set_on_import_javascript($fdfdoc, $script, $before_data_import = null) {}
  3699. /**
  3700. * Sets a value in the opt array for a field
  3701. *
  3702. * @return bool
  3703. * @param fdfdoc resource
  3704. * @param fieldname string
  3705. * @param element int
  3706. * @param value string
  3707. * @param name string
  3708. */
  3709. function fdf_set_opt($fdfdoc, $fieldname, $element, $value, $name) {}
  3710. /**
  3711. * Sets the value of /Status key
  3712. *
  3713. * @return bool
  3714. * @param fdfdoc resource
  3715. * @param status string
  3716. */
  3717. function fdf_set_status($fdfdoc, $status) {}
  3718. /**
  3719. * Sets the submit form action for a field
  3720. *
  3721. * @return bool
  3722. * @param fdfdoc resource
  3723. * @param fieldname string
  3724. * @param whichtrigger int
  3725. * @param url string
  3726. * @param flags int
  3727. */
  3728. function fdf_set_submit_form_action($fdfdoc, $fieldname, $whichtrigger, $url, $flags) {}
  3729. /**
  3730. * Sets target frame for form
  3731. *
  3732. * @return bool
  3733. * @param fdfdoc resource
  3734. * @param target string
  3735. */
  3736. function fdf_set_target_frame($fdfdoc, $target) {}
  3737. /**
  3738. * Sets the value of a field
  3739. *
  3740. * @return bool
  3741. * @param fdfdoc resource
  3742. * @param fieldname string
  3743. * @param value mixed
  3744. * @param isname int[optional]
  3745. */
  3746. function fdf_set_value($fdfdoc, $fieldname, $value, $isname = null) {}
  3747. /**
  3748. * Sets FDF version for a file
  3749. *
  3750. * @return bool
  3751. * @param fdfdoc resourece
  3752. * @param version string
  3753. */
  3754. function fdf_set_version($fdfdoc, $version) {}
  3755. /**
  3756. * Test for end-of-file on a file pointer
  3757. *
  3758. * @return bool
  3759. * @param fp resource
  3760. */
  3761. function feof($fp) {}
  3762. /**
  3763. * Flushes output
  3764. *
  3765. * @return bool
  3766. * @param fp resource
  3767. */
  3768. function fflush($fp) {}
  3769. /**
  3770. * Get a character from file pointer
  3771. *
  3772. * @return string
  3773. * @param fp resource
  3774. */
  3775. function fgetc($fp) {}
  3776. /**
  3777. * Get line from file pointer and parse for CSV fields
  3778. *
  3779. * @return array
  3780. * @param fp resource
  3781. * @param length int
  3782. * @param delimiter string[optional]
  3783. * @param enclosure string[optional]
  3784. */
  3785. function fgetcsv($fp, $length, $delimiter = null, $enclosure = null) {}
  3786. /**
  3787. * Get a line from file pointer
  3788. *
  3789. * @return string
  3790. * @param fp resource
  3791. * @param length int
  3792. */
  3793. function fgets($fp, $length) {}
  3794. /**
  3795. * Get a line from file pointer and strip HTML tags
  3796. *
  3797. * @return string
  3798. * @param fp resource
  3799. * @param length int
  3800. * @param allowable_tags string[optional]
  3801. */
  3802. function fgetss($fp, $length, $allowable_tags = null) {}
  3803. /**
  3804. * Read entire file into an array
  3805. *
  3806. * @return array
  3807. * @param filename string
  3808. * @param use_include_path bool[optional]
  3809. */
  3810. function file($filename, $use_include_path = null) {}
  3811. /**
  3812. * Returns true if filename exists
  3813. *
  3814. * @return bool
  3815. * @param filename string
  3816. */
  3817. function file_exists($filename) {}
  3818. /**
  3819. * Read the entire file into a string
  3820. *
  3821. * @return string
  3822. * @param filename string
  3823. * @param use_include_path bool[optional]
  3824. */
  3825. function file_get_contents($filename, $use_include_path = null) {}
  3826. /**
  3827. * Get last access time of file
  3828. *
  3829. * @return int
  3830. * @param filename string
  3831. */
  3832. function fileatime($filename) {}
  3833. /**
  3834. * Get inode modification time of file
  3835. *
  3836. * @return int
  3837. * @param filename string
  3838. */
  3839. function filectime($filename) {}
  3840. /**
  3841. * Get file group
  3842. *
  3843. * @return int
  3844. * @param filename string
  3845. */
  3846. function filegroup($filename) {}
  3847. /**
  3848. * Get file inode
  3849. *
  3850. * @return int
  3851. * @param filename string
  3852. */
  3853. function fileinode($filename) {}
  3854. /**
  3855. * Get last modification time of file
  3856. *
  3857. * @return int
  3858. * @param filename string
  3859. */
  3860. function filemtime($filename) {}
  3861. /**
  3862. * Get file owner
  3863. *
  3864. * @return int
  3865. * @param filename string
  3866. */
  3867. function fileowner($filename) {}
  3868. /**
  3869. * Get file permissions
  3870. *
  3871. * @return int
  3872. * @param filename string
  3873. */
  3874. function fileperms($filename) {}
  3875. /**
  3876. * Read and verify the map file
  3877. *
  3878. * @return bool
  3879. * @param directory string
  3880. */
  3881. function filepro($directory) {}
  3882. /**
  3883. * Find out how many fields are in a filePro database
  3884. *
  3885. * @return int
  3886. */
  3887. function filepro_fieldcount() {}
  3888. /**
  3889. * Gets the name of a field
  3890. *
  3891. * @return string
  3892. * @param fieldnumber int
  3893. */
  3894. function filepro_fieldname($fieldnumber) {}
  3895. /**
  3896. * Gets the type of a field
  3897. *
  3898. * @return string
  3899. * @param field_number int
  3900. */
  3901. function filepro_fieldtype($field_number) {}
  3902. /**
  3903. * Gets the width of a field
  3904. *
  3905. * @return int
  3906. * @param field_number int
  3907. */
  3908. function filepro_fieldwidth($field_number) {}
  3909. /**
  3910. * Retrieves data from a filePro database
  3911. *
  3912. * @return string
  3913. * @param row_number int
  3914. * @param field_number int
  3915. */
  3916. function filepro_retrieve($row_number, $field_number) {}
  3917. /**
  3918. * Find out how many rows are in a filePro database
  3919. *
  3920. * @return int
  3921. */
  3922. function filepro_rowcount() {}
  3923. /**
  3924. * Get file size
  3925. *
  3926. * @return int
  3927. * @param filename string
  3928. */
  3929. function filesize($filename) {}
  3930. /**
  3931. * Get file type
  3932. *
  3933. * @return string
  3934. * @param filename string
  3935. */
  3936. function filetype($filename) {}
  3937. /**
  3938. * Get the float value of a variable
  3939. *
  3940. * @return float
  3941. * @param var mixed
  3942. */
  3943. function floatval($var) {}
  3944. /**
  3945. * Portable file locking
  3946. *
  3947. * @return bool
  3948. * @param fp resource
  3949. * @param operation int
  3950. * @param wouldblock int[optional]
  3951. */
  3952. function flock($fp, $operation, &$wouldblock) {}
  3953. /**
  3954. * Returns the next lowest integer value from the number
  3955. *
  3956. * @return float
  3957. * @param number float
  3958. */
  3959. function floor($number) {}
  3960. /**
  3961. * Flush the output buffer
  3962. *
  3963. * @return void
  3964. */
  3965. function flush() {}
  3966. /**
  3967. * Returns the remainder of dividing x by y as a float
  3968. *
  3969. * @return float
  3970. * @param x float
  3971. * @param y float
  3972. */
  3973. function fmod($x, $y) {}
  3974. /**
  3975. * Match filename against pattern
  3976. *
  3977. * @return bool
  3978. * @param pattern string
  3979. * @param filename string
  3980. * @param flags int[optional]
  3981. */
  3982. function fnmatch($pattern, $filename, $flags = null) {}
  3983. /**
  3984. * Open a file or a URL and return a file pointer
  3985. *
  3986. * @return resource
  3987. * @param filename string
  3988. * @param mode string
  3989. * @param use_include_path bool[optional]
  3990. * @param context resource[optional]
  3991. */
  3992. function fopen($filename, $mode, $use_include_path = null, $context = null) {}
  3993. /**
  3994. * Output all remaining data from a file pointer
  3995. *
  3996. * @return int
  3997. * @param fp resource
  3998. */
  3999. function fpassthru($fp) {}
  4000. /**
  4001. * Binary-safe file write
  4002. *
  4003. * @return int
  4004. * @param fp resource
  4005. * @param str string
  4006. * @param length int[optional]
  4007. */
  4008. function fputs($fp, $str, $length = null) {}
  4009. /**
  4010. * Binary-safe file read
  4011. *
  4012. * @return string
  4013. * @param fp resource
  4014. * @param length int
  4015. */
  4016. function fread($fp, $length) {}
  4017. /**
  4018. * Converts a french republic calendar date to julian day count
  4019. *
  4020. * @return int
  4021. * @param month int
  4022. * @param day int
  4023. * @param year int
  4024. */
  4025. function frenchtojd($month, $day, $year) {}
  4026. /**
  4027. * Returns an array containing information about the specified charset
  4028. *
  4029. * @return array
  4030. * @param charset int
  4031. */
  4032. function fribidi_charset_info($charset) {}
  4033. /**
  4034. * Returns an array containing available charsets
  4035. *
  4036. * @return array
  4037. */
  4038. function fribidi_get_charsets() {}
  4039. /**
  4040. * Convert a logical string to a visual one
  4041. *
  4042. * @return string
  4043. * @param logical_str string
  4044. * @param direction long
  4045. * @param charset long
  4046. */
  4047. function fribidi_log2vis($logical_str, $direction, $charset) {}
  4048. /**
  4049. * Implements a mostly ANSI compatible fscanf()
  4050. *
  4051. * @return mixed
  4052. * @param stream resource
  4053. * @param format string
  4054. * @vararg ... string
  4055. */
  4056. function fscanf($stream, $format) {}
  4057. /**
  4058. * Seek on a file pointer
  4059. *
  4060. * @return int
  4061. * @param fp resource
  4062. * @param offset int
  4063. * @param whence int[optional]
  4064. */
  4065. function fseek($fp, $offset, $whence = null) {}
  4066. /**
  4067. * Open Internet or Unix domain socket connection
  4068. *
  4069. * @return int
  4070. * @param hostname string
  4071. * @param port int
  4072. * @param errno int[optional]
  4073. * @param errstr string[optional]
  4074. * @param timeout float[optional]
  4075. * @param context resource[optional]
  4076. */
  4077. function fsockopen($hostname, $port, $errno = null, $errstr = null, $timeout = null, $context = null) {}
  4078. /**
  4079. * Stat() on a filehandle
  4080. *
  4081. * @return int
  4082. * @param fp resource
  4083. */
  4084. function fstat($fp) {}
  4085. /**
  4086. * Get file pointer's read/write position
  4087. *
  4088. * @return int
  4089. * @param fp resource
  4090. */
  4091. function ftell($fp) {}
  4092. /**
  4093. * Convert a pathname and a project identifier to a System V IPC key
  4094. *
  4095. * @return int
  4096. * @param pathname string
  4097. * @param proj string
  4098. */
  4099. function ftok($pathname, $proj) {}
  4100. /**
  4101. * Changes to the parent directory
  4102. *
  4103. * @return bool
  4104. * @param stream resource
  4105. */
  4106. function ftp_cdup($stream) {}
  4107. /**
  4108. * Changes directories
  4109. *
  4110. * @return bool
  4111. * @param stream resource
  4112. * @param directory string
  4113. */
  4114. function ftp_chdir($stream, $directory) {}
  4115. /**
  4116. * Closes the FTP stream
  4117. *
  4118. * @return void
  4119. * @param stream resource
  4120. */
  4121. function ftp_close($stream) {}
  4122. /**
  4123. * Opens a FTP stream
  4124. *
  4125. * @return resource
  4126. * @param host string
  4127. * @param port int[optional]
  4128. * @param timeout int[optional]
  4129. */
  4130. function ftp_connect($host, $port = null, $timeout = null) {}
  4131. /**
  4132. * Deletes a file
  4133. *
  4134. * @return bool
  4135. * @param stream resource
  4136. * @param file string
  4137. */
  4138. function ftp_delete($stream, $file) {}
  4139. /**
  4140. * Requests execution of a program on the FTP server
  4141. *
  4142. * @return bool
  4143. * @param stream resource
  4144. * @param command string
  4145. */
  4146. function ftp_exec($stream, $command) {}
  4147. /**
  4148. * Retrieves a file from the FTP server and writes it to an open file
  4149. *
  4150. * @return bool
  4151. * @param stream resource
  4152. * @param fp resource
  4153. * @param remote_file string
  4154. * @param mode int
  4155. * @param resumepos int
  4156. */
  4157. function ftp_fget($stream, $fp, $remote_file, $mode, $resumepos) {}
  4158. /**
  4159. * Stores a file from an open file to the FTP server
  4160. *
  4161. * @return bool
  4162. * @param stream resource
  4163. * @param remote_file string
  4164. * @param fp resource
  4165. * @param mode int
  4166. * @param startpos int
  4167. */
  4168. function ftp_fput($stream, $remote_file, $fp, $mode, $startpos) {}
  4169. /**
  4170. * Retrieves a file from the FTP server and writes it to a local file
  4171. *
  4172. * @return bool
  4173. * @param stream resource
  4174. * @param local_file string
  4175. * @param remote_file string
  4176. * @param mode int
  4177. * @param resume_pos int
  4178. */
  4179. function ftp_get($stream, $local_file, $remote_file, $mode, $resume_pos) {}
  4180. /**
  4181. * Gets an FTP option
  4182. *
  4183. * @return mixed
  4184. * @param stream resource
  4185. * @param option int
  4186. */
  4187. function ftp_get_option($stream, $option) {}
  4188. /**
  4189. * Logs into the FTP server
  4190. *
  4191. * @return bool
  4192. * @param stream resource
  4193. * @param username string
  4194. * @param password string
  4195. */
  4196. function ftp_login($stream, $username, $password) {}
  4197. /**
  4198. * Returns the last modification time of the file, or -1 on error
  4199. *
  4200. * @return int
  4201. * @param stream resource
  4202. * @param filename string
  4203. */
  4204. function ftp_mdtm($stream, $filename) {}
  4205. /**
  4206. * Creates a directory and returns the absolute path for the new directory or false on error
  4207. *
  4208. * @return string
  4209. * @param stream resource
  4210. * @param directory string
  4211. */
  4212. function ftp_mkdir($stream, $directory) {}
  4213. /**
  4214. * Continues retrieving/sending a file nbronously
  4215. *
  4216. * @return int
  4217. * @param stream resource
  4218. */
  4219. function ftp_nb_continue($stream) {}
  4220. /**
  4221. * Retrieves a file from the FTP server asynchronly and writes it to an open file
  4222. *
  4223. * @return bool
  4224. * @param stream resource
  4225. * @param fp resource
  4226. * @param remote_file string
  4227. * @param mode int
  4228. * @param resumepos int
  4229. */
  4230. function ftp_nb_fget($stream, $fp, $remote_file, $mode, $resumepos) {}
  4231. /**
  4232. * Stores a file from an open file to the FTP server nbronly
  4233. *
  4234. * @return bool
  4235. * @param stream resource
  4236. * @param remote_file string
  4237. * @param fp resource
  4238. * @param mode int
  4239. * @param startpos int
  4240. */
  4241. function ftp_nb_fput($stream, $remote_file, $fp, $mode, $startpos) {}
  4242. /**
  4243. * Retrieves a file from the FTP server nbhronly and writes it to a local file
  4244. *
  4245. * @return int
  4246. * @param stream resource
  4247. * @param local_file string
  4248. * @param remote_file string
  4249. * @param mode int
  4250. * @param resume_pos int
  4251. */
  4252. function ftp_nb_get($stream, $local_file, $remote_file, $mode, $resume_pos) {}
  4253. /**
  4254. * Stores a file on the FTP server
  4255. *
  4256. * @return bool
  4257. * @param stream resource
  4258. * @param remote_file string
  4259. * @param local_file string
  4260. * @param mode int
  4261. * @param startpos int
  4262. */
  4263. function ftp_nb_put($stream, $remote_file, $local_file, $mode, $startpos) {}
  4264. /**
  4265. * Returns an array of filenames in the given directory
  4266. *
  4267. * @return array
  4268. * @param stream resource
  4269. * @param directory string
  4270. */
  4271. function ftp_nlist($stream, $directory) {}
  4272. /**
  4273. * Turns passive mode on or off
  4274. *
  4275. * @return bool
  4276. * @param stream resource
  4277. * @param pasv bool
  4278. */
  4279. function ftp_pasv($stream, $pasv) {}
  4280. /**
  4281. * Stores a file on the FTP server
  4282. *
  4283. * @return bool
  4284. * @param stream resource
  4285. * @param remote_file string
  4286. * @param local_file string
  4287. * @param mode int
  4288. * @param startpos int
  4289. */
  4290. function ftp_put($stream, $remote_file, $local_file, $mode, $startpos) {}
  4291. /**
  4292. * Returns the present working directory
  4293. *
  4294. * @return string
  4295. * @param stream resource
  4296. */
  4297. function ftp_pwd($stream) {}
  4298. /**
  4299. * Closes the FTP stream
  4300. *
  4301. * @return void
  4302. * @param stream resource
  4303. */
  4304. function ftp_quit($stream) {}
  4305. /**
  4306. * Returns a detailed listing of a directory as an array of output lines
  4307. *
  4308. * @return array
  4309. * @param stream resource
  4310. * @param directory string
  4311. * @param recursive bool[optional]
  4312. */
  4313. function ftp_rawlist($stream, $directory, $recursive = null) {}
  4314. /**
  4315. * Renames the given file to a new path
  4316. *
  4317. * @return bool
  4318. * @param stream resource
  4319. * @param src string
  4320. * @param dest string
  4321. */
  4322. function ftp_rename($stream, $src, $dest) {}
  4323. /**
  4324. * Removes a directory
  4325. *
  4326. * @return bool
  4327. * @param stream resource
  4328. * @param directory string
  4329. */
  4330. function ftp_rmdir($stream, $directory) {}
  4331. /**
  4332. * Sets an FTP option
  4333. *
  4334. * @return bool
  4335. * @param stream resource
  4336. * @param option int
  4337. * @param value mixed
  4338. */
  4339. function ftp_set_option($stream, $option, $value) {}
  4340. /**
  4341. * Sends a SITE command to the server
  4342. *
  4343. * @return bool
  4344. * @param stream resource
  4345. * @param cmd string
  4346. */
  4347. function ftp_site($stream, $cmd) {}
  4348. /**
  4349. * Returns the size of the file, or -1 on error
  4350. *
  4351. * @return int
  4352. * @param stream resource
  4353. * @param filename string
  4354. */
  4355. function ftp_size($stream, $filename) {}
  4356. /**
  4357. * Opens a FTP-SSL stream
  4358. *
  4359. * @return resource
  4360. * @param host string
  4361. * @param port int[optional]
  4362. * @param timeout int[optional]
  4363. */
  4364. function ftp_ssl_connect($host, $port = null, $timeout = null) {}
  4365. /**
  4366. * Returns the system type identifier
  4367. *
  4368. * @return string
  4369. * @param stream resource
  4370. */
  4371. function ftp_systype($stream) {}
  4372. /**
  4373. * Truncate file to 'size' length
  4374. *
  4375. * @return int
  4376. * @param fp resource
  4377. * @param size int
  4378. */
  4379. function ftruncate($fp, $size) {}
  4380. /**
  4381. * Get the $arg_num'th argument that was passed to the function
  4382. *
  4383. * @return mixed
  4384. * @param arg_num int
  4385. */
  4386. function func_get_arg($arg_num) {}
  4387. /**
  4388. * Get an array of the arguments that were passed to the function
  4389. *
  4390. * @return array
  4391. */
  4392. function func_get_args() {}
  4393. /**
  4394. * Get the number of arguments that were passed to the function
  4395. *
  4396. * @return int
  4397. */
  4398. function func_num_args() {}
  4399. /**
  4400. * Checks if the function exists
  4401. *
  4402. * @return bool
  4403. * @param function_name string
  4404. */
  4405. function function_exists($function_name) {}
  4406. /**
  4407. * Binary-safe file write
  4408. *
  4409. * @return int
  4410. * @param fp resource
  4411. * @param str string
  4412. * @param length int[optional]
  4413. */
  4414. function fwrite($fp, $str, $length = null) {}
  4415. /**
  4416. *
  4417. *
  4418. * @return array
  4419. */
  4420. function gd_info() {}
  4421. /**
  4422. * Get information about the capabilities of a browser
  4423. *
  4424. * @return object
  4425. * @param browser_name string
  4426. */
  4427. function get_browser($browser_name) {}
  4428. /**
  4429. * Get the value of a PHP configuration option
  4430. *
  4431. * @return string
  4432. * @param option_name string
  4433. */
  4434. function get_cfg_var($option_name) {}
  4435. /**
  4436. * Retrieves the class name
  4437. *
  4438. * @return string
  4439. * @param object object
  4440. */
  4441. function get_class($object) {}
  4442. /**
  4443. * Returns an array of method names for class or class instance.
  4444. *
  4445. * @return array
  4446. * @param class mixed
  4447. */
  4448. function get_class_methods($class) {}
  4449. /**
  4450. * Returns an array of default properties of the class
  4451. *
  4452. * @return array
  4453. * @param class_name string
  4454. */
  4455. function get_class_vars($class_name) {}
  4456. /**
  4457. * Get the name of the owner of the current PHP script
  4458. *
  4459. * @return string
  4460. */
  4461. function get_current_user() {}
  4462. /**
  4463. * Returns an array of all declared classes.
  4464. *
  4465. * @return array
  4466. */
  4467. function get_declared_classes() {}
  4468. /**
  4469. * Return an array containing the names and values of all defined constants
  4470. *
  4471. * @return array
  4472. */
  4473. function get_defined_constants() {}
  4474. /**
  4475. * Returns an array of all defined functions
  4476. *
  4477. * @return array
  4478. */
  4479. function get_defined_functions() {}
  4480. /**
  4481. * Returns an associative array of names and values of all currently defined variable names (variables in the current scope)
  4482. *
  4483. * @return array
  4484. */
  4485. function get_defined_vars() {}
  4486. /**
  4487. * Returns an array with the names of functions belonging to the named extension
  4488. *
  4489. * @return array
  4490. * @param extension_name string
  4491. */
  4492. function get_extension_funcs($extension_name) {}
  4493. /**
  4494. * Returns the internal translation table used by htmlspecialchars and htmlentities
  4495. *
  4496. * @return array
  4497. * @param table int[optional]
  4498. * @param quote_style int[optional]
  4499. */
  4500. function get_html_translation_table($table = null, $quote_style = null) {}
  4501. /**
  4502. * Get the current include_path configuration option
  4503. *
  4504. * @return string
  4505. */
  4506. function get_include_path() {}
  4507. /**
  4508. * Returns an array with the file names that were include_once()'d
  4509. *
  4510. * @return array
  4511. */
  4512. function get_included_files() {}
  4513. /**
  4514. * Return an array containing names of loaded extensions
  4515. *
  4516. * @return array
  4517. */
  4518. function get_loaded_extensions() {}
  4519. /**
  4520. * Get the current active configuration setting of magic_quotes_gpc
  4521. *
  4522. * @return int
  4523. */
  4524. function get_magic_quotes_gpc() {}
  4525. /**
  4526. * Get the current active configuration setting of magic_quotes_runtime
  4527. *
  4528. * @return int
  4529. */
  4530. function get_magic_quotes_runtime() {}
  4531. /**
  4532. * Extracts all meta tag content attributes from a file and returns an array
  4533. *
  4534. * @return array
  4535. * @param filename string
  4536. * @param use_include_path bool[optional]
  4537. */
  4538. function get_meta_tags($filename, $use_include_path = null) {}
  4539. /**
  4540. * Returns an array of object properties
  4541. *
  4542. * @return array
  4543. * @param obj object
  4544. */
  4545. function get_object_vars($obj) {}
  4546. /**
  4547. * Retrieves the parent class name for object or class.
  4548. *
  4549. * @return string
  4550. * @param object mixed
  4551. */
  4552. function get_parent_class($object) {}
  4553. /**
  4554. * Returns an array with the file names that were include_once()'d
  4555. *
  4556. * @return array
  4557. */
  4558. function get_required_files() {}
  4559. /**
  4560. * Get the resource type name for a given resource
  4561. *
  4562. * @return string
  4563. * @param res resource
  4564. */
  4565. function get_resource_type($res) {}
  4566. /**
  4567. * Get all headers from the request
  4568. *
  4569. * @return array
  4570. */
  4571. function getallheaders() {}
  4572. /**
  4573. * Gets the current directory
  4574. *
  4575. * @return mixed
  4576. */
  4577. function getcwd() {}
  4578. /**
  4579. * Get date/time information
  4580. *
  4581. * @return array
  4582. * @param timestamp int[optional]
  4583. */
  4584. function getdate($timestamp = null) {}
  4585. /**
  4586. * Get the value of an environment variable
  4587. *
  4588. * @return string
  4589. * @param varname string
  4590. */
  4591. function getenv($varname) {}
  4592. /**
  4593. * Get the Internet host name corresponding to a given IP address
  4594. *
  4595. * @return string
  4596. * @param ip_address string
  4597. */
  4598. function gethostbyaddr($ip_address) {}
  4599. /**
  4600. * Get the IP address corresponding to a given Internet host name
  4601. *
  4602. * @return string
  4603. * @param hostname string
  4604. */
  4605. function gethostbyname($hostname) {}
  4606. /**
  4607. * Return a list of IP addresses that a given hostname resolves to.
  4608. *
  4609. * @return array
  4610. * @param hostname string
  4611. */
  4612. function gethostbynamel($hostname) {}
  4613. /**
  4614. * Get the size of an image as 4-element array
  4615. *
  4616. * @return array
  4617. * @param imagefile string
  4618. * @param info array[optional]
  4619. */
  4620. function getimagesize($imagefile, $info = null) {}
  4621. /**
  4622. * Get time of last page modification
  4623. *
  4624. * @return int
  4625. */
  4626. function getlastmod() {}
  4627. /**
  4628. * Get MX records corresponding to a given Internet host name
  4629. *
  4630. * @return int
  4631. * @param hostname string
  4632. * @param mxhosts array
  4633. * @param weight array[optional]
  4634. */
  4635. function getmxrr($hostname, $mxhosts, $weight = null) {}
  4636. /**
  4637. * Get PHP script owner's GID
  4638. *
  4639. * @return int
  4640. */
  4641. function getmygid() {}
  4642. /**
  4643. * Get the inode of the current script being parsed
  4644. *
  4645. * @return int
  4646. */
  4647. function getmyinode() {}
  4648. /**
  4649. * Get current process ID
  4650. *
  4651. * @return int
  4652. */
  4653. function getmypid() {}
  4654. /**
  4655. * Get PHP script owner's UID
  4656. *
  4657. * @return int
  4658. */
  4659. function getmyuid() {}
  4660. /**
  4661. * Get options from the command line argument list
  4662. *
  4663. * @return array
  4664. * @param options string
  4665. * @param longopts array[optional]
  4666. */
  4667. function getopt($options, $longopts = null) {}
  4668. /**
  4669. * Returns protocol number associated with name as per /etc/protocols
  4670. *
  4671. * @return int
  4672. * @param name string
  4673. */
  4674. function getprotobyname($name) {}
  4675. /**
  4676. * Returns protocol name associated with protocol number proto
  4677. *
  4678. * @return string
  4679. * @param proto int
  4680. */
  4681. function getprotobynumber($proto) {}
  4682. /**
  4683. * Returns the maximum value a random number can have
  4684. *
  4685. * @return int
  4686. */
  4687. function getrandmax() {}
  4688. /**
  4689. * Returns an array of usage statistics
  4690. *
  4691. * @return array
  4692. * @param who int[optional]
  4693. */
  4694. function getrusage($who = null) {}
  4695. /**
  4696. * Returns port associated with service. Protocol must be "tcp" or "udp"
  4697. *
  4698. * @return int
  4699. * @param service string
  4700. * @param protocol string
  4701. */
  4702. function getservbyname($service, $protocol) {}
  4703. /**
  4704. * Returns service name associated with port. Protocol must be "tcp" or "udp"
  4705. *
  4706. * @return string
  4707. * @param port int
  4708. * @param protocol string
  4709. */
  4710. function getservbyport($port, $protocol) {}
  4711. /**
  4712. * Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist
  4713. *
  4714. * @return string
  4715. * @param msgid string
  4716. */
  4717. function gettext($msgid) {}
  4718. /**
  4719. * Returns the current time as array
  4720. *
  4721. * @return array
  4722. */
  4723. function gettimeofday() {}
  4724. /**
  4725. * Returns the type of the variable
  4726. *
  4727. * @return string
  4728. * @param var mixed
  4729. */
  4730. function gettype($var) {}
  4731. /**
  4732. * Find pathnames matching a pattern
  4733. *
  4734. * @return array
  4735. * @param pattern string
  4736. * @param flags int[optional]
  4737. */
  4738. function glob($pattern, $flags = null) {}
  4739. /**
  4740. * Format a GMT/UTC date/time
  4741. *
  4742. * @return string
  4743. * @param format string
  4744. * @param timestamp int[optional]
  4745. */
  4746. function gmdate($format, $timestamp = null) {}
  4747. /**
  4748. * Get UNIX timestamp for a GMT date
  4749. *
  4750. * @return int
  4751. * @param hour int
  4752. * @param min int
  4753. * @param sec int
  4754. * @param mon int
  4755. * @param day int
  4756. * @param year int
  4757. */
  4758. function gmmktime($hour, $min, $sec, $mon, $day, $year) {}
  4759. /**
  4760. * Calculates absolute value
  4761. *
  4762. * @return resource
  4763. * @param a resource
  4764. */
  4765. function gmp_abs($a) {}
  4766. /**
  4767. * Add a and b
  4768. *
  4769. * @return resource
  4770. * @param a resource
  4771. * @param b resource
  4772. */
  4773. function gmp_add($a, $b) {}
  4774. /**
  4775. * Calculates logical AND of a and b
  4776. *
  4777. * @return resource
  4778. * @param a resource
  4779. * @param b resource
  4780. */
  4781. function gmp_and($a, $b) {}
  4782. /**
  4783. * Clears bit in a
  4784. *
  4785. * @return void
  4786. * @param a resource
  4787. * @param index int
  4788. */
  4789. function gmp_clrbit(&$a, $index) {}
  4790. /**
  4791. * Compares two numbers
  4792. *
  4793. * @return int
  4794. * @param a resource
  4795. * @param b resource
  4796. */
  4797. function gmp_cmp($a, $b) {}
  4798. /**
  4799. * Calculates one's complement of a
  4800. *
  4801. * @return resource
  4802. * @param a resource
  4803. */
  4804. function gmp_com($a) {}
  4805. /**
  4806. * Divide a by b, returns quotient only
  4807. *
  4808. * @return resource
  4809. * @param a resource
  4810. * @param b resource
  4811. * @param round int[optional]
  4812. */
  4813. function gmp_div($a, $b, $round = null) {}
  4814. /**
  4815. * Divide a by b, returns quotient only
  4816. *
  4817. * @return resource
  4818. * @param a resource
  4819. * @param b resource
  4820. * @param round int[optional]
  4821. */
  4822. function gmp_div_q($a, $b, $round = null) {}
  4823. /**
  4824. * Divide a by b, returns quotient and reminder
  4825. *
  4826. * @return array
  4827. * @param a resource
  4828. * @param b resource
  4829. * @param round int[optional]
  4830. */
  4831. function gmp_div_qr($a, $b, $round = null) {}
  4832. /**
  4833. * Divide a by b, returns reminder only
  4834. *
  4835. * @return resource
  4836. * @param a resource
  4837. * @param b resource
  4838. * @param round int[optional]
  4839. */
  4840. function gmp_div_r($a, $b, $round = null) {}
  4841. /**
  4842. * Divide a by b using exact division algorithm
  4843. *
  4844. * @return resource
  4845. * @param a resource
  4846. * @param b resource
  4847. */
  4848. function gmp_divexact($a, $b) {}
  4849. /**
  4850. * Calculates factorial function
  4851. *
  4852. * @return resource
  4853. * @param a int
  4854. */
  4855. function gmp_fact($a) {}
  4856. /**
  4857. * Computes greatest common denominator (gcd) of a and b
  4858. *
  4859. * @return resource
  4860. * @param a resource
  4861. * @param b resource
  4862. */
  4863. function gmp_gcd($a, $b) {}
  4864. /**
  4865. * Computes G, S, and T, such that AS + BT = G = `gcd' (A, B)
  4866. *
  4867. * @return array
  4868. * @param a resource
  4869. * @param b resource
  4870. */
  4871. function gmp_gcdext($a, $b) {}
  4872. /**
  4873. * Calculates hamming distance between a and b
  4874. *
  4875. * @return int
  4876. * @param a resource
  4877. * @param b resource
  4878. */
  4879. function gmp_hamdist($a, $b) {}
  4880. /**
  4881. * Initializes GMP number
  4882. *
  4883. * @return resource
  4884. * @param number mixed
  4885. * @param base int[optional]
  4886. */
  4887. function gmp_init($number, $base = null) {}
  4888. /**
  4889. * Gets signed long value of GMP number
  4890. *
  4891. * @return int
  4892. * @param gmpnumber resource
  4893. */
  4894. function gmp_intval($gmpnumber) {}
  4895. /**
  4896. * Computes the inverse of a modulo b
  4897. *
  4898. * @return resource
  4899. * @param a resource
  4900. * @param b resource
  4901. */
  4902. function gmp_invert($a, $b) {}
  4903. /**
  4904. * Computes Jacobi symbol
  4905. *
  4906. * @return int
  4907. * @param a resource
  4908. * @param b resource
  4909. */
  4910. function gmp_jacobi($a, $b) {}
  4911. /**
  4912. * Computes Legendre symbol
  4913. *
  4914. * @return int
  4915. * @param a resource
  4916. * @param b resource
  4917. */
  4918. function gmp_legendre($a, $b) {}
  4919. /**
  4920. * Computes a modulo b
  4921. *
  4922. * @return resource
  4923. * @param a resource
  4924. * @param b resource
  4925. */
  4926. function gmp_mod($a, $b) {}
  4927. /**
  4928. * Multiply a and b
  4929. *
  4930. * @return resource
  4931. * @param a resource
  4932. * @param b resource
  4933. */
  4934. function gmp_mul($a, $b) {}
  4935. /**
  4936. * Negates a number
  4937. *
  4938. * @return resource
  4939. * @param a resource
  4940. */
  4941. function gmp_neg($a) {}
  4942. /**
  4943. * Calculates logical OR of a and b
  4944. *
  4945. * @return resource
  4946. * @param a resource
  4947. * @param b resource
  4948. */
  4949. function gmp_or($a, $b) {}
  4950. /**
  4951. * Checks if a is an exact square
  4952. *
  4953. * @return bool
  4954. * @param a resource
  4955. */
  4956. function gmp_perfect_square($a) {}
  4957. /**
  4958. * Calculates the population count of a
  4959. *
  4960. * @return int
  4961. * @param a resource
  4962. */
  4963. function gmp_popcount($a) {}
  4964. /**
  4965. * Raise base to power exp
  4966. *
  4967. * @return resource
  4968. * @param base resource
  4969. * @param exp int
  4970. */
  4971. function gmp_pow($base, $exp) {}
  4972. /**
  4973. * Raise base to power exp and take result modulo mod
  4974. *
  4975. * @return resource
  4976. * @param base resource
  4977. * @param exp resource
  4978. * @param mod resource
  4979. */
  4980. function gmp_powm($base, $exp, $mod) {}
  4981. /**
  4982. * Checks if a is "probably prime"
  4983. *
  4984. * @return int
  4985. * @param a resource
  4986. * @param reps int
  4987. */
  4988. function gmp_prob_prime($a, $reps) {}
  4989. /**
  4990. * Gets random number
  4991. *
  4992. * @return resource
  4993. * @param limiter int[optional]
  4994. */
  4995. function gmp_random($limiter = null) {}
  4996. /**
  4997. * Finds first zero bit
  4998. *
  4999. * @return int
  5000. * @param a resource
  5001. * @param start int
  5002. */
  5003. function gmp_scan0($a, $start) {}
  5004. /**
  5005. * Finds first non-zero bit
  5006. *
  5007. * @return int
  5008. * @param a resource
  5009. * @param start int
  5010. */
  5011. function gmp_scan1($a, $start) {}
  5012. /**
  5013. * Sets or clear bit in a
  5014. *
  5015. * @return void
  5016. * @param a resource
  5017. * @param index int
  5018. * @param set_clear bool
  5019. */
  5020. function gmp_setbit(&$a, $index, $set_clear) {}
  5021. /**
  5022. * Gets the sign of the number
  5023. *
  5024. * @return int
  5025. * @param a resource
  5026. */
  5027. function gmp_sign($a) {}
  5028. /**
  5029. * Takes integer part of square root of a
  5030. *
  5031. * @return resource
  5032. * @param a resource
  5033. */
  5034. function gmp_sqrt($a) {}
  5035. /**
  5036. * Square root with remainder
  5037. *
  5038. * @return array
  5039. * @param a resource
  5040. */
  5041. function gmp_sqrtrem($a) {}
  5042. /**
  5043. * Gets string representation of GMP number
  5044. *
  5045. * @return string
  5046. * @param gmpnumber resource
  5047. * @param base int[optional]
  5048. */
  5049. function gmp_strval($gmpnumber, $base = null) {}
  5050. /**
  5051. * Subtract b from a
  5052. *
  5053. * @return resource
  5054. * @param a resource
  5055. * @param b resource
  5056. */
  5057. function gmp_sub($a, $b) {}
  5058. /**
  5059. * Calculates logical exclusive OR of a and b
  5060. *
  5061. * @return resource
  5062. * @param a resource
  5063. * @param b resource
  5064. */
  5065. function gmp_xor($a, $b) {}
  5066. /**
  5067. * Format a GMT/UCT time/date according to locale settings
  5068. *
  5069. * @return string
  5070. * @param format string
  5071. * @param timestamp int[optional]
  5072. */
  5073. function gmstrftime($format, $timestamp = null) {}
  5074. /**
  5075. * Converts a gregorian calendar date to julian day count
  5076. *
  5077. * @return int
  5078. * @param month int
  5079. * @param day int
  5080. * @param year int
  5081. */
  5082. function gregoriantojd($month, $day, $year) {}
  5083. /**
  5084. * Close an open file pointer
  5085. *
  5086. * @return bool
  5087. * @param fp resource
  5088. */
  5089. function gzclose($fp) {}
  5090. /**
  5091. * Gzip-compress a string
  5092. *
  5093. * @return string
  5094. * @param data string
  5095. * @param level int[optional]
  5096. */
  5097. function gzcompress($data, $level = null) {}
  5098. /**
  5099. * Gzip-compress a string
  5100. *
  5101. * @return string
  5102. * @param data string
  5103. * @param level int[optional]
  5104. */
  5105. function gzdeflate($data, $level = null) {}
  5106. /**
  5107. * GZ encode a string
  5108. *
  5109. * @return string
  5110. * @param data string
  5111. * @param level int[optional]
  5112. * @param encoding_mode int[optional]
  5113. */
  5114. function gzencode($data, $level = null, $encoding_mode = null) {}
  5115. /**
  5116. * Test for end-of-file on a file pointer
  5117. *
  5118. * @return bool
  5119. * @param fp resource
  5120. */
  5121. function gzeof($fp) {}
  5122. /**
  5123. * Read und uncompress entire .gz-file into an array
  5124. *
  5125. * @return array
  5126. * @param filename string
  5127. * @param use_include_path int[optional]
  5128. */
  5129. function gzfile($filename, $use_include_path = null) {}
  5130. /**
  5131. * Get a character from file pointer
  5132. *
  5133. * @return string
  5134. * @param fp resource
  5135. */
  5136. function gzgetc($fp) {}
  5137. /**
  5138. * Get a line from file pointer
  5139. *
  5140. * @return string
  5141. * @param fp resource
  5142. * @param length int
  5143. */
  5144. function gzgets($fp, $length) {}
  5145. /**
  5146. * Get a line from file pointer and strip HTML tags
  5147. *
  5148. * @return string
  5149. * @param fp resource
  5150. * @param length int
  5151. * @param allowable_tags string[optional]
  5152. */
  5153. function gzgetss($fp, $length, $allowable_tags = null) {}
  5154. /**
  5155. * Unzip a gzip-compressed string
  5156. *
  5157. * @return string
  5158. * @param data string
  5159. * @param length int[optional]
  5160. */
  5161. function gzinflate($data, $length = null) {}
  5162. /**
  5163. * Open a .gz-file and return a .gz-file pointer
  5164. *
  5165. * @return int
  5166. * @param filename string
  5167. * @param mode string
  5168. * @param use_include_path int[optional]
  5169. */
  5170. function gzopen($filename, $mode, $use_include_path = null) {}
  5171. /**
  5172. * Output all remaining data from a file pointer
  5173. *
  5174. * @return int
  5175. * @param fp resource
  5176. */
  5177. function gzpassthru($fp) {}
  5178. /**
  5179. * Binary-safe file write
  5180. *
  5181. * @return int
  5182. * @param fp resource
  5183. * @param str string
  5184. * @param length int[optional]
  5185. */
  5186. function gzputs($fp, $str, $length = null) {}
  5187. /**
  5188. * Binary-safe file read
  5189. *
  5190. * @return string
  5191. * @param fp resource
  5192. * @param length int
  5193. */
  5194. function gzread($fp, $length) {}
  5195. /**
  5196. * Rewind the position of a file pointer
  5197. *
  5198. * @return bool
  5199. * @param fp resource
  5200. */
  5201. function gzrewind($fp) {}
  5202. /**
  5203. * Seek on a file pointer
  5204. *
  5205. * @return int
  5206. * @param fp resource
  5207. * @param offset int
  5208. * @param whence int[optional]
  5209. */
  5210. function gzseek($fp, $offset, $whence = null) {}
  5211. /**
  5212. * Get file pointer's read/write position
  5213. *
  5214. * @return int
  5215. * @param fp resource
  5216. */
  5217. function gztell($fp) {}
  5218. /**
  5219. * Unzip a gzip-compressed string
  5220. *
  5221. * @return string
  5222. * @param data string
  5223. * @param length int[optional]
  5224. */
  5225. function gzuncompress($data, $length = null) {}
  5226. /**
  5227. * Binary-safe file write
  5228. *
  5229. * @return int
  5230. * @param fp resource
  5231. * @param str string
  5232. * @param length int[optional]
  5233. */
  5234. function gzwrite($fp, $str, $length = null) {}
  5235. /**
  5236. * Sends a raw HTTP header
  5237. *
  5238. * @return void
  5239. * @param header string
  5240. * @param replace bool[optional]
  5241. * @param http_response_code int[optional]
  5242. */
  5243. function header($header, $replace = null, $http_response_code = null) {}
  5244. /**
  5245. * Returns true if headers have already been sent, false otherwise
  5246. *
  5247. * @return bool
  5248. * @param file string[optional]
  5249. * @param line int[optional]
  5250. */
  5251. function headers_sent(&$file, &$line) {}
  5252. /**
  5253. * Converts logical Hebrew text to visual text
  5254. *
  5255. * @return string
  5256. * @param str string
  5257. * @param max_chars_per_line int[optional]
  5258. */
  5259. function hebrev($str, $max_chars_per_line = null) {}
  5260. /**
  5261. * Converts logical Hebrew text to visual text with newline conversion
  5262. *
  5263. * @return string
  5264. * @param str string
  5265. * @param max_chars_per_line int[optional]
  5266. */
  5267. function hebrevc($str, $max_chars_per_line = null) {}
  5268. /**
  5269. * Returns the decimal equivalent of the hexadecimal number
  5270. *
  5271. * @return int
  5272. * @param hexadecimal_number string
  5273. */
  5274. function hexdec($hexadecimal_number) {}
  5275. /**
  5276. * Syntax highlight a source file
  5277. *
  5278. * @return bool
  5279. * @param file_name string
  5280. * @param return bool[optional]
  5281. */
  5282. function highlight_file($file_name, $return = null) {}
  5283. /**
  5284. * Syntax highlight a string or optionally return it
  5285. *
  5286. * @return bool
  5287. * @param string string
  5288. * @param return bool[optional]
  5289. */
  5290. function highlight_string($string, $return = null) {}
  5291. /**
  5292. * Creates DOM object of HTML document
  5293. *
  5294. * @return object
  5295. * @param html_doc string
  5296. * @param from_file bool[optional]
  5297. */
  5298. function html_doc($html_doc, $from_file = null) {}
  5299. /**
  5300. * Creates DOM object of HTML document in file
  5301. *
  5302. * @return object
  5303. * @param filename string
  5304. */
  5305. function html_doc_file($filename) {}
  5306. /**
  5307. * Convert all HTML entities to their applicable characters
  5308. *
  5309. * @return string
  5310. * @param string string
  5311. * @param quote_style int[optional]
  5312. * @param charset string[optional]
  5313. */
  5314. function html_entity_decode($string, $quote_style = null, $charset = null) {}
  5315. /**
  5316. * Convert all applicable characters to HTML entities
  5317. *
  5318. * @return string
  5319. * @param string string
  5320. * @param quote_style int[optional]
  5321. * @param charset string[optional]
  5322. */
  5323. function htmlentities($string, $quote_style = null, $charset = null) {}
  5324. /**
  5325. * Convert special characters to HTML entities
  5326. *
  5327. * @return string
  5328. * @param string string
  5329. * @param quote_style int[optional]
  5330. * @param charset string[optional]
  5331. */
  5332. function htmlspecialchars($string, $quote_style = null, $charset = null) {}
  5333. /**
  5334. * Returns object record of object array
  5335. *
  5336. * @return string
  5337. * @param objarr array
  5338. */
  5339. function hw_array2objrec($objarr) {}
  5340. /**
  5341. * Changes attributes of an object (obsolete)
  5342. *
  5343. * @return void
  5344. * @param link int
  5345. * @param objid int
  5346. * @param attributes array
  5347. */
  5348. function hw_changeobject($link, $objid, $attributes) {}
  5349. /**
  5350. * Returns array of children object ids
  5351. *
  5352. * @return array
  5353. * @param link int
  5354. * @param objid int
  5355. */
  5356. function hw_children($link, $objid) {}
  5357. /**
  5358. * Returns array of children object records
  5359. *
  5360. * @return array
  5361. * @param link int
  5362. * @param objid int
  5363. */
  5364. function hw_childrenobj($link, $objid) {}
  5365. /**
  5366. * Close connection to Hyperwave server
  5367. *
  5368. * @return void
  5369. * @param link int
  5370. */
  5371. function hw_close($link) {}
  5372. /**
  5373. * Connect to the Hyperwave server
  5374. *
  5375. * @return int
  5376. * @param host string
  5377. * @param port_ int
  5378. * @param password string[optional]
  5379. */
  5380. function hw_connect($host, $port_, $password = null) {}
  5381. /**
  5382. * Prints information about the connection to Hyperwave server
  5383. *
  5384. * @return void
  5385. * @param link int
  5386. */
  5387. function hw_connection_info($link) {}
  5388. /**
  5389. * Copies object
  5390. *
  5391. * @return void
  5392. * @param link int
  5393. * @param objrec array
  5394. * @param dest int
  5395. */
  5396. function hw_cp($link, $objrec, $dest) {}
  5397. /**
  5398. * Deletes object
  5399. *
  5400. * @return void
  5401. * @param link int
  5402. * @param objid int
  5403. */
  5404. function hw_deleteobject($link, $objid) {}
  5405. /**
  5406. * Returns objid of document belonging to anchorid
  5407. *
  5408. * @return int
  5409. * @param link int
  5410. * @param anchorid int
  5411. */
  5412. function hw_docbyanchor($link, $anchorid) {}
  5413. /**
  5414. * Returns object record of document belonging to anchorid
  5415. *
  5416. * @return array
  5417. * @param link int
  5418. * @param anchorid int
  5419. */
  5420. function hw_docbyanchorobj($link, $anchorid) {}
  5421. /**
  5422. * Returns object record of document
  5423. *
  5424. * @return string
  5425. * @param doc hwdoc
  5426. */
  5427. function hw_document_attributes($doc) {}
  5428. /**
  5429. * Return bodytag prefixed by prefix
  5430. *
  5431. * @return string
  5432. * @param doc hwdoc
  5433. * @param prefix string[optional]
  5434. */
  5435. function hw_document_bodytag($doc, $prefix = null) {}
  5436. /**
  5437. * Returns content of document
  5438. *
  5439. * @return string
  5440. * @param doc hwdoc
  5441. */
  5442. function hw_document_content($doc) {}
  5443. /**
  5444. * Sets/replaces content of document
  5445. *
  5446. * @return int
  5447. * @param doc hwdoc
  5448. * @param content string
  5449. */
  5450. function hw_document_setcontent($doc, $content) {}
  5451. /**
  5452. * Returns size of document
  5453. *
  5454. * @return int
  5455. * @param doc hwdoc
  5456. */
  5457. function hw_document_size($doc) {}
  5458. /**
  5459. * An alias for hw_document_attributes
  5460. *
  5461. * @return string
  5462. * @param doc hwdoc
  5463. */
  5464. function hw_documentattributes($doc) {}
  5465. /**
  5466. * An alias for hw_document_bodytag
  5467. *
  5468. * @return string
  5469. * @param doc hwdoc
  5470. * @param prefix string[optional]
  5471. */
  5472. function hw_documentbodytag($doc, $prefix = null) {}
  5473. /**
  5474. * An alias for hw_document_size
  5475. *
  5476. * @return int
  5477. * @param doc hwdoc
  5478. */
  5479. function hw_documentsize($doc) {}
  5480. /**
  5481. * Hyperwave dummy function
  5482. *
  5483. * @return string
  5484. * @param link int
  5485. * @param id int
  5486. * @param msgid int
  5487. */
  5488. function hw_dummy($link, $id, $msgid) {}
  5489. /**
  5490. * Modifies text document
  5491. *
  5492. * @return void
  5493. * @param link int
  5494. * @param doc hwdoc
  5495. */
  5496. function hw_edittext($link, $doc) {}
  5497. /**
  5498. * Returns last error number
  5499. *
  5500. * @return int
  5501. * @param link int
  5502. */
  5503. function hw_error($link) {}
  5504. /**
  5505. * Returns last error message
  5506. *
  5507. * @return string
  5508. * @param link int
  5509. */
  5510. function hw_errormsg($link) {}
  5511. /**
  5512. * Frees memory of document
  5513. *
  5514. * @return void
  5515. * @param doc hwdoc
  5516. */
  5517. function hw_free_document($doc) {}
  5518. /**
  5519. * Return all anchors of object
  5520. *
  5521. * @return array
  5522. * @param link int
  5523. * @param objid int
  5524. */
  5525. function hw_getanchors($link, $objid) {}
  5526. /**
  5527. * Return all object records of anchors of object
  5528. *
  5529. * @return array
  5530. * @param link int
  5531. * @param objid int
  5532. */
  5533. function hw_getanchorsobj($link, $objid) {}
  5534. /**
  5535. * Returns object record and locks object
  5536. *
  5537. * @return string
  5538. * @param link int
  5539. * @param objid int
  5540. */
  5541. function hw_getandlock($link, $objid) {}
  5542. /**
  5543. * Returns the output of a CGI script
  5544. *
  5545. * @return hwdoc
  5546. * @param link int
  5547. * @param objid int
  5548. */
  5549. function hw_getcgi($link, $objid) {}
  5550. /**
  5551. * Returns array of child collection object ids
  5552. *
  5553. * @return array
  5554. * @param link int
  5555. * @param objid int
  5556. */
  5557. function hw_getchildcoll($link, $objid) {}
  5558. /**
  5559. * Returns array of child collection object records
  5560. *
  5561. * @return array
  5562. * @param link int
  5563. * @param objid int
  5564. */
  5565. function hw_getchildcollobj($link, $objid) {}
  5566. /**
  5567. * Returns all children ids which are documents
  5568. *
  5569. * @return array
  5570. * @param link int
  5571. * @param objid int
  5572. */
  5573. function hw_getchilddoccoll($link, $objid) {}
  5574. /**
  5575. * Returns all children object records which are documents
  5576. *
  5577. * @return array
  5578. * @param link int
  5579. * @param objid int
  5580. */
  5581. function hw_getchilddoccollobj($link, $objid) {}
  5582. /**
  5583. * Returns object record
  5584. *
  5585. * @return string
  5586. * @param link int
  5587. * @param objid int
  5588. * @param query string[optional]
  5589. */
  5590. function hw_getobject($link, $objid, $query = null) {}
  5591. /**
  5592. * Search for query as fulltext and return maxhits objids
  5593. *
  5594. * @return array
  5595. * @param link int
  5596. * @param query string
  5597. * @param maxhits int
  5598. */
  5599. function hw_getobjectbyftquery($link, $query, $maxhits) {}
  5600. /**
  5601. * Search for fulltext query in collection and return maxhits objids
  5602. *
  5603. * @return array
  5604. * @param link int
  5605. * @param collid int
  5606. * @param query string
  5607. * @param maxhits int
  5608. */
  5609. function hw_getobjectbyftquerycoll($link, $collid, $query, $maxhits) {}
  5610. /**
  5611. * Search for fulltext query in collection and return maxhits object records
  5612. *
  5613. * @return array
  5614. * @param link int
  5615. * @param collid int
  5616. * @param query string
  5617. * @param maxhits int
  5618. */
  5619. function hw_getobjectbyftquerycollobj($link, $collid, $query, $maxhits) {}
  5620. /**
  5621. * Search for query as fulltext and return maxhits object records
  5622. *
  5623. * @return array
  5624. * @param link int
  5625. * @param query string
  5626. * @param maxhits int
  5627. */
  5628. function hw_getobjectbyftqueryobj($link, $query, $maxhits) {}
  5629. /**
  5630. * Search for query and return maxhits objids
  5631. *
  5632. * @return array
  5633. * @param link int
  5634. * @param query string
  5635. * @param maxhits int
  5636. */
  5637. function hw_getobjectbyquery($link, $query, $maxhits) {}
  5638. /**
  5639. * Search for query in collection and return maxhits objids
  5640. *
  5641. * @return array
  5642. * @param link int
  5643. * @param collid int
  5644. * @param query string
  5645. * @param maxhits int
  5646. */
  5647. function hw_getobjectbyquerycoll($link, $collid, $query, $maxhits) {}
  5648. /**
  5649. * Search for query in collection and return maxhits object records
  5650. *
  5651. * @return array
  5652. * @param link int
  5653. * @param collid int
  5654. * @param query string
  5655. * @param maxhits int
  5656. */
  5657. function hw_getobjectbyquerycollobj($link, $collid, $query, $maxhits) {}
  5658. /**
  5659. * Search for query and return maxhits object records
  5660. *
  5661. * @return array
  5662. * @param link int
  5663. * @param query string
  5664. * @param maxhits int
  5665. */
  5666. function hw_getobjectbyqueryobj($link, $query, $maxhits) {}
  5667. /**
  5668. * Returns array of parent object ids
  5669. *
  5670. * @return array
  5671. * @param link int
  5672. * @param objid int
  5673. */
  5674. function hw_getparents($link, $objid) {}
  5675. /**
  5676. * Returns array of parent object records
  5677. *
  5678. * @return array
  5679. * @param link int
  5680. * @param objid int
  5681. */
  5682. function hw_getparentsobj($link, $objid) {}
  5683. /**
  5684. * Get link from source to dest relative to rootid
  5685. *
  5686. * @return string
  5687. * @param link int
  5688. * @param rootid int
  5689. * @param sourceid int
  5690. * @param destid int
  5691. */
  5692. function hw_getrellink($link, $rootid, $sourceid, $destid) {}
  5693. /**
  5694. * Returns the content of a remote document
  5695. *
  5696. * @return int
  5697. * @param link int
  5698. * @param objid int
  5699. */
  5700. function hw_getremote($link, $objid) {}
  5701. /**
  5702. * Returns the remote document or an array of object records
  5703. *
  5704. * @return [array|int]
  5705. * @param link int
  5706. * @param objrec string
  5707. */
  5708. function hw_getremotechildren($link, $objrec) {}
  5709. /**
  5710. * Returns object id of source docuent by destination anchor
  5711. *
  5712. * @return int
  5713. * @param link int
  5714. * @param destid int
  5715. */
  5716. function hw_getsrcbydestobj($link, $destid) {}
  5717. /**
  5718. * Returns text document. Links are relative to rootid if given
  5719. *
  5720. * @return hwdoc
  5721. * @param link int
  5722. * @param objid int
  5723. * @param rootid int[optional]
  5724. */
  5725. function hw_gettext($link, $objid, $rootid = null) {}
  5726. /**
  5727. * Returns the current user name
  5728. *
  5729. * @return string
  5730. * @param link int
  5731. */
  5732. function hw_getusername($link) {}
  5733. /**
  5734. * Identifies at Hyperwave server
  5735. *
  5736. * @return void
  5737. * @param link int
  5738. * @param username string
  5739. * @param password string
  5740. */
  5741. function hw_identify($link, $username, $password) {}
  5742. /**
  5743. * Returns object ids which are in collections
  5744. *
  5745. * @return array
  5746. * @param link int
  5747. * @param objids array
  5748. * @param collids array
  5749. * @param para int
  5750. */
  5751. function hw_incollections($link, $objids, $collids, $para) {}
  5752. /**
  5753. * Outputs info string
  5754. *
  5755. * @return void
  5756. * @param link int
  5757. */
  5758. function hw_info($link) {}
  5759. /**
  5760. * Inserts collection
  5761. *
  5762. * @return void
  5763. * @param link int
  5764. * @param parentid int
  5765. * @param objarr array
  5766. */
  5767. function hw_inscoll($link, $parentid, $objarr) {}
  5768. /**
  5769. * Inserts document
  5770. *
  5771. * @return void
  5772. * @param link int
  5773. * @param parentid int
  5774. * @param objrec string
  5775. * @param text string[optional]
  5776. */
  5777. function hw_insdoc($link, $parentid, $objrec, $text = null) {}
  5778. /**
  5779. * Inserts only anchors into text
  5780. *
  5781. * @return string
  5782. * @param hwdoc int
  5783. * @param anchorecs array
  5784. * @param dest array
  5785. * @param urlprefixes array[optional]
  5786. */
  5787. function hw_insertanchors($hwdoc, $anchorecs, $dest, $urlprefixes = null) {}
  5788. /**
  5789. * Insert new document
  5790. *
  5791. * @return void
  5792. * @param link int
  5793. * @param parentid int
  5794. * @param doc hwdoc
  5795. */
  5796. function hw_insertdocument($link, $parentid, $doc) {}
  5797. /**
  5798. * Inserts an object
  5799. *
  5800. * @return int
  5801. * @param link int
  5802. * @param objrec string
  5803. * @param parms string
  5804. */
  5805. function hw_insertobject($link, $objrec, $parms) {}
  5806. /**
  5807. * Returns virtual object id of document on remote Hyperwave server
  5808. *
  5809. * @return int
  5810. * @param link int
  5811. * @param serverid int
  5812. * @param destid int
  5813. */
  5814. function hw_mapid($link, $serverid, $destid) {}
  5815. /**
  5816. * Modifies attributes of an object
  5817. *
  5818. * @return void
  5819. * @param link int
  5820. * @param objid int
  5821. * @param remattributes array
  5822. * @param addattributes array
  5823. * @param mode int[optional]
  5824. */
  5825. function hw_modifyobject($link, $objid, $remattributes, $addattributes, $mode = null) {}
  5826. /**
  5827. * Moves object
  5828. *
  5829. * @return void
  5830. * @param link int
  5831. * @param objrec array
  5832. * @param from int
  5833. * @param dest int
  5834. */
  5835. function hw_mv($link, $objrec, $from, $dest) {}
  5836. /**
  5837. * Create a new document
  5838. *
  5839. * @return hwdoc
  5840. * @param objrec string
  5841. * @param data string
  5842. * @param size int
  5843. */
  5844. function hw_new_document($objrec, $data, $size) {}
  5845. /**
  5846. * Create a new document from a file
  5847. *
  5848. * @return hwdoc
  5849. * @param objrec string
  5850. * @param filename string
  5851. */
  5852. function hw_new_document_from_file($objrec, $filename) {}
  5853. /**
  5854. * Returns object array of object record
  5855. *
  5856. * @return array
  5857. * @param objrec string
  5858. * @param format array[optional]
  5859. */
  5860. function hw_objrec2array($objrec, $format = null) {}
  5861. /**
  5862. * Prints document
  5863. *
  5864. * @return void
  5865. * @param doc hwdoc
  5866. */
  5867. function hw_output_document($doc) {}
  5868. /**
  5869. * An alias for hw_output_document
  5870. *
  5871. * @return void
  5872. * @param doc hwdoc
  5873. */
  5874. function hw_outputdocument($doc) {}
  5875. /**
  5876. * Connect to the Hyperwave server persistent
  5877. *
  5878. * @return int
  5879. * @param host string
  5880. * @param port int
  5881. * @param username string[optional]
  5882. * @param password string[optional]
  5883. */
  5884. function hw_pconnect($host, $port, $username = null, $password = null) {}
  5885. /**
  5886. * Returns output of CGI script
  5887. *
  5888. * @return hwdoc
  5889. * @param link int
  5890. * @param objid int
  5891. */
  5892. function hw_pipecgi($link, $objid) {}
  5893. /**
  5894. * Returns document
  5895. *
  5896. * @return hwdoc
  5897. * @param link int
  5898. * @param objid int
  5899. */
  5900. function hw_pipedocument($link, $objid) {}
  5901. /**
  5902. * Returns object id of root collection
  5903. *
  5904. * @return int
  5905. */
  5906. function hw_root() {}
  5907. /**
  5908. * Set the id to which links are calculated
  5909. *
  5910. * @return void
  5911. * @param link int
  5912. * @param rootid int
  5913. */
  5914. function hw_setlinkroot($link, $rootid) {}
  5915. /**
  5916. * Returns status string
  5917. *
  5918. * @return string
  5919. * @param link int
  5920. */
  5921. function hw_stat($link) {}
  5922. /**
  5923. * Unlocks object
  5924. *
  5925. * @return void
  5926. * @param link int
  5927. * @param objid int
  5928. */
  5929. function hw_unlock($link, $objid) {}
  5930. /**
  5931. * Returns names and info of users loged in
  5932. *
  5933. * @return array
  5934. * @param link int
  5935. */
  5936. function hw_who($link) {}
  5937. /**
  5938. * Returns sqrt(num1*num1 + num2*num2)
  5939. *
  5940. * @return float
  5941. * @param num1 float
  5942. * @param num2 float
  5943. */
  5944. function hypot($num1, $num2) {}
  5945. /**
  5946. * Returns converted string in desired encoding
  5947. *
  5948. * @return string
  5949. * @param str string
  5950. * @param to_encoding string
  5951. * @param from_encoding mixed[optional]
  5952. */
  5953. function i18n_convert($str, $to_encoding, $from_encoding = null) {}
  5954. /**
  5955. * Encodings of the given string is returned (as a string)
  5956. *
  5957. * @return string
  5958. * @param str string
  5959. * @param encoding_list mixed[optional]
  5960. */
  5961. function i18n_discover_encoding($str, $encoding_list = null) {}
  5962. /**
  5963. * Returns the input encoding
  5964. *
  5965. * @return mixed
  5966. * @param type string[optional]
  5967. */
  5968. function i18n_http_input($type = null) {}
  5969. /**
  5970. * Sets the current output_encoding or returns the current output_encoding as a string
  5971. *
  5972. * @return string
  5973. * @param encoding string[optional]
  5974. */
  5975. function i18n_http_output($encoding = null) {}
  5976. /**
  5977. * Sets the current internal encoding or Returns the current internal encoding as a string
  5978. *
  5979. * @return string
  5980. * @param encoding string[optional]
  5981. */
  5982. function i18n_internal_encoding($encoding = null) {}
  5983. /**
  5984. * Conversion between full-width character and half-width character (Japanese)
  5985. *
  5986. * @return string
  5987. * @param str string
  5988. * @param option string[optional]
  5989. * @param encoding string[optional]
  5990. */
  5991. function i18n_ja_jp_hantozen($str, $option = null, $encoding = null) {}
  5992. /**
  5993. * Decodes the MIME "encoded-word" in the string
  5994. *
  5995. * @return string
  5996. * @param string string
  5997. */
  5998. function i18n_mime_header_decode($string) {}
  5999. /**
  6000. * Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?=
  6001. *
  6002. * @return string
  6003. * @param str string
  6004. * @param charset string[optional]
  6005. * @param transfer_encoding string[optional]
  6006. * @param linefeed string[optional]
  6007. */
  6008. function i18n_mime_header_encode($str, $charset = null, $transfer_encoding = null, $linefeed = null) {}
  6009. /**
  6010. * Add an user to security database (only for IB6 or later)
  6011. *
  6012. * @return bool
  6013. * @param server string
  6014. * @param dba_user_name string
  6015. * @param dba_password string
  6016. * @param user_name string
  6017. * @param password string
  6018. * @param first_name string[optional]
  6019. * @param middle_name string[optional]
  6020. * @param last_name string[optional]
  6021. */
  6022. function ibase_add_user($server, $dba_user_name, $dba_password, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
  6023. /**
  6024. * Add data into created blob
  6025. *
  6026. * @return bool
  6027. * @param blob_id int
  6028. * @param data string
  6029. */
  6030. function ibase_blob_add($blob_id, $data) {}
  6031. /**
  6032. * Cancel creating blob
  6033. *
  6034. * @return bool
  6035. * @param blob_id int
  6036. */
  6037. function ibase_blob_cancel($blob_id) {}
  6038. /**
  6039. * Close blob
  6040. *
  6041. * @return bool
  6042. * @param blob_id int
  6043. */
  6044. function ibase_blob_close($blob_id) {}
  6045. /**
  6046. * Create blob for adding data
  6047. *
  6048. * @return int
  6049. * @param link_identifier resource[optional]
  6050. */
  6051. function ibase_blob_create($link_identifier = null) {}
  6052. /**
  6053. * Output blob contents to browser
  6054. *
  6055. * @return bool
  6056. * @param blob_id_str string
  6057. */
  6058. function ibase_blob_echo($blob_id_str) {}
  6059. /**
  6060. * Get len bytes data from open blob
  6061. *
  6062. * @return string
  6063. * @param blob_id int
  6064. * @param len int
  6065. */
  6066. function ibase_blob_get($blob_id, $len) {}
  6067. /**
  6068. * Create blob, copy file in it, and close it
  6069. *
  6070. * @return string
  6071. * @param link_identifier resource[optional]
  6072. * @param file_id int
  6073. */
  6074. function ibase_blob_import($link_identifier = null, $file_id) {}
  6075. /**
  6076. * Return blob length and other useful info
  6077. *
  6078. * @return object
  6079. * @param blob_id_str string
  6080. */
  6081. function ibase_blob_info($blob_id_str) {}
  6082. /**
  6083. * Open blob for retriving data parts
  6084. *
  6085. * @return int
  6086. * @param blob_id string
  6087. */
  6088. function ibase_blob_open($blob_id) {}
  6089. /**
  6090. * Close an InterBase connection
  6091. *
  6092. * @return bool
  6093. * @param link_identifier resource[optional]
  6094. */
  6095. function ibase_close($link_identifier = null) {}
  6096. /**
  6097. * Commit transaction
  6098. *
  6099. * @return bool
  6100. * @param link_identifier resource
  6101. */
  6102. function ibase_commit($link_identifier) {}
  6103. /**
  6104. * Open a connection to an InterBase database
  6105. *
  6106. * @return resource
  6107. * @param database string
  6108. * @param username string[optional]
  6109. * @param password string[optional]
  6110. * @param charset string[optional]
  6111. * @param buffers int[optional]
  6112. * @param dialect int[optional]
  6113. * @param role string[optional]
  6114. */
  6115. function ibase_connect($database, $username = null, $password = null, $charset = null, $buffers = null, $dialect = null, $role = null) {}
  6116. /**
  6117. * Delete an user from security database (only for IB6 or later)
  6118. *
  6119. * @return bool
  6120. * @param server string
  6121. * @param dba_user_name string
  6122. * @param dba_password string
  6123. * @param username string
  6124. */
  6125. function ibase_delete_user($server, $dba_user_name, $dba_password, $username) {}
  6126. /**
  6127. * Return error message
  6128. *
  6129. * @return string
  6130. */
  6131. function ibase_errmsg() {}
  6132. /**
  6133. * Execute a previously prepared query
  6134. *
  6135. * @return resource
  6136. * @param query resource
  6137. * @param bind_args int[optional]
  6138. * @vararg ... int
  6139. */
  6140. function ibase_execute($query, $bind_args = null) {}
  6141. /**
  6142. * Fetch a row from the results of a query
  6143. *
  6144. * @return array
  6145. * @param result resource
  6146. * @param blob_flag int[optional]
  6147. */
  6148. function ibase_fetch_assoc($result, $blob_flag = null) {}
  6149. /**
  6150. * Fetch a object from the results of a query
  6151. *
  6152. * @return object
  6153. * @param result resource
  6154. * @param blob_flag int[optional]
  6155. */
  6156. function ibase_fetch_object($result, $blob_flag = null) {}
  6157. /**
  6158. * Fetch a row from the results of a query
  6159. *
  6160. * @return array
  6161. * @param result resource
  6162. * @param blob_flag int[optional]
  6163. */
  6164. function ibase_fetch_row($result, $blob_flag = null) {}
  6165. /**
  6166. * Get information about a field
  6167. *
  6168. * @return array
  6169. * @param result resource
  6170. * @param field_number int
  6171. */
  6172. function ibase_field_info($result, $field_number) {}
  6173. /**
  6174. * Free memory used by a query
  6175. *
  6176. * @return bool
  6177. * @param query resource
  6178. */
  6179. function ibase_free_query($query) {}
  6180. /**
  6181. * Free the memory used by a result
  6182. *
  6183. * @return bool
  6184. * @param result resource
  6185. */
  6186. function ibase_free_result($result) {}
  6187. /**
  6188. * Modify an user in security database (only for IB6 or later)
  6189. *
  6190. * @return bool
  6191. * @param server string
  6192. * @param dba_user_name string
  6193. * @param dba_password string
  6194. * @param user_name string
  6195. * @param password string
  6196. * @param first_name string[optional]
  6197. * @param middle_name string[optional]
  6198. * @param last_name string[optional]
  6199. */
  6200. function ibase_modify_user($server, $dba_user_name, $dba_password, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
  6201. /**
  6202. * Get the number of fields in result
  6203. *
  6204. * @return int
  6205. * @param result resource
  6206. */
  6207. function ibase_num_fields($result) {}
  6208. /**
  6209. * Open a persistent connection to an InterBase database
  6210. *
  6211. * @return resource
  6212. * @param database string
  6213. * @param username string[optional]
  6214. * @param password string[optional]
  6215. * @param charset string[optional]
  6216. * @param buffers int[optional]
  6217. * @param dialect int[optional]
  6218. * @param role string[optional]
  6219. */
  6220. function ibase_pconnect($database, $username = null, $password = null, $charset = null, $buffers = null, $dialect = null, $role = null) {}
  6221. /**
  6222. * Prepare a query for later execution
  6223. *
  6224. * @return resource
  6225. * @param link_identifier resource[optional]
  6226. * @param query string
  6227. */
  6228. function ibase_prepare($link_identifier = null, $query) {}
  6229. /**
  6230. * Execute a query
  6231. *
  6232. * @return resource
  6233. * @param link_identifier resource[optional]
  6234. * @param query string[optional]
  6235. * @param bind_args int[optional]
  6236. */
  6237. function ibase_query($link_identifier = null, $query = null, $bind_args = null) {}
  6238. /**
  6239. * Rollback transaction
  6240. *
  6241. * @return bool
  6242. * @param link_identifier resource
  6243. */
  6244. function ibase_rollback($link_identifier) {}
  6245. /**
  6246. * Sets the format of timestamp, date and time columns returned from queries
  6247. *
  6248. * @return int
  6249. * @param format string
  6250. */
  6251. function ibase_timefmt($format) {}
  6252. /**
  6253. * Start transaction
  6254. *
  6255. * @return resource
  6256. * @param trans_args int[optional]
  6257. * @param link_identifier resource[optional]
  6258. */
  6259. function ibase_trans($trans_args = null, $link_identifier = null) {}
  6260. /**
  6261. * Returns str converted to the out_charset character set
  6262. *
  6263. * @return string
  6264. * @param in_charset string
  6265. * @param out_charset string
  6266. * @param str string
  6267. */
  6268. function iconv($in_charset, $out_charset, $str) {}
  6269. /**
  6270. * Get internal encoding and output encoding for ob_iconv_handler()
  6271. *
  6272. * @return array
  6273. * @param type string[optional]
  6274. */
  6275. function iconv_get_encoding($type = null) {}
  6276. /**
  6277. * Sets internal encoding and output encoding for ob_iconv_handler()
  6278. *
  6279. * @return bool
  6280. * @param type string
  6281. * @param charset string
  6282. */
  6283. function iconv_set_encoding($type, $charset) {}
  6284. /**
  6285. * Returns the number of rows affected by query identified by resultid
  6286. *
  6287. * @return int
  6288. * @param resultid resource
  6289. */
  6290. function ifx_affected_rows($resultid) {}
  6291. /**
  6292. * Sets the default blob-mode for all select-queries
  6293. *
  6294. * @return bool
  6295. * @param mode int
  6296. */
  6297. function ifx_blobinfile_mode($mode) {}
  6298. /**
  6299. * Sets the default byte-mode for all select-queries
  6300. *
  6301. * @return bool
  6302. * @param mode int
  6303. */
  6304. function ifx_byteasvarchar($mode) {}
  6305. /**
  6306. * Close informix connection
  6307. *
  6308. * @return bool
  6309. * @param connid resource[optional]
  6310. */
  6311. function ifx_close($connid = null) {}
  6312. /**
  6313. * Connects to database using userid/password, returns connection id
  6314. *
  6315. * @return resource
  6316. * @param database string[optional]
  6317. * @param userid string[optional]
  6318. * @param password string[optional]
  6319. */
  6320. function ifx_connect($database = null, $userid = null, $password = null) {}
  6321. /**
  6322. * Duplicates the given blob-object
  6323. *
  6324. * @return int
  6325. * @param bid int
  6326. */
  6327. function ifx_copy_blob($bid) {}
  6328. /**
  6329. * Creates a blob-object
  6330. *
  6331. * @return int
  6332. * @param type int
  6333. * @param mode int
  6334. * @param param string
  6335. */
  6336. function ifx_create_blob($type, $mode, $param) {}
  6337. /**
  6338. * Creates a char-object
  6339. *
  6340. * @return int
  6341. * @param param string
  6342. */
  6343. function ifx_create_char($param) {}
  6344. /**
  6345. * Executes a previously prepared query or opens a cursor for it
  6346. *
  6347. * @return bool
  6348. * @param resultid resource
  6349. */
  6350. function ifx_do($resultid) {}
  6351. /**
  6352. * Returns the Informix error codes (SQLSTATE & SQLCODE)
  6353. *
  6354. * @return string
  6355. * @param connection_id resource[optional]
  6356. */
  6357. function ifx_error($connection_id = null) {}
  6358. /**
  6359. * Returns the Informix errormessage associated with
  6360. *
  6361. * @return string
  6362. * @param errorcode int[optional]
  6363. */
  6364. function ifx_errormsg($errorcode = null) {}
  6365. /**
  6366. * Fetches the next row or <position> row if using a scroll cursor
  6367. *
  6368. * @return array
  6369. * @param resultid resource
  6370. * @param position mixed[optional]
  6371. */
  6372. function ifx_fetch_row($resultid, $position = null) {}
  6373. /**
  6374. * Returns an associative for query <resultid> array with fieldnames as key
  6375. *
  6376. * @return array
  6377. * @param resultid resource
  6378. */
  6379. function ifx_fieldproperties($resultid) {}
  6380. /**
  6381. * Returns an associative array with fieldnames as key for query <resultid>
  6382. *
  6383. * @return array
  6384. * @param resultid resource
  6385. */
  6386. function ifx_fieldtypes($resultid) {}
  6387. /**
  6388. * Deletes the blob-object
  6389. *
  6390. * @return int
  6391. * @param bid int
  6392. */
  6393. function ifx_free_blob($bid) {}
  6394. /**
  6395. * Deletes the char-object
  6396. *
  6397. * @return bool
  6398. * @param bid int
  6399. */
  6400. function ifx_free_char($bid) {}
  6401. /**
  6402. * Releases resources for query associated with resultid
  6403. *
  6404. * @return bool
  6405. * @param resultid resource
  6406. */
  6407. function ifx_free_result($resultid) {}
  6408. /**
  6409. * Returns the content of the blob-object
  6410. *
  6411. * @return string
  6412. * @param bid int
  6413. */
  6414. function ifx_get_blob($bid) {}
  6415. /**
  6416. * Returns the content of the char-object
  6417. *
  6418. * @return string
  6419. * @param bid int
  6420. */
  6421. function ifx_get_char($bid) {}
  6422. /**
  6423. * Returns the sqlerrd[] fields of the sqlca struct for query resultid
  6424. *
  6425. * @return array
  6426. * @param resultid resource
  6427. */
  6428. function ifx_getsqlca($resultid) {}
  6429. /**
  6430. * Formats all rows of the resultid query into a html table
  6431. *
  6432. * @return int
  6433. * @param resultid resource
  6434. * @param htmltableoptions string[optional]
  6435. */
  6436. function ifx_htmltbl_result($resultid, $htmltableoptions = null) {}
  6437. /**
  6438. * Sets the default return value of a NULL-value on a fetch-row
  6439. *
  6440. * @return bool
  6441. * @param mode int
  6442. */
  6443. function ifx_nullformat($mode) {}
  6444. /**
  6445. * Returns the number of columns in query resultid
  6446. *
  6447. * @return int
  6448. * @param resultid resource
  6449. */
  6450. function ifx_num_fields($resultid) {}
  6451. /**
  6452. * Returns the number of rows already fetched for query identified by resultid
  6453. *
  6454. * @return int
  6455. * @param resultid resource
  6456. */
  6457. function ifx_num_rows($resultid) {}
  6458. /**
  6459. * Connects to database using userid/password, returns connection id
  6460. *
  6461. * @return resource
  6462. * @param database string[optional]
  6463. * @param userid string[optional]
  6464. * @param password string[optional]
  6465. */
  6466. function ifx_pconnect($database = null, $userid = null, $password = null) {}
  6467. /**
  6468. * Prepare a query on a given connection
  6469. *
  6470. * @return resource
  6471. * @param query string
  6472. * @param connid resource
  6473. * @param cursortype int[optional]
  6474. * @param idarray array[optional]
  6475. */
  6476. function ifx_prepare($query, $connid, $cursortype = null, $idarray = null) {}
  6477. /**
  6478. * Perform a query on a given connection
  6479. *
  6480. * @return resource
  6481. * @param query string
  6482. * @param connid resource
  6483. * @param cursortype int[optional]
  6484. * @param idarray array[optional]
  6485. */
  6486. function ifx_query($query, $connid, $cursortype = null, $idarray = null) {}
  6487. /**
  6488. * Sets the default text-mode for all select-queries
  6489. *
  6490. * @return bool
  6491. * @param mode int
  6492. */
  6493. function ifx_textasvarchar($mode) {}
  6494. /**
  6495. * Updates the content of the blob-object
  6496. *
  6497. * @return int
  6498. * @param bid int
  6499. * @param content string
  6500. */
  6501. function ifx_update_blob($bid, $content) {}
  6502. /**
  6503. * Updates the content of the char-object
  6504. *
  6505. * @return bool
  6506. * @param bid int
  6507. * @param content string
  6508. */
  6509. function ifx_update_char($bid, $content) {}
  6510. /**
  6511. * Deletes the slob-object
  6512. *
  6513. * @return bool
  6514. * @param bid int
  6515. */
  6516. function ifxus_close_slob($bid) {}
  6517. /**
  6518. * Creates a slob-object and opens it
  6519. *
  6520. * @return int
  6521. * @param mode int
  6522. */
  6523. function ifxus_create_slob($mode) {}
  6524. /**
  6525. * Deletes the slob-object
  6526. *
  6527. * @return bool
  6528. * @param bid int
  6529. */
  6530. function ifxus_free_slob($bid) {}
  6531. /**
  6532. * Opens an slob-object
  6533. *
  6534. * @return int
  6535. * @param bid int
  6536. * @param mode int
  6537. */
  6538. function ifxus_open_slob($bid, $mode) {}
  6539. /**
  6540. * Reads nbytes of the slob-object
  6541. *
  6542. * @return string
  6543. * @param bid int
  6544. * @param nbytes int
  6545. */
  6546. function ifxus_read_slob($bid, $nbytes) {}
  6547. /**
  6548. * Sets the current file or seek position of an open slob-object
  6549. *
  6550. * @return int
  6551. * @param bid int
  6552. * @param mode int
  6553. * @param offset long
  6554. */
  6555. function ifxus_seek_slob($bid, $mode, $offset) {}
  6556. /**
  6557. * Returns the current file or seek position of an open slob-object
  6558. *
  6559. * @return int
  6560. * @param bid int
  6561. */
  6562. function ifxus_tell_slob($bid) {}
  6563. /**
  6564. * Writes a string into the slob-object
  6565. *
  6566. * @return int
  6567. * @param bid int
  6568. * @param content string
  6569. */
  6570. function ifxus_write_slob($bid, $content) {}
  6571. /**
  6572. * Set whether we want to ignore a user abort event or not
  6573. *
  6574. * @return int
  6575. * @param value bool
  6576. */
  6577. function ignore_user_abort($value) {}
  6578. /**
  6579. * Output WBMP image to browser or file
  6580. *
  6581. * @return int
  6582. * @param im int
  6583. * @param filename string[optional]
  6584. * @param threshold int[optional]
  6585. */
  6586. function image2wbmp($im, $filename = null, $threshold = null) {}
  6587. /**
  6588. * Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
  6589. *
  6590. * @return string
  6591. * @param imagetype int
  6592. */
  6593. function image_type_to_mime_type($imagetype) {}
  6594. /**
  6595. * Turn alpha blending mode on or off for the given image
  6596. *
  6597. * @return void
  6598. * @param im resource
  6599. * @param on bool
  6600. */
  6601. function imagealphablending($im, $on) {}
  6602. /**
  6603. * Draw a partial ellipse
  6604. *
  6605. * @return int
  6606. * @param im int
  6607. * @param cx int
  6608. * @param cy int
  6609. * @param w int
  6610. * @param h int
  6611. * @param s int
  6612. * @param e int
  6613. * @param col int
  6614. */
  6615. function imagearc($im, $cx, $cy, $w, $h, $s, $e, $col) {}
  6616. /**
  6617. * Draw a character
  6618. *
  6619. * @return int
  6620. * @param im int
  6621. * @param font int
  6622. * @param x int
  6623. * @param y int
  6624. * @param c string
  6625. * @param col int
  6626. */
  6627. function imagechar($im, $font, $x, $y, $c, $col) {}
  6628. /**
  6629. * Draw a character rotated 90 degrees counter-clockwise
  6630. *
  6631. * @return int
  6632. * @param im int
  6633. * @param font int
  6634. * @param x int
  6635. * @param y int
  6636. * @param c string
  6637. * @param col int
  6638. */
  6639. function imagecharup($im, $font, $x, $y, $c, $col) {}
  6640. /**
  6641. * Allocate a color for an image
  6642. *
  6643. * @return int
  6644. * @param im int
  6645. * @param red int
  6646. * @param green int
  6647. * @param blue int
  6648. */
  6649. function imagecolorallocate($im, $red, $green, $blue) {}
  6650. /**
  6651. * Allocate a color with an alpha level. Works for true color and palette based images
  6652. *
  6653. * @return int
  6654. * @param im resource
  6655. * @param red int
  6656. * @param green int
  6657. * @param blue int
  6658. * @param alpha int
  6659. */
  6660. function imagecolorallocatealpha($im, $red, $green, $blue, $alpha) {}
  6661. /**
  6662. * Get the index of the color of a pixel
  6663. *
  6664. * @return int
  6665. * @param im int
  6666. * @param x int
  6667. * @param y int
  6668. */
  6669. function imagecolorat($im, $x, $y) {}
  6670. /**
  6671. * Get the index of the closest color to the specified color
  6672. *
  6673. * @return int
  6674. * @param im int
  6675. * @param red int
  6676. * @param green int
  6677. * @param blue int
  6678. */
  6679. function imagecolorclosest($im, $red, $green, $blue) {}
  6680. /**
  6681. * Find the closest matching colour with alpha transparency
  6682. *
  6683. * @return int
  6684. * @param im resource
  6685. * @param red int
  6686. * @param green int
  6687. * @param blue int
  6688. * @param alpha int
  6689. */
  6690. function imagecolorclosestalpha($im, $red, $green, $blue, $alpha) {}
  6691. /**
  6692. * Get the index of the color which has the hue, white and blackness nearest to the given color
  6693. *
  6694. * @return int
  6695. * @param im int
  6696. * @param red int
  6697. * @param green int
  6698. * @param blue int
  6699. */
  6700. function imagecolorclosesthwb($im, $red, $green, $blue) {}
  6701. /**
  6702. * De-allocate a color for an image
  6703. *
  6704. * @return int
  6705. * @param im int
  6706. * @param index int
  6707. */
  6708. function imagecolordeallocate($im, $index) {}
  6709. /**
  6710. * Get the index of the specified color
  6711. *
  6712. * @return int
  6713. * @param im int
  6714. * @param red int
  6715. * @param green int
  6716. * @param blue int
  6717. */
  6718. function imagecolorexact($im, $red, $green, $blue) {}
  6719. /**
  6720. * Find exact match for colour with transparency
  6721. *
  6722. * @return int
  6723. * @param im resource
  6724. * @param red int
  6725. * @param green int
  6726. * @param blue int
  6727. * @param alpha int
  6728. */
  6729. function imagecolorexactalpha($im, $red, $green, $blue, $alpha) {}
  6730. /**
  6731. * Makes the colors of the palette version of an image more closely match the true color version
  6732. *
  6733. * @return void
  6734. * @param im1 resource
  6735. * @param im2 resource
  6736. */
  6737. function imagecolormatch($im1, $im2) {}
  6738. /**
  6739. * Get the index of the specified color or its closest possible alternative
  6740. *
  6741. * @return int
  6742. * @param im int
  6743. * @param red int
  6744. * @param green int
  6745. * @param blue int
  6746. */
  6747. function imagecolorresolve($im, $red, $green, $blue) {}
  6748. /**
  6749. * Resolve/Allocate a colour with an alpha level. Works for true colour and palette based images
  6750. *
  6751. * @return int
  6752. * @param im resource
  6753. * @param red int
  6754. * @param green int
  6755. * @param blue int
  6756. * @param alpha int
  6757. */
  6758. function imagecolorresolvealpha($im, $red, $green, $blue, $alpha) {}
  6759. /**
  6760. * Set the color for the specified palette index
  6761. *
  6762. * @return int
  6763. * @param im int
  6764. * @param col int
  6765. * @param red int
  6766. * @param green int
  6767. * @param blue int
  6768. */
  6769. function imagecolorset($im, $col, $red, $green, $blue) {}
  6770. /**
  6771. * Get the colors for an index
  6772. *
  6773. * @return array
  6774. * @param im int
  6775. * @param col int
  6776. */
  6777. function imagecolorsforindex($im, $col) {}
  6778. /**
  6779. * Find out the number of colors in an image's palette
  6780. *
  6781. * @return int
  6782. * @param im int
  6783. */
  6784. function imagecolorstotal($im) {}
  6785. /**
  6786. * Define a color as transparent
  6787. *
  6788. * @return int
  6789. * @param im int
  6790. * @param col int[optional]
  6791. */
  6792. function imagecolortransparent($im, $col = null) {}
  6793. /**
  6794. * Copy part of an image
  6795. *
  6796. * @return int
  6797. * @param dst_im int
  6798. * @param src_im int
  6799. * @param dst_x int
  6800. * @param dst_y int
  6801. * @param src_x int
  6802. * @param src_y int
  6803. * @param src_w int
  6804. * @param src_h int
  6805. */
  6806. function imagecopy($dst_im, $src_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h) {}
  6807. /**
  6808. * Merge one part of an image with another
  6809. *
  6810. * @return int
  6811. * @param src_im int
  6812. * @param dst_im int
  6813. * @param dst_x int
  6814. * @param dst_y int
  6815. * @param src_x int
  6816. * @param src_y int
  6817. * @param src_w int
  6818. * @param src_h int
  6819. * @param pct int
  6820. */
  6821. function imagecopymerge($src_im, $dst_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h, $pct) {}
  6822. /**
  6823. * Merge one part of an image with another
  6824. *
  6825. * @return int
  6826. * @param src_im int
  6827. * @param dst_im int
  6828. * @param dst_x int
  6829. * @param dst_y int
  6830. * @param src_x int
  6831. * @param src_y int
  6832. * @param src_w int
  6833. * @param src_h int
  6834. * @param pct int
  6835. */
  6836. function imagecopymergegray($src_im, $dst_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h, $pct) {}
  6837. /**
  6838. * Copy and resize part of an image using resampling to help ensure clarity
  6839. *
  6840. * @return int
  6841. * @param dst_im int
  6842. * @param src_im int
  6843. * @param dst_x int
  6844. * @param dst_y int
  6845. * @param src_x int
  6846. * @param src_y int
  6847. * @param dst_w int
  6848. * @param dst_h int
  6849. * @param src_w int
  6850. * @param src_h int
  6851. */
  6852. function imagecopyresampled($dst_im, $src_im, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) {}
  6853. /**
  6854. * Copy and resize part of an image
  6855. *
  6856. * @return int
  6857. * @param dst_im int
  6858. * @param src_im int
  6859. * @param dst_x int
  6860. * @param dst_y int
  6861. * @param src_x int
  6862. * @param src_y int
  6863. * @param dst_w int
  6864. * @param dst_h int
  6865. * @param src_w int
  6866. * @param src_h int
  6867. */
  6868. function imagecopyresized($dst_im, $src_im, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) {}
  6869. /**
  6870. * Create a new image
  6871. *
  6872. * @return int
  6873. * @param x_size int
  6874. * @param y_size int
  6875. */
  6876. function imagecreate($x_size, $y_size) {}
  6877. /**
  6878. * Create a new image from GD file or URL
  6879. *
  6880. * @return int
  6881. * @param filename string
  6882. */
  6883. function imagecreatefromgd($filename) {}
  6884. /**
  6885. * Create a new image from GD2 file or URL
  6886. *
  6887. * @return int
  6888. * @param filename string
  6889. */
  6890. function imagecreatefromgd2($filename) {}
  6891. /**
  6892. * Create a new image from a given part of GD2 file or URL
  6893. *
  6894. * @return int
  6895. * @param filename string
  6896. * @param srcX int
  6897. * @param srcY int
  6898. * @param width int
  6899. * @param height int
  6900. */
  6901. function imagecreatefromgd2part($filename, $srcX, $srcY, $width, $height) {}
  6902. /**
  6903. * Create a new image from GIF file or URL
  6904. *
  6905. * @return int
  6906. * @param filename string
  6907. */
  6908. function imagecreatefromgif($filename) {}
  6909. /**
  6910. * Create a new image from JPEG file or URL
  6911. *
  6912. * @return int
  6913. * @param filename string
  6914. */
  6915. function imagecreatefromjpeg($filename) {}
  6916. /**
  6917. * Create a new image from PNG file or URL
  6918. *
  6919. * @return int
  6920. * @param filename string
  6921. */
  6922. function imagecreatefrompng($filename) {}
  6923. /**
  6924. * Create a new image from the image stream in the string
  6925. *
  6926. * @return int
  6927. * @param image string
  6928. */
  6929. function imagecreatefromstring($image) {}
  6930. /**
  6931. * Create a new image from WBMP file or URL
  6932. *
  6933. * @return int
  6934. * @param filename string
  6935. */
  6936. function imagecreatefromwbmp($filename) {}
  6937. /**
  6938. * Create a new image from XBM file or URL
  6939. *
  6940. * @return int
  6941. * @param filename string
  6942. */
  6943. function imagecreatefromxbm($filename) {}
  6944. /**
  6945. * Create a new image from XPM file or URL
  6946. *
  6947. * @return int
  6948. * @param filename string
  6949. */
  6950. function imagecreatefromxpm($filename) {}
  6951. /**
  6952. * Create a new true color image
  6953. *
  6954. * @return int
  6955. * @param x_size int
  6956. * @param y_size int
  6957. */
  6958. function imagecreatetruecolor($x_size, $y_size) {}
  6959. /**
  6960. * Draw a dashed line
  6961. *
  6962. * @return int
  6963. * @param im int
  6964. * @param x1 int
  6965. * @param y1 int
  6966. * @param x2 int
  6967. * @param y2 int
  6968. * @param col int
  6969. */
  6970. function imagedashedline($im, $x1, $y1, $x2, $y2, $col) {}
  6971. /**
  6972. * Destroy an image
  6973. *
  6974. * @return int
  6975. * @param im int
  6976. */
  6977. function imagedestroy($im) {}
  6978. /**
  6979. * Draw an ellipse
  6980. *
  6981. * @return void
  6982. * @param im resource
  6983. * @param cx int
  6984. * @param cy int
  6985. * @param w int
  6986. * @param h int
  6987. * @param color int
  6988. */
  6989. function imageellipse($im, $cx, $cy, $w, $h, $color) {}
  6990. /**
  6991. * Flood fill
  6992. *
  6993. * @return int
  6994. * @param im int
  6995. * @param x int
  6996. * @param y int
  6997. * @param col int
  6998. */
  6999. function imagefill($im, $x, $y, $col) {}
  7000. /**
  7001. * Draw a filled partial ellipse
  7002. *
  7003. * @return int
  7004. * @param im int
  7005. * @param cx int
  7006. * @param cy int
  7007. * @param w int
  7008. * @param h int
  7009. * @param s int
  7010. * @param e int
  7011. * @param col int
  7012. * @param style int
  7013. */
  7014. function imagefilledarc($im, $cx, $cy, $w, $h, $s, $e, $col, $style) {}
  7015. /**
  7016. * Draw an ellipse
  7017. *
  7018. * @return void
  7019. * @param im resource
  7020. * @param cx int
  7021. * @param cy int
  7022. * @param w int
  7023. * @param h int
  7024. * @param color int
  7025. */
  7026. function imagefilledellipse($im, $cx, $cy, $w, $h, $color) {}
  7027. /**
  7028. * Draw a filled polygon
  7029. *
  7030. * @return int
  7031. * @param im int
  7032. * @param point array
  7033. * @param num_points int
  7034. * @param col int
  7035. */
  7036. function imagefilledpolygon($im, $point, $num_points, $col) {}
  7037. /**
  7038. * Draw a filled rectangle
  7039. *
  7040. * @return int
  7041. * @param im int
  7042. * @param x1 int
  7043. * @param y1 int
  7044. * @param x2 int
  7045. * @param y2 int
  7046. * @param col int
  7047. */
  7048. function imagefilledrectangle($im, $x1, $y1, $x2, $y2, $col) {}
  7049. /**
  7050. * Flood fill to specific color
  7051. *
  7052. * @return int
  7053. * @param im int
  7054. * @param x int
  7055. * @param y int
  7056. * @param border int
  7057. * @param col int
  7058. */
  7059. function imagefilltoborder($im, $x, $y, $border, $col) {}
  7060. /**
  7061. * Get font height
  7062. *
  7063. * @return int
  7064. * @param font int
  7065. */
  7066. function imagefontheight($font) {}
  7067. /**
  7068. * Get font width
  7069. *
  7070. * @return int
  7071. * @param font int
  7072. */
  7073. function imagefontwidth($font) {}
  7074. /**
  7075. * Give the bounding box of a text using fonts via freetype2
  7076. *
  7077. * @return array
  7078. * @param size int
  7079. * @param angle int
  7080. * @param font_file string
  7081. * @param text string
  7082. * @param extrainfo array
  7083. */
  7084. function imageftbbox($size, $angle, $font_file, $text, $extrainfo) {}
  7085. /**
  7086. * Write text to the image using fonts via freetype2
  7087. *
  7088. * @return array
  7089. * @param im int
  7090. * @param size int
  7091. * @param angle int
  7092. * @param x int
  7093. * @param y int
  7094. * @param col int
  7095. * @param font_file string
  7096. * @param text string
  7097. * @param extrainfo array[optional]
  7098. */
  7099. function imagefttext($im, $size, $angle, $x, $y, $col, $font_file, $text, $extrainfo = null) {}
  7100. /**
  7101. * Apply a gamma correction to a GD image
  7102. *
  7103. * @return int
  7104. * @param im int
  7105. * @param inputgamma float
  7106. * @param outputgamma float
  7107. */
  7108. function imagegammacorrect($im, $inputgamma, $outputgamma) {}
  7109. /**
  7110. * Output GD image to browser or file
  7111. *
  7112. * @return int
  7113. * @param im int
  7114. * @param filename string[optional]
  7115. */
  7116. function imagegd($im, $filename = null) {}
  7117. /**
  7118. * Output GD2 image to browser or file
  7119. *
  7120. * @return int
  7121. * @param im int
  7122. * @param filename string[optional]
  7123. * @param chunk_size int[optional]
  7124. * @param type int[optional]
  7125. */
  7126. function imagegd2($im, $filename = null, $chunk_size = null, $type = null) {}
  7127. /**
  7128. * Output GIF image to browser or file
  7129. *
  7130. * @return int
  7131. * @param im int
  7132. * @param filename string[optional]
  7133. */
  7134. function imagegif($im, $filename = null) {}
  7135. /**
  7136. * Enable or disable interlace
  7137. *
  7138. * @return int
  7139. * @param im int
  7140. * @param interlace int[optional]
  7141. */
  7142. function imageinterlace($im, $interlace = null) {}
  7143. /**
  7144. * return true if the image uses truecolor
  7145. *
  7146. * @return int
  7147. * @param im int
  7148. */
  7149. function imageistruecolor($im) {}
  7150. /**
  7151. * Output JPEG image to browser or file
  7152. *
  7153. * @return int
  7154. * @param im int
  7155. * @param filename string[optional]
  7156. * @param quality int[optional]
  7157. */
  7158. function imagejpeg($im, $filename = null, $quality = null) {}
  7159. /**
  7160. * Set the alpha blending flag to use the bundled libgd layering effects
  7161. *
  7162. * @return void
  7163. * @param im resource
  7164. * @param effect int
  7165. */
  7166. function imagelayereffect($im, $effect) {}
  7167. /**
  7168. * Draw a line
  7169. *
  7170. * @return int
  7171. * @param im int
  7172. * @param x1 int
  7173. * @param y1 int
  7174. * @param x2 int
  7175. * @param y2 int
  7176. * @param col int
  7177. */
  7178. function imageline($im, $x1, $y1, $x2, $y2, $col) {}
  7179. /**
  7180. * Load a new font
  7181. *
  7182. * @return int
  7183. * @param filename string
  7184. */
  7185. function imageloadfont($filename) {}
  7186. /**
  7187. * Copy the palette from the src image onto the dst image
  7188. *
  7189. * @return int
  7190. * @param dst int
  7191. * @param src int
  7192. */
  7193. function imagepalettecopy($dst, $src) {}
  7194. /**
  7195. * Output PNG image to browser or file
  7196. *
  7197. * @return int
  7198. * @param im int
  7199. * @param filename string[optional]
  7200. */
  7201. function imagepng($im, $filename = null) {}
  7202. /**
  7203. * Draw a polygon
  7204. *
  7205. * @return int
  7206. * @param im int
  7207. * @param point array
  7208. * @param num_points int
  7209. * @param col int
  7210. */
  7211. function imagepolygon($im, $point, $num_points, $col) {}
  7212. /**
  7213. * Return the bounding box needed by a string if rasterized
  7214. *
  7215. * @return array
  7216. * @param text string
  7217. * @param font int
  7218. * @param size int
  7219. * @param space int[optional]
  7220. * @param tightness int
  7221. * @param angle int
  7222. */
  7223. function imagepsbbox($text, $font, $size, $space = null, $tightness, $angle) {}
  7224. /**
  7225. * Make a copy of a font for purposes like extending or reenconding
  7226. *
  7227. * @return int
  7228. * @param font_index int
  7229. */
  7230. function imagepscopyfont($font_index) {}
  7231. /**
  7232. * To change a fonts character encoding vector
  7233. *
  7234. * @return bool
  7235. * @param font_index int
  7236. * @param filename string
  7237. */
  7238. function imagepsencodefont($font_index, $filename) {}
  7239. /**
  7240. * Extend or or condense (if extend < 1) a font
  7241. *
  7242. * @return bool
  7243. * @param font_index int
  7244. * @param extend float
  7245. */
  7246. function imagepsextendfont($font_index, $extend) {}
  7247. /**
  7248. * Free memory used by a font
  7249. *
  7250. * @return bool
  7251. * @param font_index int
  7252. */
  7253. function imagepsfreefont($font_index) {}
  7254. /**
  7255. * Load a new font from specified file
  7256. *
  7257. * @return int
  7258. * @param pathname string
  7259. */
  7260. function imagepsloadfont($pathname) {}
  7261. /**
  7262. * Slant a font
  7263. *
  7264. * @return bool
  7265. * @param font_index int
  7266. * @param slant float
  7267. */
  7268. function imagepsslantfont($font_index, $slant) {}
  7269. /**
  7270. * Rasterize a string over an image
  7271. *
  7272. * @return array
  7273. * @param image int
  7274. * @param text string
  7275. * @param font int
  7276. * @param size int
  7277. * @param xcoord int
  7278. * @param ycoord int
  7279. * @param space int[optional]
  7280. * @param tightness int
  7281. * @param angle float
  7282. * @param antialias int
  7283. */
  7284. function imagepstext($image, $text, $font, $size, $xcoord, $ycoord, $space = null, $tightness, $angle, $antialias) {}
  7285. /**
  7286. * Draw a rectangle
  7287. *
  7288. * @return int
  7289. * @param im int
  7290. * @param x1 int
  7291. * @param y1 int
  7292. * @param x2 int
  7293. * @param y2 int
  7294. * @param col int
  7295. */
  7296. function imagerectangle($im, $x1, $y1, $x2, $y2, $col) {}
  7297. /**
  7298. * Rotate an image using a custom angle
  7299. *
  7300. * @return int
  7301. * @param src_im int
  7302. * @param angle float
  7303. * @param bgdcolor int
  7304. */
  7305. function imagerotate($src_im, $angle, $bgdcolor) {}
  7306. /**
  7307. * Include alpha channel to a saved image
  7308. *
  7309. * @return void
  7310. * @param im resource
  7311. * @param on bool
  7312. */
  7313. function imagesavealpha($im, $on) {}
  7314. /**
  7315. * Should antialiased functions used or not
  7316. *
  7317. * @return unknown
  7318. * @param im int
  7319. * @param on bool
  7320. */
  7321. function imagesetantialias($im, $on) {}
  7322. /**
  7323. * Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color
  7324. *
  7325. * @return int
  7326. * @param image resource
  7327. * @param brush resource
  7328. */
  7329. function imagesetbrush($image, $brush) {}
  7330. /**
  7331. * Set a single pixel
  7332. *
  7333. * @return int
  7334. * @param im int
  7335. * @param x int
  7336. * @param y int
  7337. * @param col int
  7338. */
  7339. function imagesetpixel($im, $x, $y, $col) {}
  7340. /**
  7341. * Set the line drawing styles for use with imageline and IMG_COLOR_STYLED.
  7342. *
  7343. * @return void
  7344. * @param im resource
  7345. * @param styles array
  7346. */
  7347. function imagesetstyle($im, $styles) {}
  7348. /**
  7349. * Set line thickness for drawing lines, ellipses, rectangles, polygons etc.
  7350. *
  7351. * @return void
  7352. * @param im resource
  7353. * @param thickness int
  7354. */
  7355. function imagesetthickness($im, $thickness) {}
  7356. /**
  7357. * Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color
  7358. *
  7359. * @return int
  7360. * @param image resource
  7361. * @param tile resource
  7362. */
  7363. function imagesettile($image, $tile) {}
  7364. /**
  7365. * Draw a string horizontally
  7366. *
  7367. * @return int
  7368. * @param im int
  7369. * @param font int
  7370. * @param x int
  7371. * @param y int
  7372. * @param str string
  7373. * @param col int
  7374. */
  7375. function imagestring($im, $font, $x, $y, $str, $col) {}
  7376. /**
  7377. * Draw a string vertically - rotated 90 degrees counter-clockwise
  7378. *
  7379. * @return int
  7380. * @param im int
  7381. * @param font int
  7382. * @param x int
  7383. * @param y int
  7384. * @param str string
  7385. * @param col int
  7386. */
  7387. function imagestringup($im, $font, $x, $y, $str, $col) {}
  7388. /**
  7389. * Get image width
  7390. *
  7391. * @return int
  7392. * @param im int
  7393. */
  7394. function imagesx($im) {}
  7395. /**
  7396. * Get image height
  7397. *
  7398. * @return int
  7399. * @param im int
  7400. */
  7401. function imagesy($im) {}
  7402. /**
  7403. * Convert a true colour image to a palette based image with a number of colours, optionally using dithering.
  7404. *
  7405. * @return void
  7406. * @param im resource
  7407. * @param ditherFlag bool
  7408. * @param colorsWanted int
  7409. */
  7410. function imagetruecolortopalette($im, $ditherFlag, $colorsWanted) {}
  7411. /**
  7412. * Give the bounding box of a text using TrueType fonts
  7413. *
  7414. * @return array
  7415. * @param size int
  7416. * @param angle int
  7417. * @param font_file string
  7418. * @param text string
  7419. */
  7420. function imagettfbbox($size, $angle, $font_file, $text) {}
  7421. /**
  7422. * Write text to the image using a TrueType font
  7423. *
  7424. * @return array
  7425. * @param im int
  7426. * @param size int
  7427. * @param angle int
  7428. * @param x int
  7429. * @param y int
  7430. * @param col int
  7431. * @param font_file string
  7432. * @param text string
  7433. */
  7434. function imagettftext($im, $size, $angle, $x, $y, $col, $font_file, $text) {}
  7435. /**
  7436. * Return the types of images supported in a bitfield - 1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM
  7437. *
  7438. * @return int
  7439. */
  7440. function imagetypes() {}
  7441. /**
  7442. * Output WBMP image to browser or file
  7443. *
  7444. * @return int
  7445. * @param im int
  7446. * @param filename string[optional]
  7447. * @param foreground int[optional]
  7448. */
  7449. function imagewbmp($im, $filename = null, $foreground = null) {}
  7450. /**
  7451. * Convert an 8-bit string to a quoted-printable string
  7452. *
  7453. * @return string
  7454. * @param text string
  7455. */
  7456. function imap_8bit($text) {}
  7457. /**
  7458. * Returns an array of all IMAP alerts that have been generated since the last page load or since the last imap_alerts() call, whichever came last. The alert stack is cleared after imap_alerts() is called.
  7459. *
  7460. * @return array
  7461. */
  7462. function imap_alerts() {}
  7463. /**
  7464. * Append a new message to a specified mailbox
  7465. *
  7466. * @return bool
  7467. * @param stream_id resource
  7468. * @param folder string
  7469. * @param message string
  7470. * @param options string[optional]
  7471. */
  7472. function imap_append($stream_id, $folder, $message, $options = null) {}
  7473. /**
  7474. * Decode BASE64 encoded text
  7475. *
  7476. * @return string
  7477. * @param text string
  7478. */
  7479. function imap_base64($text) {}
  7480. /**
  7481. * Convert an 8bit string to a base64 string
  7482. *
  7483. * @return string
  7484. * @param text string
  7485. */
  7486. function imap_binary($text) {}
  7487. /**
  7488. * Read the message body
  7489. *
  7490. * @return string
  7491. * @param stream_id resource
  7492. * @param msg_no int
  7493. * @param options int[optional]
  7494. */
  7495. function imap_body($stream_id, $msg_no, $options = null) {}
  7496. /**
  7497. * Read the structure of a specified body section of a specific message
  7498. *
  7499. * @return object
  7500. * @param stream_id resource
  7501. * @param msg_no int
  7502. * @param section int
  7503. */
  7504. function imap_bodystruct($stream_id, $msg_no, $section) {}
  7505. /**
  7506. * Get mailbox properties
  7507. *
  7508. * @return object
  7509. * @param stream_id resource
  7510. */
  7511. function imap_check($stream_id) {}
  7512. /**
  7513. * Clears flags on messages
  7514. *
  7515. * @return bool
  7516. * @param stream_id resource
  7517. * @param sequence string
  7518. * @param flag string
  7519. * @param options int[optional]
  7520. */
  7521. function imap_clearflag_full($stream_id, $sequence, $flag, $options = null) {}
  7522. /**
  7523. * Close an IMAP stream
  7524. *
  7525. * @return bool
  7526. * @param stream_id resource
  7527. * @param options int[optional]
  7528. */
  7529. function imap_close($stream_id, $options = null) {}
  7530. /**
  7531. * Create a new mailbox
  7532. *
  7533. * @return bool
  7534. * @param stream_id resource
  7535. * @param mailbox string
  7536. */
  7537. function imap_create($stream_id, $mailbox) {}
  7538. /**
  7539. * Create a new mailbox
  7540. *
  7541. * @return bool
  7542. * @param stream_id resource
  7543. * @param mailbox string
  7544. */
  7545. function imap_createmailbox($stream_id, $mailbox) {}
  7546. /**
  7547. * Mark a message for deletion
  7548. *
  7549. * @return bool
  7550. * @param stream_id resource
  7551. * @param msg_no int
  7552. * @param options int[optional]
  7553. */
  7554. function imap_delete($stream_id, $msg_no, $options = null) {}
  7555. /**
  7556. * Delete a mailbox
  7557. *
  7558. * @return bool
  7559. * @param stream_id resource
  7560. * @param mailbox string
  7561. */
  7562. function imap_deletemailbox($stream_id, $mailbox) {}
  7563. /**
  7564. * Returns an array of all IMAP errors generated since the last page load, or since the last imap_errors() call, whichever came last. The error stack is cleared after imap_errors() is called.
  7565. *
  7566. * @return array
  7567. */
  7568. function imap_errors() {}
  7569. /**
  7570. * Permanently delete all messages marked for deletion
  7571. *
  7572. * @return bool
  7573. * @param stream_id resource
  7574. */
  7575. function imap_expunge($stream_id) {}
  7576. /**
  7577. * Read an overview of the information in the headers of the given message sequence
  7578. *
  7579. * @return array
  7580. * @param stream_id resource
  7581. * @param msg_no int
  7582. * @param options int[optional]
  7583. */
  7584. function imap_fetch_overview($stream_id, $msg_no, $options = null) {}
  7585. /**
  7586. * Get a specific body section
  7587. *
  7588. * @return string
  7589. * @param stream_id resource
  7590. * @param msg_no int
  7591. * @param section int
  7592. * @param options int[optional]
  7593. */
  7594. function imap_fetchbody($stream_id, $msg_no, $section, $options = null) {}
  7595. /**
  7596. * Get the full unfiltered header for a message
  7597. *
  7598. * @return string
  7599. * @param stream_id resource
  7600. * @param msg_no int
  7601. * @param options int[optional]
  7602. */
  7603. function imap_fetchheader($stream_id, $msg_no, $options = null) {}
  7604. /**
  7605. * Read the full structure of a message
  7606. *
  7607. * @return object
  7608. * @param stream_id resource
  7609. * @param msg_no int
  7610. * @param options int[optional]
  7611. */
  7612. function imap_fetchstructure($stream_id, $msg_no, $options = null) {}
  7613. /**
  7614. * Read the message body
  7615. *
  7616. * @return string
  7617. * @param stream_id resource
  7618. * @param msg_no int
  7619. * @param options int[optional]
  7620. */
  7621. function imap_fetchtext($stream_id, $msg_no, $options = null) {}
  7622. /**
  7623. * Returns the quota set to the mailbox account qroot
  7624. *
  7625. * @return array
  7626. * @param stream_id resource
  7627. * @param qroot string
  7628. */
  7629. function imap_get_quota($stream_id, $qroot) {}
  7630. /**
  7631. * Returns the quota set to the mailbox account mbox
  7632. *
  7633. * @return array
  7634. * @param stream_id resource
  7635. * @param mbox string
  7636. */
  7637. function imap_get_quotaroot($stream_id, $mbox) {}
  7638. /**
  7639. * Reads the list of mailboxes and returns a full array of objects containing name, attributes, and delimiter
  7640. *
  7641. * @return array
  7642. * @param stream_id resource
  7643. * @param ref string
  7644. * @param pattern string
  7645. */
  7646. function imap_getmailboxes($stream_id, $ref, $pattern) {}
  7647. /**
  7648. * Return a list of subscribed mailboxes, in the same format as imap_getmailboxes()
  7649. *
  7650. * @return array
  7651. * @param stream_id resource
  7652. * @param ref string
  7653. * @param pattern string
  7654. */
  7655. function imap_getsubscribed($stream_id, $ref, $pattern) {}
  7656. /**
  7657. * Read the headers of the message
  7658. *
  7659. * @return object
  7660. * @param stream_id resource
  7661. * @param msg_no int
  7662. * @param from_length int[optional]
  7663. * @param subject_length int[optional]
  7664. * @param default_host string[optional]
  7665. */
  7666. function imap_header($stream_id, $msg_no, $from_length = null, $subject_length = null, $default_host = null) {}
  7667. /**
  7668. * Read the headers of the message
  7669. *
  7670. * @return object
  7671. * @param stream_id resource
  7672. * @param msg_no int
  7673. * @param from_length int[optional]
  7674. * @param subject_length int[optional]
  7675. * @param default_host string[optional]
  7676. */
  7677. function imap_headerinfo($stream_id, $msg_no, $from_length = null, $subject_length = null, $default_host = null) {}
  7678. /**
  7679. * Returns headers for all messages in a mailbox
  7680. *
  7681. * @return array
  7682. * @param stream_id resource
  7683. */
  7684. function imap_headers($stream_id) {}
  7685. /**
  7686. * Returns the last error that was generated by an IMAP function. The error stack is NOT cleared after this call.
  7687. *
  7688. * @return string
  7689. */
  7690. function imap_last_error() {}
  7691. /**
  7692. * Read the list of mailboxes
  7693. *
  7694. * @return array
  7695. * @param stream_id resource
  7696. * @param ref string
  7697. * @param pattern string
  7698. */
  7699. function imap_list($stream_id, $ref, $pattern) {}
  7700. /**
  7701. * Read the list of mailboxes
  7702. *
  7703. * @return array
  7704. * @param stream_id resource
  7705. * @param ref string
  7706. * @param pattern string
  7707. */
  7708. function imap_listmailbox($stream_id, $ref, $pattern) {}
  7709. /**
  7710. * Return a list of subscribed mailboxes
  7711. *
  7712. * @return array
  7713. * @param stream_id resource
  7714. * @param ref string
  7715. * @param pattern string
  7716. */
  7717. function imap_listsubscribed($stream_id, $ref, $pattern) {}
  7718. /**
  7719. * Return a list of subscribed mailboxes
  7720. *
  7721. * @return array
  7722. * @param stream_id resource
  7723. * @param ref string
  7724. * @param pattern string
  7725. */
  7726. function imap_lsub($stream_id, $ref, $pattern) {}
  7727. /**
  7728. * Send an email message
  7729. *
  7730. * @return int
  7731. * @param to string
  7732. * @param subject string
  7733. * @param message string
  7734. * @param additional_headers string[optional]
  7735. * @param cc string[optional]
  7736. * @param bcc string[optional]
  7737. * @param rpath string[optional]
  7738. */
  7739. function imap_mail($to, $subject, $message, $additional_headers = null, $cc = null, $bcc = null, $rpath = null) {}
  7740. /**
  7741. * Create a MIME message based on given envelope and body sections
  7742. *
  7743. * @return string
  7744. * @param envelope array
  7745. * @param body array
  7746. */
  7747. function imap_mail_compose($envelope, $body) {}
  7748. /**
  7749. * Copy specified message to a mailbox
  7750. *
  7751. * @return bool
  7752. * @param stream_id resource
  7753. * @param msg_no int
  7754. * @param mailbox string
  7755. * @param options int[optional]
  7756. */
  7757. function imap_mail_copy($stream_id, $msg_no, $mailbox, $options = null) {}
  7758. /**
  7759. * Move specified message to a mailbox
  7760. *
  7761. * @return bool
  7762. * @param stream_id resource
  7763. * @param msg_no int
  7764. * @param mailbox string
  7765. * @param options int[optional]
  7766. */
  7767. function imap_mail_move($stream_id, $msg_no, $mailbox, $options = null) {}
  7768. /**
  7769. * Returns info about the current mailbox
  7770. *
  7771. * @return object
  7772. * @param stream_id resource
  7773. */
  7774. function imap_mailboxmsginfo($stream_id) {}
  7775. /**
  7776. * Decode mime header element in accordance with RFC 2047 and return array of objects containing 'charset' encoding and decoded 'text'
  7777. *
  7778. * @return array
  7779. * @param str string
  7780. */
  7781. function imap_mime_header_decode($str) {}
  7782. /**
  7783. * Get the sequence number associated with a UID
  7784. *
  7785. * @return int
  7786. * @param stream_id resource
  7787. * @param unique_msg_id int
  7788. */
  7789. function imap_msgno($stream_id, $unique_msg_id) {}
  7790. /**
  7791. * Gives the number of messages in the current mailbox
  7792. *
  7793. * @return int
  7794. * @param stream_id resource
  7795. */
  7796. function imap_num_msg($stream_id) {}
  7797. /**
  7798. * Gives the number of recent messages in current mailbox
  7799. *
  7800. * @return int
  7801. * @param stream_id resource
  7802. */
  7803. function imap_num_recent($stream_id) {}
  7804. /**
  7805. * Open an IMAP stream to a mailbox
  7806. *
  7807. * @return resource
  7808. * @param mailbox string
  7809. * @param user string
  7810. * @param password string
  7811. * @param options int[optional]
  7812. */
  7813. function imap_open($mailbox, $user, $password, $options = null) {}
  7814. /**
  7815. * Check if the IMAP stream is still active
  7816. *
  7817. * @return bool
  7818. * @param stream_id resource
  7819. */
  7820. function imap_ping($stream_id) {}
  7821. /**
  7822. * Convert a quoted-printable string to an 8-bit string
  7823. *
  7824. * @return string
  7825. * @param text string
  7826. */
  7827. function imap_qprint($text) {}
  7828. /**
  7829. * Rename a mailbox
  7830. *
  7831. * @return bool
  7832. * @param stream_id resource
  7833. * @param old_name string
  7834. * @param new_name string
  7835. */
  7836. function imap_rename($stream_id, $old_name, $new_name) {}
  7837. /**
  7838. * Rename a mailbox
  7839. *
  7840. * @return bool
  7841. * @param stream_id resource
  7842. * @param old_name string
  7843. * @param new_name string
  7844. */
  7845. function imap_renamemailbox($stream_id, $old_name, $new_name) {}
  7846. /**
  7847. * Reopen an IMAP stream to a new mailbox
  7848. *
  7849. * @return bool
  7850. * @param stream_id resource
  7851. * @param mailbox string
  7852. * @param options int[optional]
  7853. */
  7854. function imap_reopen($stream_id, $mailbox, $options = null) {}
  7855. /**
  7856. * Parses an address string
  7857. *
  7858. * @return array
  7859. * @param address_string string
  7860. * @param default_host string
  7861. */
  7862. function imap_rfc822_parse_adrlist($address_string, $default_host) {}
  7863. /**
  7864. * Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo()
  7865. *
  7866. * @return object
  7867. * @param headers string
  7868. * @param default_host string[optional]
  7869. */
  7870. function imap_rfc822_parse_headers($headers, $default_host = null) {}
  7871. /**
  7872. * Returns a properly formatted email address given the mailbox, host, and personal info
  7873. *
  7874. * @return string
  7875. * @param mailbox string
  7876. * @param host string
  7877. * @param personal string
  7878. */
  7879. function imap_rfc822_write_address($mailbox, $host, $personal) {}
  7880. /**
  7881. * Read list of mailboxes containing a certain string
  7882. *
  7883. * @return array
  7884. * @param stream_id resource
  7885. * @param ref string
  7886. * @param pattern string
  7887. * @param content string
  7888. */
  7889. function imap_scan($stream_id, $ref, $pattern, $content) {}
  7890. /**
  7891. * Return a list of messages matching the given criteria
  7892. *
  7893. * @return array
  7894. * @param stream_id resource
  7895. * @param criteria string
  7896. * @param options int[optional]
  7897. * @param charset string[optional]
  7898. */
  7899. function imap_search($stream_id, $criteria, $options = null, $charset = null) {}
  7900. /**
  7901. * Will set the quota for qroot mailbox
  7902. *
  7903. * @return bool
  7904. * @param stream_id resource
  7905. * @param qroot string
  7906. * @param mailbox_size int
  7907. */
  7908. function imap_set_quota($stream_id, $qroot, $mailbox_size) {}
  7909. /**
  7910. * Sets the ACL for a given mailbox
  7911. *
  7912. * @return bool
  7913. * @param stream_id resource
  7914. * @param mailbox string
  7915. * @param id string
  7916. * @param rights string
  7917. */
  7918. function imap_setacl($stream_id, $mailbox, $id, $rights) {}
  7919. /**
  7920. * Sets flags on messages
  7921. *
  7922. * @return bool
  7923. * @param stream_id resource
  7924. * @param sequence string
  7925. * @param flag string
  7926. * @param options int[optional]
  7927. */
  7928. function imap_setflag_full($stream_id, $sequence, $flag, $options = null) {}
  7929. /**
  7930. * Sort an array of message headers, optionally including only messages that meet specified criteria.
  7931. *
  7932. * @return array
  7933. * @param stream_id resource
  7934. * @param criteria int
  7935. * @param reverse int
  7936. * @param options int[optional]
  7937. * @param search_criteria string[optional]
  7938. * @param charset string[optional]
  7939. */
  7940. function imap_sort($stream_id, $criteria, $reverse, $options = null, $search_criteria = null, $charset = null) {}
  7941. /**
  7942. * Get status info from a mailbox
  7943. *
  7944. * @return object
  7945. * @param stream_id resource
  7946. * @param mailbox string
  7947. * @param options int
  7948. */
  7949. function imap_status($stream_id, $mailbox, $options) {}
  7950. /**
  7951. * Subscribe to a mailbox
  7952. *
  7953. * @return bool
  7954. * @param stream_id resource
  7955. * @param mailbox string
  7956. */
  7957. function imap_subscribe($stream_id, $mailbox) {}
  7958. /**
  7959. * Return threaded by REFERENCES tree
  7960. *
  7961. * @return array
  7962. * @param stream_id resource
  7963. * @param options int[optional]
  7964. */
  7965. function imap_thread($stream_id, $options = null) {}
  7966. /**
  7967. * Set or fetch imap timeout
  7968. *
  7969. * @return mixed
  7970. * @param timeout_type int
  7971. * @param timeout int[optional]
  7972. */
  7973. function imap_timeout($timeout_type, $timeout = null) {}
  7974. /**
  7975. * Get the unique message id associated with a standard sequential message number
  7976. *
  7977. * @return int
  7978. * @param stream_id resource
  7979. * @param msg_no int
  7980. */
  7981. function imap_uid($stream_id, $msg_no) {}
  7982. /**
  7983. * Remove the delete flag from a message
  7984. *
  7985. * @return bool
  7986. * @param stream_id resource
  7987. * @param msg_no int
  7988. */
  7989. function imap_undelete($stream_id, $msg_no) {}
  7990. /**
  7991. * Unsubscribe from a mailbox
  7992. *
  7993. * @return bool
  7994. * @param stream_id resource
  7995. * @param mailbox string
  7996. */
  7997. function imap_unsubscribe($stream_id, $mailbox) {}
  7998. /**
  7999. * Decode a modified UTF-7 string
  8000. *
  8001. * @return string
  8002. * @param buf string
  8003. */
  8004. function imap_utf7_decode($buf) {}
  8005. /**
  8006. * Encode a string in modified UTF-7
  8007. *
  8008. * @return string
  8009. * @param buf string
  8010. */
  8011. function imap_utf7_encode($buf) {}
  8012. /**
  8013. * Convert a mime-encoded text to UTF-8
  8014. *
  8015. * @return string
  8016. * @param mime_encoded_text string
  8017. */
  8018. function imap_utf8($mime_encoded_text) {}
  8019. /**
  8020. * Joins array elements placing glue string between items and return one string
  8021. *
  8022. * @return string
  8023. * @param glue string[optional]
  8024. * @param pieces array
  8025. */
  8026. function implode($glue = null, $pieces) {}
  8027. /**
  8028. * Import GET/POST/Cookie variables into the global scope
  8029. *
  8030. * @return bool
  8031. * @param types string
  8032. * @param prefix string[optional]
  8033. */
  8034. function import_request_variables($types, $prefix = null) {}
  8035. /**
  8036. * Checks if the given value exists in the array
  8037. *
  8038. * @return bool
  8039. * @param needle mixed
  8040. * @param haystack array
  8041. * @param strict bool[optional]
  8042. */
  8043. function in_array($needle, $haystack, $strict = null) {}
  8044. /**
  8045. * Switch autocommit on or off
  8046. *
  8047. * @return bool
  8048. * @param link resource[optional]
  8049. */
  8050. function ingres_autocommit($link = null) {}
  8051. /**
  8052. * Close an Ingres II database connection
  8053. *
  8054. * @return bool
  8055. * @param link resource[optional]
  8056. */
  8057. function ingres_close($link = null) {}
  8058. /**
  8059. * Commit a transaction
  8060. *
  8061. * @return bool
  8062. * @param link resource[optional]
  8063. */
  8064. function ingres_commit($link = null) {}
  8065. /**
  8066. * Open a connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class]
  8067. *
  8068. * @return resource
  8069. * @param database string[optional]
  8070. * @param username string[optional]
  8071. * @param password string[optional]
  8072. */
  8073. function ingres_connect($database = null, $username = null, $password = null) {}
  8074. /**
  8075. * Fetch a row of result into an array result_type can be II_NUM for enumerated array, II_ASSOC for associative array, or II_BOTH (default)
  8076. *
  8077. * @return array
  8078. * @param result_type int[optional]
  8079. * @param link resource[optional]
  8080. */
  8081. function ingres_fetch_array($result_type = null, $link = null) {}
  8082. /**
  8083. * Fetch a row of result into an object result_type can be II_NUM for enumerated object, II_ASSOC for associative object, or II_BOTH (default)
  8084. *
  8085. * @return array
  8086. * @param result_type int[optional]
  8087. * @param link resource[optional]
  8088. */
  8089. function ingres_fetch_object($result_type = null, $link = null) {}
  8090. /**
  8091. * Fetch a row of result into an enumerated array
  8092. *
  8093. * @return array
  8094. * @param link resource[optional]
  8095. */
  8096. function ingres_fetch_row($link = null) {}
  8097. /**
  8098. * Return the length of a field in a query result index must be >0 and <= ingres_num_fields()
  8099. *
  8100. * @return string
  8101. * @param index int
  8102. * @param link resource[optional]
  8103. */
  8104. function ingres_field_length($index, $link = null) {}
  8105. /**
  8106. * Return the name of a field in a query result index must be >0 and <= ingres_num_fields()
  8107. *
  8108. * @return string
  8109. * @param index int
  8110. * @param link resource[optional]
  8111. */
  8112. function ingres_field_name($index, $link = null) {}
  8113. /**
  8114. * Return true if the field is nullable and false otherwise index must be >0 and <= ingres_num_fields()
  8115. *
  8116. * @return string
  8117. * @param index int
  8118. * @param link resource[optional]
  8119. */
  8120. function ingres_field_nullable($index, $link = null) {}
  8121. /**
  8122. * Return the precision of a field in a query result index must be >0 and <= ingres_num_fields()
  8123. *
  8124. * @return string
  8125. * @param index int
  8126. * @param link resource[optional]
  8127. */
  8128. function ingres_field_precision($index, $link = null) {}
  8129. /**
  8130. * Return the scale of a field in a query result index must be >0 and <= ingres_num_fields()
  8131. *
  8132. * @return string
  8133. * @param index int
  8134. * @param link resource[optional]
  8135. */
  8136. function ingres_field_scale($index, $link = null) {}
  8137. /**
  8138. * Return the type of a field in a query result index must be >0 and <= ingres_num_fields()
  8139. *
  8140. * @return string
  8141. * @param index int
  8142. * @param link resource[optional]
  8143. */
  8144. function ingres_field_type($index, $link = null) {}
  8145. /**
  8146. * Return the number of fields returned by the last query
  8147. *
  8148. * @return int
  8149. * @param link resource[optional]
  8150. */
  8151. function ingres_num_fields($link = null) {}
  8152. /**
  8153. * Return the number of rows affected/returned by the last query
  8154. *
  8155. * @return int
  8156. * @param link resource[optional]
  8157. */
  8158. function ingres_num_rows($link = null) {}
  8159. /**
  8160. * Open a persistent connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class]
  8161. *
  8162. * @return resource
  8163. * @param database string[optional]
  8164. * @param username string[optional]
  8165. * @param password string[optional]
  8166. */
  8167. function ingres_pconnect($database = null, $username = null, $password = null) {}
  8168. /**
  8169. * Send a SQL query to Ingres II
  8170. *
  8171. * @return bool
  8172. * @param query string
  8173. * @param link resource[optional]
  8174. */
  8175. function ingres_query($query, $link = null) {}
  8176. /**
  8177. * Roll back a transaction
  8178. *
  8179. * @return bool
  8180. * @param link resource[optional]
  8181. */
  8182. function ingres_rollback($link = null) {}
  8183. /**
  8184. * Set a configuration option, returns false on error and the old value of the configuration option on success
  8185. *
  8186. * @return string
  8187. * @param varname string
  8188. * @param newvalue string
  8189. */
  8190. function ini_alter($varname, $newvalue) {}
  8191. /**
  8192. * Get a configuration option
  8193. *
  8194. * @return string
  8195. * @param varname string
  8196. */
  8197. function ini_get($varname) {}
  8198. /**
  8199. * Get all configuration options
  8200. *
  8201. * @return array
  8202. * @param extension string[optional]
  8203. */
  8204. function ini_get_all($extension = null) {}
  8205. /**
  8206. * Restore the value of a configuration option specified by varname
  8207. *
  8208. * @return void
  8209. * @param varname string
  8210. */
  8211. function ini_restore($varname) {}
  8212. /**
  8213. * Set a configuration option, returns false on error and the old value of the configuration option on success
  8214. *
  8215. * @return string
  8216. * @param varname string
  8217. * @param newvalue string
  8218. */
  8219. function ini_set($varname, $newvalue) {}
  8220. /**
  8221. * Get the integer value of a variable using the optional base for the conversion
  8222. *
  8223. * @return int
  8224. * @param var mixed
  8225. * @param base int[optional]
  8226. */
  8227. function intval($var, $base = null) {}
  8228. /**
  8229. * Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address
  8230. *
  8231. * @return int
  8232. * @param ip_address string
  8233. */
  8234. function ip2long($ip_address) {}
  8235. /**
  8236. * Embed binary IPTC data into a JPEG image.
  8237. *
  8238. * @return array
  8239. * @param iptcdata string
  8240. * @param jpeg_file_name string
  8241. * @param spool int[optional]
  8242. */
  8243. function iptcembed($iptcdata, $jpeg_file_name, $spool = null) {}
  8244. /**
  8245. * Parse binary IPTC-data into associative array
  8246. *
  8247. * @return array
  8248. * @param iptcdata string
  8249. */
  8250. function iptcparse($iptcdata) {}
  8251. /**
  8252. * Returns true if the object is of this class or has this class as one of its parents
  8253. *
  8254. * @return bool
  8255. * @param object object
  8256. * @param class_name string
  8257. */
  8258. function is_a($object, $class_name) {}
  8259. /**
  8260. * Returns true if variable is an array
  8261. *
  8262. * @return bool
  8263. * @param var mixed
  8264. */
  8265. function is_array($var) {}
  8266. /**
  8267. * Returns true if variable is a boolean
  8268. *
  8269. * @return bool
  8270. * @param var mixed
  8271. */
  8272. function is_bool($var) {}
  8273. /**
  8274. * Returns true if var is callable.
  8275. *
  8276. * @return bool
  8277. * @param var mixed
  8278. * @param syntax_only bool[optional]
  8279. * @param callable_name string[optional]
  8280. */
  8281. function is_callable($var, $syntax_only = null, $callable_name = null) {}
  8282. /**
  8283. * Returns true if file is directory
  8284. *
  8285. * @return bool
  8286. * @param filename string
  8287. */
  8288. function is_dir($filename) {}
  8289. /**
  8290. * Returns true if variable is float point
  8291. *
  8292. * @return bool
  8293. * @param var mixed
  8294. */
  8295. function is_double($var) {}
  8296. /**
  8297. * Returns true if file is executable
  8298. *
  8299. * @return bool
  8300. * @param filename string
  8301. */
  8302. function is_executable($filename) {}
  8303. /**
  8304. * Returns true if file is a regular file
  8305. *
  8306. * @return bool
  8307. * @param filename string
  8308. */
  8309. function is_file($filename) {}
  8310. /**
  8311. * Returns whether argument is finite
  8312. *
  8313. * @return bool
  8314. * @param val float
  8315. */
  8316. function is_finite($val) {}
  8317. /**
  8318. * Returns true if variable is float point
  8319. *
  8320. * @return bool
  8321. * @param var mixed
  8322. */
  8323. function is_float($var) {}
  8324. /**
  8325. * Returns whether argument is infinite
  8326. *
  8327. * @return bool
  8328. * @param val float
  8329. */
  8330. function is_infinite($val) {}
  8331. /**
  8332. * Returns true if variable is a long (integer)
  8333. *
  8334. * @return bool
  8335. * @param var mixed
  8336. */
  8337. function is_int($var) {}
  8338. /**
  8339. * Returns true if variable is a long (integer)
  8340. *
  8341. * @return bool
  8342. * @param var mixed
  8343. */
  8344. function is_integer($var) {}
  8345. /**
  8346. * Returns true if file is symbolic link
  8347. *
  8348. * @return bool
  8349. * @param filename string
  8350. */
  8351. function is_link($filename) {}
  8352. /**
  8353. * Returns true if variable is a long (integer)
  8354. *
  8355. * @return bool
  8356. * @param var mixed
  8357. */
  8358. function is_long($var) {}
  8359. /**
  8360. * Returns whether argument is not a number
  8361. *
  8362. * @return bool
  8363. * @param val float
  8364. */
  8365. function is_nan($val) {}
  8366. /**
  8367. * Returns true if variable is null
  8368. *
  8369. * @return bool
  8370. * @param var mixed
  8371. */
  8372. function is_null($var) {}
  8373. /**
  8374. * Returns true if value is a number or a numeric string
  8375. *
  8376. * @return bool
  8377. * @param value mixed
  8378. */
  8379. function is_numeric($value) {}
  8380. /**
  8381. * Returns true if variable is an object
  8382. *
  8383. * @return bool
  8384. * @param var mixed
  8385. */
  8386. function is_object($var) {}
  8387. /**
  8388. * Returns true if file can be read
  8389. *
  8390. * @return bool
  8391. * @param filename string
  8392. */
  8393. function is_readable($filename) {}
  8394. /**
  8395. * Returns true if variable is float point
  8396. *
  8397. * @return bool
  8398. * @param var mixed
  8399. */
  8400. function is_real($var) {}
  8401. /**
  8402. * Returns true if variable is a resource
  8403. *
  8404. * @return bool
  8405. * @param var mixed
  8406. */
  8407. function is_resource($var) {}
  8408. /**
  8409. * Returns true if value is a scalar
  8410. *
  8411. * @return bool
  8412. * @param value mixed
  8413. */
  8414. function is_scalar($value) {}
  8415. /**
  8416. * Checks if given value is a SoapFault object
  8417. *
  8418. * @return bool
  8419. * @param object mixed
  8420. */
  8421. function is_soap_fault($object) {}
  8422. /**
  8423. * Returns true if variable is a string
  8424. *
  8425. * @return bool
  8426. * @param var mixed
  8427. */
  8428. function is_string($var) {}
  8429. /**
  8430. * Returns true if the object has this class as one of its parents
  8431. *
  8432. * @return bool
  8433. * @param object object
  8434. * @param class_name string
  8435. */
  8436. function is_subclass_of($object, $class_name) {}
  8437. /**
  8438. * Check if file was created by rfc1867 upload
  8439. *
  8440. * @return bool
  8441. * @param path string
  8442. */
  8443. function is_uploaded_file($path) {}
  8444. /**
  8445. * Returns true if file can be written
  8446. *
  8447. * @return bool
  8448. * @param filename string
  8449. */
  8450. function is_writable($filename) {}
  8451. /**
  8452. * Returns true if file can be written
  8453. *
  8454. * @return bool
  8455. * @param filename string
  8456. */
  8457. function is_writeable($filename) {}
  8458. /**
  8459. * Returns name or number of day of week from julian day count
  8460. *
  8461. * @return mixed
  8462. * @param juliandaycount int
  8463. * @param mode int[optional]
  8464. */
  8465. function jddayofweek($juliandaycount, $mode = null) {}
  8466. /**
  8467. * Returns name of month for julian day count
  8468. *
  8469. * @return string
  8470. * @param juliandaycount int
  8471. * @param mode int
  8472. */
  8473. function jdmonthname($juliandaycount, $mode) {}
  8474. /**
  8475. * Converts a julian day count to a french republic calendar date
  8476. *
  8477. * @return string
  8478. * @param juliandaycount int
  8479. */
  8480. function jdtofrench($juliandaycount) {}
  8481. /**
  8482. * Converts a julian day count to a gregorian calendar date
  8483. *
  8484. * @return string
  8485. * @param juliandaycount int
  8486. */
  8487. function jdtogregorian($juliandaycount) {}
  8488. /**
  8489. * Converts a julian day count to a jewish calendar date
  8490. *
  8491. * @return string
  8492. * @param juliandaycount int
  8493. */
  8494. function jdtojewish($juliandaycount) {}
  8495. /**
  8496. * Convert a julian day count to a julian calendar date
  8497. *
  8498. * @return string
  8499. * @param juliandaycount int
  8500. */
  8501. function jdtojulian($juliandaycount) {}
  8502. /**
  8503. * Convert Julian Day to UNIX timestamp
  8504. *
  8505. * @return int
  8506. * @param jday int
  8507. */
  8508. function jdtounix($jday) {}
  8509. /**
  8510. * Converts a jewish calendar date to a julian day count
  8511. *
  8512. * @return int
  8513. * @param month int
  8514. * @param day int
  8515. * @param year int
  8516. */
  8517. function jewishtojd($month, $day, $year) {}
  8518. /**
  8519. * Joins array elements placing glue string between items and return one string
  8520. *
  8521. * @return string
  8522. * @param glue string[optional]
  8523. * @param pieces array
  8524. */
  8525. function join($glue = null, $pieces) {}
  8526. /**
  8527. * Convert JPEG image to WBMP image
  8528. *
  8529. * @return void
  8530. * @param f_org string
  8531. * @param f_dest string
  8532. * @param d_height int
  8533. * @param d_width int
  8534. * @param threshold int
  8535. */
  8536. function jpeg2wbmp($f_org, $f_dest, $d_height, $d_width, $threshold) {}
  8537. /**
  8538. * Converts a julian calendar date to julian day count
  8539. *
  8540. * @return int
  8541. * @param month int
  8542. * @param day int
  8543. * @param year int
  8544. */
  8545. function juliantojd($month, $day, $year) {}
  8546. /**
  8547. * Return the key of the element currently pointed to by the internal array pointer
  8548. *
  8549. * @return mixed
  8550. * @param array_arg array
  8551. */
  8552. function key($array_arg) {}
  8553. /**
  8554. * Checks if the given key or index exists in the array
  8555. *
  8556. * @return bool
  8557. * @param key mixed
  8558. * @param search array
  8559. */
  8560. function key_exists($key, $search) {}
  8561. /**
  8562. * Sort an array by key value in reverse order
  8563. *
  8564. * @return bool
  8565. * @param array_arg array
  8566. * @param sort_flags int[optional]
  8567. */
  8568. function krsort($array_arg, $sort_flags = null) {}
  8569. /**
  8570. * Sort an array by key
  8571. *
  8572. * @return bool
  8573. * @param array_arg array
  8574. * @param sort_flags int[optional]
  8575. */
  8576. function ksort($array_arg, $sort_flags = null) {}
  8577. /**
  8578. * Returns a value from the combined linear congruential generator
  8579. *
  8580. * @return float
  8581. */
  8582. function lcg_value() {}
  8583. /**
  8584. * Translate 8859 characters to t61 characters
  8585. *
  8586. * @return string
  8587. * @param value string
  8588. */
  8589. function ldap_8859_to_t61($value) {}
  8590. /**
  8591. * Add entries to LDAP directory
  8592. *
  8593. * @return bool
  8594. * @param link resource
  8595. * @param dn string
  8596. * @param entry array
  8597. */
  8598. function ldap_add($link, $dn, $entry) {}
  8599. /**
  8600. * Bind to LDAP directory
  8601. *
  8602. * @return bool
  8603. * @param link resource
  8604. * @param dn string[optional]
  8605. * @param password string
  8606. */
  8607. function ldap_bind($link, $dn = null, $password) {}
  8608. /**
  8609. * Unbind from LDAP directory
  8610. *
  8611. * @return bool
  8612. * @param link resource
  8613. */
  8614. function ldap_close($link) {}
  8615. /**
  8616. * Determine if an entry has a specific value for one of its attributes
  8617. *
  8618. * @return bool
  8619. * @param link resource
  8620. * @param dn string
  8621. * @param attr string
  8622. * @param value string
  8623. */
  8624. function ldap_compare($link, $dn, $attr, $value) {}
  8625. /**
  8626. * Connect to an LDAP server
  8627. *
  8628. * @return resource
  8629. * @param host string[optional]
  8630. * @param port int[optional]
  8631. */
  8632. function ldap_connect($host = null, $port = null) {}
  8633. /**
  8634. * Count the number of entries in a search result
  8635. *
  8636. * @return int
  8637. * @param link resource
  8638. * @param result resource
  8639. */
  8640. function ldap_count_entries($link, $result) {}
  8641. /**
  8642. * Delete an entry from a directory
  8643. *
  8644. * @return bool
  8645. * @param link resource
  8646. * @param dn string
  8647. */
  8648. function ldap_delete($link, $dn) {}
  8649. /**
  8650. * Convert DN to User Friendly Naming format
  8651. *
  8652. * @return string
  8653. * @param dn string
  8654. */
  8655. function ldap_dn2ufn($dn) {}
  8656. /**
  8657. * Convert error number to error string
  8658. *
  8659. * @return string
  8660. * @param errno int
  8661. */
  8662. function ldap_err2str($errno) {}
  8663. /**
  8664. * Get the current ldap error number
  8665. *
  8666. * @return int
  8667. * @param link resource
  8668. */
  8669. function ldap_errno($link) {}
  8670. /**
  8671. * Get the current ldap error string
  8672. *
  8673. * @return string
  8674. * @param link resource
  8675. */
  8676. function ldap_error($link) {}
  8677. /**
  8678. * Splits DN into its component parts
  8679. *
  8680. * @return array
  8681. * @param dn string
  8682. * @param with_attrib int
  8683. */
  8684. function ldap_explode_dn($dn, $with_attrib) {}
  8685. /**
  8686. * Return first attribute
  8687. *
  8688. * @return string
  8689. * @param link resource
  8690. * @param result_entry resource
  8691. * @param ber int
  8692. */
  8693. function ldap_first_attribute($link, $result_entry, $ber) {}
  8694. /**
  8695. * Return first result id
  8696. *
  8697. * @return resource
  8698. * @param link resource
  8699. * @param result resource
  8700. */
  8701. function ldap_first_entry($link, $result) {}
  8702. /**
  8703. * Return first reference
  8704. *
  8705. * @return resource
  8706. * @param link resource
  8707. * @param result resource
  8708. */
  8709. function ldap_first_reference($link, $result) {}
  8710. /**
  8711. * Free result memory
  8712. *
  8713. * @return bool
  8714. * @param result resource
  8715. */
  8716. function ldap_free_result($result) {}
  8717. /**
  8718. * Get attributes from a search result entry
  8719. *
  8720. * @return array
  8721. * @param link resource
  8722. * @param result_entry resource
  8723. */
  8724. function ldap_get_attributes($link, $result_entry) {}
  8725. /**
  8726. * Get the DN of a result entry
  8727. *
  8728. * @return string
  8729. * @param link resource
  8730. * @param result_entry resource
  8731. */
  8732. function ldap_get_dn($link, $result_entry) {}
  8733. /**
  8734. * Get all result entries
  8735. *
  8736. * @return array
  8737. * @param link resource
  8738. * @param result resource
  8739. */
  8740. function ldap_get_entries($link, $result) {}
  8741. /**
  8742. * Get the current value of various session-wide parameters
  8743. *
  8744. * @return bool
  8745. * @param link resource
  8746. * @param option int
  8747. * @param retval mixed
  8748. */
  8749. function ldap_get_option($link, $option, $retval) {}
  8750. /**
  8751. * Get all values from a result entry
  8752. *
  8753. * @return array
  8754. * @param link resource
  8755. * @param result_entry resource
  8756. * @param attribute string
  8757. */
  8758. function ldap_get_values($link, $result_entry, $attribute) {}
  8759. /**
  8760. * Get all values with lengths from a result entry
  8761. *
  8762. * @return array
  8763. * @param link resource
  8764. * @param result_entry resource
  8765. * @param attribute string
  8766. */
  8767. function ldap_get_values_len($link, $result_entry, $attribute) {}
  8768. /**
  8769. * Single-level search
  8770. *
  8771. * @return resource
  8772. * @param link resource
  8773. * @param base_dn string
  8774. * @param filter string
  8775. * @param attrs array[optional]
  8776. * @param attrsonly int[optional]
  8777. * @param sizelimit int[optional]
  8778. * @param timelimit int[optional]
  8779. * @param deref int[optional]
  8780. */
  8781. function ldap_list($link, $base_dn, $filter, $attrs = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null) {}
  8782. /**
  8783. * Add attribute values to current
  8784. *
  8785. * @return bool
  8786. * @param link resource
  8787. * @param dn string
  8788. * @param entry array
  8789. */
  8790. function ldap_mod_add($link, $dn, $entry) {}
  8791. /**
  8792. * Delete attribute values
  8793. *
  8794. * @return bool
  8795. * @param link resource
  8796. * @param dn string
  8797. * @param entry array
  8798. */
  8799. function ldap_mod_del($link, $dn, $entry) {}
  8800. /**
  8801. * Replace attribute values with new ones
  8802. *
  8803. * @return bool
  8804. * @param link resource
  8805. * @param dn string
  8806. * @param entry array
  8807. */
  8808. function ldap_mod_replace($link, $dn, $entry) {}
  8809. /**
  8810. * Replace attribute values with new ones
  8811. *
  8812. * @return bool
  8813. * @param link resource
  8814. * @param dn string
  8815. * @param entry array
  8816. */
  8817. function ldap_modify($link, $dn, $entry) {}
  8818. /**
  8819. * Get the next attribute in result
  8820. *
  8821. * @return string
  8822. * @param link resource
  8823. * @param result_entry resource
  8824. * @param ber resource
  8825. */
  8826. function ldap_next_attribute($link, $result_entry, $ber) {}
  8827. /**
  8828. * Get next result entry
  8829. *
  8830. * @return resource
  8831. * @param link resource
  8832. * @param result_entry resource
  8833. */
  8834. function ldap_next_entry($link, $result_entry) {}
  8835. /**
  8836. * Get next reference
  8837. *
  8838. * @return resource
  8839. * @param link resource
  8840. * @param reference_entry resource
  8841. */
  8842. function ldap_next_reference($link, $reference_entry) {}
  8843. /**
  8844. * Extract information from reference entry
  8845. *
  8846. * @return bool
  8847. * @param link resource
  8848. * @param reference_entry resource
  8849. * @param referrals array
  8850. */
  8851. function ldap_parse_reference($link, $reference_entry, $referrals) {}
  8852. /**
  8853. * Extract information from result
  8854. *
  8855. * @return bool
  8856. * @param link resource
  8857. * @param result resource
  8858. * @param errcode int
  8859. * @param matcheddn string
  8860. * @param errmsg string
  8861. * @param referrals array
  8862. */
  8863. function ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals) {}
  8864. /**
  8865. * Read an entry
  8866. *
  8867. * @return resource
  8868. * @param link resource
  8869. * @param base_dn string
  8870. * @param filter string
  8871. * @param attrs array[optional]
  8872. * @param attrsonly int[optional]
  8873. * @param sizelimit int[optional]
  8874. * @param timelimit int[optional]
  8875. * @param deref int[optional]
  8876. */
  8877. function ldap_read($link, $base_dn, $filter, $attrs = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null) {}
  8878. /**
  8879. * Modify the name of an entry
  8880. *
  8881. * @return bool
  8882. * @param link resource
  8883. * @param dn string
  8884. * @param newrdn string
  8885. * @param newparent string
  8886. * @param deleteoldrdn bool
  8887. */
  8888. function ldap_rename($link, $dn, $newrdn, $newparent, $deleteoldrdn) {}
  8889. /**
  8890. * Search LDAP tree under base_dn
  8891. *
  8892. * @return resource
  8893. * @param link resource
  8894. * @param base_dn string
  8895. * @param filter string
  8896. * @param attrs array[optional]
  8897. * @param attrsonly int[optional]
  8898. * @param sizelimit int[optional]
  8899. * @param timelimit int[optional]
  8900. * @param deref int[optional]
  8901. */
  8902. function ldap_search($link, $base_dn, $filter, $attrs = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null) {}
  8903. /**
  8904. * Set the value of various session-wide parameters
  8905. *
  8906. * @return bool
  8907. * @param link resource
  8908. * @param option int
  8909. * @param newval mixed
  8910. */
  8911. function ldap_set_option($link, $option, $newval) {}
  8912. /**
  8913. * Set a callback function to do re-binds on referral chasing.
  8914. *
  8915. * @return bool
  8916. * @param link resource
  8917. * @param callback string
  8918. */
  8919. function ldap_set_rebind_proc($link, $callback) {}
  8920. /**
  8921. * Sort LDAP result entries
  8922. *
  8923. * @return bool
  8924. * @param link resource
  8925. * @param result resource
  8926. * @param sortfilter string
  8927. */
  8928. function ldap_sort($link, $result, $sortfilter) {}
  8929. /**
  8930. * Start TLS
  8931. *
  8932. * @return bool
  8933. * @param link resource
  8934. */
  8935. function ldap_start_tls($link) {}
  8936. /**
  8937. * Translate t61 characters to 8859 characters
  8938. *
  8939. * @return string
  8940. * @param value string
  8941. */
  8942. function ldap_t61_to_8859($value) {}
  8943. /**
  8944. * Unbind from LDAP directory
  8945. *
  8946. * @return bool
  8947. * @param link resource
  8948. */
  8949. function ldap_unbind($link) {}
  8950. /**
  8951. * Cause an intentional memory leak, for testing/debugging purposes
  8952. *
  8953. * @return void
  8954. * @param num_bytes int[optional]
  8955. */
  8956. function leak($num_bytes = 3) {}
  8957. /**
  8958. * Calculate Levenshtein distance between two strings
  8959. *
  8960. * @return int
  8961. * @param str1 string
  8962. * @param str2 string
  8963. */
  8964. function levenshtein($str1, $str2) {}
  8965. /**
  8966. * Create a hard link
  8967. *
  8968. * @return int
  8969. * @param target string
  8970. * @param link string
  8971. */
  8972. function link($target, $link) {}
  8973. /**
  8974. * Returns the st_dev field of the UNIX C stat structure describing the link
  8975. *
  8976. * @return int
  8977. * @param filename string
  8978. */
  8979. function linkinfo($filename) {}
  8980. /**
  8981. * Returns numeric formatting information based on the current locale
  8982. *
  8983. * @return array
  8984. */
  8985. function localeconv() {}
  8986. /**
  8987. * Returns the results of the C system call localtime as an associative array if the associative_array argument is set to 1 other wise it is a regular array
  8988. *
  8989. * @return array
  8990. * @param timestamp int[optional]
  8991. * @param associative_array bool[optional]
  8992. */
  8993. function localtime($timestamp = null, $associative_array = null) {}
  8994. /**
  8995. * Returns the natural logarithm of the number, or the base log if base is specified
  8996. *
  8997. * @return float
  8998. * @param number float
  8999. * @param base float[optional]
  9000. */
  9001. function log($number, $base = null) {}
  9002. /**
  9003. * Returns the base-10 logarithm of the number
  9004. *
  9005. * @return float
  9006. * @param number float
  9007. */
  9008. function log10($number) {}
  9009. /**
  9010. * Returns log(1 + number), computed in a way that accurate even when the value of number is close to zero
  9011. *
  9012. * @return float
  9013. * @param number float
  9014. */
  9015. function log1p($number) {}
  9016. /**
  9017. * Converts an (IPv4) Internet network address into a string in Internet standard dotted format
  9018. *
  9019. * @return string
  9020. * @param proper_address int
  9021. */
  9022. function long2ip($proper_address) {}
  9023. /**
  9024. * Give information about a file or symbolic link
  9025. *
  9026. * @return array
  9027. * @param filename string
  9028. */
  9029. function lstat($filename) {}
  9030. /**
  9031. * Strips whitespace from the beginning of a string
  9032. *
  9033. * @return string
  9034. * @param str string
  9035. * @param character_mask string[optional]
  9036. */
  9037. function ltrim($str, $character_mask = null) {}
  9038. /**
  9039. * Set the current active configuration setting of magic_quotes_runtime and return previous
  9040. *
  9041. * @return bool
  9042. * @param new_setting int
  9043. */
  9044. function magic_quotes_runtime($new_setting) {}
  9045. /**
  9046. * Send an email message
  9047. *
  9048. * @return int
  9049. * @param to string
  9050. * @param subject string
  9051. * @param message string
  9052. * @param additional_headers string[optional]
  9053. * @param additional_parameters string[optional]
  9054. */
  9055. function mail($to, $subject, $message, $additional_headers = null, $additional_parameters = null) {}
  9056. /**
  9057. * Return the highest value in an array or a series of arguments
  9058. *
  9059. * @return mixed
  9060. * @param arg1 mixed
  9061. * @param arg2 mixed[optional]
  9062. * @vararg ... mixed
  9063. */
  9064. function max($arg1, $arg2 = null) {}
  9065. /**
  9066. * Returns a case-folded version of sourcestring
  9067. *
  9068. * @return string
  9069. * @param sourcestring string
  9070. * @param mode int
  9071. * @param encoding string[optional]
  9072. */
  9073. function mb_convert_case($sourcestring, $mode, $encoding = null) {}
  9074. /**
  9075. * Returns converted string in desired encoding
  9076. *
  9077. * @return string
  9078. * @param str string
  9079. * @param to_encoding string
  9080. * @param from_encoding mixed[optional]
  9081. */
  9082. function mb_convert_encoding($str, $to_encoding, $from_encoding = null) {}
  9083. /**
  9084. * Conversion between full-width character and half-width character (Japanese)
  9085. *
  9086. * @return string
  9087. * @param str string
  9088. * @param option string[optional]
  9089. * @param encoding string[optional]
  9090. */
  9091. function mb_convert_kana($str, $option = null, $encoding = null) {}
  9092. /**
  9093. * Converts the string resource in variables to desired encoding
  9094. *
  9095. * @return string
  9096. * @param to_encoding string
  9097. * @param from_encoding mixed
  9098. * @vararg ... mixed
  9099. */
  9100. function mb_convert_variables($to_encoding, $from_encoding) {}
  9101. /**
  9102. * Decodes the MIME "encoded-word" in the string
  9103. *
  9104. * @return string
  9105. * @param string string
  9106. */
  9107. function mb_decode_mimeheader($string) {}
  9108. /**
  9109. * Converts HTML numeric entities to character code
  9110. *
  9111. * @return string
  9112. * @param string string
  9113. * @param convmap array
  9114. * @param encoding string[optional]
  9115. */
  9116. function mb_decode_numericentity($string, $convmap, $encoding = null) {}
  9117. /**
  9118. * Encodings of the given string is returned (as a string)
  9119. *
  9120. * @return string
  9121. * @param str string
  9122. * @param encoding_list mixed[optional]
  9123. */
  9124. function mb_detect_encoding($str, $encoding_list = null) {}
  9125. /**
  9126. * Sets the current detect_order or Return the current detect_order as a array
  9127. *
  9128. * @return bool|array
  9129. * @param encoding_list mixed[optional]
  9130. */
  9131. function mb_detect_order($encoding_list = null) {}
  9132. /**
  9133. * Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?=
  9134. *
  9135. * @return string
  9136. * @param str string
  9137. * @param charset string[optional]
  9138. * @param transfer_encoding string[optional]
  9139. * @param linefeed string[optional]
  9140. */
  9141. function mb_encode_mimeheader($str, $charset = null, $transfer_encoding = null, $linefeed = null) {}
  9142. /**
  9143. * Converts specified characters to HTML numeric entities
  9144. *
  9145. * @return string
  9146. * @param string string
  9147. * @param convmap array
  9148. * @param encoding string[optional]
  9149. */
  9150. function mb_encode_numericentity($string, $convmap, $encoding = null) {}
  9151. /**
  9152. * Regular expression match for multibyte string
  9153. *
  9154. * @return int
  9155. * @param pattern string
  9156. * @param string string
  9157. * @param registers array[optional]
  9158. */
  9159. function mb_ereg($pattern, $string, $registers = null) {}
  9160. /**
  9161. * Regular expression match for multibyte string
  9162. *
  9163. * @return bool
  9164. * @param pattern string
  9165. * @param string string
  9166. * @param option string[optional]
  9167. */
  9168. function mb_ereg_match($pattern, $string, $option = null) {}
  9169. /**
  9170. * Replace regular expression for multibyte string
  9171. *
  9172. * @return string
  9173. * @param pattern string
  9174. * @param replacement string
  9175. * @param string string
  9176. * @param option string[optional]
  9177. */
  9178. function mb_ereg_replace($pattern, $replacement, $string, $option = null) {}
  9179. /**
  9180. * Regular expression search for multibyte string
  9181. *
  9182. * @return bool
  9183. * @param pattern string[optional]
  9184. * @param option string
  9185. */
  9186. function mb_ereg_search($pattern = null, $option) {}
  9187. /**
  9188. * Get search start position
  9189. *
  9190. * @return int
  9191. */
  9192. function mb_ereg_search_getpos() {}
  9193. /**
  9194. * Get matched substring of the last time
  9195. *
  9196. * @return array
  9197. */
  9198. function mb_ereg_search_getregs() {}
  9199. /**
  9200. * Initialize string and regular expression for search.
  9201. *
  9202. * @return bool
  9203. * @param string string
  9204. * @param pattern string[optional]
  9205. * @param option string
  9206. */
  9207. function mb_ereg_search_init($string, $pattern = null, $option) {}
  9208. /**
  9209. * Regular expression search for multibyte string
  9210. *
  9211. * @return array
  9212. * @param pattern string[optional]
  9213. * @param option string
  9214. */
  9215. function mb_ereg_search_pos($pattern = null, $option) {}
  9216. /**
  9217. * Regular expression search for multibyte string
  9218. *
  9219. * @return array
  9220. * @param pattern string[optional]
  9221. * @param option string
  9222. */
  9223. function mb_ereg_search_regs($pattern = null, $option) {}
  9224. /**
  9225. * Set search start position
  9226. *
  9227. * @return bool
  9228. * @param position int
  9229. */
  9230. function mb_ereg_search_setpos($position) {}
  9231. /**
  9232. * Case-insensitive regular expression match for multibyte string
  9233. *
  9234. * @return int
  9235. * @param pattern string
  9236. * @param string string
  9237. * @param registers array[optional]
  9238. */
  9239. function mb_eregi($pattern, $string, $registers = null) {}
  9240. /**
  9241. * Case insensitive replace regular expression for multibyte string
  9242. *
  9243. * @return string
  9244. * @param pattern string
  9245. * @param replacement string
  9246. * @param string string
  9247. */
  9248. function mb_eregi_replace($pattern, $replacement, $string) {}
  9249. /**
  9250. * Returns the current settings of mbstring
  9251. *
  9252. * @return string
  9253. * @param type string[optional]
  9254. */
  9255. function mb_get_info($type = null) {}
  9256. /**
  9257. * Returns the input encoding
  9258. *
  9259. * @return mixed
  9260. * @param type string[optional]
  9261. */
  9262. function mb_http_input($type = null) {}
  9263. /**
  9264. * Sets the current output_encoding or returns the current output_encoding as a string
  9265. *
  9266. * @return string
  9267. * @param encoding string[optional]
  9268. */
  9269. function mb_http_output($encoding = null) {}
  9270. /**
  9271. * Sets the current internal encoding or Returns the current internal encoding as a string
  9272. *
  9273. * @return string
  9274. * @param encoding string[optional]
  9275. */
  9276. function mb_internal_encoding($encoding = null) {}
  9277. /**
  9278. * Sets the current language or Returns the current language as a string
  9279. *
  9280. * @return string
  9281. * @param language string[optional]
  9282. */
  9283. function mb_language($language = null) {}
  9284. /**
  9285. * Returns string in output buffer converted to the http_output encoding
  9286. *
  9287. * @return string
  9288. * @param contents string
  9289. * @param status int
  9290. */
  9291. function mb_output_handler($contents, $status) {}
  9292. /**
  9293. * Parses GET/POST/COOKIE data and sets global variables
  9294. *
  9295. * @return bool
  9296. * @param encoded_string string
  9297. * @param result array[optional]
  9298. */
  9299. function mb_parse_str($encoded_string, $result = null) {}
  9300. /**
  9301. * Return the preferred MIME name (charset) as a string
  9302. *
  9303. * @return string
  9304. * @param encoding string
  9305. */
  9306. function mb_preferred_mime_name($encoding) {}
  9307. /**
  9308. * Returns the current encoding for regex as a string.
  9309. *
  9310. * @return string
  9311. * @param encoding string[optional]
  9312. */
  9313. function mb_regex_encoding($encoding = null) {}
  9314. /**
  9315. * Set or get the default options for mbregex functions
  9316. *
  9317. * @return string
  9318. * @param options string[optional]
  9319. */
  9320. function mb_regex_set_options($options = null) {}
  9321. /**
  9322. *
  9323. *
  9324. * @return int
  9325. * @param to string
  9326. * @param subject string
  9327. * @param message string
  9328. * @param additional_headers string[optional]
  9329. * @param additional_parameters string[optional]
  9330. */
  9331. function mb_send_mail($to, $subject, $message, $additional_headers = null, $additional_parameters = null) {}
  9332. /**
  9333. * split multibyte string into array by regular expression
  9334. *
  9335. * @return array
  9336. * @param pattern string
  9337. * @param string string
  9338. * @param limit int[optional]
  9339. */
  9340. function mb_split($pattern, $string, $limit = null) {}
  9341. /**
  9342. * Returns part of a string
  9343. *
  9344. * @return string
  9345. * @param str string
  9346. * @param start int
  9347. * @param length int[optional]
  9348. * @param encoding string[optional]
  9349. */
  9350. function mb_strcut($str, $start, $length = null, $encoding = null) {}
  9351. /**
  9352. * Trim the string in terminal width
  9353. *
  9354. * @return string
  9355. * @param str string
  9356. * @param start int
  9357. * @param width int
  9358. * @param trimmarker string[optional]
  9359. * @param encoding string[optional]
  9360. */
  9361. function mb_strimwidth($str, $start, $width, $trimmarker = null, $encoding = null) {}
  9362. /**
  9363. * Get character numbers of a string
  9364. *
  9365. * @return int
  9366. * @param str string
  9367. * @param encoding string[optional]
  9368. */
  9369. function mb_strlen($str, $encoding = null) {}
  9370. /**
  9371. * Find position of first occurrence of a string within another
  9372. *
  9373. * @return int
  9374. * @param haystack string
  9375. * @param needle string
  9376. * @param offset int[optional]
  9377. * @param encoding string[optional]
  9378. */
  9379. function mb_strpos($haystack, $needle, $offset = null, $encoding = null) {}
  9380. /**
  9381. * Find the last occurrence of a character in a string within another
  9382. *
  9383. * @return int
  9384. * @param haystack string
  9385. * @param needle string
  9386. * @param encoding string[optional]
  9387. */
  9388. function mb_strrpos($haystack, $needle, $encoding = null) {}
  9389. /**
  9390. *
  9391. *
  9392. * @return string
  9393. * @param sourcestring string
  9394. * @param encoding string[optional]
  9395. */
  9396. function mb_strtolower($sourcestring, $encoding = null) {}
  9397. /**
  9398. *
  9399. *
  9400. * @return string
  9401. * @param sourcestring string
  9402. * @param encoding string[optional]
  9403. */
  9404. function mb_strtoupper($sourcestring, $encoding = null) {}
  9405. /**
  9406. * Gets terminal width of a string
  9407. *
  9408. * @return int
  9409. * @param str string
  9410. * @param encoding string[optional]
  9411. */
  9412. function mb_strwidth($str, $encoding = null) {}
  9413. /**
  9414. * Sets the current substitute_character or returns the current substitute_character
  9415. *
  9416. * @return mixed
  9417. * @param substchar mixed[optional]
  9418. */
  9419. function mb_substitute_character($substchar = null) {}
  9420. /**
  9421. * Returns part of a string
  9422. *
  9423. * @return string
  9424. * @param str string
  9425. * @param start int
  9426. * @param length int[optional]
  9427. * @param encoding string[optional]
  9428. */
  9429. function mb_substr($str, $start, $length = null, $encoding = null) {}
  9430. /**
  9431. * Count the number of substring occurrences
  9432. *
  9433. * @return int
  9434. * @param haystack string
  9435. * @param needle string
  9436. * @param encoding string[optional]
  9437. */
  9438. function mb_substr_count($haystack, $needle, $encoding = null) {}
  9439. /**
  9440. * Regular expression match for multibyte string
  9441. *
  9442. * @return int
  9443. * @param pattern string
  9444. * @param string string
  9445. * @param registers array[optional]
  9446. */
  9447. function mbereg($pattern, $string, $registers = null) {}
  9448. /**
  9449. * Regular expression match for multibyte string
  9450. *
  9451. * @return bool
  9452. * @param pattern string
  9453. * @param string string
  9454. * @param option string[optional]
  9455. */
  9456. function mbereg_match($pattern, $string, $option = null) {}
  9457. /**
  9458. * Replace regular expression for multibyte string
  9459. *
  9460. * @return string
  9461. * @param pattern string
  9462. * @param replacement string
  9463. * @param string string
  9464. * @param option string[optional]
  9465. */
  9466. function mbereg_replace($pattern, $replacement, $string, $option = null) {}
  9467. /**
  9468. * Regular expression search for multibyte string
  9469. *
  9470. * @return bool
  9471. * @param pattern string[optional]
  9472. * @param option string
  9473. */
  9474. function mbereg_search($pattern = null, $option) {}
  9475. /**
  9476. * Get search start position
  9477. *
  9478. * @return int
  9479. */
  9480. function mbereg_search_getpos() {}
  9481. /**
  9482. * Get matched substring of the last time
  9483. *
  9484. * @return array
  9485. */
  9486. function mbereg_search_getregs() {}
  9487. /**
  9488. * Initialize string and regular expression for search.
  9489. *
  9490. * @return bool
  9491. * @param string string
  9492. * @param pattern string[optional]
  9493. * @param option string
  9494. */
  9495. function mbereg_search_init($string, $pattern = null, $option) {}
  9496. /**
  9497. * Regular expression search for multibyte string
  9498. *
  9499. * @return array
  9500. * @param pattern string[optional]
  9501. * @param option string
  9502. */
  9503. function mbereg_search_pos($pattern = null, $option) {}
  9504. /**
  9505. * Regular expression search for multibyte string
  9506. *
  9507. * @return array
  9508. * @param pattern string[optional]
  9509. * @param option string
  9510. */
  9511. function mbereg_search_regs($pattern = null, $option) {}
  9512. /**
  9513. * Set search start position
  9514. *
  9515. * @return bool
  9516. * @param position int
  9517. */
  9518. function mbereg_search_setpos($position) {}
  9519. /**
  9520. * Case-insensitive regular expression match for multibyte string
  9521. *
  9522. * @return int
  9523. * @param pattern string
  9524. * @param string string
  9525. * @param registers array[optional]
  9526. */
  9527. function mberegi($pattern, $string, $registers = null) {}
  9528. /**
  9529. * Case insensitive replace regular expression for multibyte string
  9530. *
  9531. * @return string
  9532. * @param pattern string
  9533. * @param replacement string
  9534. * @param string string
  9535. */
  9536. function mberegi_replace($pattern, $replacement, $string) {}
  9537. /**
  9538. * Returns the current encoding for regex as a string.
  9539. *
  9540. * @return string
  9541. * @param encoding string[optional]
  9542. */
  9543. function mbregex_encoding($encoding = null) {}
  9544. /**
  9545. * split multibyte string into array by regular expression
  9546. *
  9547. * @return array
  9548. * @param pattern string
  9549. * @param string string
  9550. * @param limit int[optional]
  9551. */
  9552. function mbsplit($pattern, $string, $limit = null) {}
  9553. /**
  9554. * Returns part of a string
  9555. *
  9556. * @return string
  9557. * @param str string
  9558. * @param start int
  9559. * @param length int[optional]
  9560. * @param encoding string[optional]
  9561. */
  9562. function mbstrcut($str, $start, $length = null, $encoding = null) {}
  9563. /**
  9564. * Get character numbers of a string
  9565. *
  9566. * @return int
  9567. * @param str string
  9568. * @param encoding string[optional]
  9569. */
  9570. function mbstrlen($str, $encoding = null) {}
  9571. /**
  9572. * Find position of first occurrence of a string within another
  9573. *
  9574. * @return int
  9575. * @param haystack string
  9576. * @param needle string
  9577. * @param offset int[optional]
  9578. * @param encoding string[optional]
  9579. */
  9580. function mbstrpos($haystack, $needle, $offset = null, $encoding = null) {}
  9581. /**
  9582. * Find the last occurrence of a character in a string within another
  9583. *
  9584. * @return int
  9585. * @param haystack string
  9586. * @param needle string
  9587. * @param encoding string[optional]
  9588. */
  9589. function mbstrrpos($haystack, $needle, $encoding = null) {}
  9590. /**
  9591. * Returns part of a string
  9592. *
  9593. * @return string
  9594. * @param str string
  9595. * @param start int
  9596. * @param length int[optional]
  9597. * @param encoding string[optional]
  9598. */
  9599. function mbsubstr($str, $start, $length = null, $encoding = null) {}
  9600. /**
  9601. * Append a new event to the calendar stream
  9602. *
  9603. * @return string
  9604. * @param stream_id int
  9605. */
  9606. function mcal_append_event($stream_id) {}
  9607. /**
  9608. * Close an MCAL stream
  9609. *
  9610. * @return int
  9611. * @param stream_id int
  9612. * @param options int[optional]
  9613. */
  9614. function mcal_close($stream_id, $options = null) {}
  9615. /**
  9616. * Create a new calendar
  9617. *
  9618. * @return string
  9619. * @param stream_id int
  9620. * @param calendar string
  9621. */
  9622. function mcal_create_calendar($stream_id, $calendar) {}
  9623. /**
  9624. * Returns <0, 0, >0 if a<b, a==b, a>b respectively
  9625. *
  9626. * @return int
  9627. * @param ayear int
  9628. * @param amonth int
  9629. * @param aday int
  9630. * @param byear int
  9631. * @param bmonth int
  9632. * @param bday int
  9633. */
  9634. function mcal_date_compare($ayear, $amonth, $aday, $byear, $bmonth, $bday) {}
  9635. /**
  9636. * Returns true if the date is a valid date
  9637. *
  9638. * @return bool
  9639. * @param year int
  9640. * @param month int
  9641. * @param day int
  9642. */
  9643. function mcal_date_valid($year, $month, $day) {}
  9644. /**
  9645. * Returns the day of the week of the given date
  9646. *
  9647. * @return int
  9648. * @param year int
  9649. * @param month int
  9650. * @param day int
  9651. */
  9652. function mcal_day_of_week($year, $month, $day) {}
  9653. /**
  9654. * Returns the day of the year of the given date
  9655. *
  9656. * @return int
  9657. * @param year int
  9658. * @param month int
  9659. * @param day int
  9660. */
  9661. function mcal_day_of_year($year, $month, $day) {}
  9662. /**
  9663. * Returns the number of days in the given month, needs to know if the year is a leap year or not
  9664. *
  9665. * @return int
  9666. * @param month int
  9667. * @param leap_year bool
  9668. */
  9669. function mcal_days_in_month($month, $leap_year) {}
  9670. /**
  9671. * Delete calendar
  9672. *
  9673. * @return string
  9674. * @param stream_id int
  9675. * @param calendar string
  9676. */
  9677. function mcal_delete_calendar($stream_id, $calendar) {}
  9678. /**
  9679. * Delete an event
  9680. *
  9681. * @return string
  9682. * @param stream_id int
  9683. * @param event_id int
  9684. */
  9685. function mcal_delete_event($stream_id, $event_id) {}
  9686. /**
  9687. * Add an attribute and value to an event
  9688. *
  9689. * @return string
  9690. * @param stream_id int
  9691. * @param attribute string
  9692. * @param value string
  9693. */
  9694. function mcal_event_add_attribute($stream_id, $attribute, $value) {}
  9695. /**
  9696. * Initialize a streams global event
  9697. *
  9698. * @return int
  9699. * @param stream_id int
  9700. */
  9701. function mcal_event_init($stream_id) {}
  9702. /**
  9703. * Add an alarm to the streams global event
  9704. *
  9705. * @return int
  9706. * @param stream_id int
  9707. * @param alarm int
  9708. */
  9709. function mcal_event_set_alarm($stream_id, $alarm) {}
  9710. /**
  9711. * Attach a category to an event
  9712. *
  9713. * @return string
  9714. * @param stream_id int
  9715. * @param category string
  9716. */
  9717. function mcal_event_set_category($stream_id, $category) {}
  9718. /**
  9719. * Add an class to the streams global event
  9720. *
  9721. * @return int
  9722. * @param stream_id int
  9723. * @param class int
  9724. */
  9725. function mcal_event_set_class($stream_id, $class) {}
  9726. /**
  9727. * Attach a description to an event
  9728. *
  9729. * @return string
  9730. * @param stream_id int
  9731. * @param description string
  9732. */
  9733. function mcal_event_set_description($stream_id, $description) {}
  9734. /**
  9735. * Attach an end datetime to an event
  9736. *
  9737. * @return string
  9738. * @param stream_id int
  9739. * @param year int
  9740. * @param month int
  9741. * @param day int
  9742. * @param hour int[optional]
  9743. * @param min int
  9744. * @param sec int
  9745. */
  9746. function mcal_event_set_end($stream_id, $year, $month, $day, $hour = null, $min, $sec) {}
  9747. /**
  9748. * Create a daily recurrence
  9749. *
  9750. * @return string
  9751. * @param stream_id int
  9752. * @param year int
  9753. * @param month int
  9754. * @param day int
  9755. * @param interval int
  9756. */
  9757. function mcal_event_set_recur_daily($stream_id, $year, $month, $day, $interval) {}
  9758. /**
  9759. * Create a monthly by day recurrence
  9760. *
  9761. * @return string
  9762. * @param stream_id int
  9763. * @param year int
  9764. * @param month int
  9765. * @param day int
  9766. * @param interval int
  9767. */
  9768. function mcal_event_set_recur_monthly_mday($stream_id, $year, $month, $day, $interval) {}
  9769. /**
  9770. * Create a monthly by week recurrence
  9771. *
  9772. * @return string
  9773. * @param stream_id int
  9774. * @param year int
  9775. * @param month int
  9776. * @param day int
  9777. * @param interval int
  9778. */
  9779. function mcal_event_set_recur_monthly_wday($stream_id, $year, $month, $day, $interval) {}
  9780. /**
  9781. * Create a daily recurrence
  9782. *
  9783. * @return string
  9784. * @param stream_id int
  9785. */
  9786. function mcal_event_set_recur_none($stream_id) {}
  9787. /**
  9788. * Create a weekly recurrence
  9789. *
  9790. * @return string
  9791. * @param stream_id int
  9792. * @param year int
  9793. * @param month int
  9794. * @param day int
  9795. * @param interval int
  9796. * @param weekdays int
  9797. */
  9798. function mcal_event_set_recur_weekly($stream_id, $year, $month, $day, $interval, $weekdays) {}
  9799. /**
  9800. * Create a yearly recurrence
  9801. *
  9802. * @return string
  9803. * @param stream_id int
  9804. * @param year int
  9805. * @param month int
  9806. * @param day int
  9807. * @param interval int
  9808. */
  9809. function mcal_event_set_recur_yearly($stream_id, $year, $month, $day, $interval) {}
  9810. /**
  9811. * Attach a start datetime to an event
  9812. *
  9813. * @return string
  9814. * @param stream_id int
  9815. * @param year int
  9816. * @param month int
  9817. * @param day int
  9818. * @param hour int[optional]
  9819. * @param min int
  9820. * @param sec int
  9821. */
  9822. function mcal_event_set_start($stream_id, $year, $month, $day, $hour = null, $min, $sec) {}
  9823. /**
  9824. * Attach a title to an event
  9825. *
  9826. * @return string
  9827. * @param stream_id int
  9828. * @param title string
  9829. */
  9830. function mcal_event_set_title($stream_id, $title) {}
  9831. /**
  9832. * Delete all events marked for deletion
  9833. *
  9834. * @return int
  9835. * @param stream_id int
  9836. */
  9837. function mcal_expunge($stream_id) {}
  9838. /**
  9839. * Fetch the current event stored in the stream's event structure
  9840. *
  9841. * @return object
  9842. * @param stream_id int
  9843. */
  9844. function mcal_fetch_current_stream_event($stream_id) {}
  9845. /**
  9846. * Fetch an event
  9847. *
  9848. * @return int
  9849. * @param stream_id int
  9850. * @param eventid int
  9851. * @param options int[optional]
  9852. */
  9853. function mcal_fetch_event($stream_id, $eventid, $options = null) {}
  9854. /**
  9855. * Returns true if year is a leap year, false if not
  9856. *
  9857. * @return bool
  9858. * @param year int
  9859. */
  9860. function mcal_is_leap_year($year) {}
  9861. /**
  9862. * List alarms for a given time
  9863. *
  9864. * @return bool
  9865. * @param stream_id int
  9866. * @param year int
  9867. * @param month int
  9868. * @param day int
  9869. * @param hour int
  9870. * @param min int
  9871. * @param sec int
  9872. */
  9873. function mcal_list_alarms($stream_id, $year, $month, $day, $hour, $min, $sec) {}
  9874. /**
  9875. * Returns list of UIDs for that day or range of days
  9876. *
  9877. * @return array
  9878. * @param stream_id int
  9879. * @param begindate object
  9880. * @param enddate object[optional]
  9881. */
  9882. function mcal_list_events($stream_id, $begindate, $enddate = null) {}
  9883. /**
  9884. * Returns an object filled with the next date the event occurs, on or after the supplied date. Returns empty date field if event does not occur or something is invalid.
  9885. *
  9886. * @return object
  9887. * @param stream_id int
  9888. * @param weekstart int
  9889. * @param next array
  9890. */
  9891. function mcal_next_recurrence($stream_id, $weekstart, $next) {}
  9892. /**
  9893. * Open an MCAL stream to a calendar
  9894. *
  9895. * @return int
  9896. * @param calendar string
  9897. * @param user string
  9898. * @param password string
  9899. * @param options int[optional]
  9900. */
  9901. function mcal_open($calendar, $user, $password, $options = null) {}
  9902. /**
  9903. * Open a persistent MCAL stream to a calendar
  9904. *
  9905. * @return string
  9906. * @param calendar string
  9907. * @param user string
  9908. * @param password string
  9909. * @param options int[optional]
  9910. */
  9911. function mcal_popen($calendar, $user, $password, $options = null) {}
  9912. /**
  9913. * Rename a calendar
  9914. *
  9915. * @return string
  9916. * @param stream_id int
  9917. * @param src_calendar string
  9918. * @param dest_calendar string
  9919. */
  9920. function mcal_rename_calendar($stream_id, $src_calendar, $dest_calendar) {}
  9921. /**
  9922. * Reopen MCAL stream to a new calendar
  9923. *
  9924. * @return int
  9925. * @param stream_id int
  9926. * @param calendar string
  9927. * @param options int[optional]
  9928. */
  9929. function mcal_reopen($stream_id, $calendar, $options = null) {}
  9930. /**
  9931. * Snooze an alarm
  9932. *
  9933. * @return string
  9934. * @param stream_id int
  9935. * @param uid int
  9936. */
  9937. function mcal_snooze($stream_id, $uid) {}
  9938. /**
  9939. * Store changes to an event
  9940. *
  9941. * @return string
  9942. * @param stream_id int
  9943. */
  9944. function mcal_store_event($stream_id) {}
  9945. /**
  9946. * Returns true if the time is a valid time
  9947. *
  9948. * @return bool
  9949. * @param hour int
  9950. * @param min int
  9951. * @param sec int
  9952. */
  9953. function mcal_time_valid($hour, $min, $sec) {}
  9954. /**
  9955. * Returns the week number of the given date
  9956. *
  9957. * @return int
  9958. * @param day int
  9959. * @param month int
  9960. * @param year int
  9961. */
  9962. function mcal_week_of_year($day, $month, $year) {}
  9963. /**
  9964. * CBC crypt/decrypt data using key key with cipher cipher using optional iv
  9965. *
  9966. * @return string
  9967. * @param cipher int
  9968. * @param key string
  9969. * @param data string
  9970. * @param mode int
  9971. * @param iv string[optional]
  9972. */
  9973. function mcrypt_cbc($cipher, $key, $data, $mode, $iv = null) {}
  9974. /**
  9975. * CFB crypt/decrypt data using key key with cipher cipher starting with iv
  9976. *
  9977. * @return string
  9978. * @param cipher int
  9979. * @param key string
  9980. * @param data string
  9981. * @param mode int
  9982. * @param iv string
  9983. */
  9984. function mcrypt_cfb($cipher, $key, $data, $mode, $iv) {}
  9985. /**
  9986. * Create an initialization vector (IV)
  9987. *
  9988. * @return string
  9989. * @param size int
  9990. * @param source int
  9991. */
  9992. function mcrypt_create_iv($size, $source) {}
  9993. /**
  9994. * OFB crypt/decrypt data using key key with cipher cipher starting with iv
  9995. *
  9996. * @return string
  9997. * @param cipher string
  9998. * @param key string
  9999. * @param data string
  10000. * @param mode string
  10001. * @param iv string
  10002. */
  10003. function mcrypt_decrypt($cipher, $key, $data, $mode, $iv) {}
  10004. /**
  10005. * ECB crypt/decrypt data using key key with cipher cipher
  10006. *
  10007. * @return string
  10008. * @param cipher int
  10009. * @param key string
  10010. * @param data string
  10011. * @param mode int
  10012. */
  10013. function mcrypt_ecb($cipher, $key, $data, $mode) {}
  10014. /**
  10015. * Returns the name of the algorithm specified by the descriptor td
  10016. *
  10017. * @return string
  10018. * @param td resource
  10019. */
  10020. function mcrypt_enc_get_algorithms_name($td) {}
  10021. /**
  10022. * Returns the block size of the cipher specified by the descriptor td
  10023. *
  10024. * @return int
  10025. * @param td resource
  10026. */
  10027. function mcrypt_enc_get_block_size($td) {}
  10028. /**
  10029. * Returns the size of the IV in bytes of the algorithm specified by the descriptor td
  10030. *
  10031. * @return int
  10032. * @param td resource
  10033. */
  10034. function mcrypt_enc_get_iv_size($td) {}
  10035. /**
  10036. * Returns the maximum supported key size in bytes of the algorithm specified by the descriptor td
  10037. *
  10038. * @return int
  10039. * @param td resource
  10040. */
  10041. function mcrypt_enc_get_key_size($td) {}
  10042. /**
  10043. * Returns the name of the mode specified by the descriptor td
  10044. *
  10045. * @return string
  10046. * @param td resource
  10047. */
  10048. function mcrypt_enc_get_modes_name($td) {}
  10049. /**
  10050. * This function decrypts the crypttext
  10051. *
  10052. * @return array
  10053. * @param td resource
  10054. */
  10055. function mcrypt_enc_get_supported_key_sizes($td) {}
  10056. /**
  10057. * Returns TRUE if the alrogithm is a block algorithms
  10058. *
  10059. * @return bool
  10060. * @param td resource
  10061. */
  10062. function mcrypt_enc_is_block_algorithm($td) {}
  10063. /**
  10064. * Returns TRUE if the mode is for use with block algorithms
  10065. *
  10066. * @return bool
  10067. * @param td resource
  10068. */
  10069. function mcrypt_enc_is_block_algorithm_mode($td) {}
  10070. /**
  10071. * Returns TRUE if the mode outputs blocks
  10072. *
  10073. * @return bool
  10074. * @param td resource
  10075. */
  10076. function mcrypt_enc_is_block_mode($td) {}
  10077. /**
  10078. * This function runs the self test on the algorithm specified by the descriptor td
  10079. *
  10080. * @return int
  10081. * @param td resource
  10082. */
  10083. function mcrypt_enc_self_test($td) {}
  10084. /**
  10085. * OFB crypt/decrypt data using key key with cipher cipher starting with iv
  10086. *
  10087. * @return string
  10088. * @param cipher string
  10089. * @param key string
  10090. * @param data string
  10091. * @param mode string
  10092. * @param iv string
  10093. */
  10094. function mcrypt_encrypt($cipher, $key, $data, $mode, $iv) {}
  10095. /**
  10096. * This function encrypts the plaintext
  10097. *
  10098. * @return string
  10099. * @param td resource
  10100. * @param data string
  10101. */
  10102. function mcrypt_generic($td, $data) {}
  10103. /**
  10104. * This function terminates encrypt specified by the descriptor td
  10105. *
  10106. * @return bool
  10107. * @param td resource
  10108. */
  10109. function mcrypt_generic_deinit($td) {}
  10110. /**
  10111. * This function terminates encrypt specified by the descriptor td
  10112. *
  10113. * @return bool
  10114. * @param td resource
  10115. */
  10116. function mcrypt_generic_end($td) {}
  10117. /**
  10118. * This function initializes all buffers for the specific module
  10119. *
  10120. * @return int
  10121. * @param td resource
  10122. * @param key string
  10123. * @param iv string
  10124. */
  10125. function mcrypt_generic_init($td, $key, $iv) {}
  10126. /**
  10127. * Get the block size of cipher
  10128. *
  10129. * @return int
  10130. * @param cipher int
  10131. */
  10132. function mcrypt_get_block_size($cipher) {}
  10133. /**
  10134. * Get the name of cipher
  10135. *
  10136. * @return string
  10137. * @param cipher int
  10138. */
  10139. function mcrypt_get_cipher_name($cipher) {}
  10140. /**
  10141. * Get the IV size of cipher (Usually the same as the blocksize)
  10142. *
  10143. * @return int
  10144. * @param cipher string
  10145. * @param module string
  10146. */
  10147. function mcrypt_get_iv_size($cipher, $module) {}
  10148. /**
  10149. * Get the key size of cipher
  10150. *
  10151. * @return int
  10152. * @param cipher int
  10153. */
  10154. function mcrypt_get_key_size($cipher) {}
  10155. /**
  10156. * List all algorithms in "module_dir"
  10157. *
  10158. * @return array
  10159. * @param lib_dir string[optional]
  10160. */
  10161. function mcrypt_list_algorithms($lib_dir = null) {}
  10162. /**
  10163. * List all modes "module_dir"
  10164. *
  10165. * @return array
  10166. * @param lib_dir string[optional]
  10167. */
  10168. function mcrypt_list_modes($lib_dir = null) {}
  10169. /**
  10170. * Free the descriptor td
  10171. *
  10172. * @return bool
  10173. * @param td resource
  10174. */
  10175. function mcrypt_module_close($td) {}
  10176. /**
  10177. * Returns the block size of the algorithm
  10178. *
  10179. * @return int
  10180. * @param algorithm string
  10181. * @param lib_dir string[optional]
  10182. */
  10183. function mcrypt_module_get_algo_block_size($algorithm, $lib_dir = null) {}
  10184. /**
  10185. * Returns the maximum supported key size of the algorithm
  10186. *
  10187. * @return int
  10188. * @param algorithm string
  10189. * @param lib_dir string[optional]
  10190. */
  10191. function mcrypt_module_get_algo_key_size($algorithm, $lib_dir = null) {}
  10192. /**
  10193. * This function decrypts the crypttext
  10194. *
  10195. * @return array
  10196. * @param algorithm string
  10197. * @param lib_dir string[optional]
  10198. */
  10199. function mcrypt_module_get_supported_key_sizes($algorithm, $lib_dir = null) {}
  10200. /**
  10201. * Returns TRUE if the algorithm is a block algorithm
  10202. *
  10203. * @return bool
  10204. * @param algorithm string
  10205. * @param lib_dir string[optional]
  10206. */
  10207. function mcrypt_module_is_block_algorithm($algorithm, $lib_dir = null) {}
  10208. /**
  10209. * Returns TRUE if the mode is for use with block algorithms
  10210. *
  10211. * @return bool
  10212. * @param mode string
  10213. * @param lib_dir string[optional]
  10214. */
  10215. function mcrypt_module_is_block_algorithm_mode($mode, $lib_dir = null) {}
  10216. /**
  10217. * Returns TRUE if the mode outputs blocks of bytes
  10218. *
  10219. * @return bool
  10220. * @param mode string
  10221. * @param lib_dir string[optional]
  10222. */
  10223. function mcrypt_module_is_block_mode($mode, $lib_dir = null) {}
  10224. /**
  10225. * Opens the module of the algorithm and the mode to be used
  10226. *
  10227. * @return resource
  10228. * @param cipher string
  10229. * @param cipher_directory string
  10230. * @param mode string
  10231. * @param mode_directory string
  10232. */
  10233. function mcrypt_module_open($cipher, $cipher_directory, $mode, $mode_directory) {}
  10234. /**
  10235. * Does a self test of the module "module"
  10236. *
  10237. * @return bool
  10238. * @param algorithm string
  10239. * @param lib_dir string[optional]
  10240. */
  10241. function mcrypt_module_self_test($algorithm, $lib_dir = null) {}
  10242. /**
  10243. * OFB crypt/decrypt data using key key with cipher cipher starting with iv
  10244. *
  10245. * @return string
  10246. * @param cipher int
  10247. * @param key string
  10248. * @param data string
  10249. * @param mode int
  10250. * @param iv string
  10251. */
  10252. function mcrypt_ofb($cipher, $key, $data, $mode, $iv) {}
  10253. /**
  10254. * Add an MCVE user using usersetup structure
  10255. *
  10256. * @return int
  10257. * @param conn resource
  10258. * @param admin_password string
  10259. * @param usersetup int
  10260. */
  10261. function mcve_adduser($conn, $admin_password, $usersetup) {}
  10262. /**
  10263. * Add a value to user configuration structure
  10264. *
  10265. * @return int
  10266. * @param usersetup resource
  10267. * @param argtype int
  10268. * @param argval string
  10269. */
  10270. function mcve_adduserarg($usersetup, $argtype, $argval) {}
  10271. /**
  10272. * Get unsettled batch totals
  10273. *
  10274. * @return int
  10275. * @param conn resource
  10276. * @param username string
  10277. * @param password string
  10278. */
  10279. function mcve_bt($conn, $username, $password) {}
  10280. /**
  10281. * Check to see if a transaction has completed
  10282. *
  10283. * @return int
  10284. * @param conn resource
  10285. * @param identifier int
  10286. */
  10287. function mcve_checkstatus($conn, $identifier) {}
  10288. /**
  10289. * Verify Password
  10290. *
  10291. * @return int
  10292. * @param conn resource
  10293. * @param username string
  10294. * @param password string
  10295. */
  10296. function mcve_chkpwd($conn, $username, $password) {}
  10297. /**
  10298. * Change the system administrator's password
  10299. *
  10300. * @return int
  10301. * @param conn resource
  10302. * @param admin_password string
  10303. * @param new_password string
  10304. */
  10305. function mcve_chngpwd($conn, $admin_password, $new_password) {}
  10306. /**
  10307. * Number of complete authorizations in queue, returning an array of their identifiers
  10308. *
  10309. * @return int
  10310. * @param conn resource
  10311. * @param array int
  10312. */
  10313. function mcve_completeauthorizations($conn, &$array) {}
  10314. /**
  10315. * Establish the connection to MCVE
  10316. *
  10317. * @return int
  10318. * @param conn resource
  10319. */
  10320. function mcve_connect($conn) {}
  10321. /**
  10322. * Get a textual representation of why a connection failed
  10323. *
  10324. * @return string
  10325. * @param conn resource
  10326. */
  10327. function mcve_connectionerror($conn) {}
  10328. /**
  10329. * Delete specified transaction from MCVE_CONN structure
  10330. *
  10331. * @return bool
  10332. * @param conn resource
  10333. * @param identifier int
  10334. */
  10335. function mcve_deleteresponse($conn, $identifier) {}
  10336. /**
  10337. * Delete specified transaction from MCVE_CONN structure
  10338. *
  10339. * @return bool
  10340. * @param conn resource
  10341. * @param identifier int
  10342. */
  10343. function mcve_deletetrans($conn, $identifier) {}
  10344. /**
  10345. * Deallocate data associated with usersetup structure
  10346. *
  10347. * @return void
  10348. * @param usersetup resource
  10349. */
  10350. function mcve_deleteusersetup($usersetup) {}
  10351. /**
  10352. * Delete an MCVE user account
  10353. *
  10354. * @return int
  10355. * @param conn resource
  10356. * @param admin_password string
  10357. * @param username string
  10358. */
  10359. function mcve_deluser($conn, $admin_password, $username) {}
  10360. /**
  10361. * Destroy the connection and MCVE_CONN structure
  10362. *
  10363. * @return void
  10364. * @param conn resource
  10365. */
  10366. function mcve_destroyconn($conn) {}
  10367. /**
  10368. * Free memory associated with IP/SSL connectivity
  10369. *
  10370. * @return void
  10371. */
  10372. function mcve_destroyengine() {}
  10373. /**
  10374. * Disable an active MCVE user account
  10375. *
  10376. * @return int
  10377. * @param conn resource
  10378. * @param admin_password string
  10379. * @param username string
  10380. */
  10381. function mcve_disableuser($conn, $admin_password, $username) {}
  10382. /**
  10383. * Edit MCVE user using usersetup structure
  10384. *
  10385. * @return int
  10386. * @param conn resource
  10387. * @param admin_password string
  10388. * @param usersetup int
  10389. */
  10390. function mcve_edituser($conn, $admin_password, $usersetup) {}
  10391. /**
  10392. * Enable an inactive MCVE user account
  10393. *
  10394. * @return int
  10395. * @param conn resource
  10396. * @param admin_password string
  10397. * @param username string
  10398. */
  10399. function mcve_enableuser($conn, $admin_password, $username) {}
  10400. /**
  10401. * Send a FORCE to MCVE. (typically, a phone-authorization)
  10402. *
  10403. * @return int
  10404. * @param conn resiurce
  10405. * @param username string
  10406. * @param password string
  10407. * @param trackdata string
  10408. * @param account string
  10409. * @param expdate string
  10410. * @param amount float
  10411. * @param authcode string
  10412. * @param comments string
  10413. * @param clerkid string
  10414. * @param stationid string
  10415. * @param ptrannum int
  10416. */
  10417. function mcve_force($conn, $username, $password, $trackdata, $account, $expdate, $amount, $authcode, $comments, $clerkid, $stationid, $ptrannum) {}
  10418. /**
  10419. * Get a specific cell from a comma delimited response by column name
  10420. *
  10421. * @return string
  10422. * @param conn resource
  10423. * @param identifier int
  10424. * @param column string
  10425. * @param row int
  10426. */
  10427. function mcve_getcell($conn, $identifier, $column, $row) {}
  10428. /**
  10429. * Get a specific cell from a comma delimited response by column number
  10430. *
  10431. * @return string
  10432. * @param conn resource
  10433. * @param identifier int
  10434. * @param column int
  10435. * @param row int
  10436. */
  10437. function mcve_getcellbynum($conn, $identifier, $column, $row) {}
  10438. /**
  10439. * Get the RAW comma delimited data returned from MCVE
  10440. *
  10441. * @return string
  10442. * @param conn resource
  10443. * @param identifier int
  10444. */
  10445. function mcve_getcommadelimited($conn, $identifier) {}
  10446. /**
  10447. * Get the name of the column in a comma-delimited response
  10448. *
  10449. * @return string
  10450. * @param conn resource
  10451. * @param identifier int
  10452. * @param column_num int
  10453. */
  10454. function mcve_getheader($conn, $identifier, $column_num) {}
  10455. /**
  10456. * Grab a value from usersetup structure
  10457. *
  10458. * @return string
  10459. * @param usersetup resource
  10460. * @param argtype int
  10461. */
  10462. function mcve_getuserarg($usersetup, $argtype) {}
  10463. /**
  10464. * Get a user response parameter
  10465. *
  10466. * @return string
  10467. * @param conn resource
  10468. * @param identifier long
  10469. * @param key int
  10470. */
  10471. function mcve_getuserparam($conn, $identifier, $key) {}
  10472. /**
  10473. *
  10474. *
  10475. * @return int
  10476. * @param conn resource
  10477. * @param username string
  10478. * @param password string
  10479. * @param type int
  10480. * @param account string
  10481. * @param clerkid string
  10482. * @param stationid string
  10483. * @param comments string
  10484. * @param ptrannum int
  10485. * @param startdate string
  10486. * @param enddate string
  10487. */
  10488. function mcve_gft($conn, $username, $password, $type, $account, $clerkid, $stationid, $comments, $ptrannum, $startdate, $enddate) {}
  10489. /**
  10490. * Audit MCVE for settled transactions
  10491. *
  10492. * @return int
  10493. * @param conn int
  10494. * @param username string
  10495. * @param password string
  10496. * @param type int
  10497. * @param account string
  10498. * @param batch string
  10499. * @param clerkid string
  10500. * @param stationid string
  10501. * @param comments string
  10502. * @param ptrannum int
  10503. * @param startdate string
  10504. * @param enddate string
  10505. */
  10506. function mcve_gl($conn, $username, $password, $type, $account, $batch, $clerkid, $stationid, $comments, $ptrannum, $startdate, $enddate) {}
  10507. /**
  10508. * Audit MCVE for Unsettled Transactions
  10509. *
  10510. * @return int
  10511. * @param conn resource
  10512. * @param username string
  10513. * @param password string
  10514. * @param type int
  10515. * @param account string
  10516. * @param clerkid string
  10517. * @param stationid string
  10518. * @param comments string
  10519. * @param ptrannum int
  10520. * @param startdate string
  10521. * @param enddate string
  10522. */
  10523. function mcve_gut($conn, $username, $password, $type, $account, $clerkid, $stationid, $comments, $ptrannum, $startdate, $enddate) {}
  10524. /**
  10525. * Create and initialize an MCVE_CONN structure
  10526. *
  10527. * @return resource
  10528. */
  10529. function mcve_initconn() {}
  10530. /**
  10531. * Ready the client for IP/SSL Communication
  10532. *
  10533. * @return int
  10534. * @param location string
  10535. */
  10536. function mcve_initengine($location) {}
  10537. /**
  10538. * Initialize structure to store user data
  10539. *
  10540. * @return resource
  10541. */
  10542. function mcve_initusersetup() {}
  10543. /**
  10544. * Checks to see if response is comma delimited
  10545. *
  10546. * @return int
  10547. * @param conn resource
  10548. * @param identifier int
  10549. */
  10550. function mcve_iscommadelimited($conn, $identifier) {}
  10551. /**
  10552. * List statistics for all users on MCVE system
  10553. *
  10554. * @return int
  10555. * @param conn resource
  10556. * @param admin_password string
  10557. */
  10558. function mcve_liststats($conn, $admin_password) {}
  10559. /**
  10560. * List all users on MCVE system
  10561. *
  10562. * @return int
  10563. * @param conn resource
  10564. * @param admin_password string
  10565. */
  10566. function mcve_listusers($conn, $admin_password) {}
  10567. /**
  10568. *
  10569. *
  10570. * @return bool
  10571. * @param conn resource
  10572. * @param secs int
  10573. */
  10574. function mcve_maxconntimeout($conn, $secs) {}
  10575. /**
  10576. * Perform communication with MCVE (send/receive data) Non-blocking
  10577. *
  10578. * @return int
  10579. * @param conn resource
  10580. */
  10581. function mcve_monitor($conn) {}
  10582. /**
  10583. * Number of columns returned in a comma delimited response
  10584. *
  10585. * @return int
  10586. * @param conn resource
  10587. * @param identifier int
  10588. */
  10589. function mcve_numcolumns($conn, $identifier) {}
  10590. /**
  10591. * Number of rows returned in a comma delimited response
  10592. *
  10593. * @return int
  10594. * @param conn resource
  10595. * @param identifier int
  10596. */
  10597. function mcve_numrows($conn, $identifier) {}
  10598. /**
  10599. * Send an OVERRIDE to MCVE
  10600. *
  10601. * @return int
  10602. * @param conn resource
  10603. * @param username string
  10604. * @param password string
  10605. * @param trackdata string
  10606. * @param account string
  10607. * @param expdate string
  10608. * @param amount float
  10609. * @param street string
  10610. * @param zip string
  10611. * @param cv string
  10612. * @param comments string
  10613. * @param clerkid string
  10614. * @param stationid string
  10615. * @param ptrannum int
  10616. */
  10617. function mcve_override($conn, $username, $password, $trackdata, $account, $expdate, $amount, $street, $zip, $cv, $comments, $clerkid, $stationid, $ptrannum) {}
  10618. /**
  10619. * Parse the comma delimited response so mcve_getcell, etc will work
  10620. *
  10621. * @return int
  10622. * @param conn resource
  10623. * @param identifier int
  10624. */
  10625. function mcve_parsecommadelimited($conn, $identifier) {}
  10626. /**
  10627. * Send a ping request to MCVE
  10628. *
  10629. * @return int
  10630. * @param conn resource
  10631. */
  10632. function mcve_ping($conn) {}
  10633. /**
  10634. * Send a PREAUTHORIZATION to MCVE
  10635. *
  10636. * @return int
  10637. * @param conn resource
  10638. * @param username string
  10639. * @param password string
  10640. * @param trackdata string
  10641. * @param account string
  10642. * @param expdate string
  10643. * @param amount float
  10644. * @param street string
  10645. * @param zip string
  10646. * @param cv string
  10647. * @param comments string
  10648. * @param clerkid string
  10649. * @param stationid string
  10650. * @param ptrannum int
  10651. */
  10652. function mcve_preauth($conn, $username, $password, $trackdata, $account, $expdate, $amount, $street, $zip, $cv, $comments, $clerkid, $stationid, $ptrannum) {}
  10653. /**
  10654. * Complete a PREAUTHORIZATION... Ready it for settlement
  10655. *
  10656. * @return int
  10657. * @param conn resource
  10658. * @param username string
  10659. * @param password string
  10660. * @param finalamount float
  10661. * @param sid int
  10662. * @param ptrannum int
  10663. */
  10664. function mcve_preauthcompletion($conn, $username, $password, $finalamount, $sid, $ptrannum) {}
  10665. /**
  10666. * Audit MCVE for a list of transactions in the outgoing queue
  10667. *
  10668. * @return int
  10669. * @param conn resource
  10670. * @param username string
  10671. * @param password string
  10672. * @param clerkid string
  10673. * @param stationid string
  10674. * @param comments string
  10675. * @param ptrannum int
  10676. */
  10677. function mcve_qc($conn, $username, $password, $clerkid, $stationid, $comments, $ptrannum) {}
  10678. /**
  10679. * Get a custom response parameter
  10680. *
  10681. * @return string
  10682. * @param conn resource
  10683. * @param identifier long
  10684. * @param key string
  10685. */
  10686. function mcve_responseparam($conn, $identifier, $key) {}
  10687. /**
  10688. * Issue a RETURN or CREDIT to MCVE
  10689. *
  10690. * @return int
  10691. * @param conn int
  10692. * @param username string
  10693. * @param password string
  10694. * @param trackdata string
  10695. * @param account string
  10696. * @param expdate string
  10697. * @param amount float
  10698. * @param comments string
  10699. * @param clerkid string
  10700. * @param stationid string
  10701. * @param ptrannum int
  10702. */
  10703. function mcve_return($conn, $username, $password, $trackdata, $account, $expdate, $amount, $comments, $clerkid, $stationid, $ptrannum) {}
  10704. /**
  10705. * Grab the exact return code from the transaction
  10706. *
  10707. * @return int
  10708. * @param conn resource
  10709. * @param identifier int
  10710. */
  10711. function mcve_returncode($conn, $identifier) {}
  10712. /**
  10713. * Check to see if the transaction was successful
  10714. *
  10715. * @return int
  10716. * @param conn resource
  10717. * @param identifier int
  10718. */
  10719. function mcve_returnstatus($conn, $identifier) {}
  10720. /**
  10721. * Send a SALE to MCVE
  10722. *
  10723. * @return int
  10724. * @param conn resource
  10725. * @param username string
  10726. * @param password string
  10727. * @param trackdata string
  10728. * @param account string
  10729. * @param expdate string
  10730. * @param amount float
  10731. * @param street string
  10732. * @param zip string
  10733. * @param cv string
  10734. * @param comments string
  10735. * @param clerkid string
  10736. * @param stationid string
  10737. * @param ptrannum int
  10738. */
  10739. function mcve_sale($conn, $username, $password, $trackdata, $account, $expdate, $amount, $street, $zip, $cv, $comments, $clerkid, $stationid, $ptrannum) {}
  10740. /**
  10741. *
  10742. *
  10743. * @return int
  10744. * @param conn resource
  10745. * @param tf int
  10746. */
  10747. function mcve_setblocking($conn, $tf) {}
  10748. /**
  10749. * Set the connection method to Drop-File
  10750. *
  10751. * @return int
  10752. * @param conn resource
  10753. * @param directory string
  10754. */
  10755. function mcve_setdropfile($conn, $directory) {}
  10756. /**
  10757. * Set the connection method to IP
  10758. *
  10759. * @return int
  10760. * @param conn resource
  10761. * @param host string
  10762. * @param port int
  10763. */
  10764. function mcve_setip($conn, $host, $port) {}
  10765. /**
  10766. * Set the connection method to SSL
  10767. *
  10768. * @return int
  10769. * @param conn resource
  10770. * @param host string
  10771. * @param port int
  10772. */
  10773. function mcve_setssl($conn, $host, $port) {}
  10774. /**
  10775. *
  10776. *
  10777. * @return int
  10778. * @param conn resource
  10779. * @param seconds int
  10780. */
  10781. function mcve_settimeout($conn, $seconds) {}
  10782. /**
  10783. * Issue a settlement command to do a batch deposit
  10784. *
  10785. * @return int
  10786. * @param conn resource
  10787. * @param username string
  10788. * @param password string
  10789. * @param batch string
  10790. */
  10791. function mcve_settle($conn, $username, $password, $batch) {}
  10792. /**
  10793. * Get a textual representation of the return_avs
  10794. *
  10795. * @return string
  10796. * @param code string
  10797. */
  10798. function mcve_text_avs($code) {}
  10799. /**
  10800. * Get a textual representation of the return_code
  10801. *
  10802. * @return string
  10803. * @param code string
  10804. */
  10805. function mcve_text_code($code) {}
  10806. /**
  10807. * Get a textual representation of the return_cv
  10808. *
  10809. * @return string
  10810. * @param code int
  10811. */
  10812. function mcve_text_cv($code) {}
  10813. /**
  10814. * Get the authorization number returned for the transaction (alpha-numeric)
  10815. *
  10816. * @return string
  10817. * @param conn resource
  10818. * @param identifier int
  10819. */
  10820. function mcve_transactionauth($conn, $identifier) {}
  10821. /**
  10822. * Get the Address Verification return status
  10823. *
  10824. * @return int
  10825. * @param conn resource
  10826. * @param identifier int
  10827. */
  10828. function mcve_transactionavs($conn, $identifier) {}
  10829. /**
  10830. * Get the batch number associated with the transaction
  10831. *
  10832. * @return int
  10833. * @param conn resource
  10834. * @param identifier int
  10835. */
  10836. function mcve_transactionbatch($conn, $identifier) {}
  10837. /**
  10838. * Get the CVC2/CVV2/CID return status
  10839. *
  10840. * @return int
  10841. * @param conn resource
  10842. * @param identifier int
  10843. */
  10844. function mcve_transactioncv($conn, $identifier) {}
  10845. /**
  10846. *
  10847. *
  10848. * @return int
  10849. * @param conn resource
  10850. * @param identifier int
  10851. */
  10852. function mcve_transactionid($conn, $identifier) {}
  10853. /**
  10854. * Get the ITEM number in the associated batch for this transaction
  10855. *
  10856. * @return int
  10857. * @param conn resource
  10858. * @param identifier int
  10859. */
  10860. function mcve_transactionitem($conn, $identifier) {}
  10861. /**
  10862. * Check to see if outgoing buffer is clear
  10863. *
  10864. * @return int
  10865. * @param conn resource
  10866. */
  10867. function mcve_transactionssent($conn) {}
  10868. /**
  10869. * Get verbiage (text) return from MCVE or processing institution
  10870. *
  10871. * @return string
  10872. * @param conn resource
  10873. * @param identifier int
  10874. */
  10875. function mcve_transactiontext($conn, $identifier) {}
  10876. /**
  10877. * Number of transactions in client-queue
  10878. *
  10879. * @return int
  10880. * @param conn resource
  10881. */
  10882. function mcve_transinqueue($conn) {}
  10883. /**
  10884. * Start a new transaction
  10885. *
  10886. * @return int
  10887. * @param conn resource
  10888. */
  10889. function mcve_transnew($conn) {}
  10890. /**
  10891. * Add a parameter to a transaction
  10892. *
  10893. * @return int
  10894. * @param conn resource
  10895. * @param identifier long
  10896. * @param key int
  10897. * @vararg ...
  10898. */
  10899. function mcve_transparam($conn, $identifier, $key) {}
  10900. /**
  10901. * Finalize and send the transaction
  10902. *
  10903. * @return int
  10904. * @param conn resource
  10905. * @param identifier long
  10906. */
  10907. function mcve_transsend($conn, $identifier) {}
  10908. /**
  10909. * Get a list of all Unsettled batches
  10910. *
  10911. * @return int
  10912. * @param conn resource
  10913. * @param username string
  10914. * @param password string
  10915. */
  10916. function mcve_ub($conn, $username, $password) {}
  10917. /**
  10918. * Wait x microsecs
  10919. *
  10920. * @return int
  10921. * @param microsecs long
  10922. */
  10923. function mcve_uwait($microsecs) {}
  10924. /**
  10925. *
  10926. *
  10927. * @return bool
  10928. * @param conn resource
  10929. * @param tf int
  10930. */
  10931. function mcve_verifyconnection($conn, $tf) {}
  10932. /**
  10933. *
  10934. *
  10935. * @return bool
  10936. * @param conn resource
  10937. * @param tf int
  10938. */
  10939. function mcve_verifysslcert($conn, $tf) {}
  10940. /**
  10941. * VOID a transaction in the settlement queue
  10942. *
  10943. * @return int
  10944. * @param conn resource
  10945. * @param username string
  10946. * @param password string
  10947. * @param sid int
  10948. * @param ptrannum int
  10949. */
  10950. function mcve_void($conn, $username, $password, $sid, $ptrannum) {}
  10951. /**
  10952. * Calculate the md5 hash of a string
  10953. *
  10954. * @return string
  10955. * @param str string
  10956. */
  10957. function md5($str) {}
  10958. /**
  10959. * Calculate the md5 hash of given filename
  10960. *
  10961. * @return string
  10962. * @param filename string
  10963. */
  10964. function md5_file($filename) {}
  10965. /**
  10966. * This function decrypts the plaintext
  10967. *
  10968. * @return string
  10969. * @param td resource
  10970. * @param data string
  10971. */
  10972. function mdecrypt_generic($td, $data) {}
  10973. /**
  10974. * Returns the allocated by PHP memory
  10975. *
  10976. * @return int
  10977. */
  10978. function memory_get_usage() {}
  10979. /**
  10980. * Break english phrases down into their phonemes
  10981. *
  10982. * @return string
  10983. * @param text string
  10984. * @param phones int
  10985. */
  10986. function metaphone($text, $phones) {}
  10987. /**
  10988. * Checks if the class method exists
  10989. *
  10990. * @return bool
  10991. * @param object object
  10992. * @param method string
  10993. */
  10994. function method_exists($object, $method) {}
  10995. /**
  10996. * Hash data with hash
  10997. *
  10998. * @return string
  10999. * @param hash int
  11000. * @param data string
  11001. * @param key string[optional]
  11002. */
  11003. function mhash($hash, $data, $key = null) {}
  11004. /**
  11005. * Gets the number of available hashes
  11006. *
  11007. * @return int
  11008. */
  11009. function mhash_count() {}
  11010. /**
  11011. * Gets the block size of hash
  11012. *
  11013. * @return int
  11014. * @param hash int
  11015. */
  11016. function mhash_get_block_size($hash) {}
  11017. /**
  11018. * Gets the name of hash
  11019. *
  11020. * @return string
  11021. * @param hash int
  11022. */
  11023. function mhash_get_hash_name($hash) {}
  11024. /**
  11025. * Generates a key using hash functions
  11026. *
  11027. * @return string
  11028. * @param hash int
  11029. * @param input_password string
  11030. * @param salt string
  11031. * @param bytes int
  11032. */
  11033. function mhash_keygen_s2k($hash, $input_password, $salt, $bytes) {}
  11034. /**
  11035. * Returns a string containing the current time in seconds and microseconds
  11036. *
  11037. * @return string
  11038. */
  11039. function microtime() {}
  11040. /**
  11041. * Return content-type for file
  11042. *
  11043. * @return string
  11044. * @param filename string
  11045. */
  11046. function mime_content_type($filename) {}
  11047. /**
  11048. * Return the lowest value in an array or a series of arguments
  11049. *
  11050. * @return mixed
  11051. * @param arg1 mixed
  11052. * @param arg2 mixed[optional]
  11053. * @vararg ... mixed
  11054. */
  11055. function min($arg1, $arg2 = null) {}
  11056. /**
  11057. * Set cubic threshold (?)
  11058. *
  11059. * @return void
  11060. * @param threshold int
  11061. */
  11062. function ming_setcubicthreshold($threshold) {}
  11063. /**
  11064. * Set scale (?)
  11065. *
  11066. * @return void
  11067. * @param scale int
  11068. */
  11069. function ming_setscale($scale) {}
  11070. /**
  11071. * Use SWF version (?)
  11072. *
  11073. * @return void
  11074. * @param version int
  11075. */
  11076. function ming_useswfversion($version) {}
  11077. /**
  11078. * Create a directory
  11079. *
  11080. * @return bool
  11081. * @param pathname string
  11082. * @param mode int
  11083. */
  11084. function mkdir($pathname, $mode) {}
  11085. /**
  11086. * Get UNIX timestamp for a date
  11087. *
  11088. * @return int
  11089. * @param hour int
  11090. * @param min int
  11091. * @param sec int
  11092. * @param mon int
  11093. * @param day int
  11094. * @param year int
  11095. */
  11096. function mktime($hour, $min, $sec, $mon, $day, $year) {}
  11097. /**
  11098. * Convert monetary value(s) to string
  11099. *
  11100. * @return string
  11101. * @param format string
  11102. * @param value float
  11103. */
  11104. function money_format($format, $value) {}
  11105. /**
  11106. * Move a file if and only if it was created by an upload
  11107. *
  11108. * @return bool
  11109. * @param path string
  11110. * @param new_path string
  11111. */
  11112. function move_uploaded_file($path, $new_path) {}
  11113. /**
  11114. * Call the plugin function named fn_name
  11115. *
  11116. * @return string
  11117. * @param fn_name string
  11118. * @param param1 string[optional]
  11119. * @vararg ...
  11120. * @param param4 string[optional]
  11121. */
  11122. function msession_call($fn_name, $param1 = null, $param4 = null) {}
  11123. /**
  11124. * Connect to msession sever
  11125. *
  11126. * @return bool
  11127. * @param host string
  11128. * @param port string
  11129. */
  11130. function msession_connect($host, $port) {}
  11131. /**
  11132. * Get session count
  11133. *
  11134. * @return int
  11135. */
  11136. function msession_count() {}
  11137. /**
  11138. * Create a session
  11139. *
  11140. * @return bool
  11141. * @param session string
  11142. */
  11143. function msession_create($session) {}
  11144. /**
  11145. * Destroy a session
  11146. *
  11147. * @return bool
  11148. * @param name string
  11149. */
  11150. function msession_destroy($name) {}
  11151. /**
  11152. * Disconnect from msession server
  11153. *
  11154. * @return void
  11155. */
  11156. function msession_disconnect() {}
  11157. /**
  11158. * Find all sessions with name and value
  11159. *
  11160. * @return array
  11161. * @param name string
  11162. * @param value string
  11163. */
  11164. function msession_find($name, $value) {}
  11165. /**
  11166. * Get value from session
  11167. *
  11168. * @return string
  11169. * @param session string
  11170. * @param name string
  11171. * @param default_value string
  11172. */
  11173. function msession_get($session, $name, $default_value) {}
  11174. /**
  11175. * Get array of msession variables
  11176. *
  11177. * @return array
  11178. * @param session string
  11179. */
  11180. function msession_get_array($session) {}
  11181. /**
  11182. * Get data session unstructured data. (PHP sessions use this)
  11183. *
  11184. * @return string
  11185. * @param session string
  11186. */
  11187. function msession_get_data($session) {}
  11188. /**
  11189. * Increment value in session
  11190. *
  11191. * @return string
  11192. * @param session string
  11193. * @param name string
  11194. */
  11195. function msession_inc($session, $name) {}
  11196. /**
  11197. * List all sessions
  11198. *
  11199. * @return array
  11200. */
  11201. function msession_list() {}
  11202. /**
  11203. * return associative array of value:session for all sessions with a variable named 'name'
  11204. *
  11205. * @return array
  11206. * @param name string
  11207. */
  11208. function msession_listvar($name) {}
  11209. /**
  11210. * Lock a session
  11211. *
  11212. * @return int
  11213. * @param name string
  11214. */
  11215. function msession_lock($name) {}
  11216. /**
  11217. * Call the personality plugin escape function
  11218. *
  11219. * @return string
  11220. * @param session string
  11221. * @param val string
  11222. * @param param string[optional]
  11223. */
  11224. function msession_plugin($session, $val, $param = null) {}
  11225. /**
  11226. * Get random string
  11227. *
  11228. * @return string
  11229. * @param num_chars int
  11230. */
  11231. function msession_randstr($num_chars) {}
  11232. /**
  11233. * Set value in session
  11234. *
  11235. * @return bool
  11236. * @param session string
  11237. * @param name string
  11238. * @param value string
  11239. */
  11240. function msession_set($session, $name, $value) {}
  11241. /**
  11242. * Set msession variables from an array
  11243. *
  11244. * @return bool
  11245. * @param session string
  11246. * @param tuples array
  11247. */
  11248. function msession_set_array($session, $tuples) {}
  11249. /**
  11250. * Set data session unstructured data. (PHP sessions use this)
  11251. *
  11252. * @return bool
  11253. * @param session string
  11254. * @param value string
  11255. */
  11256. function msession_set_data($session, $value) {}
  11257. /**
  11258. * Lock a session
  11259. *
  11260. * @return int
  11261. * @param name string
  11262. */
  11263. function msession_stat($name) {}
  11264. /**
  11265. * Set/get session timeout
  11266. *
  11267. * @return int
  11268. * @param session string
  11269. * @param param int[optional]
  11270. */
  11271. function msession_timeout($session, $param = null) {}
  11272. /**
  11273. * Get uniq id
  11274. *
  11275. * @return string
  11276. * @param num_chars int
  11277. */
  11278. function msession_uniq($num_chars) {}
  11279. /**
  11280. * Unlock a session
  11281. *
  11282. * @return int
  11283. * @param session string
  11284. * @param key int
  11285. */
  11286. function msession_unlock($session, $key) {}
  11287. /**
  11288. * Attach to a message queue
  11289. *
  11290. * @return resource
  11291. * @param key long
  11292. * @param perms long[optional]
  11293. */
  11294. function msg_get_queue($key, $perms = null) {}
  11295. /**
  11296. * Send a message of type msgtype (must be > 0) to a message queue
  11297. *
  11298. * @return mixed
  11299. */
  11300. function msg_receive() {}
  11301. /**
  11302. * Destroy the queue
  11303. *
  11304. * @return bool
  11305. * @param queue resource
  11306. */
  11307. function msg_remove_queue($queue) {}
  11308. /**
  11309. * Send a message of type msgtype (must be > 0) to a message queue
  11310. *
  11311. * @return bool
  11312. * @param queue resource
  11313. * @param msgtype long
  11314. * @param message mixed
  11315. * @param serialize bool[optional]
  11316. * @param blocking bool[optional]
  11317. * @param errorcode long[optional]
  11318. */
  11319. function msg_send($queue, $msgtype, $message, $serialize = true, $blocking = true, $errorcode = null) {}
  11320. /**
  11321. * Set information for a message queue
  11322. *
  11323. * @return array
  11324. * @param queue resource
  11325. * @param data array
  11326. */
  11327. function msg_set_queue($queue, $data) {}
  11328. /**
  11329. * Returns information about a message queue
  11330. *
  11331. * @return array
  11332. * @param queue resource
  11333. */
  11334. function msg_stat_queue($queue) {}
  11335. /**
  11336. * Send an SQL query to mSQL
  11337. *
  11338. * @return int
  11339. * @param database_name string
  11340. * @param query string
  11341. * @param link_identifier int[optional]
  11342. */
  11343. function msql($database_name, $query, $link_identifier = null) {}
  11344. /**
  11345. * Return number of affected rows
  11346. *
  11347. * @return int
  11348. * @param query int
  11349. */
  11350. function msql_affected_rows($query) {}
  11351. /**
  11352. * Close an mSQL connection
  11353. *
  11354. * @return int
  11355. * @param link_identifier int[optional]
  11356. */
  11357. function msql_close($link_identifier = null) {}
  11358. /**
  11359. * Open a connection to an mSQL Server
  11360. *
  11361. * @return int
  11362. * @param hostname string[optional]
  11363. * @param username string[optional]
  11364. * @param password string[optional]
  11365. */
  11366. function msql_connect($hostname = null, $username = null, $password = null) {}
  11367. /**
  11368. * Create an mSQL database
  11369. *
  11370. * @return int
  11371. * @param database_name string
  11372. * @param link_identifier int[optional]
  11373. */
  11374. function msql_create_db($database_name, $link_identifier = null) {}
  11375. /**
  11376. * Create an mSQL database
  11377. *
  11378. * @return int
  11379. * @param database_name string
  11380. * @param link_identifier int[optional]
  11381. */
  11382. function msql_createdb($database_name, $link_identifier = null) {}
  11383. /**
  11384. * Move internal result pointer
  11385. *
  11386. * @return int
  11387. * @param query int
  11388. * @param row_number int
  11389. */
  11390. function msql_data_seek($query, $row_number) {}
  11391. /**
  11392. * Send an SQL query to mSQL
  11393. *
  11394. * @return int
  11395. * @param database_name string
  11396. * @param query string
  11397. * @param link_identifier int[optional]
  11398. */
  11399. function msql_db_query($database_name, $query, $link_identifier = null) {}
  11400. /**
  11401. * Get result data
  11402. *
  11403. * @return int
  11404. * @param query int
  11405. * @param row int
  11406. * @param field mixed[optional]
  11407. */
  11408. function msql_dbname($query, $row, $field = null) {}
  11409. /**
  11410. * Drop (delete) an mSQL database
  11411. *
  11412. * @return int
  11413. * @param database_name string
  11414. * @param link_identifier int[optional]
  11415. */
  11416. function msql_drop_db($database_name, $link_identifier = null) {}
  11417. /**
  11418. * Drop (delete) an mSQL database
  11419. *
  11420. * @return int
  11421. * @param database_name string
  11422. * @param link_identifier int[optional]
  11423. */
  11424. function msql_dropdb($database_name, $link_identifier = null) {}
  11425. /**
  11426. * Returns the text of the error message from previous mSQL operation
  11427. *
  11428. * @return string
  11429. * @param link_identifier int[optional]
  11430. */
  11431. function msql_error($link_identifier = null) {}
  11432. /**
  11433. * Fetch a result row as an associative array
  11434. *
  11435. * @return array
  11436. * @param query int
  11437. * @param result_type int[optional]
  11438. */
  11439. function msql_fetch_array($query, $result_type = null) {}
  11440. /**
  11441. * Get column information from a result and return as an object
  11442. *
  11443. * @return object
  11444. * @param query int
  11445. * @param field_offset int[optional]
  11446. */
  11447. function msql_fetch_field($query, $field_offset = null) {}
  11448. /**
  11449. * Fetch a result row as an object
  11450. *
  11451. * @return object
  11452. * @param query int
  11453. * @param result_type int[optional]
  11454. */
  11455. function msql_fetch_object($query, $result_type = null) {}
  11456. /**
  11457. * Get a result row as an enumerated array
  11458. *
  11459. * @return array
  11460. * @param query int
  11461. */
  11462. function msql_fetch_row($query) {}
  11463. /**
  11464. * Get the flags associated with the specified field in a result
  11465. *
  11466. * @return string
  11467. * @param query int
  11468. * @param field_offset int
  11469. */
  11470. function msql_field_flags($query, $field_offset) {}
  11471. /**
  11472. * Returns the length of the specified field
  11473. *
  11474. * @return int
  11475. * @param query int
  11476. * @param field_offet int
  11477. */
  11478. function msql_field_len($query, $field_offet) {}
  11479. /**
  11480. * Get the name of the specified field in a result
  11481. *
  11482. * @return string
  11483. * @param query int
  11484. * @param field_index int
  11485. */
  11486. function msql_field_name($query, $field_index) {}
  11487. /**
  11488. * Set result pointer to a specific field offset
  11489. *
  11490. * @return int
  11491. * @param query int
  11492. * @param field_offset int
  11493. */
  11494. function msql_field_seek($query, $field_offset) {}
  11495. /**
  11496. * Get name of the table the specified field is in
  11497. *
  11498. * @return string
  11499. * @param query int
  11500. * @param field_offset int
  11501. */
  11502. function msql_field_table($query, $field_offset) {}
  11503. /**
  11504. * Get the type of the specified field in a result
  11505. *
  11506. * @return string
  11507. * @param query int
  11508. * @param field_offset int
  11509. */
  11510. function msql_field_type($query, $field_offset) {}
  11511. /**
  11512. * Get the flags associated with the specified field in a result
  11513. *
  11514. * @return string
  11515. * @param query int
  11516. * @param field_offset int
  11517. */
  11518. function msql_fieldflags($query, $field_offset) {}
  11519. /**
  11520. * Returns the length of the specified field
  11521. *
  11522. * @return int
  11523. * @param query int
  11524. * @param field_offet int
  11525. */
  11526. function msql_fieldlen($query, $field_offet) {}
  11527. /**
  11528. * Get the name of the specified field in a result
  11529. *
  11530. * @return string
  11531. * @param query int
  11532. * @param field_index int
  11533. */
  11534. function msql_fieldname($query, $field_index) {}
  11535. /**
  11536. * Get name of the table the specified field is in
  11537. *
  11538. * @return string
  11539. * @param query int
  11540. * @param field_offset int
  11541. */
  11542. function msql_fieldtable($query, $field_offset) {}
  11543. /**
  11544. * Get the type of the specified field in a result
  11545. *
  11546. * @return string
  11547. * @param query int
  11548. * @param field_offset int
  11549. */
  11550. function msql_fieldtype($query, $field_offset) {}
  11551. /**
  11552. * Free result memory
  11553. *
  11554. * @return int
  11555. * @param query int
  11556. */
  11557. function msql_free_result($query) {}
  11558. /**
  11559. * Free result memory
  11560. *
  11561. * @return int
  11562. * @param query int
  11563. */
  11564. function msql_freeresult($query) {}
  11565. /**
  11566. * List databases available on an mSQL server
  11567. *
  11568. * @return int
  11569. * @param link_identifier int[optional]
  11570. */
  11571. function msql_list_dbs($link_identifier = null) {}
  11572. /**
  11573. * List mSQL result fields
  11574. *
  11575. * @return int
  11576. * @param database_name string
  11577. * @param table_name string
  11578. * @param link_identifier int[optional]
  11579. */
  11580. function msql_list_fields($database_name, $table_name, $link_identifier = null) {}
  11581. /**
  11582. * List tables in an mSQL database
  11583. *
  11584. * @return int
  11585. * @param database_name string
  11586. * @param link_identifier int[optional]
  11587. */
  11588. function msql_list_tables($database_name, $link_identifier = null) {}
  11589. /**
  11590. * List databases available on an mSQL server
  11591. *
  11592. * @return int
  11593. * @param link_identifier int[optional]
  11594. */
  11595. function msql_listdbs($link_identifier = null) {}
  11596. /**
  11597. * List mSQL result fields
  11598. *
  11599. * @return int
  11600. * @param database_name string
  11601. * @param table_name string
  11602. * @param link_identifier int[optional]
  11603. */
  11604. function msql_listfields($database_name, $table_name, $link_identifier = null) {}
  11605. /**
  11606. * List tables in an mSQL database
  11607. *
  11608. * @return int
  11609. * @param database_name string
  11610. * @param link_identifier int[optional]
  11611. */
  11612. function msql_listtables($database_name, $link_identifier = null) {}
  11613. /**
  11614. * Get number of fields in a result
  11615. *
  11616. * @return int
  11617. * @param query int
  11618. */
  11619. function msql_num_fields($query) {}
  11620. /**
  11621. * Get number of rows in a result
  11622. *
  11623. * @return int
  11624. * @param query int
  11625. */
  11626. function msql_num_rows($query) {}
  11627. /**
  11628. * Get number of fields in a result
  11629. *
  11630. * @return int
  11631. * @param query int
  11632. */
  11633. function msql_numfields($query) {}
  11634. /**
  11635. * Get number of rows in a result
  11636. *
  11637. * @return int
  11638. * @param query int
  11639. */
  11640. function msql_numrows($query) {}
  11641. /**
  11642. * Open a persistent connection to an mSQL Server
  11643. *
  11644. * @return int
  11645. * @param hostname string[optional]
  11646. * @param username string[optional]
  11647. * @param password string[optional]
  11648. */
  11649. function msql_pconnect($hostname = null, $username = null, $password = null) {}
  11650. /**
  11651. * Send an SQL query to mSQL
  11652. *
  11653. * @return int
  11654. * @param query string
  11655. * @param link_identifier int[optional]
  11656. */
  11657. function msql_query($query, $link_identifier = null) {}
  11658. /**
  11659. * Make regular expression for case insensitive match
  11660. *
  11661. * @return string
  11662. * @param string string
  11663. */
  11664. function msql_regcase($string) {}
  11665. /**
  11666. * Get result data
  11667. *
  11668. * @return int
  11669. * @param query int
  11670. * @param row int
  11671. * @param field mixed[optional]
  11672. */
  11673. function msql_result($query, $row, $field = null) {}
  11674. /**
  11675. * Select an mSQL database
  11676. *
  11677. * @return int
  11678. * @param database_name string
  11679. * @param link_identifier int[optional]
  11680. */
  11681. function msql_select_db($database_name, $link_identifier = null) {}
  11682. /**
  11683. * Select an mSQL database
  11684. *
  11685. * @return int
  11686. * @param database_name string
  11687. * @param link_identifier int[optional]
  11688. */
  11689. function msql_selectdb($database_name, $link_identifier = null) {}
  11690. /**
  11691. * Get result data
  11692. *
  11693. * @return int
  11694. * @param query int
  11695. * @param row int
  11696. * @param field mixed[optional]
  11697. */
  11698. function msql_tablename($query, $row, $field = null) {}
  11699. /**
  11700. * Get number of affected rows in last query
  11701. *
  11702. * @return int
  11703. * @param link_id int[optional]
  11704. */
  11705. function mssql_affected_rows($link_id = null) {}
  11706. /**
  11707. *
  11708. *
  11709. * @return bool
  11710. */
  11711. function mssql_bind() {}
  11712. /**
  11713. * Closes a connection to a MS-SQL server
  11714. *
  11715. * @return bool
  11716. * @param conn_id resource[optional]
  11717. */
  11718. function mssql_close($conn_id = null) {}
  11719. /**
  11720. * Establishes a connection to a MS-SQL server
  11721. *
  11722. * @return int
  11723. * @param servername string[optional]
  11724. * @param username string[optional]
  11725. * @param password string[optional]
  11726. */
  11727. function mssql_connect($servername = null, $username = null, $password = null) {}
  11728. /**
  11729. * Moves the internal row pointer of the MS-SQL result associated with the specified result identifier to pointer to the specified row number
  11730. *
  11731. * @return bool
  11732. * @param result_id resource
  11733. * @param offset int
  11734. */
  11735. function mssql_data_seek($result_id, $offset) {}
  11736. /**
  11737. * Sets deadlock retry count
  11738. *
  11739. * @return void
  11740. * @param retry_count int
  11741. */
  11742. function mssql_deadlock_retry_count($retry_count) {}
  11743. /**
  11744. * Executes a stored procedure on a MS-SQL server database
  11745. *
  11746. * @return mixed
  11747. * @param stmt resource
  11748. * @param skip_results bool[optional]
  11749. */
  11750. function mssql_execute($stmt, $skip_results = false) {}
  11751. /**
  11752. * Returns an associative array of the current row in the result set specified by result_id
  11753. *
  11754. * @return array
  11755. * @param result_id resource
  11756. * @param result_type int[optional]
  11757. */
  11758. function mssql_fetch_array($result_id, $result_type = null) {}
  11759. /**
  11760. * Returns an associative array of the current row in the result set specified by result_id
  11761. *
  11762. * @return array
  11763. * @param result_id resource
  11764. * @param result_type int[optional]
  11765. */
  11766. function mssql_fetch_assoc($result_id, $result_type = null) {}
  11767. /**
  11768. * Returns the next batch of records
  11769. *
  11770. * @return int
  11771. * @param result_index resource
  11772. */
  11773. function mssql_fetch_batch($result_index) {}
  11774. /**
  11775. * Gets information about certain fields in a query result
  11776. *
  11777. * @return object
  11778. * @param result_id resource
  11779. * @param offset int[optional]
  11780. */
  11781. function mssql_fetch_field($result_id, $offset = null) {}
  11782. /**
  11783. * Returns a psuedo-object of the current row in the result set specified by result_id
  11784. *
  11785. * @return object
  11786. * @param result_id resource
  11787. * @param result_type int[optional]
  11788. */
  11789. function mssql_fetch_object($result_id, $result_type = null) {}
  11790. /**
  11791. * Returns an array of the current row in the result set specified by result_id
  11792. *
  11793. * @return array
  11794. * @param result_id resource
  11795. * @param result_type int[optional]
  11796. */
  11797. function mssql_fetch_row($result_id, $result_type = null) {}
  11798. /**
  11799. * Get the length of a MS-SQL field
  11800. *
  11801. * @return int
  11802. * @param result_id resource
  11803. * @param offset int[optional]
  11804. */
  11805. function mssql_field_length($result_id, $offset = null) {}
  11806. /**
  11807. * Returns the name of the field given by offset in the result set given by result_id
  11808. *
  11809. * @return string
  11810. * @param result_id resource
  11811. * @param offset int[optional]
  11812. */
  11813. function mssql_field_name($result_id, $offset = null) {}
  11814. /**
  11815. * Seeks to the specified field offset
  11816. *
  11817. * @return bool
  11818. * @param result_id int
  11819. * @param offset int
  11820. */
  11821. function mssql_field_seek($result_id, $offset) {}
  11822. /**
  11823. * Returns the type of a field
  11824. *
  11825. * @return string
  11826. * @param result_id resource
  11827. * @param offset int[optional]
  11828. */
  11829. function mssql_field_type($result_id, $offset = null) {}
  11830. /**
  11831. * Free a MS-SQL result index
  11832. *
  11833. * @return bool
  11834. * @param result_index resource
  11835. */
  11836. function mssql_free_result($result_index) {}
  11837. /**
  11838. * Free a MS-SQL statement index
  11839. *
  11840. * @return bool
  11841. * @param result_index resource
  11842. */
  11843. function mssql_free_statement($result_index) {}
  11844. /**
  11845. * Gets the last message from the MS-SQL server
  11846. *
  11847. * @return string
  11848. */
  11849. function mssql_get_last_message() {}
  11850. /**
  11851. * Converts a 16 byte binary GUID to a string
  11852. *
  11853. * @return string
  11854. * @param binary string
  11855. * @param short_format int[optional]
  11856. */
  11857. function mssql_guid_string($binary, $short_format = null) {}
  11858. /**
  11859. * Initializes a stored procedure or a remote stored procedure
  11860. *
  11861. * @return int
  11862. * @param sp_name string
  11863. * @param conn_id resource[optional]
  11864. */
  11865. function mssql_init($sp_name, $conn_id = null) {}
  11866. /**
  11867. * Sets minimum client severity
  11868. *
  11869. * @return void
  11870. * @param severity int
  11871. */
  11872. function mssql_min_client_severity($severity) {}
  11873. /**
  11874. * Sets the lower error severity
  11875. *
  11876. * @return void
  11877. * @param severity int
  11878. */
  11879. function mssql_min_error_severity($severity) {}
  11880. /**
  11881. * Sets the lower message severity
  11882. *
  11883. * @return void
  11884. * @param severity int
  11885. */
  11886. function mssql_min_message_severity($severity) {}
  11887. /**
  11888. * Sets minimum server severity
  11889. *
  11890. * @return void
  11891. * @param severity int
  11892. */
  11893. function mssql_min_server_severity($severity) {}
  11894. /**
  11895. * Move the internal result pointer to the next result
  11896. *
  11897. * @return bool
  11898. * @param result_id resource
  11899. */
  11900. function mssql_next_result($result_id) {}
  11901. /**
  11902. * Returns the number of fields fetched in from the result id specified
  11903. *
  11904. * @return int
  11905. * @param mssql_result_index resource
  11906. */
  11907. function mssql_num_fields($mssql_result_index) {}
  11908. /**
  11909. * Returns the number of rows fetched in from the result id specified
  11910. *
  11911. * @return int
  11912. * @param mssql_result_index resource
  11913. */
  11914. function mssql_num_rows($mssql_result_index) {}
  11915. /**
  11916. * Establishes a persistent connection to a MS-SQL server
  11917. *
  11918. * @return int
  11919. * @param servername string[optional]
  11920. * @param username string[optional]
  11921. * @param password string[optional]
  11922. */
  11923. function mssql_pconnect($servername = null, $username = null, $password = null) {}
  11924. /**
  11925. * Perform an SQL query on a MS-SQL server database
  11926. *
  11927. * @return resource
  11928. * @param query string
  11929. * @param conn_id resource[optional]
  11930. * @param batch_size int[optional]
  11931. */
  11932. function mssql_query($query, $conn_id = null, $batch_size = null) {}
  11933. /**
  11934. * Returns the contents of one cell from a MS-SQL result set
  11935. *
  11936. * @return string
  11937. * @param result_id resource
  11938. * @param row int
  11939. * @param field mixed
  11940. */
  11941. function mssql_result($result_id, $row, $field) {}
  11942. /**
  11943. * Returns the number of records affected by the query
  11944. *
  11945. * @return int
  11946. * @param conn_id resource
  11947. */
  11948. function mssql_rows_affected($conn_id) {}
  11949. /**
  11950. * Select a MS-SQL database
  11951. *
  11952. * @return bool
  11953. * @param database_name string
  11954. * @param conn_id resource[optional]
  11955. */
  11956. function mssql_select_db($database_name, $conn_id = null) {}
  11957. /**
  11958. *
  11959. *
  11960. * @return bool
  11961. * @param error_func mixed
  11962. */
  11963. function mssql_set_message_handler($error_func) {}
  11964. /**
  11965. * Send Sybase query
  11966. *
  11967. * @return int
  11968. * @param query string
  11969. * @param link_id int[optional]
  11970. */
  11971. function mssql_unbuffered_query($query, $link_id = null) {}
  11972. /**
  11973. * Returns the maximum value a random number from Mersenne Twister can have
  11974. *
  11975. * @return int
  11976. */
  11977. function mt_getrandmax() {}
  11978. /**
  11979. * Returns a random number from Mersenne Twister
  11980. *
  11981. * @return int
  11982. * @param min int[optional]
  11983. * @param max int
  11984. */
  11985. function mt_rand($min = null, $max) {}
  11986. /**
  11987. * Seeds Mersenne Twister random number generator
  11988. *
  11989. * @return void
  11990. * @param seed int[optional]
  11991. */
  11992. function mt_srand($seed = null) {}
  11993. /**
  11994. * Gets number of affected rows in previous MySQL operation
  11995. *
  11996. * @return int
  11997. * @param link_identifier int[optional]
  11998. */
  11999. function mysql_affected_rows($link_identifier = null) {}
  12000. /**
  12001. * Returns the default character set for the current connection
  12002. *
  12003. * @return string
  12004. * @param link_identifier int[optional]
  12005. */
  12006. function mysql_client_encoding($link_identifier = null) {}
  12007. /**
  12008. * Close a MySQL connection
  12009. *
  12010. * @return bool
  12011. * @param link_identifier int[optional]
  12012. */
  12013. function mysql_close($link_identifier = null) {}
  12014. /**
  12015. * Opens a connection to a MySQL Server
  12016. *
  12017. * @return resource
  12018. * @param hostname string[optional]
  12019. * @param username string[optional]
  12020. * @param password string[optional]
  12021. * @param new bool[optional]
  12022. * @param flags int[optional]
  12023. */
  12024. function mysql_connect($hostname = null, $username = null, $password = null, $new = null, $flags = null) {}
  12025. /**
  12026. * Create a MySQL database
  12027. *
  12028. * @return bool
  12029. * @param database_name string
  12030. * @param link_identifier int[optional]
  12031. */
  12032. function mysql_create_db($database_name, $link_identifier = null) {}
  12033. /**
  12034. * Create a MySQL database
  12035. *
  12036. * @return bool
  12037. * @param database_name string
  12038. * @param link_identifier int[optional]
  12039. */
  12040. function mysql_createdb($database_name, $link_identifier = null) {}
  12041. /**
  12042. * Move internal result pointer
  12043. *
  12044. * @return bool
  12045. * @param result resource
  12046. * @param row_number int
  12047. */
  12048. function mysql_data_seek($result, $row_number) {}
  12049. /**
  12050. * Gets result data
  12051. *
  12052. * @return mixed
  12053. * @param result resource
  12054. * @param row int
  12055. * @param field mixed[optional]
  12056. */
  12057. function mysql_db_name($result, $row, $field = null) {}
  12058. /**
  12059. * Sends an SQL query to MySQL
  12060. *
  12061. * @return resource
  12062. * @param database_name string
  12063. * @param query string
  12064. * @param link_identifier int[optional]
  12065. */
  12066. function mysql_db_query($database_name, $query, $link_identifier = null) {}
  12067. /**
  12068. * Gets result data
  12069. *
  12070. * @return mixed
  12071. * @param result resource
  12072. * @param row int
  12073. * @param field mixed[optional]
  12074. */
  12075. function mysql_dbname($result, $row, $field = null) {}
  12076. /**
  12077. * Drops (delete) a MySQL database
  12078. *
  12079. * @return bool
  12080. * @param database_name string
  12081. * @param link_identifier int[optional]
  12082. */
  12083. function mysql_drop_db($database_name, $link_identifier = null) {}
  12084. /**
  12085. * Drops (delete) a MySQL database
  12086. *
  12087. * @return bool
  12088. * @param database_name string
  12089. * @param link_identifier int[optional]
  12090. */
  12091. function mysql_dropdb($database_name, $link_identifier = null) {}
  12092. /**
  12093. * Returns the number of the error message from previous MySQL operation
  12094. *
  12095. * @return int
  12096. * @param link_identifier int[optional]
  12097. */
  12098. function mysql_errno($link_identifier = null) {}
  12099. /**
  12100. * Returns the text of the error message from previous MySQL operation
  12101. *
  12102. * @return string
  12103. * @param link_identifier int[optional]
  12104. */
  12105. function mysql_error($link_identifier = null) {}
  12106. /**
  12107. * Escape string for mysql query
  12108. *
  12109. * @return string
  12110. * @param to_be_escaped string
  12111. */
  12112. function mysql_escape_string($to_be_escaped) {}
  12113. /**
  12114. * Fetch a result row as an array (associative, numeric or both)
  12115. *
  12116. * @return array
  12117. * @param result resource
  12118. * @param result_type int[optional]
  12119. */
  12120. function mysql_fetch_array($result, $result_type = null) {}
  12121. /**
  12122. * Fetch a result row as an associative array
  12123. *
  12124. * @return array
  12125. * @param result resource
  12126. */
  12127. function mysql_fetch_assoc($result) {}
  12128. /**
  12129. * Gets column information from a result and return as an object
  12130. *
  12131. * @return object
  12132. * @param result resource
  12133. * @param field_offset int[optional]
  12134. */
  12135. function mysql_fetch_field($result, $field_offset = null) {}
  12136. /**
  12137. * Gets max data size of each column in a result
  12138. *
  12139. * @return array
  12140. * @param result resource
  12141. */
  12142. function mysql_fetch_lengths($result) {}
  12143. /**
  12144. * Fetch a result row as an object
  12145. *
  12146. * @return object
  12147. * @param result resource
  12148. * @param result_type int[optional]
  12149. */
  12150. function mysql_fetch_object($result, $result_type = null) {}
  12151. /**
  12152. * Gets a result row as an enumerated array
  12153. *
  12154. * @return array
  12155. * @param result resource
  12156. */
  12157. function mysql_fetch_row($result) {}
  12158. /**
  12159. * Gets the flags associated with the specified field in a result
  12160. *
  12161. * @return string
  12162. * @param result resource
  12163. * @param field_offset int
  12164. */
  12165. function mysql_field_flags($result, $field_offset) {}
  12166. /**
  12167. * Returns the length of the specified field
  12168. *
  12169. * @return int
  12170. * @param result resource
  12171. * @param field_offset int
  12172. */
  12173. function mysql_field_len($result, $field_offset) {}
  12174. /**
  12175. * Gets the name of the specified field in a result
  12176. *
  12177. * @return string
  12178. * @param result resource
  12179. * @param field_index int
  12180. */
  12181. function mysql_field_name($result, $field_index) {}
  12182. /**
  12183. * Sets result pointer to a specific field offset
  12184. *
  12185. * @return bool
  12186. * @param result resource
  12187. * @param field_offset int
  12188. */
  12189. function mysql_field_seek($result, $field_offset) {}
  12190. /**
  12191. * Gets name of the table the specified field is in
  12192. *
  12193. * @return string
  12194. * @param result resource
  12195. * @param field_offset int
  12196. */
  12197. function mysql_field_table($result, $field_offset) {}
  12198. /**
  12199. * Gets the type of the specified field in a result
  12200. *
  12201. * @return string
  12202. * @param result resource
  12203. * @param field_offset int
  12204. */
  12205. function mysql_field_type($result, $field_offset) {}
  12206. /**
  12207. * Gets the flags associated with the specified field in a result
  12208. *
  12209. * @return string
  12210. * @param result resource
  12211. * @param field_offset int
  12212. */
  12213. function mysql_fieldflags($result, $field_offset) {}
  12214. /**
  12215. * Returns the length of the specified field
  12216. *
  12217. * @return int
  12218. * @param result resource
  12219. * @param field_offset int
  12220. */
  12221. function mysql_fieldlen($result, $field_offset) {}
  12222. /**
  12223. * Gets the name of the specified field in a result
  12224. *
  12225. * @return string
  12226. * @param result resource
  12227. * @param field_index int
  12228. */
  12229. function mysql_fieldname($result, $field_index) {}
  12230. /**
  12231. * Gets name of the table the specified field is in
  12232. *
  12233. * @return string
  12234. * @param result resource
  12235. * @param field_offset int
  12236. */
  12237. function mysql_fieldtable($result, $field_offset) {}
  12238. /**
  12239. * Gets the type of the specified field in a result
  12240. *
  12241. * @return string
  12242. * @param result resource
  12243. * @param field_offset int
  12244. */
  12245. function mysql_fieldtype($result, $field_offset) {}
  12246. /**
  12247. * Free result memory
  12248. *
  12249. * @return bool
  12250. * @param result resource
  12251. */
  12252. function mysql_free_result($result) {}
  12253. /**
  12254. * Free result memory
  12255. *
  12256. * @return bool
  12257. * @param result resource
  12258. */
  12259. function mysql_freeresult($result) {}
  12260. /**
  12261. * Returns a string that represents the client library version
  12262. *
  12263. * @return string
  12264. */
  12265. function mysql_get_client_info() {}
  12266. /**
  12267. * Returns a string describing the type of connection in use, including the server host name
  12268. *
  12269. * @return string
  12270. * @param link_identifier int[optional]
  12271. */
  12272. function mysql_get_host_info($link_identifier = null) {}
  12273. /**
  12274. * Returns the protocol version used by current connection
  12275. *
  12276. * @return int
  12277. * @param link_identifier int[optional]
  12278. */
  12279. function mysql_get_proto_info($link_identifier = null) {}
  12280. /**
  12281. * Returns a string that represents the server version number
  12282. *
  12283. * @return string
  12284. * @param link_identifier int[optional]
  12285. */
  12286. function mysql_get_server_info($link_identifier = null) {}
  12287. /**
  12288. * Returns a string containing information about the most recent query
  12289. *
  12290. * @return string
  12291. * @param link_identifier int[optional]
  12292. */
  12293. function mysql_info($link_identifier = null) {}
  12294. /**
  12295. * Gets the ID generated from the previous INSERT operation
  12296. *
  12297. * @return int
  12298. * @param link_identifier int[optional]
  12299. */
  12300. function mysql_insert_id($link_identifier = null) {}
  12301. /**
  12302. * List databases available on a MySQL server
  12303. *
  12304. * @return resource
  12305. * @param link_identifier int[optional]
  12306. */
  12307. function mysql_list_dbs($link_identifier = null) {}
  12308. /**
  12309. * List MySQL result fields
  12310. *
  12311. * @return resource
  12312. * @param database_name string
  12313. * @param table_name string
  12314. * @param link_identifier int[optional]
  12315. */
  12316. function mysql_list_fields($database_name, $table_name, $link_identifier = null) {}
  12317. /**
  12318. * Returns a result set describing the current server threads
  12319. *
  12320. * @return resource
  12321. * @param link_identifier int[optional]
  12322. */
  12323. function mysql_list_processes($link_identifier = null) {}
  12324. /**
  12325. * List tables in a MySQL database
  12326. *
  12327. * @return resource
  12328. * @param database_name string
  12329. * @param link_identifier int[optional]
  12330. */
  12331. function mysql_list_tables($database_name, $link_identifier = null) {}
  12332. /**
  12333. * List databases available on a MySQL server
  12334. *
  12335. * @return resource
  12336. * @param link_identifier int[optional]
  12337. */
  12338. function mysql_listdbs($link_identifier = null) {}
  12339. /**
  12340. * List MySQL result fields
  12341. *
  12342. * @return resource
  12343. * @param database_name string
  12344. * @param table_name string
  12345. * @param link_identifier int[optional]
  12346. */
  12347. function mysql_listfields($database_name, $table_name, $link_identifier = null) {}
  12348. /**
  12349. * List tables in a MySQL database
  12350. *
  12351. * @return resource
  12352. * @param database_name string
  12353. * @param link_identifier int[optional]
  12354. */
  12355. function mysql_listtables($database_name, $link_identifier = null) {}
  12356. /**
  12357. * Gets number of fields in a result
  12358. *
  12359. * @return int
  12360. * @param result resource
  12361. */
  12362. function mysql_num_fields($result) {}
  12363. /**
  12364. * Gets number of rows in a result
  12365. *
  12366. * @return int
  12367. * @param result resource
  12368. */
  12369. function mysql_num_rows($result) {}
  12370. /**
  12371. * Gets number of fields in a result
  12372. *
  12373. * @return int
  12374. * @param result resource
  12375. */
  12376. function mysql_numfields($result) {}
  12377. /**
  12378. * Gets number of rows in a result
  12379. *
  12380. * @return int
  12381. * @param result resource
  12382. */
  12383. function mysql_numrows($result) {}
  12384. /**
  12385. * Opens a persistent connection to a MySQL Server
  12386. *
  12387. * @return resource
  12388. * @param hostname string[optional]
  12389. * @param username string[optional]
  12390. * @param password string[optional]
  12391. * @param flags int[optional]
  12392. */
  12393. function mysql_pconnect($hostname = null, $username = null, $password = null, $flags = null) {}
  12394. /**
  12395. * Ping a server connection. If no connection then reconnect.
  12396. *
  12397. * @return bool
  12398. * @param link_identifier int[optional]
  12399. */
  12400. function mysql_ping($link_identifier = null) {}
  12401. /**
  12402. * Sends an SQL query to MySQL
  12403. *
  12404. * @return resource
  12405. * @param query string
  12406. * @param link_identifier int[optional]
  12407. */
  12408. function mysql_query($query, $link_identifier = null) {}
  12409. /**
  12410. * Escape special characters in a string for use in a SQL statement, taking into account the current charset of the connection
  12411. *
  12412. * @return string
  12413. * @param to_be_escaped string
  12414. * @param link_identifier int[optional]
  12415. */
  12416. function mysql_real_escape_string($to_be_escaped, $link_identifier = null) {}
  12417. /**
  12418. * Gets result data
  12419. *
  12420. * @return mixed
  12421. * @param result resource
  12422. * @param row int
  12423. * @param field mixed[optional]
  12424. */
  12425. function mysql_result($result, $row, $field = null) {}
  12426. /**
  12427. * Selects a MySQL database
  12428. *
  12429. * @return bool
  12430. * @param database_name string
  12431. * @param link_identifier int[optional]
  12432. */
  12433. function mysql_select_db($database_name, $link_identifier = null) {}
  12434. /**
  12435. * Selects a MySQL database
  12436. *
  12437. * @return bool
  12438. * @param database_name string
  12439. * @param link_identifier int[optional]
  12440. */
  12441. function mysql_selectdb($database_name, $link_identifier = null) {}
  12442. /**
  12443. * Returns a string containing status information
  12444. *
  12445. * @return string
  12446. * @param link_identifier int[optional]
  12447. */
  12448. function mysql_stat($link_identifier = null) {}
  12449. /**
  12450. * Gets result data
  12451. *
  12452. * @return mixed
  12453. * @param result resource
  12454. * @param row int
  12455. * @param field mixed[optional]
  12456. */
  12457. function mysql_table_name($result, $row, $field = null) {}
  12458. /**
  12459. * Gets result data
  12460. *
  12461. * @return mixed
  12462. * @param result resource
  12463. * @param row int
  12464. * @param field mixed[optional]
  12465. */
  12466. function mysql_tablename($result, $row, $field = null) {}
  12467. /**
  12468. * Returns the thread id of current connection
  12469. *
  12470. * @return int
  12471. * @param link_identifier int[optional]
  12472. */
  12473. function mysql_thread_id($link_identifier = null) {}
  12474. /**
  12475. * Sends an SQL query to MySQL, without fetching and buffering the result rows
  12476. *
  12477. * @return resource
  12478. * @param query string
  12479. * @param link_identifier int[optional]
  12480. */
  12481. function mysql_unbuffered_query($query, $link_identifier = null) {}
  12482. /**
  12483. * Sort an array using case-insensitive natural sort
  12484. *
  12485. * @return void
  12486. * @param array_arg array
  12487. */
  12488. function natcasesort($array_arg) {}
  12489. /**
  12490. * Sort an array using natural sort
  12491. *
  12492. * @return void
  12493. * @param array_arg array
  12494. */
  12495. function natsort($array_arg) {}
  12496. /**
  12497. * Adds character at current position and advance cursor
  12498. *
  12499. * @return int
  12500. * @param ch int
  12501. */
  12502. function ncurses_addch($ch) {}
  12503. /**
  12504. * Adds attributed string with specified length at current position
  12505. *
  12506. * @return int
  12507. * @param s string
  12508. * @param n int
  12509. */
  12510. function ncurses_addchnstr($s, $n) {}
  12511. /**
  12512. * Adds attributed string at current position
  12513. *
  12514. * @return int
  12515. * @param s string
  12516. */
  12517. function ncurses_addchstr($s) {}
  12518. /**
  12519. * Adds string with specified length at current position
  12520. *
  12521. * @return int
  12522. * @param s string
  12523. * @param n int
  12524. */
  12525. function ncurses_addnstr($s, $n) {}
  12526. /**
  12527. * Outputs text at current position
  12528. *
  12529. * @return int
  12530. * @param text string
  12531. */
  12532. function ncurses_addstr($text) {}
  12533. /**
  12534. * Defines default colors for color 0
  12535. *
  12536. * @return int
  12537. * @param fg int
  12538. * @param bg int
  12539. */
  12540. function ncurses_assume_default_colors($fg, $bg) {}
  12541. /**
  12542. * Turns off the given attributes
  12543. *
  12544. * @return int
  12545. * @param attributes int
  12546. */
  12547. function ncurses_attroff($attributes) {}
  12548. /**
  12549. * Turns on the given attributes
  12550. *
  12551. * @return int
  12552. * @param attributes int
  12553. */
  12554. function ncurses_attron($attributes) {}
  12555. /**
  12556. * Sets given attributes
  12557. *
  12558. * @return int
  12559. * @param attributes int
  12560. */
  12561. function ncurses_attrset($attributes) {}
  12562. /**
  12563. * Returns baudrate of terminal
  12564. *
  12565. * @return int
  12566. */
  12567. function ncurses_baudrate() {}
  12568. /**
  12569. * Let the terminal beep
  12570. *
  12571. * @return int
  12572. */
  12573. function ncurses_beep() {}
  12574. /**
  12575. * Sets background property for terminal screen
  12576. *
  12577. * @return int
  12578. * @param attrchar int
  12579. */
  12580. function ncurses_bkgd($attrchar) {}
  12581. /**
  12582. * Controls screen background
  12583. *
  12584. * @return void
  12585. * @param attrchar int
  12586. */
  12587. function ncurses_bkgdset($attrchar) {}
  12588. /**
  12589. * Draws a border around the screen using attributed characters
  12590. *
  12591. * @return int
  12592. * @param left int
  12593. * @param right int
  12594. * @param top int
  12595. * @param bottom int
  12596. * @param tl_corner int
  12597. * @param tr_corner int
  12598. * @param bl_corner int
  12599. * @param br_corner int
  12600. */
  12601. function ncurses_border($left, $right, $top, $bottom, $tl_corner, $tr_corner, $bl_corner, $br_corner) {}
  12602. /**
  12603. * Moves a visible panel to the bottom of the stack
  12604. *
  12605. * @return int
  12606. * @param panel resource
  12607. */
  12608. function ncurses_bottom_panel($panel) {}
  12609. /**
  12610. * Checks if we can change terminals colors
  12611. *
  12612. * @return bool
  12613. */
  12614. function ncurses_can_change_color() {}
  12615. /**
  12616. * Switches of input buffering
  12617. *
  12618. * @return bool
  12619. */
  12620. function ncurses_cbreak() {}
  12621. /**
  12622. * Clears screen
  12623. *
  12624. * @return bool
  12625. */
  12626. function ncurses_clear() {}
  12627. /**
  12628. * Clears screen from current position to bottom
  12629. *
  12630. * @return bool
  12631. */
  12632. function ncurses_clrtobot() {}
  12633. /**
  12634. * Clears screen from current position to end of line
  12635. *
  12636. * @return bool
  12637. */
  12638. function ncurses_clrtoeol() {}
  12639. /**
  12640. * Gets the RGB value for color
  12641. *
  12642. * @return int
  12643. * @param color int
  12644. * @param r int
  12645. * @param g int
  12646. * @param b int
  12647. */
  12648. function ncurses_color_content($color, &$r, &$g, &$b) {}
  12649. /**
  12650. * Sets fore- and background color
  12651. *
  12652. * @return int
  12653. * @param pair int
  12654. */
  12655. function ncurses_color_set($pair) {}
  12656. /**
  12657. * Sets cursor state
  12658. *
  12659. * @return int
  12660. * @param visibility int
  12661. */
  12662. function ncurses_curs_set($visibility) {}
  12663. /**
  12664. * Saves terminals (program) mode
  12665. *
  12666. * @return bool
  12667. */
  12668. function ncurses_def_prog_mode() {}
  12669. /**
  12670. * Saves terminal (shell) mode
  12671. *
  12672. * @return bool
  12673. */
  12674. function ncurses_def_shell_mode() {}
  12675. /**
  12676. * Defines a keycode
  12677. *
  12678. * @return int
  12679. * @param definition string
  12680. * @param keycode int
  12681. */
  12682. function ncurses_define_key($definition, $keycode) {}
  12683. /**
  12684. * Remove panel from the stack and delete it (but not the associated window)
  12685. *
  12686. * @return int
  12687. * @param panel resource
  12688. */
  12689. function ncurses_del_panel($panel) {}
  12690. /**
  12691. * Delays output on terminal using padding characters
  12692. *
  12693. * @return int
  12694. * @param milliseconds int
  12695. */
  12696. function ncurses_delay_output($milliseconds) {}
  12697. /**
  12698. * Deletes character at current position, move rest of line left
  12699. *
  12700. * @return bool
  12701. */
  12702. function ncurses_delch() {}
  12703. /**
  12704. * Deletes line at current position, move rest of screen up
  12705. *
  12706. * @return bool
  12707. */
  12708. function ncurses_deleteln() {}
  12709. /**
  12710. * Deletes a ncurses window
  12711. *
  12712. * @return int
  12713. * @param window resource
  12714. */
  12715. function ncurses_delwin($window) {}
  12716. /**
  12717. * Writes all prepared refreshes to terminal
  12718. *
  12719. * @return bool
  12720. */
  12721. function ncurses_doupdate() {}
  12722. /**
  12723. * Activates keyboard input echo
  12724. *
  12725. * @return bool
  12726. */
  12727. function ncurses_echo() {}
  12728. /**
  12729. * Single character output including refresh
  12730. *
  12731. * @return int
  12732. * @param character int
  12733. */
  12734. function ncurses_echochar($character) {}
  12735. /**
  12736. * Stops using ncurses, clean up the screen
  12737. *
  12738. * @return int
  12739. */
  12740. function ncurses_end() {}
  12741. /**
  12742. * Erases terminal screen
  12743. *
  12744. * @return bool
  12745. */
  12746. function ncurses_erase() {}
  12747. /**
  12748. * Returns current erase character
  12749. *
  12750. * @return string
  12751. */
  12752. function ncurses_erasechar() {}
  12753. /**
  12754. *
  12755. *
  12756. * @return int
  12757. */
  12758. function ncurses_filter() {}
  12759. /**
  12760. * Flashes terminal screen (visual bell)
  12761. *
  12762. * @return bool
  12763. */
  12764. function ncurses_flash() {}
  12765. /**
  12766. * Flushes keyboard input buffer
  12767. *
  12768. * @return bool
  12769. */
  12770. function ncurses_flushinp() {}
  12771. /**
  12772. * Reads a character from keyboard
  12773. *
  12774. * @return int
  12775. */
  12776. function ncurses_getch() {}
  12777. /**
  12778. * Returns the size of a window
  12779. *
  12780. * @return void
  12781. * @param window resource
  12782. * @param y int
  12783. * @param x int
  12784. */
  12785. function ncurses_getmaxyx($window, &$y, &$x) {}
  12786. /**
  12787. * Reads mouse event from queue
  12788. *
  12789. * @return bool
  12790. * @param mevent array
  12791. */
  12792. function ncurses_getmouse($mevent) {}
  12793. /**
  12794. * Returns the current cursor position for a window
  12795. *
  12796. * @return void
  12797. * @param window resource
  12798. * @param y int
  12799. * @param x int
  12800. */
  12801. function ncurses_getyx($window, &$y, &$x) {}
  12802. /**
  12803. * Puts terminal into halfdelay mode
  12804. *
  12805. * @return int
  12806. * @param tenth int
  12807. */
  12808. function ncurses_halfdelay($tenth) {}
  12809. /**
  12810. * Checks if terminal has colors
  12811. *
  12812. * @return bool
  12813. */
  12814. function ncurses_has_colors() {}
  12815. /**
  12816. * Checks for insert- and delete-capabilities
  12817. *
  12818. * @return bool
  12819. */
  12820. function ncurses_has_ic() {}
  12821. /**
  12822. * Checks for line insert- and delete-capabilities
  12823. *
  12824. * @return bool
  12825. */
  12826. function ncurses_has_il() {}
  12827. /**
  12828. * Checks for presence of a function key on terminal keyboard
  12829. *
  12830. * @return int
  12831. * @param keycode int
  12832. */
  12833. function ncurses_has_key($keycode) {}
  12834. /**
  12835. * Remove panel from the stack, making it invisible
  12836. *
  12837. * @return int
  12838. * @param panel resource
  12839. */
  12840. function ncurses_hide_panel($panel) {}
  12841. /**
  12842. * Draws a horizontal line at current position using an attributed character and max. n characters long
  12843. *
  12844. * @return int
  12845. * @param charattr int
  12846. * @param n int
  12847. */
  12848. function ncurses_hline($charattr, $n) {}
  12849. /**
  12850. * Gets character and attribute at current position
  12851. *
  12852. * @return string
  12853. */
  12854. function ncurses_inch() {}
  12855. /**
  12856. * Initializes ncurses
  12857. *
  12858. * @return int
  12859. */
  12860. function ncurses_init() {}
  12861. /**
  12862. * Sets new RGB value for color
  12863. *
  12864. * @return int
  12865. * @param color int
  12866. * @param r int
  12867. * @param g int
  12868. * @param b int
  12869. */
  12870. function ncurses_init_color($color, $r, $g, $b) {}
  12871. /**
  12872. * Allocates a color pair
  12873. *
  12874. * @return int
  12875. * @param pair int
  12876. * @param fg int
  12877. * @param bg int
  12878. */
  12879. function ncurses_init_pair($pair, $fg, $bg) {}
  12880. /**
  12881. * Inserts character moving rest of line including character at current position
  12882. *
  12883. * @return int
  12884. * @param character int
  12885. */
  12886. function ncurses_insch($character) {}
  12887. /**
  12888. * Inserts lines before current line scrolling down (negative numbers delete and scroll up)
  12889. *
  12890. * @return int
  12891. * @param count int
  12892. */
  12893. function ncurses_insdelln($count) {}
  12894. /**
  12895. * Inserts a line, move rest of screen down
  12896. *
  12897. * @return bool
  12898. */
  12899. function ncurses_insertln() {}
  12900. /**
  12901. * Inserts string at current position, moving rest of line right
  12902. *
  12903. * @return int
  12904. * @param text string
  12905. */
  12906. function ncurses_insstr($text) {}
  12907. /**
  12908. * Reads string from terminal screen
  12909. *
  12910. * @return int
  12911. * @param buffer string
  12912. */
  12913. function ncurses_instr($buffer) {}
  12914. /**
  12915. * Ncurses is in endwin mode, normal screen output may be performed
  12916. *
  12917. * @return bool
  12918. */
  12919. function ncurses_isendwin() {}
  12920. /**
  12921. * Enables or disable a keycode
  12922. *
  12923. * @return int
  12924. * @param keycode int
  12925. * @param enable bool
  12926. */
  12927. function ncurses_keyok($keycode, $enable) {}
  12928. /**
  12929. * Turns keypad on or off
  12930. *
  12931. * @return int
  12932. * @param window resource
  12933. * @param bf bool
  12934. */
  12935. function ncurses_keypad($window, $bf) {}
  12936. /**
  12937. * Returns current line kill character
  12938. *
  12939. * @return string
  12940. */
  12941. function ncurses_killchar() {}
  12942. /**
  12943. * Returns terminal description
  12944. *
  12945. * @return string
  12946. */
  12947. function ncurses_longname() {}
  12948. /**
  12949. * Enables/Disable 8-bit meta key information
  12950. *
  12951. * @return long
  12952. * @param window resource
  12953. * @param _8bit bool
  12954. */
  12955. function ncurses_meta($window, $_8bit) {}
  12956. /**
  12957. * Transforms coordinates
  12958. *
  12959. * @return bool
  12960. * @param y int
  12961. * @param x int
  12962. * @param toscreen bool
  12963. */
  12964. function ncurses_mouse_trafo($y, $x, $toscreen) {}
  12965. /**
  12966. * Sets timeout for mouse button clicks
  12967. *
  12968. * @return int
  12969. * @param milliseconds int
  12970. */
  12971. function ncurses_mouseinterval($milliseconds) {}
  12972. /**
  12973. * Returns and sets mouse options
  12974. *
  12975. * @return int
  12976. * @param newmask int
  12977. * @param oldmask int
  12978. */
  12979. function ncurses_mousemask($newmask, &$oldmask) {}
  12980. /**
  12981. * Moves output position
  12982. *
  12983. * @return int
  12984. * @param y int
  12985. * @param x int
  12986. */
  12987. function ncurses_move($y, $x) {}
  12988. /**
  12989. * Moves a panel so that it's upper-left corner is at [startx, starty]
  12990. *
  12991. * @return int
  12992. * @param panel resource
  12993. * @param startx int
  12994. * @param starty int
  12995. */
  12996. function ncurses_move_panel($panel, $startx, $starty) {}
  12997. /**
  12998. * Moves current position and add character
  12999. *
  13000. * @return int
  13001. * @param y int
  13002. * @param x int
  13003. * @param c int
  13004. */
  13005. function ncurses_mvaddch($y, $x, $c) {}
  13006. /**
  13007. * Moves position and add attrributed string with specified length
  13008. *
  13009. * @return int
  13010. * @param y int
  13011. * @param x int
  13012. * @param s string
  13013. * @param n int
  13014. */
  13015. function ncurses_mvaddchnstr($y, $x, $s, $n) {}
  13016. /**
  13017. * Moves position and add attributed string
  13018. *
  13019. * @return int
  13020. * @param y int
  13021. * @param x int
  13022. * @param s string
  13023. */
  13024. function ncurses_mvaddchstr($y, $x, $s) {}
  13025. /**
  13026. * Moves position and add string with specified length
  13027. *
  13028. * @return int
  13029. * @param y int
  13030. * @param x int
  13031. * @param s string
  13032. * @param n int
  13033. */
  13034. function ncurses_mvaddnstr($y, $x, $s, $n) {}
  13035. /**
  13036. * Moves position and add string
  13037. *
  13038. * @return int
  13039. * @param y int
  13040. * @param x int
  13041. * @param s string
  13042. */
  13043. function ncurses_mvaddstr($y, $x, $s) {}
  13044. /**
  13045. * Moves cursor immediately
  13046. *
  13047. * @return int
  13048. * @param old_y int
  13049. * @param old_x int
  13050. * @param new_y int
  13051. * @param new_x int
  13052. */
  13053. function ncurses_mvcur($old_y, $old_x, $new_y, $new_x) {}
  13054. /**
  13055. * Moves position and delete character, shift rest of line left
  13056. *
  13057. * @return int
  13058. * @param y int
  13059. * @param x int
  13060. */
  13061. function ncurses_mvdelch($y, $x) {}
  13062. /**
  13063. * Moves position and get character at new position
  13064. *
  13065. * @return int
  13066. * @param y int
  13067. * @param x int
  13068. */
  13069. function ncurses_mvgetch($y, $x) {}
  13070. /**
  13071. * Sets new position and draw a horizontal line using an attributed character and max. n characters long
  13072. *
  13073. * @return int
  13074. * @param y int
  13075. * @param x int
  13076. * @param attrchar int
  13077. * @param n int
  13078. */
  13079. function ncurses_mvhline($y, $x, $attrchar, $n) {}
  13080. /**
  13081. * Moves position and get attributed character at new position
  13082. *
  13083. * @return int
  13084. * @param y int
  13085. * @param x int
  13086. */
  13087. function ncurses_mvinch($y, $x) {}
  13088. /**
  13089. * Sets new position and draw a vertical line using an attributed character and max. n characters long
  13090. *
  13091. * @return int
  13092. * @param y int
  13093. * @param x int
  13094. * @param attrchar int
  13095. * @param n int
  13096. */
  13097. function ncurses_mvvline($y, $x, $attrchar, $n) {}
  13098. /**
  13099. * Adds string at new position in window
  13100. *
  13101. * @return int
  13102. * @param window resource
  13103. * @param y int
  13104. * @param x int
  13105. * @param text string
  13106. */
  13107. function ncurses_mvwaddstr($window, $y, $x, $text) {}
  13108. /**
  13109. * Sleep
  13110. *
  13111. * @return int
  13112. * @param milliseconds int
  13113. */
  13114. function ncurses_napms($milliseconds) {}
  13115. /**
  13116. * Create a new panel and associate it with window
  13117. *
  13118. * @return resource
  13119. * @param window resource
  13120. */
  13121. function ncurses_new_panel($window) {}
  13122. /**
  13123. * Creates a new pad (window)
  13124. *
  13125. * @return resource
  13126. * @param rows int
  13127. * @param cols int
  13128. */
  13129. function ncurses_newpad($rows, $cols) {}
  13130. /**
  13131. * Creates a new window
  13132. *
  13133. * @return int
  13134. * @param rows int
  13135. * @param cols int
  13136. * @param y int
  13137. * @param x int
  13138. */
  13139. function ncurses_newwin($rows, $cols, $y, $x) {}
  13140. /**
  13141. * Translates newline and carriage return / line feed
  13142. *
  13143. * @return bool
  13144. */
  13145. function ncurses_nl() {}
  13146. /**
  13147. * Switches terminal to cooked mode
  13148. *
  13149. * @return bool
  13150. */
  13151. function ncurses_nocbreak() {}
  13152. /**
  13153. * Switches off keyboard input echo
  13154. *
  13155. * @return bool
  13156. */
  13157. function ncurses_noecho() {}
  13158. /**
  13159. * Do not ranslate newline and carriage return / line feed
  13160. *
  13161. * @return bool
  13162. */
  13163. function ncurses_nonl() {}
  13164. /**
  13165. * Do not flush on signal characters
  13166. *
  13167. * @return int
  13168. */
  13169. function ncurses_noqiflush() {}
  13170. /**
  13171. * Switches terminal out of raw mode
  13172. *
  13173. * @return bool
  13174. */
  13175. function ncurses_noraw() {}
  13176. /**
  13177. * Gets the RGB value for color
  13178. *
  13179. * @return int
  13180. * @param pair int
  13181. * @param f int
  13182. * @param b int
  13183. */
  13184. function ncurses_pair_content($pair, &$f, &$b) {}
  13185. /**
  13186. * Returns the panel above panel. If panel is null, returns the bottom panel in the stack
  13187. *
  13188. * @return int
  13189. * @param panel resource
  13190. */
  13191. function ncurses_panel_above($panel) {}
  13192. /**
  13193. * Returns the panel below panel. If panel is null, returns the top panel in the stack
  13194. *
  13195. * @return int
  13196. * @param panel resource
  13197. */
  13198. function ncurses_panel_below($panel) {}
  13199. /**
  13200. * Returns the window associated with panel
  13201. *
  13202. * @return int
  13203. * @param panel resource
  13204. */
  13205. function ncurses_panel_window($panel) {}
  13206. /**
  13207. * Copys a region from a pad into the virtual screen
  13208. *
  13209. * @return int
  13210. * @param pad resource
  13211. * @param pminrow int
  13212. * @param pmincol int
  13213. * @param sminrow int
  13214. * @param smincol int
  13215. * @param smaxrow int
  13216. * @param smaxcol int
  13217. */
  13218. function ncurses_pnoutrefresh($pad, $pminrow, $pmincol, $sminrow, $smincol, $smaxrow, $smaxcol) {}
  13219. /**
  13220. * Copys a region from a pad into the virtual screen
  13221. *
  13222. * @return int
  13223. * @param pad resource
  13224. * @param pminrow int
  13225. * @param pmincol int
  13226. * @param sminrow int
  13227. * @param smincol int
  13228. * @param smaxrow int
  13229. * @param smaxcol int
  13230. */
  13231. function ncurses_prefresh($pad, $pminrow, $pmincol, $sminrow, $smincol, $smaxrow, $smaxcol) {}
  13232. /**
  13233. * ???
  13234. *
  13235. * @return int
  13236. * @param text string
  13237. */
  13238. function ncurses_putp($text) {}
  13239. /**
  13240. * Flushes on signal characters
  13241. *
  13242. * @return int
  13243. */
  13244. function ncurses_qiflush() {}
  13245. /**
  13246. * Switches terminal into raw mode
  13247. *
  13248. * @return bool
  13249. */
  13250. function ncurses_raw() {}
  13251. /**
  13252. * Refresh screen
  13253. *
  13254. * @return int
  13255. * @param ch int
  13256. */
  13257. function ncurses_refresh($ch) {}
  13258. /**
  13259. * Replaces the window associated with panel
  13260. *
  13261. * @return int
  13262. * @param panel resource
  13263. * @param window resource
  13264. */
  13265. function ncurses_replace_panel($panel, $window) {}
  13266. /**
  13267. * Resets the prog mode saved by def_prog_mode
  13268. *
  13269. * @return int
  13270. */
  13271. function ncurses_reset_prog_mode() {}
  13272. /**
  13273. * Resets the shell mode saved by def_shell_mode
  13274. *
  13275. * @return int
  13276. */
  13277. function ncurses_reset_shell_mode() {}
  13278. /**
  13279. * Restores saved terminal state
  13280. *
  13281. * @return bool
  13282. */
  13283. function ncurses_resetty() {}
  13284. /**
  13285. * Saves terminal state
  13286. *
  13287. * @return bool
  13288. */
  13289. function ncurses_savetty() {}
  13290. /**
  13291. * Dumps screen content to file
  13292. *
  13293. * @return int
  13294. * @param filename string
  13295. */
  13296. function ncurses_scr_dump($filename) {}
  13297. /**
  13298. * Initializes screen from file dump
  13299. *
  13300. * @return int
  13301. * @param filename string
  13302. */
  13303. function ncurses_scr_init($filename) {}
  13304. /**
  13305. * Restores screen from file dump
  13306. *
  13307. * @return int
  13308. * @param filename string
  13309. */
  13310. function ncurses_scr_restore($filename) {}
  13311. /**
  13312. * Inherits screen from file dump
  13313. *
  13314. * @return int
  13315. * @param filename string
  13316. */
  13317. function ncurses_scr_set($filename) {}
  13318. /**
  13319. * Scrolls window content up or down without changing current position
  13320. *
  13321. * @return int
  13322. * @param count int
  13323. */
  13324. function ncurses_scrl($count) {}
  13325. /**
  13326. * Places an invisible panel on top of the stack, making it visible
  13327. *
  13328. * @return int
  13329. * @param panel resource
  13330. */
  13331. function ncurses_show_panel($panel) {}
  13332. /**
  13333. * Returns current soft label keys attribute
  13334. *
  13335. * @return bool
  13336. */
  13337. function ncurses_slk_attr() {}
  13338. /**
  13339. * ???
  13340. *
  13341. * @return int
  13342. * @param intarg int
  13343. */
  13344. function ncurses_slk_attroff($intarg) {}
  13345. /**
  13346. * ???
  13347. *
  13348. * @return int
  13349. * @param intarg int
  13350. */
  13351. function ncurses_slk_attron($intarg) {}
  13352. /**
  13353. * ???
  13354. *
  13355. * @return int
  13356. * @param intarg int
  13357. */
  13358. function ncurses_slk_attrset($intarg) {}
  13359. /**
  13360. * Clears soft label keys from screen
  13361. *
  13362. * @return bool
  13363. */
  13364. function ncurses_slk_clear() {}
  13365. /**
  13366. * Sets color for soft label keys
  13367. *
  13368. * @return int
  13369. * @param intarg int
  13370. */
  13371. function ncurses_slk_color($intarg) {}
  13372. /**
  13373. * Inits soft label keys
  13374. *
  13375. * @return int
  13376. * @param intarg int
  13377. */
  13378. function ncurses_slk_init($intarg) {}
  13379. /**
  13380. * Copies soft label keys to virtual screen
  13381. *
  13382. * @return bool
  13383. */
  13384. function ncurses_slk_noutrefresh() {}
  13385. /**
  13386. * Copies soft label keys to screen
  13387. *
  13388. * @return bool
  13389. */
  13390. function ncurses_slk_refresh() {}
  13391. /**
  13392. * Restores soft label keys
  13393. *
  13394. * @return bool
  13395. */
  13396. function ncurses_slk_restore() {}
  13397. /**
  13398. * Sets function key labels
  13399. *
  13400. * @return bool
  13401. * @param labelnr int
  13402. * @param label string
  13403. * @param format int
  13404. */
  13405. function ncurses_slk_set($labelnr, $label, $format) {}
  13406. /**
  13407. * Forces output when ncurses_slk_noutrefresh is performed
  13408. *
  13409. * @return bool
  13410. */
  13411. function ncurses_slk_touch() {}
  13412. /**
  13413. * Stops using 'standout' attribute
  13414. *
  13415. * @return int
  13416. */
  13417. function ncurses_standend() {}
  13418. /**
  13419. * Starts using 'standout' attribute
  13420. *
  13421. * @return int
  13422. */
  13423. function ncurses_standout() {}
  13424. /**
  13425. * Starts using colors
  13426. *
  13427. * @return int
  13428. */
  13429. function ncurses_start_color() {}
  13430. /**
  13431. * Returns a logical OR of all attribute flags supported by terminal
  13432. *
  13433. * @return bool
  13434. */
  13435. function ncurses_termattrs() {}
  13436. /**
  13437. * Returns terminal name
  13438. *
  13439. * @return string
  13440. */
  13441. function ncurses_termname() {}
  13442. /**
  13443. * Sets timeout for special key sequences
  13444. *
  13445. * @return void
  13446. * @param millisec int
  13447. */
  13448. function ncurses_timeout($millisec) {}
  13449. /**
  13450. * Moves a visible panel to the top of the stack
  13451. *
  13452. * @return int
  13453. * @param panel resource
  13454. */
  13455. function ncurses_top_panel($panel) {}
  13456. /**
  13457. * Specifys different filedescriptor for typeahead checking
  13458. *
  13459. * @return int
  13460. * @param fd int
  13461. */
  13462. function ncurses_typeahead($fd) {}
  13463. /**
  13464. * Puts a character back into the input stream
  13465. *
  13466. * @return int
  13467. * @param keycode int
  13468. */
  13469. function ncurses_ungetch($keycode) {}
  13470. /**
  13471. * Pushes mouse event to queue
  13472. *
  13473. * @return int
  13474. * @param mevent array
  13475. */
  13476. function ncurses_ungetmouse($mevent) {}
  13477. /**
  13478. * Refreshes the virtual screen to reflect the relations between panels in the stack.
  13479. *
  13480. * @return void
  13481. */
  13482. function ncurses_update_panels() {}
  13483. /**
  13484. * Assigns terminal default colors to color id -1
  13485. *
  13486. * @return bool
  13487. */
  13488. function ncurses_use_default_colors() {}
  13489. /**
  13490. * Controls use of environment information about terminal size
  13491. *
  13492. * @return void
  13493. * @param flag bool
  13494. */
  13495. function ncurses_use_env($flag) {}
  13496. /**
  13497. * Controls use of extended names in terminfo descriptions
  13498. *
  13499. * @return int
  13500. * @param flag bool
  13501. */
  13502. function ncurses_use_extended_names($flag) {}
  13503. /**
  13504. * ???
  13505. *
  13506. * @return int
  13507. * @param intarg int
  13508. */
  13509. function ncurses_vidattr($intarg) {}
  13510. /**
  13511. * Draws a vertical line at current position using an attributed character and max. n characters long
  13512. *
  13513. * @return int
  13514. * @param charattr int
  13515. * @param n int
  13516. */
  13517. function ncurses_vline($charattr, $n) {}
  13518. /**
  13519. * Adds character at current position in a window and advance cursor
  13520. *
  13521. * @return int
  13522. * @param window resource
  13523. * @param ch int
  13524. */
  13525. function ncurses_waddch($window, $ch) {}
  13526. /**
  13527. * Outputs text at current postion in window
  13528. *
  13529. * @return int
  13530. * @param window resource
  13531. * @param str string
  13532. * @param n int[optional]
  13533. */
  13534. function ncurses_waddstr($window, $str, $n = null) {}
  13535. /**
  13536. * Draws a border around the window using attributed characters
  13537. *
  13538. * @return int
  13539. * @param window resource
  13540. * @param left int
  13541. * @param right int
  13542. * @param top int
  13543. * @param bottom int
  13544. * @param tl_corner int
  13545. * @param tr_corner int
  13546. * @param bl_corner int
  13547. * @param br_corner int
  13548. */
  13549. function ncurses_wborder($window, $left, $right, $top, $bottom, $tl_corner, $tr_corner, $bl_corner, $br_corner) {}
  13550. /**
  13551. * Clears window
  13552. *
  13553. * @return int
  13554. * @param window resource
  13555. */
  13556. function ncurses_wclear($window) {}
  13557. /**
  13558. * Sets windows color pairings
  13559. *
  13560. * @return int
  13561. * @param window resource
  13562. * @param color_pair int
  13563. */
  13564. function ncurses_wcolor_set($window, $color_pair) {}
  13565. /**
  13566. * Erase window contents
  13567. *
  13568. * @return long
  13569. * @param window resource
  13570. */
  13571. function ncurses_werase($window) {}
  13572. /**
  13573. * Reads a character from keyboard (window)
  13574. *
  13575. * @return int
  13576. * @param window resource
  13577. */
  13578. function ncurses_wgetch($window) {}
  13579. /**
  13580. * Draws a horizontal line in a window at current position using an attributed character and max. n characters long
  13581. *
  13582. * @return int
  13583. * @param window resource
  13584. * @param charattr int
  13585. * @param n int
  13586. */
  13587. function ncurses_whline($window, $charattr, $n) {}
  13588. /**
  13589. * Transforms window/stdscr coordinates
  13590. *
  13591. * @return bool
  13592. * @param window resource
  13593. * @param y int
  13594. * @param x int
  13595. * @param toscreen bool
  13596. */
  13597. function ncurses_wmouse_trafo($window, $y, $x, $toscreen) {}
  13598. /**
  13599. * Moves windows output position
  13600. *
  13601. * @return int
  13602. * @param window resource
  13603. * @param y int
  13604. * @param x int
  13605. */
  13606. function ncurses_wmove($window, $y, $x) {}
  13607. /**
  13608. * Copies window to virtual screen
  13609. *
  13610. * @return int
  13611. * @param window resource
  13612. */
  13613. function ncurses_wnoutrefresh($window) {}
  13614. /**
  13615. * Refreshes window on terminal screen
  13616. *
  13617. * @return int
  13618. * @param window resource
  13619. */
  13620. function ncurses_wrefresh($window) {}
  13621. /**
  13622. * Draws a vertical line in a window at current position using an attributed character and max. n characters long
  13623. *
  13624. * @return int
  13625. * @param window resource
  13626. * @param charattr int
  13627. * @param n int
  13628. */
  13629. function ncurses_wvline($window, $charattr, $n) {}
  13630. /**
  13631. * Make key from pass phrase in the snmpv3 session
  13632. *
  13633. * @return int
  13634. * @param snmp_session_*s struct
  13635. * @param *pass char
  13636. */
  13637. function netsnmp_session_gen_auth_key($snmp_session_s, $pass) {}
  13638. /**
  13639. * Make key from pass phrase in the snmpv3 session
  13640. *
  13641. * @return int
  13642. * @param snmp_session_*s struct
  13643. * @param *pass u_char
  13644. */
  13645. function netsnmp_session_gen_sec_key($snmp_session_s, $pass) {}
  13646. /**
  13647. * Set the authentication protocol in the snmpv3 session
  13648. *
  13649. * @return int
  13650. * @param snmp_session_*s struct
  13651. * @param *prot char
  13652. */
  13653. function netsnmp_session_set_auth_protocol($snmp_session_s, $prot) {}
  13654. /**
  13655. * Set the security level in the snmpv3 session
  13656. *
  13657. * @return int
  13658. * @param snmp_session_*s struct
  13659. * @param *level char
  13660. */
  13661. function netsnmp_session_set_sec_level($snmp_session_s, $level) {}
  13662. /**
  13663. * Set the security name in the snmpv3 session
  13664. *
  13665. * @return int
  13666. * @param snmp_session_*s struct
  13667. * @param *name char
  13668. */
  13669. function netsnmp_session_set_sec_name($snmp_session_s, $name) {}
  13670. /**
  13671. * Set the security protocol in the snmpv3 session
  13672. *
  13673. * @return int
  13674. * @param snmp_session_*s struct
  13675. * @param *prot char
  13676. */
  13677. function netsnmp_session_set_sec_protocol($snmp_session_s, $prot) {}
  13678. /**
  13679. * Creates new xmldoc
  13680. *
  13681. * @return object
  13682. * @param version string
  13683. */
  13684. function new_xmldoc($version) {}
  13685. /**
  13686. * Move array argument's internal pointer to the next element and return it
  13687. *
  13688. * @return mixed
  13689. * @param array_arg array
  13690. */
  13691. function next($array_arg) {}
  13692. /**
  13693. * Plural version of gettext()
  13694. *
  13695. * @return string
  13696. * @param MSGID1 string
  13697. * @param MSGID2 string
  13698. * @param N int
  13699. */
  13700. function ngettext($MSGID1, $MSGID2, $N) {}
  13701. /**
  13702. * Converts newlines to HTML line breaks
  13703. *
  13704. * @return string
  13705. * @param str string
  13706. */
  13707. function nl2br($str) {}
  13708. /**
  13709. * Query language and locale information
  13710. *
  13711. * @return string
  13712. * @param item int
  13713. */
  13714. function nl_langinfo($item) {}
  13715. /**
  13716. * Returns list of children nodes
  13717. *
  13718. * @return int
  13719. * @param **attributes zval
  13720. * @param node int
  13721. */
  13722. function node_attributes($attributes, $node) {}
  13723. /**
  13724. * Returns list of children nodes
  13725. *
  13726. * @return int
  13727. * @param node int[optional]
  13728. */
  13729. function node_children($node = null) {}
  13730. /**
  13731. * Returns list of namespaces
  13732. *
  13733. * @return int
  13734. * @param node int[optional]
  13735. */
  13736. function node_namespace($node = null) {}
  13737. /**
  13738. * Opens the message msg_number in the specified mailbox on the specified server (leave server blank for local) and returns an array of body text lines
  13739. *
  13740. * @return array
  13741. * @param server string
  13742. * @param mailbox string
  13743. * @param msg_number int
  13744. */
  13745. function notes_body($server, $mailbox, $msg_number) {}
  13746. /**
  13747. * Creates a note using form form_name
  13748. *
  13749. * @return string
  13750. * @param from_database_name string
  13751. * @param to_database_name string
  13752. * @param title string[optional]
  13753. */
  13754. function notes_copy_db($from_database_name, $to_database_name, $title = null) {}
  13755. /**
  13756. * Creates a Lotus Notes database
  13757. *
  13758. * @return bool
  13759. * @param database_name string
  13760. */
  13761. function notes_create_db($database_name) {}
  13762. /**
  13763. * Creates a note using form form_name
  13764. *
  13765. * @return string
  13766. * @param database_name string
  13767. * @param form_name string
  13768. */
  13769. function notes_create_note($database_name, $form_name) {}
  13770. /**
  13771. * Drops a Lotus Notes database
  13772. *
  13773. * @return bool
  13774. * @param database_name string
  13775. */
  13776. function notes_drop_db($database_name) {}
  13777. /**
  13778. * Returns a note id found in database_name
  13779. *
  13780. * @return bool
  13781. * @param database_name string
  13782. * @param name string
  13783. * @param type string[optional]
  13784. */
  13785. function notes_find_note($database_name, $name, $type = null) {}
  13786. /**
  13787. * Opens the message msg_number in the specified mailbox on the specified server (leave server blank for local)
  13788. *
  13789. * @return object
  13790. * @param server string
  13791. * @param mailbox string
  13792. * @param msg_number int
  13793. */
  13794. function notes_header_info($server, $mailbox, $msg_number) {}
  13795. /**
  13796. * ???
  13797. *
  13798. * @return bool
  13799. * @param db string
  13800. */
  13801. function notes_list_msgs($db) {}
  13802. /**
  13803. * Marks a note_id as read for the User user_name. Note: user_name must be fully distinguished user name
  13804. *
  13805. * @return string
  13806. * @param database_name string
  13807. * @param user_name string
  13808. * @param note_id string
  13809. */
  13810. function notes_mark_read($database_name, $user_name, $note_id) {}
  13811. /**
  13812. * Marks a note_id as unread for the User user_name. Note: user_name must be fully distinguished user name
  13813. *
  13814. * @return string
  13815. * @param database_name string
  13816. * @param user_name string
  13817. * @param note_id string
  13818. */
  13819. function notes_mark_unread($database_name, $user_name, $note_id) {}
  13820. /**
  13821. * Creates a navigator name, in database_name
  13822. *
  13823. * @return bool
  13824. * @param database_name string
  13825. * @param name string
  13826. */
  13827. function notes_nav_create($database_name, $name) {}
  13828. /**
  13829. * Finds notes that match keywords in database_name. The note(s) that are returned must be converted to base 16. Example base_convert($note_id, "10", "16")
  13830. *
  13831. * @return string
  13832. * @param database_name string
  13833. * @param keywords string
  13834. */
  13835. function notes_search($database_name, $keywords) {}
  13836. /**
  13837. * Returns the unread note id's for the current User user_name. Note: user_name must be fully distinguished user name
  13838. *
  13839. * @return string
  13840. * @param database_name string
  13841. * @param user_name string
  13842. */
  13843. function notes_unread($database_name, $user_name) {}
  13844. /**
  13845. * Gets the Lotus Notes version
  13846. *
  13847. * @return string
  13848. * @param database_name string
  13849. */
  13850. function notes_version($database_name) {}
  13851. /**
  13852. * Get all headers from the request
  13853. *
  13854. * @return array
  13855. */
  13856. function nsapi_request_headers() {}
  13857. /**
  13858. * Get all headers from the response
  13859. *
  13860. * @return array
  13861. */
  13862. function nsapi_response_headers() {}
  13863. /**
  13864. * Formats a number with grouped thousands
  13865. *
  13866. * @return string
  13867. * @param number float
  13868. * @param num_decimal_places int[optional]
  13869. * @param dec_seperator string[optional]
  13870. * @param thousands_seperator string
  13871. */
  13872. function number_format($number, $num_decimal_places = null, $dec_seperator = null, $thousands_seperator) {}
  13873. /**
  13874. * Clean (delete) the current output buffer
  13875. *
  13876. * @return bool
  13877. */
  13878. function ob_clean() {}
  13879. /**
  13880. * Clean the output buffer, and delete current output buffer
  13881. *
  13882. * @return bool
  13883. */
  13884. function ob_end_clean() {}
  13885. /**
  13886. * Flush (send) the output buffer, and delete current output buffer
  13887. *
  13888. * @return bool
  13889. */
  13890. function ob_end_flush() {}
  13891. /**
  13892. * Flush (send) contents of the output buffer. The last buffer content is sent to next buffer
  13893. *
  13894. * @return bool
  13895. */
  13896. function ob_flush() {}
  13897. /**
  13898. * Get current buffer contents and delete current output buffer
  13899. *
  13900. * @return bool
  13901. */
  13902. function ob_get_clean() {}
  13903. /**
  13904. * Return the contents of the output buffer
  13905. *
  13906. * @return string
  13907. */
  13908. function ob_get_contents() {}
  13909. /**
  13910. * Get current buffer contents, flush (send) the output buffer, and delete current output buffer
  13911. *
  13912. * @return bool
  13913. */
  13914. function ob_get_flush() {}
  13915. /**
  13916. * Return the length of the output buffer
  13917. *
  13918. * @return string
  13919. */
  13920. function ob_get_length() {}
  13921. /**
  13922. * Return the nesting level of the output buffer
  13923. *
  13924. * @return int
  13925. */
  13926. function ob_get_level() {}
  13927. /**
  13928. * Return the status of the active or all output buffers
  13929. *
  13930. * @return false|array
  13931. * @param full_status bool[optional]
  13932. */
  13933. function ob_get_status($full_status = null) {}
  13934. /**
  13935. * Encode str based on accept-encoding setting - designed to be called from ob_start()
  13936. *
  13937. * @return string
  13938. * @param str string
  13939. * @param mode int
  13940. */
  13941. function ob_gzhandler($str, $mode) {}
  13942. /**
  13943. * Returns str in output buffer converted to the iconv.output_encoding character set
  13944. *
  13945. * @return string
  13946. * @param contents string
  13947. * @param status int
  13948. */
  13949. function ob_iconv_handler($contents, $status) {}
  13950. /**
  13951. * Turn implicit flush on/off and is equivalent to calling flush() after every output call
  13952. *
  13953. * @return void
  13954. * @param flag int[optional]
  13955. */
  13956. function ob_implicit_flush($flag = null) {}
  13957. /**
  13958. *
  13959. *
  13960. * @return false|array
  13961. */
  13962. function ob_list_handlers() {}
  13963. /**
  13964. * Turn on Output Buffering (specifying an optional output handler).
  13965. *
  13966. * @return bool
  13967. * @param user_function string|array[optional]
  13968. * @param chunk_size int[optional]
  13969. * @param erase bool[optional]
  13970. */
  13971. function ob_start($user_function = null, $chunk_size = null, $erase = null) {}
  13972. /**
  13973. * Bind a PHP variable to an Oracle placeholder by name
  13974. *
  13975. * @return bool
  13976. * @param stmt int
  13977. * @param name string
  13978. * @param var mixed
  13979. * @param maxlength int[optional]
  13980. * @param type int[optional]
  13981. */
  13982. function ocibindbyname($stmt, $name, &$var, $maxlength = null, $type = null) {}
  13983. /**
  13984. * Prepare a new row of data for reading
  13985. *
  13986. * @return bool
  13987. * @param stmt int
  13988. */
  13989. function ocicancel($stmt) {}
  13990. /**
  13991. * Tell whether a column is NULL
  13992. *
  13993. * @return bool
  13994. * @param stmt int
  13995. * @param col int
  13996. */
  13997. function ocicolumnisnull($stmt, $col) {}
  13998. /**
  13999. * Tell the name of a column
  14000. *
  14001. * @return string
  14002. * @param stmt int
  14003. * @param col int
  14004. */
  14005. function ocicolumnname($stmt, $col) {}
  14006. /**
  14007. * Tell the precision of a column
  14008. *
  14009. * @return int
  14010. * @param stmt int
  14011. * @param col int
  14012. */
  14013. function ocicolumnprecision($stmt, $col) {}
  14014. /**
  14015. * Tell the scale of a column
  14016. *
  14017. * @return int
  14018. * @param stmt int
  14019. * @param col int
  14020. */
  14021. function ocicolumnscale($stmt, $col) {}
  14022. /**
  14023. * Tell the maximum data size of a column
  14024. *
  14025. * @return int
  14026. * @param stmt int
  14027. * @param col int
  14028. */
  14029. function ocicolumnsize($stmt, $col) {}
  14030. /**
  14031. * Tell the data type of a column
  14032. *
  14033. * @return mixed
  14034. * @param stmt int
  14035. * @param col int
  14036. */
  14037. function ocicolumntype($stmt, $col) {}
  14038. /**
  14039. * Tell the raw oracle data type of a column
  14040. *
  14041. * @return mixed
  14042. * @param stmt int
  14043. * @param col int
  14044. */
  14045. function ocicolumntyperaw($stmt, $col) {}
  14046. /**
  14047. * Commit the current context
  14048. *
  14049. * @return bool
  14050. * @param conn int
  14051. */
  14052. function ocicommit($conn) {}
  14053. /**
  14054. * Define a PHP variable to an Oracle column by name
  14055. *
  14056. * @return bool
  14057. * @param stmt int
  14058. * @param name string
  14059. * @param var mixed
  14060. * @param type int[optional]
  14061. */
  14062. function ocidefinebyname($stmt, $name, &$var, $type = null) {}
  14063. /**
  14064. * Return the last error of stmt|conn|global. If no error happened returns false.
  14065. *
  14066. * @return array
  14067. * @param stmt|conn|global int[optional]
  14068. */
  14069. function ocierror($stmt = null) {}
  14070. /**
  14071. * Execute a parsed statement
  14072. *
  14073. * @return bool
  14074. * @param stmt int
  14075. * @param mode int[optional]
  14076. */
  14077. function ociexecute($stmt, $mode = null) {}
  14078. /**
  14079. * Prepare a new row of data for reading
  14080. *
  14081. * @return bool
  14082. * @param stmt int
  14083. */
  14084. function ocifetch($stmt) {}
  14085. /**
  14086. * Fetch a row of result data into an array
  14087. *
  14088. * @return int
  14089. * @param stmt int
  14090. * @param output array
  14091. * @param mode int[optional]
  14092. */
  14093. function ocifetchinto($stmt, &$output, $mode = null) {}
  14094. /**
  14095. * Fetch all rows of result data into an array
  14096. *
  14097. * @return int
  14098. * @param stmt int
  14099. * @param output array
  14100. * @param skip int
  14101. * @param maxrows int[optional]
  14102. * @param flags int[optional]
  14103. */
  14104. function ocifetchstatement($stmt, &$output, $skip, $maxrows = null, $flags = null) {}
  14105. /**
  14106. * Free all resources associated with a statement
  14107. *
  14108. * @return bool
  14109. * @param stmt int
  14110. */
  14111. function ocifreecursor($stmt) {}
  14112. /**
  14113. * Free all resources associated with a statement
  14114. *
  14115. * @return bool
  14116. * @param stmt int
  14117. */
  14118. function ocifreestatement($stmt) {}
  14119. /**
  14120. * Toggle internal debugging output for the OCI extension
  14121. *
  14122. * @return void
  14123. * @param onoff int
  14124. */
  14125. function ociinternaldebug($onoff) {}
  14126. /**
  14127. * Disconnect from database
  14128. *
  14129. * @return bool
  14130. * @param conn int
  14131. */
  14132. function ocilogoff($conn) {}
  14133. /**
  14134. *
  14135. *
  14136. * @return int
  14137. * @param user string
  14138. * @param pass string
  14139. * @param db string[optional]
  14140. */
  14141. function ocilogon($user, $pass, $db = null) {}
  14142. /**
  14143. * Initialize a new collection
  14144. *
  14145. * @return bool
  14146. * @param connection int
  14147. * @param tdo string
  14148. * @param schema string[optional]
  14149. */
  14150. function ocinewcollection($connection, $tdo, $schema = null) {}
  14151. /**
  14152. * Return a new cursor (Statement-Handle) - use this to bind ref-cursors!
  14153. *
  14154. * @return int
  14155. * @param conn int
  14156. */
  14157. function ocinewcursor($conn) {}
  14158. /**
  14159. * Initialize a new empty descriptor LOB/FILE (LOB is default)
  14160. *
  14161. * @return string
  14162. * @param connection int
  14163. * @param type int[optional]
  14164. */
  14165. function ocinewdescriptor($connection, $type = null) {}
  14166. /**
  14167. * Connect to an Oracle database and log on. returns a new session
  14168. *
  14169. * @return int
  14170. * @param user string
  14171. * @param pass string
  14172. * @param db string[optional]
  14173. */
  14174. function ocinlogon($user, $pass, $db = null) {}
  14175. /**
  14176. * Return the number of result columns in a statement
  14177. *
  14178. * @return int
  14179. * @param stmt int
  14180. */
  14181. function ocinumcols($stmt) {}
  14182. /**
  14183. * Parse a query and return a statement
  14184. *
  14185. * @return int
  14186. * @param conn int
  14187. * @param query string
  14188. */
  14189. function ociparse($conn, $query) {}
  14190. /**
  14191. * changes the password of an account
  14192. *
  14193. * @return bool
  14194. * @param conn int
  14195. * @param username string
  14196. * @param old_password string
  14197. * @param new_password string
  14198. */
  14199. function ocipasswordchange($conn, $username, $old_password, $new_password) {}
  14200. /**
  14201. * Connect to an Oracle database using a persistent connection and log on. Returns a new session.
  14202. *
  14203. * @return int
  14204. * @param user string
  14205. * @param pass string
  14206. * @param db string[optional]
  14207. */
  14208. function ociplogon($user, $pass, $db = null) {}
  14209. /**
  14210. * Return a single column of result data
  14211. *
  14212. * @return string
  14213. * @param stmt int
  14214. * @param column mixed
  14215. */
  14216. function ociresult($stmt, $column) {}
  14217. /**
  14218. * Rollback the current context
  14219. *
  14220. * @return bool
  14221. * @param conn int
  14222. */
  14223. function ocirollback($conn) {}
  14224. /**
  14225. * Return the row count of an OCI statement
  14226. *
  14227. * @return int
  14228. * @param stmt int
  14229. */
  14230. function ocirowcount($stmt) {}
  14231. /**
  14232. * Return a string containing server version information
  14233. *
  14234. * @return string
  14235. * @param conn int
  14236. */
  14237. function ociserverversion($conn) {}
  14238. /**
  14239. * sets the number of rows to be prefetched on execute to prefetch_rows for stmt
  14240. *
  14241. * @return int
  14242. * @param stmt int
  14243. * @param prefetch_rows int
  14244. */
  14245. function ocisetprefetch($stmt, $prefetch_rows) {}
  14246. /**
  14247. * Return the query type of an OCI statement
  14248. *
  14249. * @return string
  14250. * @param stmt int
  14251. */
  14252. function ocistatementtype($stmt) {}
  14253. /**
  14254. * Returns the decimal equivalent of an octal string
  14255. *
  14256. * @return int
  14257. * @param octal_number string
  14258. */
  14259. function octdec($octal_number) {}
  14260. /**
  14261. * Toggle autocommit mode or get status
  14262. *
  14263. * @return int
  14264. * @param connection_id int
  14265. * @param OnOff int[optional]
  14266. */
  14267. function odbc_autocommit($connection_id, $OnOff = null) {}
  14268. /**
  14269. * Handle binary column data
  14270. *
  14271. * @return int
  14272. * @param result_id int
  14273. * @param mode int
  14274. */
  14275. function odbc_binmode($result_id, $mode) {}
  14276. /**
  14277. * Close an ODBC connection
  14278. *
  14279. * @return void
  14280. * @param connection_id int
  14281. */
  14282. function odbc_close($connection_id) {}
  14283. /**
  14284. * Close all ODBC connections
  14285. *
  14286. * @return void
  14287. */
  14288. function odbc_close_all() {}
  14289. /**
  14290. * Returns a result identifier that can be used to fetch a list of columns and associated privileges for the specified table
  14291. *
  14292. * @return int
  14293. * @param connection_id int
  14294. * @param catalog string
  14295. * @param schema string
  14296. * @param table string
  14297. * @param column string
  14298. */
  14299. function odbc_columnprivileges($connection_id, $catalog, $schema, $table, $column) {}
  14300. /**
  14301. * Returns a result identifier that can be used to fetch a list of column names in specified tables
  14302. *
  14303. * @return int
  14304. * @param connection_id int
  14305. * @param qualifier string
  14306. * @param owner string
  14307. * @param table_name string
  14308. * @param column_name string
  14309. */
  14310. function odbc_columns($connection_id, $qualifier, $owner, $table_name, $column_name) {}
  14311. /**
  14312. * Commit an ODBC transaction
  14313. *
  14314. * @return int
  14315. * @param connection_id int
  14316. */
  14317. function odbc_commit($connection_id) {}
  14318. /**
  14319. * Connect to a datasource
  14320. *
  14321. * @return int
  14322. * @param DSN string
  14323. * @param user string
  14324. * @param password string
  14325. * @param cursor_option int[optional]
  14326. */
  14327. function odbc_connect($DSN, $user, $password, $cursor_option = null) {}
  14328. /**
  14329. * Get cursor name
  14330. *
  14331. * @return string
  14332. * @param result_id int
  14333. */
  14334. function odbc_cursor($result_id) {}
  14335. /**
  14336. * Return information about the currently connected data source
  14337. *
  14338. * @return array
  14339. * @param connection_id int
  14340. * @param fetch_type int
  14341. */
  14342. function odbc_data_source($connection_id, $fetch_type) {}
  14343. /**
  14344. * Prepare and execute an SQL statement
  14345. *
  14346. * @return int
  14347. * @param connection_id int
  14348. * @param query string
  14349. * @param flags int[optional]
  14350. */
  14351. function odbc_do($connection_id, $query, $flags = null) {}
  14352. /**
  14353. * Get the last error code
  14354. *
  14355. * @return string
  14356. * @param connection_id int[optional]
  14357. */
  14358. function odbc_error($connection_id = null) {}
  14359. /**
  14360. * Get the last error message
  14361. *
  14362. * @return string
  14363. * @param connection_id int[optional]
  14364. */
  14365. function odbc_errormsg($connection_id = null) {}
  14366. /**
  14367. * Prepare and execute an SQL statement
  14368. *
  14369. * @return int
  14370. * @param connection_id int
  14371. * @param query string
  14372. * @param flags int[optional]
  14373. */
  14374. function odbc_exec($connection_id, $query, $flags = null) {}
  14375. /**
  14376. * Execute a prepared statement
  14377. *
  14378. * @return int
  14379. * @param result_id int
  14380. * @param parameters_array array[optional]
  14381. */
  14382. function odbc_execute($result_id, $parameters_array = null) {}
  14383. /**
  14384. * Fetch a result row as an associative array
  14385. *
  14386. * @return array
  14387. * @param result int
  14388. * @param rownumber int[optional]
  14389. */
  14390. function odbc_fetch_array($result, $rownumber = null) {}
  14391. /**
  14392. * Fetch one result row into an array
  14393. *
  14394. * @return int
  14395. * @param result_id int
  14396. * @param result_array array
  14397. * @param rownumber int[optional]
  14398. */
  14399. function odbc_fetch_into($result_id, $result_array, $rownumber = null) {}
  14400. /**
  14401. * Fetch a result row as an object
  14402. *
  14403. * @return object
  14404. * @param result int
  14405. * @param rownumber int[optional]
  14406. */
  14407. function odbc_fetch_object($result, $rownumber = null) {}
  14408. /**
  14409. * Fetch a row
  14410. *
  14411. * @return int
  14412. * @param result_id int
  14413. * @param row_number int[optional]
  14414. */
  14415. function odbc_fetch_row($result_id, $row_number = null) {}
  14416. /**
  14417. * Get the length (precision) of a column
  14418. *
  14419. * @return int
  14420. * @param result_id int
  14421. * @param field_number int
  14422. */
  14423. function odbc_field_len($result_id, $field_number) {}
  14424. /**
  14425. * Get a column name
  14426. *
  14427. * @return string
  14428. * @param result_id int
  14429. * @param field_number int
  14430. */
  14431. function odbc_field_name($result_id, $field_number) {}
  14432. /**
  14433. * Return column number
  14434. *
  14435. * @return int
  14436. * @param result_id int
  14437. * @param field_name string
  14438. */
  14439. function odbc_field_num($result_id, $field_name) {}
  14440. /**
  14441. * Get the length (precision) of a column
  14442. *
  14443. * @return int
  14444. * @param result_id int
  14445. * @param field_number int
  14446. */
  14447. function odbc_field_precision($result_id, $field_number) {}
  14448. /**
  14449. * Get the scale of a column
  14450. *
  14451. * @return int
  14452. * @param result_id int
  14453. * @param field_number int
  14454. */
  14455. function odbc_field_scale($result_id, $field_number) {}
  14456. /**
  14457. * Get the datatype of a column
  14458. *
  14459. * @return string
  14460. * @param result_id int
  14461. * @param field_number int
  14462. */
  14463. function odbc_field_type($result_id, $field_number) {}
  14464. /**
  14465. * Returns a result identifier to either a list of foreign keys in the specified table or a list of foreign keys in other tables that refer to the primary key in the specified table
  14466. *
  14467. * @return int
  14468. * @param connection_id int
  14469. * @param pk_qualifier string
  14470. * @param pk_owner string
  14471. * @param pk_table string
  14472. * @param fk_qualifier string
  14473. * @param fk_owner string
  14474. * @param fk_table string
  14475. */
  14476. function odbc_foreignkeys($connection_id, $pk_qualifier, $pk_owner, $pk_table, $fk_qualifier, $fk_owner, $fk_table) {}
  14477. /**
  14478. * Free resources associated with a result
  14479. *
  14480. * @return int
  14481. * @param result_id int
  14482. */
  14483. function odbc_free_result($result_id) {}
  14484. /**
  14485. * Returns a result identifier containing information about data types supported by the data source
  14486. *
  14487. * @return int
  14488. * @param connection_id int
  14489. * @param data_type int[optional]
  14490. */
  14491. function odbc_gettypeinfo($connection_id, $data_type = null) {}
  14492. /**
  14493. * Handle LONG columns
  14494. *
  14495. * @return int
  14496. * @param result_id int
  14497. * @param length int
  14498. */
  14499. function odbc_longreadlen($result_id, $length) {}
  14500. /**
  14501. * Checks if multiple results are avaiable
  14502. *
  14503. * @return bool
  14504. * @param result_id int
  14505. */
  14506. function odbc_next_result($result_id) {}
  14507. /**
  14508. * Get number of columns in a result
  14509. *
  14510. * @return int
  14511. * @param result_id int
  14512. */
  14513. function odbc_num_fields($result_id) {}
  14514. /**
  14515. * Get number of rows in a result
  14516. *
  14517. * @return int
  14518. * @param result_id int
  14519. */
  14520. function odbc_num_rows($result_id) {}
  14521. /**
  14522. * Establish a persistent connection to a datasource
  14523. *
  14524. * @return int
  14525. * @param DSN string
  14526. * @param user string
  14527. * @param password string
  14528. * @param cursor_option int[optional]
  14529. */
  14530. function odbc_pconnect($DSN, $user, $password, $cursor_option = null) {}
  14531. /**
  14532. * Prepares a statement for execution
  14533. *
  14534. * @return int
  14535. * @param connection_id int
  14536. * @param query string
  14537. */
  14538. function odbc_prepare($connection_id, $query) {}
  14539. /**
  14540. * Returns a result identifier listing the column names that comprise the primary key for a table
  14541. *
  14542. * @return int
  14543. * @param connection_id int
  14544. * @param qualifier string
  14545. * @param owner string
  14546. * @param table string
  14547. */
  14548. function odbc_primarykeys($connection_id, $qualifier, $owner, $table) {}
  14549. /**
  14550. * Returns a result identifier containing the list of input and output parameters, as well as the columns that make up the result set for the specified procedures
  14551. *
  14552. * @return int
  14553. * @param connection_id int
  14554. * @param qualifier string[optional]
  14555. * @param owner string
  14556. * @param proc string
  14557. * @param column string
  14558. */
  14559. function odbc_procedurecolumns($connection_id, $qualifier = null, $owner, $proc, $column) {}
  14560. /**
  14561. * Returns a result identifier containg the list of procedure names in a datasource
  14562. *
  14563. * @return int
  14564. * @param connection_id int
  14565. * @param qualifier string[optional]
  14566. * @param owner string
  14567. * @param name string
  14568. */
  14569. function odbc_procedures($connection_id, $qualifier = null, $owner, $name) {}
  14570. /**
  14571. * Get result data
  14572. *
  14573. * @return string
  14574. * @param result_id int
  14575. * @param field mixed
  14576. */
  14577. function odbc_result($result_id, $field) {}
  14578. /**
  14579. * Print result as HTML table
  14580. *
  14581. * @return int
  14582. * @param result_id int
  14583. * @param format string[optional]
  14584. */
  14585. function odbc_result_all($result_id, $format = null) {}
  14586. /**
  14587. * Rollback a transaction
  14588. *
  14589. * @return int
  14590. * @param connection_id int
  14591. */
  14592. function odbc_rollback($connection_id) {}
  14593. /**
  14594. * Sets connection or statement options
  14595. *
  14596. * @return int
  14597. * @param conn_id|result_id int
  14598. * @param which int
  14599. * @param option int
  14600. * @param value int
  14601. */
  14602. function odbc_setoption($conn_id, $which, $option, $value) {}
  14603. /**
  14604. * Returns a result identifier containing either the optimal set of columns that uniquely identifies a row in the table or columns that are automatically updated when any value in the row is updated by a transaction
  14605. *
  14606. * @return int
  14607. * @param connection_id int
  14608. * @param type int
  14609. * @param qualifier string
  14610. * @param owner string
  14611. * @param table string
  14612. * @param scope int
  14613. * @param nullable int
  14614. */
  14615. function odbc_specialcolumns($connection_id, $type, $qualifier, $owner, $table, $scope, $nullable) {}
  14616. /**
  14617. * Returns a result identifier that contains statistics about a single table and the indexes associated with the table
  14618. *
  14619. * @return int
  14620. * @param connection_id int
  14621. * @param qualifier string
  14622. * @param owner string
  14623. * @param name string
  14624. * @param unique int
  14625. * @param accuracy int
  14626. */
  14627. function odbc_statistics($connection_id, $qualifier, $owner, $name, $unique, $accuracy) {}
  14628. /**
  14629. * Returns a result identifier containing a list of tables and the privileges associated with each table
  14630. *
  14631. * @return int
  14632. * @param connection_id int
  14633. * @param qualifier string
  14634. * @param owner string
  14635. * @param name string
  14636. */
  14637. function odbc_tableprivileges($connection_id, $qualifier, $owner, $name) {}
  14638. /**
  14639. * Call the SQLTables function
  14640. *
  14641. * @return int
  14642. * @param connection_id int
  14643. * @param qualifier string[optional]
  14644. * @param owner string
  14645. * @param name string
  14646. * @param table_types string
  14647. */
  14648. function odbc_tables($connection_id, $qualifier = null, $owner, $name, $table_types) {}
  14649. /**
  14650. * Open a directory and return a dir_handle
  14651. *
  14652. * @return mixed
  14653. * @param path string
  14654. */
  14655. function opendir($path) {}
  14656. /**
  14657. * Open connection to system logger
  14658. *
  14659. * @return bool
  14660. * @param ident string
  14661. * @param option int
  14662. * @param facility int
  14663. */
  14664. function openlog($ident, $option, $facility) {}
  14665. /**
  14666. * Exports a CSR to file or a var
  14667. *
  14668. * @return bool
  14669. * @param csr resource
  14670. * @param out string
  14671. * @param notext bool[optional]
  14672. */
  14673. function openssl_csr_export($csr, &$out, $notext = true) {}
  14674. /**
  14675. * Exports a CSR to file
  14676. *
  14677. * @return bool
  14678. * @param csr resource
  14679. * @param outfilename string
  14680. * @param notext bool[optional]
  14681. */
  14682. function openssl_csr_export_to_file($csr, $outfilename, $notext = true) {}
  14683. /**
  14684. * Generates a privkey and CSR
  14685. *
  14686. * @return bool
  14687. * @param dn array
  14688. * @param privkey resource
  14689. * @param configargs array[optional]
  14690. * @param extraattribs array
  14691. */
  14692. function openssl_csr_new($dn, &$privkey, $configargs = null, $extraattribs) {}
  14693. /**
  14694. * Signs a cert with another CERT
  14695. *
  14696. * @return resource
  14697. * @param csr mixed
  14698. * @param x509 mixed
  14699. * @param priv_key mixed
  14700. * @param days long
  14701. */
  14702. function openssl_csr_sign($csr, $x509, $priv_key, $days) {}
  14703. /**
  14704. * Returns a description of the last error, and alters the index of the error messages. Returns false when the are no more messages
  14705. *
  14706. * @return mixed
  14707. */
  14708. function openssl_error_string() {}
  14709. /**
  14710. * Frees a key
  14711. *
  14712. * @return void
  14713. * @param key int
  14714. */
  14715. function openssl_free_key($key) {}
  14716. /**
  14717. * Gets private keys
  14718. *
  14719. * @return int
  14720. * @param key string
  14721. * @param passphrase string[optional]
  14722. */
  14723. function openssl_get_privatekey($key, $passphrase = null) {}
  14724. /**
  14725. * Gets public key from X.509 certificate
  14726. *
  14727. * @return int
  14728. * @param cert mixed
  14729. */
  14730. function openssl_get_publickey($cert) {}
  14731. /**
  14732. * Opens data
  14733. *
  14734. * @return bool
  14735. * @param data string
  14736. * @param opendata &string
  14737. * @param ekey string
  14738. * @param privkey mixed
  14739. */
  14740. function openssl_open($data, $opendata, $ekey, $privkey) {}
  14741. /**
  14742. * Decrypts the S/MIME message in the file name infilename and output the results to the file name outfilename. recipcert is a CERT for one of the recipients. recipkey specifies the private key matching recipcert, if recipcert does not include the key
  14743. *
  14744. * @return bool
  14745. * @param infilename string
  14746. * @param outfilename string
  14747. * @param recipcert mixed
  14748. * @param recipkey mixed[optional]
  14749. */
  14750. function openssl_pkcs7_decrypt($infilename, $outfilename, $recipcert, $recipkey = null) {}
  14751. /**
  14752. * Encrypts the message in the file named infile with the certificates in recipcerts and output the result to the file named outfile
  14753. *
  14754. * @return bool
  14755. * @param infile string
  14756. * @param outfile string
  14757. * @param recipcerts mixed
  14758. * @param headers array
  14759. * @param flags long[optional]
  14760. */
  14761. function openssl_pkcs7_encrypt($infile, $outfile, $recipcerts, $headers, $flags = null) {}
  14762. /**
  14763. * Signs the MIME message in the file named infile with signcert/signkey and output the result to file name outfile. headers lists plain text headers to exclude from the signed portion of the message, and should include to, from and subject as a minimum
  14764. *
  14765. * @return bool
  14766. * @param infile string
  14767. * @param outfile string
  14768. * @param signcert mixed
  14769. * @param signkey mixed
  14770. * @param headers array
  14771. * @param flags long[optional]
  14772. * @param extracertsfilename string[optional]
  14773. */
  14774. function openssl_pkcs7_sign($infile, $outfile, $signcert, $signkey, $headers, $flags = null, $extracertsfilename = null) {}
  14775. /**
  14776. * Verifys that the data block is intact, the signer is who they say they are, and returns the CERTs of the signers
  14777. *
  14778. * @return bool
  14779. * @param filename string
  14780. * @param flags long
  14781. * @param signerscerts string[optional]
  14782. * @param cainfo array[optional]
  14783. * @param extracerts string[optional]
  14784. */
  14785. function openssl_pkcs7_verify($filename, $flags, $signerscerts = null, $cainfo = null, $extracerts = null) {}
  14786. /**
  14787. * Gets an exportable representation of a key into a string or file
  14788. *
  14789. * @return bool
  14790. * @param key mixed
  14791. * @param out &mixed
  14792. * @param passphrase string[optional]
  14793. * @param config_args array[optional]
  14794. */
  14795. function openssl_pkey_export($key, $out, $passphrase = null, $config_args = null) {}
  14796. /**
  14797. * Gets an exportable representation of a key into a file
  14798. *
  14799. * @return bool
  14800. * @param key mixed
  14801. * @param outfilename string
  14802. * @param passphrase string[optional]
  14803. * @param config_args array
  14804. */
  14805. function openssl_pkey_export_to_file($key, $outfilename, $passphrase = null, $config_args) {}
  14806. /**
  14807. * Frees a key
  14808. *
  14809. * @return void
  14810. * @param key int
  14811. */
  14812. function openssl_pkey_free($key) {}
  14813. /**
  14814. * Gets private keys
  14815. *
  14816. * @return int
  14817. * @param key string
  14818. * @param passphrase string[optional]
  14819. */
  14820. function openssl_pkey_get_private($key, $passphrase = null) {}
  14821. /**
  14822. * Gets public key from X.509 certificate
  14823. *
  14824. * @return int
  14825. * @param cert mixed
  14826. */
  14827. function openssl_pkey_get_public($cert) {}
  14828. /**
  14829. * Generates a new private key
  14830. *
  14831. * @return resource
  14832. * @param configargs array[optional]
  14833. */
  14834. function openssl_pkey_new($configargs = null) {}
  14835. /**
  14836. * Decrypts data with private key
  14837. *
  14838. * @return bool
  14839. * @param data string
  14840. * @param decrypted string
  14841. * @param key mixed
  14842. * @param padding int[optional]
  14843. */
  14844. function openssl_private_decrypt($data, &$decrypted, $key, $padding = null) {}
  14845. /**
  14846. * Encrypts data with private key
  14847. *
  14848. * @return bool
  14849. * @param data string
  14850. * @param crypted string
  14851. * @param key mixed
  14852. * @param padding int[optional]
  14853. */
  14854. function openssl_private_encrypt($data, $crypted, $key, $padding = null) {}
  14855. /**
  14856. * Decrypts data with public key
  14857. *
  14858. * @return bool
  14859. * @param data string
  14860. * @param crypted string
  14861. * @param key resource
  14862. * @param padding int[optional]
  14863. */
  14864. function openssl_public_decrypt($data, $crypted, $key, $padding = null) {}
  14865. /**
  14866. * Encrypts data with public key
  14867. *
  14868. * @return bool
  14869. * @param data string
  14870. * @param crypted string
  14871. * @param key mixed
  14872. * @param padding int[optional]
  14873. */
  14874. function openssl_public_encrypt($data, $crypted, $key, $padding = null) {}
  14875. /**
  14876. * Seals data
  14877. *
  14878. * @return int
  14879. * @param data string
  14880. * @param sealdata &string
  14881. * @param ekeys &array
  14882. * @param pubkeys array
  14883. */
  14884. function openssl_seal($data, $sealdata, $ekeys, $pubkeys) {}
  14885. /**
  14886. * Signs data
  14887. *
  14888. * @return bool
  14889. * @param data string
  14890. * @param signature &string
  14891. * @param key mixed
  14892. */
  14893. function openssl_sign($data, $signature, $key) {}
  14894. /**
  14895. * Verifys data
  14896. *
  14897. * @return int
  14898. * @param data string
  14899. * @param signature string
  14900. * @param key mixed
  14901. */
  14902. function openssl_verify($data, $signature, $key) {}
  14903. /**
  14904. * Checks if a private key corresponds to a CERT
  14905. *
  14906. * @return bool
  14907. * @param cert mixed
  14908. * @param key mixed
  14909. */
  14910. function openssl_x509_check_private_key($cert, $key) {}
  14911. /**
  14912. * Checks the CERT to see if it can be used for the purpose in purpose. cainfo holds information about trusted CAs
  14913. *
  14914. * @return int
  14915. * @param x509cert mixed
  14916. * @param purpose int
  14917. * @param cainfo array
  14918. * @param untrustedfile string[optional]
  14919. */
  14920. function openssl_x509_checkpurpose($x509cert, $purpose, $cainfo, $untrustedfile = null) {}
  14921. /**
  14922. * Exports a CERT to file or a var
  14923. *
  14924. * @return bool
  14925. * @param x509 mixed
  14926. * @param out string
  14927. * @param notext bool[optional]
  14928. */
  14929. function openssl_x509_export($x509, &$out, $notext = true) {}
  14930. /**
  14931. * Exports a CERT to file or a var
  14932. *
  14933. * @return bool
  14934. * @param x509 mixed
  14935. * @param outfilename string
  14936. * @param notext bool[optional]
  14937. */
  14938. function openssl_x509_export_to_file($x509, $outfilename, $notext = true) {}
  14939. /**
  14940. * Frees X.509 certificates
  14941. *
  14942. * @return void
  14943. * @param x509 resource
  14944. */
  14945. function openssl_x509_free($x509) {}
  14946. /**
  14947. * Returns an array of the fields/values of the CERT
  14948. *
  14949. * @return array
  14950. * @param x509 mixed
  14951. * @param shortnames bool[optional]
  14952. */
  14953. function openssl_x509_parse($x509, $shortnames = true) {}
  14954. /**
  14955. * Reads X.509 certificates
  14956. *
  14957. * @return resource
  14958. * @param cert mixed
  14959. */
  14960. function openssl_x509_read($cert) {}
  14961. /**
  14962. * Bind a PHP variable to an Oracle parameter
  14963. *
  14964. * @return int
  14965. * @param cursor int
  14966. * @param php_variable_name string
  14967. * @param sql_parameter_name string
  14968. * @param length int
  14969. * @param type int[optional]
  14970. */
  14971. function ora_bind($cursor, $php_variable_name, $sql_parameter_name, $length, $type = null) {}
  14972. /**
  14973. * Close an Oracle cursor
  14974. *
  14975. * @return int
  14976. * @param cursor int
  14977. */
  14978. function ora_close($cursor) {}
  14979. /**
  14980. * Get the name of an Oracle result column
  14981. *
  14982. * @return string
  14983. * @param cursor int
  14984. * @param column int
  14985. */
  14986. function ora_columnname($cursor, $column) {}
  14987. /**
  14988. * Return the size of the column
  14989. *
  14990. * @return int
  14991. * @param cursor int
  14992. * @param column int
  14993. */
  14994. function ora_columnsize($cursor, $column) {}
  14995. /**
  14996. * Get the type of an Oracle result column
  14997. *
  14998. * @return string
  14999. * @param cursor int
  15000. * @param column int
  15001. */
  15002. function ora_columntype($cursor, $column) {}
  15003. /**
  15004. * Commit an Oracle transaction
  15005. *
  15006. * @return int
  15007. * @param connection int
  15008. */
  15009. function ora_commit($connection) {}
  15010. /**
  15011. * Disable automatic commit
  15012. *
  15013. * @return int
  15014. * @param connection int
  15015. */
  15016. function ora_commitoff($connection) {}
  15017. /**
  15018. * Enable automatic commit
  15019. *
  15020. * @return int
  15021. * @param connection int
  15022. */
  15023. function ora_commiton($connection) {}
  15024. /**
  15025. * Parse and execute a statement and fetch first result row
  15026. *
  15027. * @return int
  15028. * @param connection int
  15029. * @param cursor int
  15030. */
  15031. function ora_do($connection, $cursor) {}
  15032. /**
  15033. * Get an Oracle error message
  15034. *
  15035. * @return string
  15036. * @param cursor_or_connection int
  15037. */
  15038. function ora_error($cursor_or_connection) {}
  15039. /**
  15040. * Get an Oracle error code
  15041. *
  15042. * @return int
  15043. * @param cursor_or_connection int
  15044. */
  15045. function ora_errorcode($cursor_or_connection) {}
  15046. /**
  15047. * Execute a parsed statement
  15048. *
  15049. * @return int
  15050. * @param cursor int
  15051. */
  15052. function ora_exec($cursor) {}
  15053. /**
  15054. * Fetch a row of result data from a cursor
  15055. *
  15056. * @return int
  15057. * @param cursor int
  15058. */
  15059. function ora_fetch($cursor) {}
  15060. /**
  15061. * Fetch a row into the specified result array
  15062. *
  15063. * @return int
  15064. * @param cursor int
  15065. * @param result array
  15066. * @param flags int[optional]
  15067. */
  15068. function ora_fetch_into($cursor, $result, $flags = null) {}
  15069. /**
  15070. * Get data from a fetched row
  15071. *
  15072. * @return mixed
  15073. * @param cursor int
  15074. * @param column int
  15075. */
  15076. function ora_getcolumn($cursor, $column) {}
  15077. /**
  15078. * Close an Oracle connection
  15079. *
  15080. * @return int
  15081. * @param connection int
  15082. */
  15083. function ora_logoff($connection) {}
  15084. /**
  15085. * Open an Oracle connection
  15086. *
  15087. * @return int
  15088. * @param user string
  15089. * @param password string
  15090. */
  15091. function ora_logon($user, $password) {}
  15092. /**
  15093. * Returns the numbers of columns in a result
  15094. *
  15095. * @return int
  15096. * @param cursor int
  15097. */
  15098. function ora_numcols($cursor) {}
  15099. /**
  15100. * Returns the number of rows in a result
  15101. *
  15102. * @return int
  15103. * @param cursor int
  15104. */
  15105. function ora_numrows($cursor) {}
  15106. /**
  15107. * Open an Oracle cursor
  15108. *
  15109. * @return int
  15110. * @param connection int
  15111. */
  15112. function ora_open($connection) {}
  15113. /**
  15114. * Parse an Oracle SQL statement
  15115. *
  15116. * @return int
  15117. * @param cursor int
  15118. * @param sql_statement string
  15119. * @param defer int[optional]
  15120. */
  15121. function ora_parse($cursor, $sql_statement, $defer = null) {}
  15122. /**
  15123. * Open a persistent Oracle connection
  15124. *
  15125. * @return int
  15126. * @param user string
  15127. * @param password string
  15128. */
  15129. function ora_plogon($user, $password) {}
  15130. /**
  15131. * Roll back an Oracle transaction
  15132. *
  15133. * @return int
  15134. * @param connection int
  15135. */
  15136. function ora_rollback($connection) {}
  15137. /**
  15138. * Returns ASCII value of character
  15139. *
  15140. * @return int
  15141. * @param character string
  15142. */
  15143. function ord($character) {}
  15144. /**
  15145. * Add URL rewriter values
  15146. *
  15147. * @return bool
  15148. * @param name string
  15149. * @param value string
  15150. */
  15151. function output_add_rewrite_var($name, $value) {}
  15152. /**
  15153. * Reset(clear) URL rewriter values
  15154. *
  15155. * @return bool
  15156. */
  15157. function output_reset_rewrite_vars() {}
  15158. /**
  15159. * Enables property and method call overloading for a class.
  15160. *
  15161. * @return void
  15162. * @param class_entry string
  15163. */
  15164. function overload($class_entry) {}
  15165. /**
  15166. *
  15167. *
  15168. * @return int
  15169. * @param connection_id int
  15170. * @param OnOff int
  15171. */
  15172. function ovrimos_autocommit($connection_id, $OnOff) {}
  15173. /**
  15174. * Close a connection
  15175. *
  15176. * @return void
  15177. * @param connection int
  15178. */
  15179. function ovrimos_close($connection) {}
  15180. /**
  15181. * Commit an ovrimos transaction
  15182. *
  15183. * @return int
  15184. * @param connection_id int
  15185. */
  15186. function ovrimos_commit($connection_id) {}
  15187. /**
  15188. * Connect to an Ovrimos database
  15189. *
  15190. * @return int
  15191. * @param host string
  15192. * @param db string
  15193. * @param user string
  15194. * @param password string
  15195. */
  15196. function ovrimos_connect($host, $db, $user, $password) {}
  15197. /**
  15198. * Get cursor name
  15199. *
  15200. * @return string
  15201. * @param result_id int
  15202. */
  15203. function ovrimos_cursor($result_id) {}
  15204. /**
  15205. * Prepare and execute an SQL statement
  15206. *
  15207. * @return int
  15208. * @param connection_id int
  15209. * @param query string
  15210. */
  15211. function ovrimos_do($connection_id, $query) {}
  15212. /**
  15213. * Prepare and execute an SQL statement
  15214. *
  15215. * @return int
  15216. * @param connection_id int
  15217. * @param query string
  15218. */
  15219. function ovrimos_exec($connection_id, $query) {}
  15220. /**
  15221. * Execute a prepared statement
  15222. *
  15223. * @return int
  15224. * @param result_id int
  15225. * @param parameters_array array[optional]
  15226. */
  15227. function ovrimos_execute($result_id, $parameters_array = null) {}
  15228. /**
  15229. *
  15230. *
  15231. * @return int
  15232. * @param result_id int
  15233. * @param result_array array
  15234. * @param how string[optional]
  15235. * @param rownumber int[optional]
  15236. */
  15237. function ovrimos_fetch_into($result_id, $result_array, $how = null, $rownumber = null) {}
  15238. /**
  15239. *
  15240. *
  15241. * @return int
  15242. * @param result_id int
  15243. * @param how int[optional]
  15244. * @param row_number int[optional]
  15245. */
  15246. function ovrimos_fetch_row($result_id, $how = null, $row_number = null) {}
  15247. /**
  15248. * Get the length of a column
  15249. *
  15250. * @return int
  15251. * @param result_id int
  15252. * @param field_number int
  15253. */
  15254. function ovrimos_field_len($result_id, $field_number) {}
  15255. /**
  15256. * Get a column name
  15257. *
  15258. * @return string
  15259. * @param result_id int
  15260. * @param field_number int
  15261. */
  15262. function ovrimos_field_name($result_id, $field_number) {}
  15263. /**
  15264. * Return column number
  15265. *
  15266. * @return int
  15267. * @param result_id int
  15268. * @param field_name string
  15269. */
  15270. function ovrimos_field_num($result_id, $field_name) {}
  15271. /**
  15272. * Get the datatype of a column
  15273. *
  15274. * @return string
  15275. * @param result_id int
  15276. * @param field_number int
  15277. */
  15278. function ovrimos_field_type($result_id, $field_number) {}
  15279. /**
  15280. * Free resources associated with a result
  15281. *
  15282. * @return int
  15283. * @param result_id int
  15284. */
  15285. function ovrimos_free_result($result_id) {}
  15286. /**
  15287. * Handle LONG columns
  15288. *
  15289. * @return int
  15290. * @param result_id int
  15291. * @param length int
  15292. */
  15293. function ovrimos_longreadlen($result_id, $length) {}
  15294. /**
  15295. * Get number of columns in a result
  15296. *
  15297. * @return int
  15298. * @param result_id int
  15299. */
  15300. function ovrimos_num_fields($result_id) {}
  15301. /**
  15302. * Get number of rows in a result
  15303. *
  15304. * @return int
  15305. * @param result_id int
  15306. */
  15307. function ovrimos_num_rows($result_id) {}
  15308. /**
  15309. * Prepares a statement for execution
  15310. *
  15311. * @return int
  15312. * @param connection_id int
  15313. * @param query string
  15314. */
  15315. function ovrimos_prepare($connection_id, $query) {}
  15316. /**
  15317. * Get result data
  15318. *
  15319. * @return string
  15320. * @param result_id int
  15321. * @param field mixed
  15322. */
  15323. function ovrimos_result($result_id, $field) {}
  15324. /**
  15325. * Print result as HTML table
  15326. *
  15327. * @return int
  15328. * @param result_id int
  15329. * @param format string[optional]
  15330. */
  15331. function ovrimos_result_all($result_id, $format = null) {}
  15332. /**
  15333. * Rollback a transaction
  15334. *
  15335. * @return int
  15336. * @param connection_id int
  15337. */
  15338. function ovrimos_rollback($connection_id) {}
  15339. /**
  15340. * Sets connection or statement options
  15341. *
  15342. * @return int
  15343. * @param conn_id|result_id int
  15344. * @param which int
  15345. * @param option int
  15346. * @param value int
  15347. */
  15348. function ovrimos_setoption($conn_id, $which, $option, $value) {}
  15349. /**
  15350. * Takes one or more arguments and packs them into a binary string according to the format argument
  15351. *
  15352. * @return string
  15353. * @param format string
  15354. * @param arg1 mixed
  15355. * @param arg2 mixed[optional]
  15356. * @vararg ... mixed
  15357. */
  15358. function pack($format, $arg1, $arg2 = null) {}
  15359. /**
  15360. * Parse configuration file
  15361. *
  15362. * @return array
  15363. * @param filename string
  15364. * @param process_sections bool[optional]
  15365. */
  15366. function parse_ini_file($filename, $process_sections = null) {}
  15367. /**
  15368. * Parses GET/POST/COOKIE data and sets global variables
  15369. *
  15370. * @return void
  15371. * @param encoded_string string
  15372. * @param result array[optional]
  15373. */
  15374. function parse_str($encoded_string, $result = null) {}
  15375. /**
  15376. * Parse a URL and return its components
  15377. *
  15378. * @return array
  15379. * @param url string
  15380. */
  15381. function parse_url($url) {}
  15382. /**
  15383. * Execute an external program and display raw output
  15384. *
  15385. * @return void
  15386. * @param command string
  15387. * @param return_value int[optional]
  15388. */
  15389. function passthru($command, $return_value = null) {}
  15390. /**
  15391. * Returns information about a certain string
  15392. *
  15393. * @return array
  15394. * @param path string
  15395. */
  15396. function pathinfo($path) {}
  15397. /**
  15398. * Close a file pointer opened by popen()
  15399. *
  15400. * @return int
  15401. * @param fp resource
  15402. */
  15403. function pclose($fp) {}
  15404. /**
  15405. * Set an alarm clock for delivery of a signal
  15406. *
  15407. * @return int
  15408. * @param seconds int
  15409. */
  15410. function pcntl_alarm($seconds) {}
  15411. /**
  15412. * Executes specified program in current process space as defined by exec(2)
  15413. *
  15414. * @return bool
  15415. * @param path string
  15416. * @param args array[optional]
  15417. * @param envs array[optional]
  15418. */
  15419. function pcntl_exec($path, $args = null, $envs = null) {}
  15420. /**
  15421. * Forks the currently running process following the same behavior as the UNIX fork() system call
  15422. *
  15423. * @return int
  15424. */
  15425. function pcntl_fork() {}
  15426. /**
  15427. * Assigns a system signal handler to a PHP function
  15428. *
  15429. * @return bool
  15430. * @param signo long
  15431. * @param handle mixed
  15432. * @param restart_syscalls bool[optional]
  15433. */
  15434. function pcntl_signal($signo, $handle, $restart_syscalls = null) {}
  15435. /**
  15436. * Waits on or returns the status of a forked child as defined by the waitpid() system call
  15437. *
  15438. * @return int
  15439. * @param pid long
  15440. * @param status long
  15441. * @param options long
  15442. */
  15443. function pcntl_waitpid($pid, $status, $options) {}
  15444. /**
  15445. * Returns the status code of a child's exit
  15446. *
  15447. * @return int
  15448. * @param status long
  15449. */
  15450. function pcntl_wexitstatus($status) {}
  15451. /**
  15452. * Returns true if the child status code represents a successful exit
  15453. *
  15454. * @return bool
  15455. * @param status long
  15456. */
  15457. function pcntl_wifexited($status) {}
  15458. /**
  15459. * Returns true if the child status code represents a process that was terminated due to a signal
  15460. *
  15461. * @return bool
  15462. * @param status long
  15463. */
  15464. function pcntl_wifsignaled($status) {}
  15465. /**
  15466. * Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid)
  15467. *
  15468. * @return bool
  15469. * @param status long
  15470. */
  15471. function pcntl_wifstopped($status) {}
  15472. /**
  15473. * Returns the number of the signal that caused the process to stop who's status code is passed
  15474. *
  15475. * @return int
  15476. * @param status long
  15477. */
  15478. function pcntl_wstopsig($status) {}
  15479. /**
  15480. * Returns the number of the signal that terminated the process who's status code is passed
  15481. *
  15482. * @return int
  15483. * @param status long
  15484. */
  15485. function pcntl_wtermsig($status) {}
  15486. /**
  15487. * Sets annotation (depreciated use pdf_add_note instead)
  15488. *
  15489. * @return void
  15490. * @param pdfdoc int
  15491. * @param xll float
  15492. * @param yll float
  15493. * @param xur float
  15494. * @param xur float
  15495. * @param title string
  15496. * @param text string
  15497. */
  15498. function pdf_add_annotation($pdfdoc, $xll, $yll, $xur, $xur, $title, $text) {}
  15499. /**
  15500. * Adds bookmark for current page
  15501. *
  15502. * @return int
  15503. * @param pdfdoc int
  15504. * @param text string
  15505. * @param parent int[optional]
  15506. * @param open int
  15507. */
  15508. function pdf_add_bookmark($pdfdoc, $text, $parent = null, $open) {}
  15509. /**
  15510. * Adds link to web resource
  15511. *
  15512. * @return void
  15513. * @param pdfdoc int
  15514. * @param llx float
  15515. * @param lly float
  15516. * @param urx float
  15517. * @param ury float
  15518. * @param filename string
  15519. */
  15520. function pdf_add_launchlink($pdfdoc, $llx, $lly, $urx, $ury, $filename) {}
  15521. /**
  15522. * Adds link to web resource
  15523. *
  15524. * @return void
  15525. * @param pdfdoc int
  15526. * @param llx float
  15527. * @param lly float
  15528. * @param urx float
  15529. * @param ury float
  15530. * @param page int
  15531. * @param dest string
  15532. */
  15533. function pdf_add_locallink($pdfdoc, $llx, $lly, $urx, $ury, $page, $dest) {}
  15534. /**
  15535. * Sets annotation
  15536. *
  15537. * @return void
  15538. * @param pdfdoc int
  15539. * @param llx float
  15540. * @param lly float
  15541. * @param urx float
  15542. * @param ury float
  15543. * @param contents string
  15544. * @param title string
  15545. * @param icon string
  15546. * @param open int
  15547. */
  15548. function pdf_add_note($pdfdoc, $llx, $lly, $urx, $ury, $contents, $title, $icon, $open) {}
  15549. /**
  15550. * Adds bookmark for current page
  15551. *
  15552. * @return int
  15553. * @param pdfdoc int
  15554. * @param text string
  15555. * @param parent int[optional]
  15556. * @param open int
  15557. */
  15558. function pdf_add_outline($pdfdoc, $text, $parent = null, $open) {}
  15559. /**
  15560. * Adds link to PDF document
  15561. *
  15562. * @return void
  15563. * @param pdfdoc int
  15564. * @param llx float
  15565. * @param lly float
  15566. * @param urx float
  15567. * @param ury float
  15568. * @param filename string
  15569. * @param page int
  15570. * @param dest string
  15571. */
  15572. function pdf_add_pdflink($pdfdoc, $llx, $lly, $urx, $ury, $filename, $page, $dest) {}
  15573. /**
  15574. * * Add an existing image as thumbnail for the current page.
  15575. *
  15576. * @return void
  15577. * @param pdf int
  15578. * @param image int
  15579. */
  15580. function pdf_add_thumbnail($pdf, $image) {}
  15581. /**
  15582. * Adds link to web resource
  15583. *
  15584. * @return void
  15585. * @param pdfdoc int
  15586. * @param llx float
  15587. * @param lly float
  15588. * @param urx float
  15589. * @param ury float
  15590. * @param url string
  15591. */
  15592. function pdf_add_weblink($pdfdoc, $llx, $lly, $urx, $ury, $url) {}
  15593. /**
  15594. * Draws an arc
  15595. *
  15596. * @return void
  15597. * @param pdfdoc int
  15598. * @param x float
  15599. * @param y float
  15600. * @param radius float
  15601. * @param start float
  15602. * @param end float
  15603. */
  15604. function pdf_arc($pdfdoc, $x, $y, $radius, $start, $end) {}
  15605. /**
  15606. * * Draw a clockwise circular arc from alpha to beta degrees.
  15607. *
  15608. * @return void
  15609. * @param pdf int
  15610. * @param x float
  15611. * @param y float
  15612. * @param r float
  15613. * @param alpha float
  15614. * @param beta float
  15615. */
  15616. function pdf_arcn($pdf, $x, $y, $r, $alpha, $beta) {}
  15617. /**
  15618. * Adds a file attachment annotation at the rectangle specified by his lower left and upper right corners
  15619. *
  15620. * @return void
  15621. * @param pdf int
  15622. * @param lly float
  15623. * @param lly float
  15624. * @param urx float
  15625. * @param ury float
  15626. * @param filename string
  15627. * @param description string
  15628. * @param author string
  15629. * @param mimetype string
  15630. * @param icon string
  15631. */
  15632. function pdf_attach_file($pdf, $lly, $lly, $urx, $ury, $filename, $description, $author, $mimetype, $icon) {}
  15633. /**
  15634. * Starts page
  15635. *
  15636. * @return void
  15637. * @param pdfdoc int
  15638. * @param width float
  15639. * @param height float
  15640. */
  15641. function pdf_begin_page($pdfdoc, $width, $height) {}
  15642. /**
  15643. * * Start a new pattern definition.
  15644. *
  15645. * @return int
  15646. * @param pdf int
  15647. * @param width float
  15648. * @param height float
  15649. * @param xstep float
  15650. * @param ystep float
  15651. * @param painttype int
  15652. */
  15653. function pdf_begin_pattern($pdf, $width, $height, $xstep, $ystep, $painttype) {}
  15654. /**
  15655. * * Start a new template definition.
  15656. *
  15657. * @return int
  15658. * @param pdf int
  15659. * @param width float
  15660. * @param height float
  15661. */
  15662. function pdf_begin_template($pdf, $width, $height) {}
  15663. /**
  15664. * Draws a circle
  15665. *
  15666. * @return void
  15667. * @param pdfdoc int
  15668. * @param x float
  15669. * @param y float
  15670. * @param radius float
  15671. */
  15672. function pdf_circle($pdfdoc, $x, $y, $radius) {}
  15673. /**
  15674. * Clips to current path
  15675. *
  15676. * @return void
  15677. * @param pdfdoc int
  15678. */
  15679. function pdf_clip($pdfdoc) {}
  15680. /**
  15681. * Closes the pdf document
  15682. *
  15683. * @return void
  15684. * @param pdfdoc int
  15685. */
  15686. function pdf_close($pdfdoc) {}
  15687. /**
  15688. * Closes the PDF image
  15689. *
  15690. * @return void
  15691. * @param pdf int
  15692. * @param pdfimage int
  15693. */
  15694. function pdf_close_image($pdf, $pdfimage) {}
  15695. /**
  15696. * * Close all open page handles, and close the input PDF document.
  15697. *
  15698. * @return void
  15699. * @param pdf int
  15700. * @param doc int
  15701. */
  15702. function pdf_close_pdi($pdf, $doc) {}
  15703. /**
  15704. * * Close the page handle, and free all page-related resources.
  15705. *
  15706. * @return void
  15707. * @param pdf int
  15708. * @param page int
  15709. */
  15710. function pdf_close_pdi_page($pdf, $page) {}
  15711. /**
  15712. * Close path
  15713. *
  15714. * @return void
  15715. * @param pdfdoc int
  15716. */
  15717. function pdf_closepath($pdfdoc) {}
  15718. /**
  15719. * Close, fill and stroke current path
  15720. *
  15721. * @return void
  15722. * @param pdfdoc int
  15723. */
  15724. function pdf_closepath_fill_stroke($pdfdoc) {}
  15725. /**
  15726. * Close path and draw line along path
  15727. *
  15728. * @return void
  15729. * @param pdfdoc int
  15730. */
  15731. function pdf_closepath_stroke($pdfdoc) {}
  15732. /**
  15733. * Concatenates a matrix to the current transformation matrix for text and graphics
  15734. *
  15735. * @return void
  15736. * @param pdf int
  15737. * @param a float
  15738. * @param b float
  15739. * @param c float
  15740. * @param d float
  15741. * @param e float
  15742. * @param f float
  15743. */
  15744. function pdf_concat($pdf, $a, $b, $c, $d, $e, $f) {}
  15745. /**
  15746. * Output text in next line
  15747. *
  15748. * @return void
  15749. * @param pdfdoc int
  15750. * @param text string
  15751. */
  15752. function pdf_continue_text($pdfdoc, $text) {}
  15753. /**
  15754. * Draws a curve
  15755. *
  15756. * @return void
  15757. * @param pdfdoc int
  15758. * @param x1 float
  15759. * @param y1 float
  15760. * @param x2 float
  15761. * @param y2 float
  15762. * @param x3 float
  15763. * @param y3 float
  15764. */
  15765. function pdf_curveto($pdfdoc, $x1, $y1, $x2, $y2, $x3, $y3) {}
  15766. /**
  15767. * Deletes the PDF object
  15768. *
  15769. * @return bool
  15770. * @param pdfdoc int
  15771. */
  15772. function pdf_delete($pdfdoc) {}
  15773. /**
  15774. * Ends page
  15775. *
  15776. * @return void
  15777. * @param pdfdoc int
  15778. */
  15779. function pdf_end_page($pdfdoc) {}
  15780. /**
  15781. * * Finish the pattern definition.
  15782. *
  15783. * @return void
  15784. * @param pdf int
  15785. */
  15786. function pdf_end_pattern($pdf) {}
  15787. /**
  15788. * * Finish the template definition.
  15789. *
  15790. * @return void
  15791. * @param pdf int
  15792. */
  15793. function pdf_end_template($pdf) {}
  15794. /**
  15795. * Ends current path
  15796. *
  15797. * @return void
  15798. * @param pdfdoc int
  15799. */
  15800. function pdf_endpath($pdfdoc) {}
  15801. /**
  15802. * Fill current path
  15803. *
  15804. * @return void
  15805. * @param pdfdoc int
  15806. */
  15807. function pdf_fill($pdfdoc) {}
  15808. /**
  15809. * Fill and stroke current path
  15810. *
  15811. * @return void
  15812. * @param pdfdoc int
  15813. */
  15814. function pdf_fill_stroke($pdfdoc) {}
  15815. /**
  15816. * Prepares the font fontname for later use with pdf_setfont()
  15817. *
  15818. * @return int
  15819. * @param pdfdoc int
  15820. * @param fontname string
  15821. * @param encoding string
  15822. * @param embed int[optional]
  15823. */
  15824. function pdf_findfont($pdfdoc, $fontname, $encoding, $embed = null) {}
  15825. /**
  15826. * Fetches the full buffer containig the generated PDF data
  15827. *
  15828. * @return int
  15829. * @param pdfdoc int
  15830. */
  15831. function pdf_get_buffer($pdfdoc) {}
  15832. /**
  15833. * Gets the current font
  15834. *
  15835. * @return int
  15836. * @param pdfdoc int
  15837. */
  15838. function pdf_get_font($pdfdoc) {}
  15839. /**
  15840. * Gets the current font name
  15841. *
  15842. * @return string
  15843. * @param pdfdoc int
  15844. */
  15845. function pdf_get_fontname($pdfdoc) {}
  15846. /**
  15847. * Gets the current font size
  15848. *
  15849. * @return float
  15850. * @param pdfdoc int
  15851. */
  15852. function pdf_get_fontsize($pdfdoc) {}
  15853. /**
  15854. * Returns the height of an image
  15855. *
  15856. * @return int
  15857. * @param pdf int
  15858. * @param pdfimage int
  15859. */
  15860. function pdf_get_image_height($pdf, $pdfimage) {}
  15861. /**
  15862. * Returns the width of an image
  15863. *
  15864. * @return int
  15865. * @param pdf int
  15866. * @param pdfimage int
  15867. */
  15868. function pdf_get_image_width($pdf, $pdfimage) {}
  15869. /**
  15870. * Returns the major version number of the PDFlib
  15871. *
  15872. * @return int
  15873. */
  15874. function pdf_get_majorversion() {}
  15875. /**
  15876. * Returns the minor version number of the PDFlib
  15877. *
  15878. * @return int
  15879. */
  15880. function pdf_get_minorversion() {}
  15881. /**
  15882. * Gets arbitrary parameters
  15883. *
  15884. * @return string
  15885. * @param pdfdoc int
  15886. * @param key string
  15887. * @param modifier mixed
  15888. */
  15889. function pdf_get_parameter($pdfdoc, $key, $modifier) {}
  15890. /**
  15891. * * Get the contents of some PDI document parameter with string type.
  15892. *
  15893. * @return string
  15894. * @param pdf int
  15895. * @param key string
  15896. * @param doc int
  15897. * @param page int
  15898. * @param index int
  15899. */
  15900. function pdf_get_pdi_parameter($pdf, $key, $doc, $page, $index) {}
  15901. /**
  15902. * * Get the contents of some PDI document parameter with numerical type.
  15903. *
  15904. * @return float
  15905. * @param pdf int
  15906. * @param key string
  15907. * @param doc int
  15908. * @param page int
  15909. * @param index int
  15910. */
  15911. function pdf_get_pdi_value($pdf, $key, $doc, $page, $index) {}
  15912. /**
  15913. * Gets arbitrary value
  15914. *
  15915. * @return float
  15916. * @param pdfdoc int
  15917. * @param key string
  15918. * @param modifier float
  15919. */
  15920. function pdf_get_value($pdfdoc, $key, $modifier) {}
  15921. /**
  15922. * * Reset all implicit color and graphics state parameters to their defaults.
  15923. *
  15924. * @return void
  15925. * @param pdf int
  15926. */
  15927. function pdf_initgraphics($pdf) {}
  15928. /**
  15929. * Draws a line
  15930. *
  15931. * @return void
  15932. * @param pdfdoc int
  15933. * @param x float
  15934. * @param y float
  15935. */
  15936. function pdf_lineto($pdfdoc, $x, $y) {}
  15937. /**
  15938. * * Make a named spot color from the current color.
  15939. *
  15940. * @return int
  15941. * @param pdf int
  15942. * @param spotname string
  15943. */
  15944. function pdf_makespotcolor($pdf, $spotname) {}
  15945. /**
  15946. * Sets current point
  15947. *
  15948. * @return void
  15949. * @param pdfdoc int
  15950. * @param x float
  15951. * @param y float
  15952. */
  15953. function pdf_moveto($pdfdoc, $x, $y) {}
  15954. /**
  15955. * Creates a new PDF object
  15956. *
  15957. * @return int
  15958. */
  15959. function pdf_new() {}
  15960. /**
  15961. * Opens a new pdf document. If filedesc is NULL, document is created in memory. This is the old interface, only for compatibility use pdf_new + pdf_open_file instead
  15962. *
  15963. * @return int
  15964. * @param filedesc int[optional]
  15965. */
  15966. function pdf_open($filedesc = null) {}
  15967. /**
  15968. * Opens an image file with raw CCITT G3 or G4 compresed bitmap data
  15969. *
  15970. * @return int
  15971. * @param pdf int
  15972. * @param filename string
  15973. * @param width int
  15974. * @param height int
  15975. * @param bitreverse int
  15976. * @param k int
  15977. * @param blackls1 int
  15978. */
  15979. function pdf_open_ccitt($pdf, $filename, $width, $height, $bitreverse, $k, $blackls1) {}
  15980. /**
  15981. * Opens a new PDF document. If filename is NULL, document is created in memory. This is not yet fully supported
  15982. *
  15983. * @return int
  15984. * @param pdfdoc int
  15985. * @param filename char[optional]
  15986. */
  15987. function pdf_open_file($pdfdoc, $filename = null) {}
  15988. /**
  15989. * Opens a GIF file and returns an image for placement in a pdf object
  15990. *
  15991. * @return int
  15992. * @param pdf int
  15993. * @param giffile string
  15994. */
  15995. function pdf_open_gif($pdf, $giffile) {}
  15996. /**
  15997. * Opens an image of the given type and returns an image for placement in a PDF document
  15998. *
  15999. * @return int
  16000. * @param pdf int
  16001. * @param type string
  16002. * @param source string
  16003. * @param data string
  16004. * @param length long
  16005. * @param width int
  16006. * @param height int
  16007. * @param components int
  16008. * @param bpc int
  16009. * @param params string
  16010. */
  16011. function pdf_open_image($pdf, $type, $source, $data, $length, $width, $height, $components, $bpc, $params) {}
  16012. /**
  16013. * Opens an image file of the given type and returns an image for placement in a PDF document
  16014. *
  16015. * @return int
  16016. * @param pdf int
  16017. * @param type string
  16018. * @param file string
  16019. * @param stringparam string
  16020. * @param intparam int
  16021. */
  16022. function pdf_open_image_file($pdf, $type, $file, $stringparam, $intparam) {}
  16023. /**
  16024. * Opens a JPEG file and returns an image for placement in a PDF document
  16025. *
  16026. * @return int
  16027. * @param pdf int
  16028. * @param jpegfile string
  16029. */
  16030. function pdf_open_jpeg($pdf, $jpegfile) {}
  16031. /**
  16032. * Takes an GD image and returns an image for placement in a PDF document
  16033. *
  16034. * @return int
  16035. * @param pdf int
  16036. * @param image int
  16037. */
  16038. function pdf_open_memory_image($pdf, $image) {}
  16039. /**
  16040. * * Open an existing PDF document and prepare it for later use.
  16041. *
  16042. * @return int
  16043. * @param pdf int
  16044. * @param filename string
  16045. * @param stringparam string
  16046. * @param intparam int
  16047. */
  16048. function pdf_open_pdi($pdf, $filename, $stringparam, $intparam) {}
  16049. /**
  16050. * * Prepare a page for later use with PDF_place_image().
  16051. *
  16052. * @return int
  16053. * @param pdf int
  16054. * @param doc int
  16055. * @param page int
  16056. * @param label string
  16057. */
  16058. function pdf_open_pdi_page($pdf, $doc, $page, $label) {}
  16059. /**
  16060. * Opens a PNG file and returns an image for placement in a PDF document
  16061. *
  16062. * @return int
  16063. * @param pdf int
  16064. * @param pngfile string
  16065. */
  16066. function pdf_open_png($pdf, $pngfile) {}
  16067. /**
  16068. * Opens a TIFF file and returns an image for placement in a PDF document
  16069. *
  16070. * @return int
  16071. * @param pdf int
  16072. * @param tifffile string
  16073. */
  16074. function pdf_open_tiff($pdf, $tifffile) {}
  16075. /**
  16076. * Places image in the PDF document
  16077. *
  16078. * @return void
  16079. * @param pdf int
  16080. * @param pdfimage int
  16081. * @param x float
  16082. * @param y float
  16083. * @param scale float
  16084. */
  16085. function pdf_place_image($pdf, $pdfimage, $x, $y, $scale) {}
  16086. /**
  16087. * * Place a PDF page with the lower left corner at (x, y), and scale it.
  16088. *
  16089. * @return void
  16090. * @param pdf int
  16091. * @param page int
  16092. * @param x float
  16093. * @param y float
  16094. * @param sx float
  16095. * @param sy float
  16096. */
  16097. function pdf_place_pdi_page($pdf, $page, $x, $y, $sx, $sy) {}
  16098. /**
  16099. * Draws a rectangle
  16100. *
  16101. * @return void
  16102. * @param pdfdoc int
  16103. * @param x float
  16104. * @param y float
  16105. * @param width float
  16106. * @param height float
  16107. */
  16108. function pdf_rect($pdfdoc, $x, $y, $width, $height) {}
  16109. /**
  16110. * Restores formerly saved enviroment
  16111. *
  16112. * @return void
  16113. * @param pdfdoc int
  16114. */
  16115. function pdf_restore($pdfdoc) {}
  16116. /**
  16117. * Sets rotation
  16118. *
  16119. * @return void
  16120. * @param pdfdoc int
  16121. * @param angle float
  16122. */
  16123. function pdf_rotate($pdfdoc, $angle) {}
  16124. /**
  16125. * Saves current enviroment
  16126. *
  16127. * @return void
  16128. * @param pdfdoc int
  16129. */
  16130. function pdf_save($pdfdoc) {}
  16131. /**
  16132. * Sets scaling
  16133. *
  16134. * @return void
  16135. * @param pdfdoc int
  16136. * @param x_scale float
  16137. * @param y_scale float
  16138. */
  16139. function pdf_scale($pdfdoc, $x_scale, $y_scale) {}
  16140. /**
  16141. * Sets color of box surounded all kinds of annotations and links
  16142. *
  16143. * @return void
  16144. * @param pdfdoc int
  16145. * @param red float
  16146. * @param green float
  16147. * @param blue float
  16148. */
  16149. function pdf_set_border_color($pdfdoc, $red, $green, $blue) {}
  16150. /**
  16151. * Sets the border dash style of all kinds of annotations and links
  16152. *
  16153. * @return void
  16154. * @param pdfdoc int
  16155. * @param black float
  16156. * @param white float
  16157. */
  16158. function pdf_set_border_dash($pdfdoc, $black, $white) {}
  16159. /**
  16160. * Sets style of box surounding all kinds of annotations and link
  16161. *
  16162. * @return void
  16163. * @param pdfdoc int
  16164. * @param style string
  16165. * @param width float
  16166. */
  16167. function pdf_set_border_style($pdfdoc, $style, $width) {}
  16168. /**
  16169. * Sets character spacing
  16170. *
  16171. * @return void
  16172. * @param pdfdoc int
  16173. * @param space float
  16174. */
  16175. function pdf_set_char_spacing($pdfdoc, $space) {}
  16176. /**
  16177. * Sets duration between pages
  16178. *
  16179. * @return void
  16180. * @param pdfdoc int
  16181. * @param duration float
  16182. */
  16183. function pdf_set_duration($pdfdoc, $duration) {}
  16184. /**
  16185. * Select the current font face, size and encoding
  16186. *
  16187. * @return void
  16188. * @param pdfdoc int
  16189. * @param font string
  16190. * @param size float
  16191. * @param encoding string
  16192. * @param embed int[optional]
  16193. */
  16194. function pdf_set_font($pdfdoc, $font, $size, $encoding, $embed = null) {}
  16195. /**
  16196. * Sets horizontal scaling of text
  16197. *
  16198. * @return void
  16199. * @param pdfdoc int
  16200. * @param scale float
  16201. */
  16202. function pdf_set_horiz_scaling($pdfdoc, $scale) {}
  16203. /**
  16204. * Fills an info field of the document
  16205. *
  16206. * @return bool
  16207. * @param pdfdoc int
  16208. * @param fieldname string
  16209. * @param value string
  16210. */
  16211. function pdf_set_info($pdfdoc, $fieldname, $value) {}
  16212. /**
  16213. * Fills the author field of the document
  16214. *
  16215. * @return bool
  16216. * @param pdfdoc int
  16217. * @param author string
  16218. */
  16219. function pdf_set_info_author($pdfdoc, $author) {}
  16220. /**
  16221. * Fills the creator field of the document
  16222. *
  16223. * @return bool
  16224. * @param pdfdoc int
  16225. * @param creator string
  16226. */
  16227. function pdf_set_info_creator($pdfdoc, $creator) {}
  16228. /**
  16229. * Fills the keywords field of the document
  16230. *
  16231. * @return bool
  16232. * @param pdfdoc int
  16233. * @param keywords string
  16234. */
  16235. function pdf_set_info_keywords($pdfdoc, $keywords) {}
  16236. /**
  16237. * Fills the subject field of the document
  16238. *
  16239. * @return bool
  16240. * @param pdfdoc int
  16241. * @param subject string
  16242. */
  16243. function pdf_set_info_subject($pdfdoc, $subject) {}
  16244. /**
  16245. * Fills the title field of the document
  16246. *
  16247. * @return bool
  16248. * @param pdfdoc int
  16249. * @param title string
  16250. */
  16251. function pdf_set_info_title($pdfdoc, $title) {}
  16252. /**
  16253. * Sets distance between text lines
  16254. *
  16255. * @return void
  16256. * @param pdfdoc int
  16257. * @param distance float
  16258. */
  16259. function pdf_set_leading($pdfdoc, $distance) {}
  16260. /**
  16261. * Sets arbitrary parameters
  16262. *
  16263. * @return void
  16264. * @param pdfdoc int
  16265. * @param key string
  16266. * @param value string
  16267. */
  16268. function pdf_set_parameter($pdfdoc, $key, $value) {}
  16269. /**
  16270. * Sets the position of text for the next pdf_show call
  16271. *
  16272. * @return void
  16273. * @param pdfdoc int
  16274. * @param x float
  16275. * @param y float
  16276. */
  16277. function pdf_set_text_pos($pdfdoc, $x, $y) {}
  16278. /**
  16279. * Determines how text is rendered
  16280. *
  16281. * @return void
  16282. * @param pdfdoc int
  16283. * @param mode int
  16284. */
  16285. function pdf_set_text_rendering($pdfdoc, $mode) {}
  16286. /**
  16287. * Sets the text rise
  16288. *
  16289. * @return void
  16290. * @param pdfdoc int
  16291. * @param value float
  16292. */
  16293. function pdf_set_text_rise($pdfdoc, $value) {}
  16294. /**
  16295. * Sets transition between pages
  16296. *
  16297. * @return void
  16298. * @param pdfdoc int
  16299. * @param transition int
  16300. */
  16301. function pdf_set_transition($pdfdoc, $transition) {}
  16302. /**
  16303. * Sets arbitrary value
  16304. *
  16305. * @return void
  16306. * @param pdfdoc int
  16307. * @param key string
  16308. * @param value float
  16309. */
  16310. function pdf_set_value($pdfdoc, $key, $value) {}
  16311. /**
  16312. * Sets spacing between words
  16313. *
  16314. * @return void
  16315. * @param pdfdoc int
  16316. * @param space float
  16317. */
  16318. function pdf_set_word_spacing($pdfdoc, $space) {}
  16319. /**
  16320. * * Set the current color space and color.
  16321. *
  16322. * @return void
  16323. * @param pdf int
  16324. * @param type string
  16325. * @param colorspace string
  16326. * @param c1 float
  16327. * @param c2 float[optional]
  16328. * @param c3 float[optional]
  16329. * @param c4 float[optional]
  16330. */
  16331. function pdf_setcolor($pdf, $type, $colorspace, $c1, $c2 = null, $c3 = null, $c4 = null) {}
  16332. /**
  16333. * Sets dash pattern
  16334. *
  16335. * @return void
  16336. * @param pdfdoc int
  16337. * @param black float
  16338. * @param white float
  16339. */
  16340. function pdf_setdash($pdfdoc, $black, $white) {}
  16341. /**
  16342. * Sets flatness
  16343. *
  16344. * @return void
  16345. * @param pdfdoc int
  16346. * @param value float
  16347. */
  16348. function pdf_setflat($pdfdoc, $value) {}
  16349. /**
  16350. * Sets the current font in the fiven fontsize
  16351. *
  16352. * @return void
  16353. * @param pdfdoc int
  16354. * @param font int
  16355. * @param fontsize float
  16356. */
  16357. function pdf_setfont($pdfdoc, $font, $fontsize) {}
  16358. /**
  16359. * Sets drawing and filling color to gray value
  16360. *
  16361. * @return void
  16362. * @param pdfdoc int
  16363. * @param value float
  16364. */
  16365. function pdf_setgray($pdfdoc, $value) {}
  16366. /**
  16367. * Sets filling color to gray value
  16368. *
  16369. * @return void
  16370. * @param pdfdoc int
  16371. * @param value float
  16372. */
  16373. function pdf_setgray_fill($pdfdoc, $value) {}
  16374. /**
  16375. * Sets drawing color to gray value
  16376. *
  16377. * @return void
  16378. * @param pdfdoc int
  16379. * @param value float
  16380. */
  16381. function pdf_setgray_stroke($pdfdoc, $value) {}
  16382. /**
  16383. * Sets linecap parameter
  16384. *
  16385. * @return void
  16386. * @param pdfdoc int
  16387. * @param value int
  16388. */
  16389. function pdf_setlinecap($pdfdoc, $value) {}
  16390. /**
  16391. * Sets linejoin parameter
  16392. *
  16393. * @return void
  16394. * @param pdfdoc int
  16395. * @param value int
  16396. */
  16397. function pdf_setlinejoin($pdfdoc, $value) {}
  16398. /**
  16399. * Sets line width
  16400. *
  16401. * @return void
  16402. * @param pdfdoc int
  16403. * @param width float
  16404. */
  16405. function pdf_setlinewidth($pdfdoc, $width) {}
  16406. /**
  16407. * Explicitly set the current transformation matrix.
  16408. *
  16409. * @return void
  16410. * @param pdf int
  16411. * @param a float
  16412. * @param b float
  16413. * @param c float
  16414. * @param d float
  16415. * @param e float
  16416. * @param f float
  16417. */
  16418. function pdf_setmatrix($pdf, $a, $b, $c, $d, $e, $f) {}
  16419. /**
  16420. * Sets miter limit
  16421. *
  16422. * @return void
  16423. * @param pdfdoc int
  16424. * @param value float
  16425. */
  16426. function pdf_setmiterlimit($pdfdoc, $value) {}
  16427. /**
  16428. * Sets more complicated dash pattern
  16429. *
  16430. * @return void
  16431. * @param pdfdoc int
  16432. * @param darray float
  16433. */
  16434. function pdf_setpolydash($pdfdoc, $darray) {}
  16435. /**
  16436. * Sets drawing and filling color to RGB color value
  16437. *
  16438. * @return void
  16439. * @param pdfdoc int
  16440. * @param red float
  16441. * @param green float
  16442. * @param blue float
  16443. */
  16444. function pdf_setrgbcolor($pdfdoc, $red, $green, $blue) {}
  16445. /**
  16446. * Sets filling color to RGB color value
  16447. *
  16448. * @return void
  16449. * @param pdfdoc int
  16450. * @param red float
  16451. * @param green float
  16452. * @param blue float
  16453. */
  16454. function pdf_setrgbcolor_fill($pdfdoc, $red, $green, $blue) {}
  16455. /**
  16456. * Sets drawing color to RGB color value
  16457. *
  16458. * @return void
  16459. * @param pdfdoc int
  16460. * @param red float
  16461. * @param green float
  16462. * @param blue float
  16463. */
  16464. function pdf_setrgbcolor_stroke($pdfdoc, $red, $green, $blue) {}
  16465. /**
  16466. * Output text at current position
  16467. *
  16468. * @return void
  16469. * @param pdfdoc int
  16470. * @param text string
  16471. */
  16472. function pdf_show($pdfdoc, $text) {}
  16473. /**
  16474. * Output text formated in a boxed
  16475. *
  16476. * @return int
  16477. * @param pdfdoc int
  16478. * @param text string
  16479. * @param x_koor float
  16480. * @param y_koor float
  16481. * @param width float
  16482. * @param height float
  16483. * @param mode string
  16484. * @param feature string[optional]
  16485. */
  16486. function pdf_show_boxed($pdfdoc, $text, $x_koor, $y_koor, $width, $height, $mode, $feature = null) {}
  16487. /**
  16488. * Output text at position
  16489. *
  16490. * @return void
  16491. * @param pdfdoc int
  16492. * @param text string
  16493. * @param x_koor float
  16494. * @param y_koor float
  16495. */
  16496. function pdf_show_xy($pdfdoc, $text, $x_koor, $y_koor) {}
  16497. /**
  16498. * Skew the coordinate system
  16499. *
  16500. * @return void
  16501. * @param pdfdoc int
  16502. * @param xangle float
  16503. * @param yangle float
  16504. */
  16505. function pdf_skew($pdfdoc, $xangle, $yangle) {}
  16506. /**
  16507. * Returns width of text in current font
  16508. *
  16509. * @return float
  16510. * @param pdfdoc int
  16511. * @param text string
  16512. * @param font int[optional]
  16513. * @param size float
  16514. */
  16515. function pdf_stringwidth($pdfdoc, $text, $font = null, $size) {}
  16516. /**
  16517. * Draw line along path path
  16518. *
  16519. * @return void
  16520. * @param pdfdoc int
  16521. */
  16522. function pdf_stroke($pdfdoc) {}
  16523. /**
  16524. * Sets origin of coordinate system
  16525. *
  16526. * @return void
  16527. * @param pdfdoc int
  16528. * @param x float
  16529. * @param y float
  16530. */
  16531. function pdf_translate($pdfdoc, $x, $y) {}
  16532. /**
  16533. * Shuts down the Payflow Pro library
  16534. *
  16535. * @return void
  16536. */
  16537. function pfpro_cleanup() {}
  16538. /**
  16539. * Initializes the Payflow Pro library
  16540. *
  16541. * @return void
  16542. */
  16543. function pfpro_init() {}
  16544. /**
  16545. * Payflow Pro transaction processing using arrays
  16546. *
  16547. * @return array
  16548. * @param parmlist array
  16549. * @param hostaddress string[optional]
  16550. * @param port int[optional]
  16551. * @param timeout int[optional]
  16552. * @param proxyAddress string[optional]
  16553. * @param proxyPort int[optional]
  16554. * @param proxyLogon string[optional]
  16555. * @param proxyPassword string[optional]
  16556. */
  16557. function pfpro_process($parmlist, $hostaddress = null, $port = null, $timeout = null, $proxyAddress = null, $proxyPort = null, $proxyLogon = null, $proxyPassword = null) {}
  16558. /**
  16559. * Raw Payflow Pro transaction processing
  16560. *
  16561. * @return string
  16562. * @param parmlist string
  16563. * @param hostaddress string[optional]
  16564. * @param port int[optional]
  16565. * @param timeout int[optional]
  16566. * @param proxyAddress string[optional]
  16567. * @param proxyPort int[optional]
  16568. * @param proxyLogon string[optional]
  16569. * @param proxyPassword string[optional]
  16570. */
  16571. function pfpro_process_raw($parmlist, $hostaddress = null, $port = null, $timeout = null, $proxyAddress = null, $proxyPort = null, $proxyLogon = null, $proxyPassword = null) {}
  16572. /**
  16573. * Returns the version of the Payflow Pro library
  16574. *
  16575. * @return string
  16576. */
  16577. function pfpro_version() {}
  16578. /**
  16579. * Open persistent Internet or Unix domain socket connection
  16580. *
  16581. * @return int
  16582. * @param hostname string
  16583. * @param port int
  16584. * @param errno int[optional]
  16585. * @param errstr string[optional]
  16586. * @param timeout float[optional]
  16587. * @param context resource[optional]
  16588. */
  16589. function pfsockopen($hostname, $port, $errno = null, $errstr = null, $timeout = null, $context = null) {}
  16590. /**
  16591. * Returns the number of affected tuples
  16592. *
  16593. * @return int
  16594. * @param result resource
  16595. */
  16596. function pg_affected_rows($result) {}
  16597. /**
  16598. * Cancel request
  16599. *
  16600. * @return bool
  16601. * @param connection resource
  16602. */
  16603. function pg_cancel_query($connection) {}
  16604. /**
  16605. * Get the current client encoding
  16606. *
  16607. * @return string
  16608. * @param connection resource[optional]
  16609. */
  16610. function pg_client_encoding($connection = null) {}
  16611. /**
  16612. * Get the current client encoding
  16613. *
  16614. * @return string
  16615. * @param connection resource[optional]
  16616. */
  16617. function pg_clientencoding($connection = null) {}
  16618. /**
  16619. * Close a PostgreSQL connection
  16620. *
  16621. * @return bool
  16622. * @param connection resource[optional]
  16623. */
  16624. function pg_close($connection = null) {}
  16625. /**
  16626. * Returns the number of affected tuples
  16627. *
  16628. * @return int
  16629. * @param result resource
  16630. */
  16631. function pg_cmdtuples($result) {}
  16632. /**
  16633. * Get connection is busy or not
  16634. *
  16635. * @return bool
  16636. * @param connection resource
  16637. */
  16638. function pg_connection_busy($connection) {}
  16639. /**
  16640. * Reset connection (reconnect)
  16641. *
  16642. * @return bool
  16643. * @param connection resource
  16644. */
  16645. function pg_connection_reset($connection) {}
  16646. /**
  16647. * Get connection status
  16648. *
  16649. * @return int
  16650. * @param connnection resource
  16651. */
  16652. function pg_connection_status($connnection) {}
  16653. /**
  16654. * Check and convert values for PostgreSQL SQL statement
  16655. *
  16656. * @return array
  16657. * @param db resource
  16658. * @param table string
  16659. * @param values array
  16660. * @param options int
  16661. */
  16662. function pg_convert($db, $table, $values, $options) {}
  16663. /**
  16664. * Copy table from array
  16665. *
  16666. * @return bool
  16667. * @param connection resource
  16668. * @param table_name string
  16669. * @param rows array
  16670. * @param delimiter string[optional]
  16671. * @param null_as string[optional]
  16672. */
  16673. function pg_copy_from($connection, $table_name, $rows, $delimiter = null, $null_as = null) {}
  16674. /**
  16675. * Copy table to array
  16676. *
  16677. * @return array
  16678. * @param connection resource
  16679. * @param table_name string
  16680. * @param delimiter string[optional]
  16681. * @param null_as string[optional]
  16682. */
  16683. function pg_copy_to($connection, $table_name, $delimiter = null, $null_as = null) {}
  16684. /**
  16685. * Get the database name
  16686. *
  16687. * @return string
  16688. * @param connection resource[optional]
  16689. */
  16690. function pg_dbname($connection = null) {}
  16691. /**
  16692. * Delete records has ids (id=>value)
  16693. *
  16694. * @return mixed
  16695. * @param db resource
  16696. * @param table string
  16697. * @param ids array
  16698. * @param options int
  16699. */
  16700. function pg_delete($db, $table, $ids, $options) {}
  16701. /**
  16702. * Sync with backend. Completes the Copy command
  16703. *
  16704. * @return bool
  16705. * @param connection resource[optional]
  16706. */
  16707. function pg_end_copy($connection = null) {}
  16708. /**
  16709. * Get the error message string
  16710. *
  16711. * @return string
  16712. * @param connection resource[optional]
  16713. */
  16714. function pg_errormessage($connection = null) {}
  16715. /**
  16716. * Escape binary for bytea type
  16717. *
  16718. * @return string
  16719. * @param data string
  16720. */
  16721. function pg_escape_bytea($data) {}
  16722. /**
  16723. * Escape string for text/char type
  16724. *
  16725. * @return string
  16726. * @param data string
  16727. */
  16728. function pg_escape_string($data) {}
  16729. /**
  16730. * Execute a query
  16731. *
  16732. * @return resource
  16733. * @param connection resource[optional]
  16734. * @param query string
  16735. */
  16736. function pg_exec($connection = null, $query) {}
  16737. /**
  16738. * Fetch all rows into array
  16739. *
  16740. * @return array
  16741. * @param result resource
  16742. */
  16743. function pg_fetch_all($result) {}
  16744. /**
  16745. * Fetch a row as an array
  16746. *
  16747. * @return array
  16748. * @param result resource
  16749. * @param row int[optional]
  16750. * @param result_type int[optional]
  16751. */
  16752. function pg_fetch_array($result, $row = null, $result_type = null) {}
  16753. /**
  16754. * Fetch a row as an assoc array
  16755. *
  16756. * @return array
  16757. * @param result resource
  16758. * @param row int[optional]
  16759. */
  16760. function pg_fetch_assoc($result, $row = null) {}
  16761. /**
  16762. * Fetch a row as an object
  16763. *
  16764. * @return object
  16765. * @param result resource
  16766. * @param row int[optional]
  16767. */
  16768. function pg_fetch_object($result, $row = null) {}
  16769. /**
  16770. * Returns values from a result identifier
  16771. *
  16772. * @return mixed
  16773. * @param result resource
  16774. * @param row_number int[optional]
  16775. * @param field_name mixed
  16776. */
  16777. function pg_fetch_result($result, $row_number = null, $field_name) {}
  16778. /**
  16779. * Get a row as an enumerated array
  16780. *
  16781. * @return array
  16782. * @param result resource
  16783. * @param row int[optional]
  16784. * @param result_type int[optional]
  16785. */
  16786. function pg_fetch_row($result, $row = null, $result_type = null) {}
  16787. /**
  16788. * Test if a field is NULL
  16789. *
  16790. * @return int
  16791. * @param result resource
  16792. * @param row int[optional]
  16793. * @param field_name_or_number mixed
  16794. */
  16795. function pg_field_is_null($result, $row = null, $field_name_or_number) {}
  16796. /**
  16797. * Returns the name of the field
  16798. *
  16799. * @return string
  16800. * @param result resource
  16801. * @param field_number int
  16802. */
  16803. function pg_field_name($result, $field_number) {}
  16804. /**
  16805. * Returns the field number of the named field
  16806. *
  16807. * @return int
  16808. * @param result resource
  16809. * @param field_name string
  16810. */
  16811. function pg_field_num($result, $field_name) {}
  16812. /**
  16813. * Returns the printed length
  16814. *
  16815. * @return int
  16816. * @param result resource
  16817. * @param row int[optional]
  16818. * @param field_name_or_number mixed
  16819. */
  16820. function pg_field_prtlen($result, $row = null, $field_name_or_number) {}
  16821. /**
  16822. * Returns the internal size of the field
  16823. *
  16824. * @return int
  16825. * @param result resource
  16826. * @param field_number int
  16827. */
  16828. function pg_field_size($result, $field_number) {}
  16829. /**
  16830. * Returns the type name for the given field
  16831. *
  16832. * @return string
  16833. * @param result resource
  16834. * @param field_number int
  16835. */
  16836. function pg_field_type($result, $field_number) {}
  16837. /**
  16838. * Test if a field is NULL
  16839. *
  16840. * @return int
  16841. * @param result resource
  16842. * @param row int[optional]
  16843. * @param field_name_or_number mixed
  16844. */
  16845. function pg_fieldisnull($result, $row = null, $field_name_or_number) {}
  16846. /**
  16847. * Returns the name of the field
  16848. *
  16849. * @return string
  16850. * @param result resource
  16851. * @param field_number int
  16852. */
  16853. function pg_fieldname($result, $field_number) {}
  16854. /**
  16855. * Returns the field number of the named field
  16856. *
  16857. * @return int
  16858. * @param result resource
  16859. * @param field_name string
  16860. */
  16861. function pg_fieldnum($result, $field_name) {}
  16862. /**
  16863. * Returns the printed length
  16864. *
  16865. * @return int
  16866. * @param result resource
  16867. * @param row int[optional]
  16868. * @param field_name_or_number mixed
  16869. */
  16870. function pg_fieldprtlen($result, $row = null, $field_name_or_number) {}
  16871. /**
  16872. * Returns the internal size of the field
  16873. *
  16874. * @return int
  16875. * @param result resource
  16876. * @param field_number int
  16877. */
  16878. function pg_fieldsize($result, $field_number) {}
  16879. /**
  16880. * Returns the type name for the given field
  16881. *
  16882. * @return string
  16883. * @param result resource
  16884. * @param field_number int
  16885. */
  16886. function pg_fieldtype($result, $field_number) {}
  16887. /**
  16888. * Free result memory
  16889. *
  16890. * @return bool
  16891. * @param result resource
  16892. */
  16893. function pg_free_result($result) {}
  16894. /**
  16895. * Free result memory
  16896. *
  16897. * @return bool
  16898. * @param result resource
  16899. */
  16900. function pg_freeresult($result) {}
  16901. /**
  16902. * Get asynchronous notification
  16903. *
  16904. * @return resource
  16905. * @param connection resource[optional]
  16906. * @param result_type unknown
  16907. */
  16908. function pg_get_notify($connection = null, $result_type) {}
  16909. /**
  16910. * Get backend(server) pid
  16911. *
  16912. * @return resource
  16913. * @param connection resource[optional]
  16914. */
  16915. function pg_get_pid($connection = null) {}
  16916. /**
  16917. * Get asynchronous query result
  16918. *
  16919. * @return resource
  16920. * @param connection resource
  16921. */
  16922. function pg_get_result($connection) {}
  16923. /**
  16924. * Returns the last object identifier
  16925. *
  16926. * @return string
  16927. * @param result resource
  16928. */
  16929. function pg_getlastoid($result) {}
  16930. /**
  16931. * Returns the host name associated with the connection
  16932. *
  16933. * @return string
  16934. * @param connection resource[optional]
  16935. */
  16936. function pg_host($connection = null) {}
  16937. /**
  16938. * Insert values (filed=>value) to table
  16939. *
  16940. * @return mixed
  16941. * @param db resource
  16942. * @param table string
  16943. * @param values array
  16944. * @param options int
  16945. */
  16946. function pg_insert($db, $table, $values, $options) {}
  16947. /**
  16948. * Get the error message string
  16949. *
  16950. * @return string
  16951. * @param connection resource[optional]
  16952. */
  16953. function pg_last_error($connection = null) {}
  16954. /**
  16955. * Returns the last notice set by the backend
  16956. *
  16957. * @return string
  16958. * @param connection resource
  16959. */
  16960. function pg_last_notice($connection) {}
  16961. /**
  16962. * Returns the last object identifier
  16963. *
  16964. * @return string
  16965. * @param result resource
  16966. */
  16967. function pg_last_oid($result) {}
  16968. /**
  16969. * Close a large object
  16970. *
  16971. * @return bool
  16972. * @param large_object resource
  16973. */
  16974. function pg_lo_close($large_object) {}
  16975. /**
  16976. * Create a large object
  16977. *
  16978. * @return int
  16979. * @param connection resource[optional]
  16980. */
  16981. function pg_lo_create($connection = null) {}
  16982. /**
  16983. * Export large object direct to filesystem
  16984. *
  16985. * @return bool
  16986. * @param connection resource[optional]
  16987. * @param objoid int
  16988. * @param filename string
  16989. */
  16990. function pg_lo_export($connection = null, $objoid, $filename) {}
  16991. /**
  16992. * Import large object direct from filesystem
  16993. *
  16994. * @return int
  16995. * @param connection resource[optional]
  16996. * @param filename string
  16997. */
  16998. function pg_lo_import($connection = null, $filename) {}
  16999. /**
  17000. * Open a large object and return fd
  17001. *
  17002. * @return resource
  17003. * @param connection resource[optional]
  17004. * @param large_object_oid int
  17005. * @param mode string
  17006. */
  17007. function pg_lo_open($connection = null, $large_object_oid, $mode) {}
  17008. /**
  17009. * Read a large object
  17010. *
  17011. * @return string
  17012. * @param large_object resource
  17013. * @param len int[optional]
  17014. */
  17015. function pg_lo_read($large_object, $len = null) {}
  17016. /**
  17017. * Read a large object and send straight to browser
  17018. *
  17019. * @return int
  17020. * @param large_object resource
  17021. */
  17022. function pg_lo_read_all($large_object) {}
  17023. /**
  17024. * Seeks position of large object
  17025. *
  17026. * @return bool
  17027. * @param large_object resource
  17028. * @param offset int
  17029. * @param whence int[optional]
  17030. */
  17031. function pg_lo_seek($large_object, $offset, $whence = null) {}
  17032. /**
  17033. * Returns current position of large object
  17034. *
  17035. * @return int
  17036. * @param large_object resource
  17037. */
  17038. function pg_lo_tell($large_object) {}
  17039. /**
  17040. * Delete a large object
  17041. *
  17042. * @return bool
  17043. * @param connection resource[optional]
  17044. * @param large_object_oid string
  17045. */
  17046. function pg_lo_unlink($connection = null, $large_object_oid) {}
  17047. /**
  17048. * Write a large object
  17049. *
  17050. * @return int
  17051. * @param large_object resource
  17052. * @param buf string
  17053. * @param len int[optional]
  17054. */
  17055. function pg_lo_write($large_object, $buf, $len = null) {}
  17056. /**
  17057. * Close a large object
  17058. *
  17059. * @return bool
  17060. * @param large_object resource
  17061. */
  17062. function pg_loclose($large_object) {}
  17063. /**
  17064. * Create a large object
  17065. *
  17066. * @return int
  17067. * @param connection resource[optional]
  17068. */
  17069. function pg_locreate($connection = null) {}
  17070. /**
  17071. * Export large object direct to filesystem
  17072. *
  17073. * @return bool
  17074. * @param connection resource[optional]
  17075. * @param objoid int
  17076. * @param filename string
  17077. */
  17078. function pg_loexport($connection = null, $objoid, $filename) {}
  17079. /**
  17080. * Import large object direct from filesystem
  17081. *
  17082. * @return int
  17083. * @param connection resource[optional]
  17084. * @param filename string
  17085. */
  17086. function pg_loimport($connection = null, $filename) {}
  17087. /**
  17088. * Open a large object and return fd
  17089. *
  17090. * @return resource
  17091. * @param connection resource[optional]
  17092. * @param large_object_oid int
  17093. * @param mode string
  17094. */
  17095. function pg_loopen($connection = null, $large_object_oid, $mode) {}
  17096. /**
  17097. * Read a large object
  17098. *
  17099. * @return string
  17100. * @param large_object resource
  17101. * @param len int[optional]
  17102. */
  17103. function pg_loread($large_object, $len = null) {}
  17104. /**
  17105. * Read a large object and send straight to browser
  17106. *
  17107. * @return int
  17108. * @param large_object resource
  17109. */
  17110. function pg_loreadall($large_object) {}
  17111. /**
  17112. * Delete a large object
  17113. *
  17114. * @return bool
  17115. * @param connection resource[optional]
  17116. * @param large_object_oid string
  17117. */
  17118. function pg_lounlink($connection = null, $large_object_oid) {}
  17119. /**
  17120. * Write a large object
  17121. *
  17122. * @return int
  17123. * @param large_object resource
  17124. * @param buf string
  17125. * @param len int[optional]
  17126. */
  17127. function pg_lowrite($large_object, $buf, $len = null) {}
  17128. /**
  17129. * Get meta_data
  17130. *
  17131. * @return array
  17132. * @param db resource
  17133. * @param table string
  17134. */
  17135. function pg_meta_data($db, $table) {}
  17136. /**
  17137. * Return the number of fields in the result
  17138. *
  17139. * @return int
  17140. * @param result resource
  17141. */
  17142. function pg_num_fields($result) {}
  17143. /**
  17144. * Return the number of rows in the result
  17145. *
  17146. * @return int
  17147. * @param result resource
  17148. */
  17149. function pg_num_rows($result) {}
  17150. /**
  17151. * Return the number of fields in the result
  17152. *
  17153. * @return int
  17154. * @param result resource
  17155. */
  17156. function pg_numfields($result) {}
  17157. /**
  17158. * Return the number of rows in the result
  17159. *
  17160. * @return int
  17161. * @param result resource
  17162. */
  17163. function pg_numrows($result) {}
  17164. /**
  17165. * Get the options associated with the connection
  17166. *
  17167. * @return string
  17168. * @param connection resource[optional]
  17169. */
  17170. function pg_options($connection = null) {}
  17171. /**
  17172. * Open a persistent PostgreSQL connection
  17173. *
  17174. * @return resource
  17175. * @param connection_string_|_ string
  17176. * @param port string
  17177. * @param options string[optional]
  17178. * @param tty string[optional]
  17179. * @param database string
  17180. */
  17181. function pg_pconnect($connection_string_, $port, $options = null, $tty = null, $database) {}
  17182. /**
  17183. * Ping database. If connection is bad, try to reconnect.
  17184. *
  17185. * @return bool
  17186. * @param connection resource
  17187. */
  17188. function pg_ping($connection) {}
  17189. /**
  17190. * Return the port number associated with the connection
  17191. *
  17192. * @return int
  17193. * @param connection resource[optional]
  17194. */
  17195. function pg_port($connection = null) {}
  17196. /**
  17197. * Send null-terminated string to backend server
  17198. *
  17199. * @return bool
  17200. * @param connection resource[optional]
  17201. * @param query string
  17202. */
  17203. function pg_put_line($connection = null, $query) {}
  17204. /**
  17205. * Execute a query
  17206. *
  17207. * @return resource
  17208. * @param connection resource[optional]
  17209. * @param query string
  17210. */
  17211. function pg_query($connection = null, $query) {}
  17212. /**
  17213. * Returns values from a result identifier
  17214. *
  17215. * @return mixed
  17216. * @param result resource
  17217. * @param row_number int[optional]
  17218. * @param field_name mixed
  17219. */
  17220. function pg_result($result, $row_number = null, $field_name) {}
  17221. /**
  17222. * Get error message associated with result
  17223. *
  17224. * @return string
  17225. * @param result resource
  17226. */
  17227. function pg_result_error($result) {}
  17228. /**
  17229. * Set internal row offset
  17230. *
  17231. * @return mixed
  17232. * @param result resource
  17233. * @param offset int
  17234. */
  17235. function pg_result_seek($result, $offset) {}
  17236. /**
  17237. * Get status of query result
  17238. *
  17239. * @return int
  17240. * @param result resource
  17241. * @param result_type long
  17242. */
  17243. function pg_result_status($result, $result_type) {}
  17244. /**
  17245. * Select records that has ids (id=>value)
  17246. *
  17247. * @return mixed
  17248. * @param db resource
  17249. * @param table string
  17250. * @param ids array
  17251. * @param options int
  17252. */
  17253. function pg_select($db, $table, $ids, $options) {}
  17254. /**
  17255. * Send asynchronous query
  17256. *
  17257. * @return bool
  17258. * @param connection resource
  17259. * @param qeury string
  17260. */
  17261. function pg_send_query($connection, $qeury) {}
  17262. /**
  17263. * Set client encoding
  17264. *
  17265. * @return int
  17266. * @param connection resource[optional]
  17267. * @param encoding string
  17268. */
  17269. function pg_set_client_encoding($connection = null, $encoding) {}
  17270. /**
  17271. * Set client encoding
  17272. *
  17273. * @return int
  17274. * @param connection resource[optional]
  17275. * @param encoding string
  17276. */
  17277. function pg_setclientencoding($connection = null, $encoding) {}
  17278. /**
  17279. * Enable tracing a PostgreSQL connection
  17280. *
  17281. * @return bool
  17282. * @param filename string
  17283. * @param mode string[optional]
  17284. * @param connection resource[optional]
  17285. */
  17286. function pg_trace($filename, $mode = null, $connection = null) {}
  17287. /**
  17288. * Return the tty name associated with the connection
  17289. *
  17290. * @return string
  17291. * @param connection resource[optional]
  17292. */
  17293. function pg_tty($connection = null) {}
  17294. /**
  17295. * Unescape binary for bytea type
  17296. *
  17297. * @return string
  17298. * @param data string
  17299. */
  17300. function pg_unescape_bytea($data) {}
  17301. /**
  17302. * Disable tracing of a PostgreSQL connection
  17303. *
  17304. * @return bool
  17305. * @param connection resource[optional]
  17306. */
  17307. function pg_untrace($connection = null) {}
  17308. /**
  17309. * Update table using values (field=>value) and ids (id=>value)
  17310. *
  17311. * @return mixed
  17312. * @param db resource
  17313. * @param table string
  17314. * @param fields array
  17315. * @param ids array
  17316. * @param options int
  17317. */
  17318. function pg_update($db, $table, $fields, $ids, $options) {}
  17319. /**
  17320. * Return the special ID used to request the PHP logo in phpinfo screens
  17321. *
  17322. * @return string
  17323. */
  17324. function php_egg_logo_guid() {}
  17325. /**
  17326. * Return comma-separated string of .ini files parsed from the additional ini dir
  17327. *
  17328. * @return string
  17329. */
  17330. function php_ini_scanned_files() {}
  17331. /**
  17332. * Return the special ID used to request the PHP logo in phpinfo screens
  17333. *
  17334. * @return string
  17335. */
  17336. function php_logo_guid() {}
  17337. /**
  17338. * Return the current SAPI module name
  17339. *
  17340. * @return string
  17341. */
  17342. function php_sapi_name() {}
  17343. /**
  17344. *
  17345. *
  17346. * @return void
  17347. * @param INTERNAL_FUNCTION_PARAMETERS unknown
  17348. * @param st int
  17349. */
  17350. function php_snmpv3($INTERNAL_FUNCTION_PARAMETERS, $st) {}
  17351. /**
  17352. * Return information about the system PHP was built on
  17353. *
  17354. * @return string
  17355. */
  17356. function php_uname() {}
  17357. /**
  17358. * Prints the list of people who've contributed to the PHP project
  17359. *
  17360. * @return void
  17361. * @param flag int[optional]
  17362. */
  17363. function phpcredits($flag = null) {}
  17364. /**
  17365. * Output a page of useful information about PHP and the current request
  17366. *
  17367. * @return void
  17368. * @param what int[optional]
  17369. */
  17370. function phpinfo($what = null) {}
  17371. /**
  17372. * Return the current PHP version
  17373. *
  17374. * @return string
  17375. * @param extension string[optional]
  17376. */
  17377. function phpversion($extension = null) {}
  17378. /**
  17379. * Returns an approximation of pi
  17380. *
  17381. * @return float
  17382. */
  17383. function pi() {}
  17384. /**
  17385. * Convert PNG image to WBMP image
  17386. *
  17387. * @return void
  17388. * @param f_org string
  17389. * @param f_dest string
  17390. * @param d_height int
  17391. * @param d_width int
  17392. * @param threshold int
  17393. */
  17394. function png2wbmp($f_org, $f_dest, $d_height, $d_width, $threshold) {}
  17395. /**
  17396. * Execute a command and open either a read or a write pipe to it
  17397. *
  17398. * @return resource
  17399. * @param command string
  17400. * @param mode string
  17401. */
  17402. function popen($command, $mode) {}
  17403. /**
  17404. * Return the element currently pointed to by the internal array pointer
  17405. *
  17406. * @return mixed
  17407. * @param array_arg array
  17408. */
  17409. function pos($array_arg) {}
  17410. /**
  17411. * Generate terminal path name (POSIX.1, 4.7.1)
  17412. *
  17413. * @return string
  17414. */
  17415. function posix_ctermid() {}
  17416. /**
  17417. * Retrieve the error number set by the last posix function which failed.
  17418. *
  17419. * @return int
  17420. */
  17421. function posix_errno() {}
  17422. /**
  17423. * Retrieve the error number set by the last posix function which failed.
  17424. *
  17425. * @return int
  17426. */
  17427. function posix_get_last_error() {}
  17428. /**
  17429. * Get working directory pathname (POSIX.1, 5.2.2)
  17430. *
  17431. * @return string
  17432. */
  17433. function posix_getcwd() {}
  17434. /**
  17435. * Get the current effective group id (POSIX.1, 4.2.1)
  17436. *
  17437. * @return int
  17438. */
  17439. function posix_getegid() {}
  17440. /**
  17441. * Get the current effective user id (POSIX.1, 4.2.1)
  17442. *
  17443. * @return int
  17444. */
  17445. function posix_geteuid() {}
  17446. /**
  17447. * Get the current group id (POSIX.1, 4.2.1)
  17448. *
  17449. * @return int
  17450. */
  17451. function posix_getgid() {}
  17452. /**
  17453. * Group database access (POSIX.1, 9.2.1)
  17454. *
  17455. * @return array
  17456. * @param gid long
  17457. */
  17458. function posix_getgrgid($gid) {}
  17459. /**
  17460. * Group database access (POSIX.1, 9.2.1)
  17461. *
  17462. * @return array
  17463. * @param groupname string
  17464. */
  17465. function posix_getgrnam($groupname) {}
  17466. /**
  17467. * Get supplementary group id's (POSIX.1, 4.2.3)
  17468. *
  17469. * @return array
  17470. */
  17471. function posix_getgroups() {}
  17472. /**
  17473. * Get user name (POSIX.1, 4.2.4)
  17474. *
  17475. * @return string
  17476. */
  17477. function posix_getlogin() {}
  17478. /**
  17479. * Get the process group id of the specified process (This is not a POSIX function, but a SVR4ism, so we compile conditionally)
  17480. *
  17481. * @return int
  17482. */
  17483. function posix_getpgid() {}
  17484. /**
  17485. * Get current process group id (POSIX.1, 4.3.1)
  17486. *
  17487. * @return int
  17488. */
  17489. function posix_getpgrp() {}
  17490. /**
  17491. * Get the current process id (POSIX.1, 4.1.1)
  17492. *
  17493. * @return int
  17494. */
  17495. function posix_getpid() {}
  17496. /**
  17497. * Get the parent process id (POSIX.1, 4.1.1)
  17498. *
  17499. * @return int
  17500. */
  17501. function posix_getppid() {}
  17502. /**
  17503. * User database access (POSIX.1, 9.2.2)
  17504. *
  17505. * @return array
  17506. * @param groupname string
  17507. */
  17508. function posix_getpwnam($groupname) {}
  17509. /**
  17510. * User database access (POSIX.1, 9.2.2)
  17511. *
  17512. * @return array
  17513. * @param uid long
  17514. */
  17515. function posix_getpwuid($uid) {}
  17516. /**
  17517. * Get system resource consumption limits (This is not a POSIX function, but a BSDism and a SVR4ism. We compile conditionally)
  17518. *
  17519. * @return int
  17520. */
  17521. function posix_getrlimit() {}
  17522. /**
  17523. * Get process group id of session leader (This is not a POSIX function, but a SVR4ism, so be compile conditionally)
  17524. *
  17525. * @return int
  17526. */
  17527. function posix_getsid() {}
  17528. /**
  17529. * Get the current user id (POSIX.1, 4.2.1)
  17530. *
  17531. * @return int
  17532. */
  17533. function posix_getuid() {}
  17534. /**
  17535. * Determine if filedesc is a tty (POSIX.1, 4.7.1)
  17536. *
  17537. * @return bool
  17538. * @param fd int
  17539. */
  17540. function posix_isatty($fd) {}
  17541. /**
  17542. * Send a signal to a process (POSIX.1, 3.3.2)
  17543. *
  17544. * @return bool
  17545. * @param pid int
  17546. * @param sig int
  17547. */
  17548. function posix_kill($pid, $sig) {}
  17549. /**
  17550. * Make a FIFO special file (POSIX.1, 5.4.2)
  17551. *
  17552. * @return bool
  17553. * @param pathname string
  17554. * @param mode int
  17555. */
  17556. function posix_mkfifo($pathname, $mode) {}
  17557. /**
  17558. * Set effective group id
  17559. *
  17560. * @return bool
  17561. * @param uid long
  17562. */
  17563. function posix_setegid($uid) {}
  17564. /**
  17565. * Set effective user id
  17566. *
  17567. * @return bool
  17568. * @param uid long
  17569. */
  17570. function posix_seteuid($uid) {}
  17571. /**
  17572. * Set group id (POSIX.1, 4.2.2)
  17573. *
  17574. * @return bool
  17575. * @param uid int
  17576. */
  17577. function posix_setgid($uid) {}
  17578. /**
  17579. * Set process group id for job control (POSIX.1, 4.3.3)
  17580. *
  17581. * @return bool
  17582. * @param pid int
  17583. * @param pgid int
  17584. */
  17585. function posix_setpgid($pid, $pgid) {}
  17586. /**
  17587. * Create session and set process group id (POSIX.1, 4.3.2)
  17588. *
  17589. * @return int
  17590. */
  17591. function posix_setsid() {}
  17592. /**
  17593. * Set user id (POSIX.1, 4.2.2)
  17594. *
  17595. * @return bool
  17596. * @param uid long
  17597. */
  17598. function posix_setuid($uid) {}
  17599. /**
  17600. * Retrieve the system error message associated with the given errno.
  17601. *
  17602. * @return string
  17603. * @param errno int
  17604. */
  17605. function posix_strerror($errno) {}
  17606. /**
  17607. * Get process times (POSIX.1, 4.5.2)
  17608. *
  17609. * @return array
  17610. */
  17611. function posix_times() {}
  17612. /**
  17613. * Determine terminal device name (POSIX.1, 4.7.2)
  17614. *
  17615. * @return string
  17616. * @param fd int
  17617. */
  17618. function posix_ttyname($fd) {}
  17619. /**
  17620. * Get system name (POSIX.1, 4.4.1)
  17621. *
  17622. * @return array
  17623. */
  17624. function posix_uname() {}
  17625. /**
  17626. * Returns base raised to the power of exponent. Returns integer result when possible
  17627. *
  17628. * @return number
  17629. * @param base number
  17630. * @param exponent number
  17631. */
  17632. function pow($base, $exponent) {}
  17633. /**
  17634. * Searches array and returns entries which match regex
  17635. *
  17636. * @return array
  17637. * @param regex string
  17638. * @param input array
  17639. */
  17640. function preg_grep($regex, $input) {}
  17641. /**
  17642. * Perform a Perl-style regular expression match
  17643. *
  17644. * @return int
  17645. * @param pattern string
  17646. * @param subject string
  17647. * @param subpatterns array[optional]
  17648. * @param flags int[optional]
  17649. */
  17650. function preg_match($pattern, $subject, $subpatterns = null, $flags = null) {}
  17651. /**
  17652. * Perform a Perl-style global regular expression match
  17653. *
  17654. * @return int
  17655. * @param pattern string
  17656. * @param subject string
  17657. * @param subpatterns array
  17658. * @param flags int[optional]
  17659. */
  17660. function preg_match_all($pattern, $subject, $subpatterns, $flags = null) {}
  17661. /**
  17662. * Quote regular expression characters plus an optional character
  17663. *
  17664. * @return string
  17665. * @param str string
  17666. * @param delim_char string
  17667. */
  17668. function preg_quote($str, $delim_char) {}
  17669. /**
  17670. * Perform Perl-style regular expression replacement.
  17671. *
  17672. * @return string
  17673. * @param regex mixed
  17674. * @param replace mixed
  17675. * @param subject mixed
  17676. * @param limit int[optional]
  17677. */
  17678. function preg_replace($regex, $replace, $subject, $limit = null) {}
  17679. /**
  17680. * Perform Perl-style regular expression replacement using replacement callback.
  17681. *
  17682. * @return string
  17683. * @param regex mixed
  17684. * @param callback mixed
  17685. * @param subject mixed
  17686. * @param limit int[optional]
  17687. */
  17688. function preg_replace_callback($regex, $callback, $subject, $limit = null) {}
  17689. /**
  17690. * Split string into an array using a perl-style regular expression as a delimiter
  17691. *
  17692. * @return array
  17693. * @param pattern string
  17694. * @param subject string
  17695. * @param limit int[optional]
  17696. * @param flags int[optional]
  17697. */
  17698. function preg_split($pattern, $subject, $limit = null, $flags = null) {}
  17699. /**
  17700. * Move array argument's internal pointer to the previous element and return it
  17701. *
  17702. * @return mixed
  17703. * @param array_arg array
  17704. */
  17705. function prev($array_arg) {}
  17706. /**
  17707. * Prints out or returns information about the specified variable
  17708. *
  17709. * @return bool
  17710. * @param var mixed
  17711. * @param return bool[optional]
  17712. */
  17713. function print_r($var, $return = null) {}
  17714. /**
  17715. * Output a formatted string
  17716. *
  17717. * @return int
  17718. * @param format string
  17719. * @param arg1 mixed[optional]
  17720. * @vararg ... mixed
  17721. */
  17722. function printf($format, $arg1 = null) {}
  17723. /**
  17724. * close a process opened by proc_open
  17725. *
  17726. * @return int
  17727. * @param process resource
  17728. */
  17729. function proc_close($process) {}
  17730. /**
  17731. * Run a process with more control over it's file descriptors
  17732. *
  17733. * @return resource
  17734. * @param command string
  17735. * @param descriptorspec array
  17736. * @param pipes array
  17737. */
  17738. function proc_open($command, $descriptorspec, &$pipes) {}
  17739. /**
  17740. * Adds a word to a personal list
  17741. *
  17742. * @return int
  17743. * @param pspell int
  17744. * @param word string
  17745. */
  17746. function pspell_add_to_personal($pspell, $word) {}
  17747. /**
  17748. * Adds a word to the current session
  17749. *
  17750. * @return int
  17751. * @param pspell int
  17752. * @param word string
  17753. */
  17754. function pspell_add_to_session($pspell, $word) {}
  17755. /**
  17756. * Returns true if word is valid
  17757. *
  17758. * @return int
  17759. * @param pspell int
  17760. * @param word string
  17761. */
  17762. function pspell_check($pspell, $word) {}
  17763. /**
  17764. * Clears the current session
  17765. *
  17766. * @return int
  17767. * @param pspell int
  17768. */
  17769. function pspell_clear_session($pspell) {}
  17770. /**
  17771. * Create a new config to be used later to create a manager
  17772. *
  17773. * @return int
  17774. * @param language string
  17775. * @param spelling string[optional]
  17776. * @param jargon string[optional]
  17777. * @param encoding string[optional]
  17778. */
  17779. function pspell_config_create($language, $spelling = null, $jargon = null, $encoding = null) {}
  17780. /**
  17781. * Ignore words <= n chars
  17782. *
  17783. * @return int
  17784. * @param conf int
  17785. * @param ignore int
  17786. */
  17787. function pspell_config_ignore($conf, $ignore) {}
  17788. /**
  17789. * Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS)
  17790. *
  17791. * @return int
  17792. * @param conf int
  17793. * @param mode long
  17794. */
  17795. function pspell_config_mode($conf, $mode) {}
  17796. /**
  17797. * Use a personal dictionary for this config
  17798. *
  17799. * @return int
  17800. * @param conf int
  17801. * @param personal string
  17802. */
  17803. function pspell_config_personal($conf, $personal) {}
  17804. /**
  17805. * Use a personal dictionary with replacement pairs for this config
  17806. *
  17807. * @return int
  17808. * @param conf int
  17809. * @param repl string
  17810. */
  17811. function pspell_config_repl($conf, $repl) {}
  17812. /**
  17813. * Consider run-together words as valid components
  17814. *
  17815. * @return int
  17816. * @param conf int
  17817. * @param runtogether bool
  17818. */
  17819. function pspell_config_runtogether($conf, $runtogether) {}
  17820. /**
  17821. * Save replacement pairs when personal list is saved for this config
  17822. *
  17823. * @return int
  17824. * @param conf int
  17825. * @param save bool
  17826. */
  17827. function pspell_config_save_repl($conf, $save) {}
  17828. /**
  17829. * Load a dictionary
  17830. *
  17831. * @return int
  17832. * @param language string
  17833. * @param spelling string[optional]
  17834. * @param jargon string[optional]
  17835. * @param encoding string[optional]
  17836. * @param mode int[optional]
  17837. */
  17838. function pspell_new($language, $spelling = null, $jargon = null, $encoding = null, $mode = null) {}
  17839. /**
  17840. * Load a dictionary based on the given config
  17841. *
  17842. * @return int
  17843. * @param config int
  17844. */
  17845. function pspell_new_config($config) {}
  17846. /**
  17847. * Load a dictionary with a personal wordlist
  17848. *
  17849. * @return int
  17850. * @param personal string
  17851. * @param language string
  17852. * @param spelling string[optional]
  17853. * @param jargon string[optional]
  17854. * @param encoding string[optional]
  17855. * @param mode int[optional]
  17856. */
  17857. function pspell_new_personal($personal, $language, $spelling = null, $jargon = null, $encoding = null, $mode = null) {}
  17858. /**
  17859. * Saves the current (personal) wordlist
  17860. *
  17861. * @return int
  17862. * @param pspell int
  17863. */
  17864. function pspell_save_wordlist($pspell) {}
  17865. /**
  17866. * Notify the dictionary of a user-selected replacement
  17867. *
  17868. * @return int
  17869. * @param pspell int
  17870. * @param misspell string
  17871. * @param correct string
  17872. */
  17873. function pspell_store_replacement($pspell, $misspell, $correct) {}
  17874. /**
  17875. * Returns array of suggestions
  17876. *
  17877. * @return array
  17878. * @param pspell int
  17879. * @param word string
  17880. */
  17881. function pspell_suggest($pspell, $word) {}
  17882. /**
  17883. * Set the value of an environment variable
  17884. *
  17885. * @return bool
  17886. * @param setting string
  17887. */
  17888. function putenv($setting) {}
  17889. /**
  17890. * Returns the error string from the last QDOM operation or FALSE if no errors occured.
  17891. *
  17892. * @return string
  17893. */
  17894. function qdom_error() {}
  17895. /**
  17896. * creates a tree of an xml string
  17897. *
  17898. * @return object
  17899. * @param string unknown
  17900. */
  17901. function qdom_tree($string) {}
  17902. /**
  17903. * Convert a quoted-printable string to an 8 bit string
  17904. *
  17905. * @return string
  17906. * @param str string
  17907. */
  17908. function quoted_printable_decode($str) {}
  17909. /**
  17910. * Quotes meta characters
  17911. *
  17912. * @return string
  17913. * @param str string
  17914. */
  17915. function quotemeta($str) {}
  17916. /**
  17917. * Converts the radian number to the equivalent number in degrees
  17918. *
  17919. * @return float
  17920. * @param number float
  17921. */
  17922. function rad2deg($number) {}
  17923. /**
  17924. * Returns a random number
  17925. *
  17926. * @return int
  17927. * @param min int[optional]
  17928. * @param max int
  17929. */
  17930. function rand($min = null, $max) {}
  17931. /**
  17932. * Create an array containing the range of integers or characters from low to high (inclusive)
  17933. *
  17934. * @return array
  17935. * @param low mixed
  17936. * @param high mixed
  17937. */
  17938. function range($low, $high) {}
  17939. /**
  17940. * Decodes URL-encodes string
  17941. *
  17942. * @return string
  17943. * @param str string
  17944. */
  17945. function rawurldecode($str) {}
  17946. /**
  17947. * URL-encodes string
  17948. *
  17949. * @return string
  17950. * @param str string
  17951. */
  17952. function rawurlencode($str) {}
  17953. /**
  17954. * Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails
  17955. *
  17956. * @return array|false
  17957. * @param filename string
  17958. * @param sections_needed unknown[optional]
  17959. * @param sub_arrays unknown[optional]
  17960. * @param read_thumbnail unknown
  17961. */
  17962. function read_exif_data($filename, $sections_needed = null, $sub_arrays = null, $read_thumbnail) {}
  17963. /**
  17964. * Read directory entry from dir_handle
  17965. *
  17966. * @return string
  17967. * @param dir_handle resource[optional]
  17968. */
  17969. function readdir($dir_handle = null) {}
  17970. /**
  17971. * Output a file or a URL
  17972. *
  17973. * @return int
  17974. * @param filename string
  17975. * @param use_include_path int[optional]
  17976. */
  17977. function readfile($filename, $use_include_path = null) {}
  17978. /**
  17979. * Output a .gz-file
  17980. *
  17981. * @return int
  17982. * @param filename string
  17983. * @param use_include_path int[optional]
  17984. */
  17985. function readgzfile($filename, $use_include_path = null) {}
  17986. /**
  17987. * Reads a line
  17988. *
  17989. * @return string
  17990. * @param prompt string[optional]
  17991. */
  17992. function readline($prompt = null) {}
  17993. /**
  17994. * Adds a line to the history
  17995. *
  17996. * @return void
  17997. * @param prompt string[optional]
  17998. */
  17999. function readline_add_history($prompt = null) {}
  18000. /**
  18001. * Clears the history
  18002. *
  18003. * @return void
  18004. */
  18005. function readline_clear_history() {}
  18006. /**
  18007. * Readline completion function?
  18008. *
  18009. * @return void
  18010. * @param funcname string
  18011. */
  18012. function readline_completion_function($funcname) {}
  18013. /**
  18014. * Gets/sets various internal readline variables.
  18015. *
  18016. * @return mixed
  18017. * @param varname string[optional]
  18018. * @param newvalue string[optional]
  18019. */
  18020. function readline_info($varname = null, $newvalue = null) {}
  18021. /**
  18022. * Lists the history
  18023. *
  18024. * @return array
  18025. */
  18026. function readline_list_history() {}
  18027. /**
  18028. * Reads the history
  18029. *
  18030. * @return int
  18031. * @param filename string[optional]
  18032. * @param from int[optional]
  18033. * @param to int[optional]
  18034. */
  18035. function readline_read_history($filename = null, $from = null, $to = null) {}
  18036. /**
  18037. * Writes the history
  18038. *
  18039. * @return int
  18040. * @param filename string[optional]
  18041. */
  18042. function readline_write_history($filename = null) {}
  18043. /**
  18044. * Return the target of a symbolic link
  18045. *
  18046. * @return string
  18047. * @param filename string
  18048. */
  18049. function readlink($filename) {}
  18050. /**
  18051. * Return the resolved path
  18052. *
  18053. * @return string
  18054. * @param path string
  18055. */
  18056. function realpath($path) {}
  18057. /**
  18058. * Recode string str according to request string
  18059. *
  18060. * @return string
  18061. * @param request string
  18062. * @param str string
  18063. */
  18064. function recode($request, $str) {}
  18065. /**
  18066. * Recode file input into file output according to request
  18067. *
  18068. * @return bool
  18069. * @param request string
  18070. * @param input resource
  18071. * @param output resource
  18072. */
  18073. function recode_file($request, $input, $output) {}
  18074. /**
  18075. * Recode string str according to request string
  18076. *
  18077. * @return string
  18078. * @param request string
  18079. * @param str string
  18080. */
  18081. function recode_string($request, $str) {}
  18082. /**
  18083. * Register a user-level function to be called on request termination
  18084. *
  18085. * @return void
  18086. * @param function_name string
  18087. */
  18088. function register_shutdown_function($function_name) {}
  18089. /**
  18090. * Registers a tick callback function
  18091. *
  18092. * @return bool
  18093. * @param function_name string
  18094. * @param arg mixed[optional]
  18095. * @vararg ... mixed
  18096. */
  18097. function register_tick_function($function_name, $arg = null) {}
  18098. /**
  18099. * Rename a file
  18100. *
  18101. * @return bool
  18102. * @param old_name string
  18103. * @param new_name string
  18104. */
  18105. function rename($old_name, $new_name) {}
  18106. /**
  18107. * Set array argument's internal pointer to the first element and return it
  18108. *
  18109. * @return mixed
  18110. * @param array_arg array
  18111. */
  18112. function reset($array_arg) {}
  18113. /**
  18114. * Restores the previously defined error handler function
  18115. *
  18116. * @return void
  18117. */
  18118. function restore_error_handler() {}
  18119. /**
  18120. * Restore the value of the include_path configuration option
  18121. *
  18122. * @return void
  18123. */
  18124. function restore_include_path() {}
  18125. /**
  18126. * Rewind the position of a file pointer
  18127. *
  18128. * @return bool
  18129. * @param fp resource
  18130. */
  18131. function rewind($fp) {}
  18132. /**
  18133. * Rewind dir_handle back to the start
  18134. *
  18135. * @return void
  18136. * @param dir_handle resource[optional]
  18137. */
  18138. function rewinddir($dir_handle = null) {}
  18139. /**
  18140. * Remove a directory
  18141. *
  18142. * @return bool
  18143. * @param dirname string
  18144. */
  18145. function rmdir($dirname) {}
  18146. /**
  18147. * Returns the number rounded to specified precision
  18148. *
  18149. * @return float
  18150. * @param number float
  18151. * @param precision int[optional]
  18152. */
  18153. function round($number, $precision = null) {}
  18154. /**
  18155. * Sort an array in reverse order
  18156. *
  18157. * @return bool
  18158. * @param array_arg array
  18159. * @param sort_flags int[optional]
  18160. */
  18161. function rsort($array_arg, $sort_flags = null) {}
  18162. /**
  18163. * Removes trailing whitespace
  18164. *
  18165. * @return string
  18166. * @param str string
  18167. * @param character_mask string[optional]
  18168. */
  18169. function rtrim($str, $character_mask = null) {}
  18170. /**
  18171. * Acquires the semaphore with the given id, blocking if necessary
  18172. *
  18173. * @return int
  18174. * @param id int
  18175. */
  18176. function sem_acquire($id) {}
  18177. /**
  18178. * Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously
  18179. *
  18180. * @return int
  18181. * @param key int
  18182. * @param max_acquire int[optional]
  18183. * @param perm int[optional]
  18184. * @param auto_release int[optional]
  18185. */
  18186. function sem_get($key, $max_acquire = null, $perm = null, $auto_release = null) {}
  18187. /**
  18188. * Releases the semaphore with the given id
  18189. *
  18190. * @return int
  18191. * @param id int
  18192. */
  18193. function sem_release($id) {}
  18194. /**
  18195. * Removes semaphore from Unix systems
  18196. *
  18197. * @return int
  18198. * @param id int
  18199. */
  18200. function sem_remove($id) {}
  18201. /**
  18202. * Returns a string representation of variable (which can later be unserialized)
  18203. *
  18204. * @return string
  18205. * @param variable mixed
  18206. */
  18207. function serialize($variable) {}
  18208. /**
  18209. * Return the current cache expire. If new_cache_expire is given, the current cache_expire is replaced with new_cache_expire
  18210. *
  18211. * @return int
  18212. * @param new_cache_expire int[optional]
  18213. */
  18214. function session_cache_expire($new_cache_expire = null) {}
  18215. /**
  18216. * Return the current cache limiter. If new_cache_limited is given, the current cache_limiter is replaced with new_cache_limiter
  18217. *
  18218. * @return string
  18219. * @param new_cache_limiter string[optional]
  18220. */
  18221. function session_cache_limiter($new_cache_limiter = null) {}
  18222. /**
  18223. * Deserializes data and reinitializes the variables
  18224. *
  18225. * @return bool
  18226. * @param data string
  18227. */
  18228. function session_decode($data) {}
  18229. /**
  18230. * Destroy the current session and all data associated with it
  18231. *
  18232. * @return bool
  18233. */
  18234. function session_destroy() {}
  18235. /**
  18236. * Serializes the current setup and returns the serialized representation
  18237. *
  18238. * @return string
  18239. */
  18240. function session_encode() {}
  18241. /**
  18242. * Return the session cookie parameters
  18243. *
  18244. * @return array
  18245. */
  18246. function session_get_cookie_params() {}
  18247. /**
  18248. * Return the current session id. If newid is given, the session id is replaced with newid
  18249. *
  18250. * @return string
  18251. * @param newid string[optional]
  18252. */
  18253. function session_id($newid = null) {}
  18254. /**
  18255. * Checks if a variable is registered in session
  18256. *
  18257. * @return bool
  18258. * @param varname string
  18259. */
  18260. function session_is_registered($varname) {}
  18261. /**
  18262. * Return the current module name used for accessing session data. If newname is given, the module name is replaced with newname
  18263. *
  18264. * @return string
  18265. * @param newname string[optional]
  18266. */
  18267. function session_module_name($newname = null) {}
  18268. /**
  18269. * Return the current session name. If newname is given, the session name is replaced with newname
  18270. *
  18271. * @return string
  18272. * @param newname string[optional]
  18273. */
  18274. function session_name($newname = null) {}
  18275. /**
  18276. * Update the current session id with a newly generated one.
  18277. *
  18278. * @return bool
  18279. */
  18280. function session_regenerate_id() {}
  18281. /**
  18282. * Adds varname(s) to the list of variables which are freezed at the session end
  18283. *
  18284. * @return bool
  18285. * @param var_names mixed
  18286. * @vararg ... mixed
  18287. */
  18288. function session_register($var_names) {}
  18289. /**
  18290. * Return the current save path passed to module_name. If newname is given, the save path is replaced with newname
  18291. *
  18292. * @return string
  18293. * @param newname string[optional]
  18294. */
  18295. function session_save_path($newname = null) {}
  18296. /**
  18297. * Set session cookie parameters
  18298. *
  18299. * @return void
  18300. * @param lifetime int
  18301. * @param path string[optional]
  18302. * @param domain string[optional]
  18303. * @param secure bool[optional]
  18304. */
  18305. function session_set_cookie_params($lifetime, $path = null, $domain = null, $secure = null) {}
  18306. /**
  18307. * Sets user-level functions
  18308. *
  18309. * @return void
  18310. * @param open string
  18311. * @param close string
  18312. * @param read string
  18313. * @param write string
  18314. * @param destroy string
  18315. * @param gc string
  18316. */
  18317. function session_set_save_handler($open, $close, $read, $write, $destroy, $gc) {}
  18318. /**
  18319. * Begin session - reinitializes freezed variables, registers browsers etc
  18320. *
  18321. * @return bool
  18322. */
  18323. function session_start() {}
  18324. /**
  18325. * Removes varname from the list of variables which are freezed at the session end
  18326. *
  18327. * @return bool
  18328. * @param varname string
  18329. */
  18330. function session_unregister($varname) {}
  18331. /**
  18332. * Unset all registered variables
  18333. *
  18334. * @return void
  18335. */
  18336. function session_unset() {}
  18337. /**
  18338. * Write session data and end session
  18339. *
  18340. * @return void
  18341. */
  18342. function session_write_close() {}
  18343. /**
  18344. * Sets a user-defined error handler function. Returns the previously defined error handler, or false on error
  18345. *
  18346. * @return string
  18347. * @param error_handler string
  18348. */
  18349. function set_error_handler($error_handler) {}
  18350. /**
  18351. * Set file write buffer
  18352. *
  18353. * @return int
  18354. * @param fp resource
  18355. * @param buffer int
  18356. */
  18357. function set_file_buffer($fp, $buffer) {}
  18358. /**
  18359. * Sets the include_path configuration option
  18360. *
  18361. * @return string
  18362. * @param varname string
  18363. * @param newvalue string
  18364. */
  18365. function set_include_path($varname, $newvalue) {}
  18366. /**
  18367. * Set the current active configuration setting of magic_quotes_runtime and return previous
  18368. *
  18369. * @return bool
  18370. * @param new_setting int
  18371. */
  18372. function set_magic_quotes_runtime($new_setting) {}
  18373. /**
  18374. * Set blocking/non-blocking mode on a socket
  18375. *
  18376. * @return bool
  18377. * @param socket resource
  18378. * @param mode int
  18379. */
  18380. function set_socket_blocking($socket, $mode) {}
  18381. /**
  18382. * Sets the maximum time a script can run
  18383. *
  18384. * @return bool
  18385. * @param seconds int
  18386. */
  18387. function set_time_limit($seconds) {}
  18388. /**
  18389. * Send a cookie
  18390. *
  18391. * @return bool
  18392. * @param name string
  18393. * @param value string[optional]
  18394. * @param expires int[optional]
  18395. * @param path string[optional]
  18396. * @param domain string[optional]
  18397. * @param secure bool[optional]
  18398. */
  18399. function setcookie($name, $value = null, $expires = null, $path = null, $domain = null, $secure = null) {}
  18400. /**
  18401. * Set locale information
  18402. *
  18403. * @return string
  18404. * @param category mixed
  18405. * @param locale string
  18406. * @vararg ... string
  18407. */
  18408. function setlocale($category, $locale) {}
  18409. /**
  18410. * Set the type of the variable
  18411. *
  18412. * @return bool
  18413. * @param var mixed
  18414. * @param type string
  18415. */
  18416. function settype($var, $type) {}
  18417. /**
  18418. * Calculate the sha1 hash of a string
  18419. *
  18420. * @return string
  18421. * @param str string
  18422. */
  18423. function sha1($str) {}
  18424. /**
  18425. * Calculate the sha1 hash of given filename
  18426. *
  18427. * @return string
  18428. * @param filename string
  18429. */
  18430. function sha1_file($filename) {}
  18431. /**
  18432. * Use pclose() for FILE* that has been opened via popen()
  18433. *
  18434. * @return string
  18435. * @param cmd string
  18436. */
  18437. function shell_exec($cmd) {}
  18438. /**
  18439. * Creates or open a shared memory segment
  18440. *
  18441. * @return int
  18442. * @param key int
  18443. * @param memsize int[optional]
  18444. * @param perm int[optional]
  18445. */
  18446. function shm_attach($key, $memsize = null, $perm = null) {}
  18447. /**
  18448. * Disconnects from shared memory segment
  18449. *
  18450. * @return int
  18451. * @param shm_identifier int
  18452. */
  18453. function shm_detach($shm_identifier) {}
  18454. /**
  18455. * Returns a variable from shared memory
  18456. *
  18457. * @return mixed
  18458. * @param id int
  18459. * @param variable_key int
  18460. */
  18461. function shm_get_var($id, $variable_key) {}
  18462. /**
  18463. * Inserts or updates a variable in shared memory
  18464. *
  18465. * @return int
  18466. * @param shm_identifier int
  18467. * @param variable_key int
  18468. * @param variable mixed
  18469. */
  18470. function shm_put_var($shm_identifier, $variable_key, $variable) {}
  18471. /**
  18472. * Removes shared memory from Unix systems
  18473. *
  18474. * @return int
  18475. * @param shm_identifier int
  18476. */
  18477. function shm_remove($shm_identifier) {}
  18478. /**
  18479. * Removes variable from shared memory
  18480. *
  18481. * @return int
  18482. * @param id int
  18483. * @param variable_key int
  18484. */
  18485. function shm_remove_var($id, $variable_key) {}
  18486. /**
  18487. * closes a shared memory segment
  18488. *
  18489. * @return void
  18490. * @param shmid int
  18491. */
  18492. function shmop_close($shmid) {}
  18493. /**
  18494. * mark segment for deletion
  18495. *
  18496. * @return bool
  18497. * @param shmid int
  18498. */
  18499. function shmop_delete($shmid) {}
  18500. /**
  18501. * gets and attaches a shared memory segment
  18502. *
  18503. * @return int
  18504. * @param key int
  18505. * @param flags string
  18506. * @param mode int
  18507. * @param size int
  18508. */
  18509. function shmop_open($key, $flags, $mode, $size) {}
  18510. /**
  18511. * reads from a shm segment
  18512. *
  18513. * @return string
  18514. * @param shmid int
  18515. * @param start int
  18516. * @param count int
  18517. */
  18518. function shmop_read($shmid, $start, $count) {}
  18519. /**
  18520. * returns the shm size
  18521. *
  18522. * @return int
  18523. * @param shmid int
  18524. */
  18525. function shmop_size($shmid) {}
  18526. /**
  18527. * writes to a shared memory segment
  18528. *
  18529. * @return int
  18530. * @param shmid int
  18531. * @param data string
  18532. * @param offset int
  18533. */
  18534. function shmop_write($shmid, $data, $offset) {}
  18535. /**
  18536. * Syntax highlight a source file
  18537. *
  18538. * @return bool
  18539. * @param file_name string
  18540. * @param return bool[optional]
  18541. */
  18542. function show_source($file_name, $return = null) {}
  18543. /**
  18544. * Randomly shuffle the contents of an array
  18545. *
  18546. * @return bool
  18547. * @param array_arg array
  18548. */
  18549. function shuffle($array_arg) {}
  18550. /**
  18551. * Calculates the similarity between two strings
  18552. *
  18553. * @return int
  18554. * @param str1 string
  18555. * @param str2 string
  18556. * @param percent float[optional]
  18557. */
  18558. function similar_text($str1, $str2, $percent = null) {}
  18559. /**
  18560. * Returns the sine of the number in radians
  18561. *
  18562. * @return float
  18563. * @param number float
  18564. */
  18565. function sin($number) {}
  18566. /**
  18567. * Returns the hyperbolic sine of the number, defined as (exp(number) - exp(-number))/2
  18568. *
  18569. * @return float
  18570. * @param number float
  18571. */
  18572. function sinh($number) {}
  18573. /**
  18574. * Count the number of elements in a variable (usually an array)
  18575. *
  18576. * @return int
  18577. * @param var mixed
  18578. * @param mode int[optional]
  18579. */
  18580. function sizeof($var, $mode = null) {}
  18581. /**
  18582. * Delay for a given number of seconds
  18583. *
  18584. * @return void
  18585. * @param seconds int
  18586. */
  18587. function sleep($seconds) {}
  18588. /**
  18589. * Fetch the value of a SNMP object
  18590. *
  18591. * @return int
  18592. * @param host string
  18593. * @param sec_name string
  18594. * @param sec_level string
  18595. * @param auth_protocol string
  18596. * @param auth_passphrase string
  18597. * @param priv_protocol string
  18598. * @param priv_passphrase string
  18599. * @param object_id string
  18600. * @param timeout int[optional]
  18601. * @param retries int[optional]
  18602. */
  18603. function snmp3_get($host, $sec_name, $sec_level, $auth_protocol, $auth_passphrase, $priv_protocol, $priv_passphrase, $object_id, $timeout = null, $retries = null) {}
  18604. /**
  18605. * Fetch the value of a SNMP object
  18606. *
  18607. * @return int
  18608. * @param host string
  18609. * @param sec_name string
  18610. * @param sec_level string
  18611. * @param auth_protocol string
  18612. * @param auth_passphrase string
  18613. * @param priv_protocol string
  18614. * @param priv_passphrase string
  18615. * @param object_id string
  18616. * @param timeout int[optional]
  18617. * @param retries int[optional]
  18618. */
  18619. function snmp3_real_walk($host, $sec_name, $sec_level, $auth_protocol, $auth_passphrase, $priv_protocol, $priv_passphrase, $object_id, $timeout = null, $retries = null) {}
  18620. /**
  18621. * Fetch the value of a SNMP object
  18622. *
  18623. * @return int
  18624. * @param host string
  18625. * @param sec_name string
  18626. * @param sec_level string
  18627. * @param auth_protocol string
  18628. * @param auth_passphrase string
  18629. * @param priv_protocol string
  18630. * @param priv_passphrase string
  18631. * @param object_id string
  18632. * @param type string
  18633. * @param value mixed
  18634. * @param timeout int[optional]
  18635. * @param retries int[optional]
  18636. */
  18637. function snmp3_set($host, $sec_name, $sec_level, $auth_protocol, $auth_passphrase, $priv_protocol, $priv_passphrase, $object_id, $type, $value, $timeout = null, $retries = null) {}
  18638. /**
  18639. * Fetch the value of a SNMP object
  18640. *
  18641. * @return int
  18642. * @param host string
  18643. * @param sec_name string
  18644. * @param sec_level string
  18645. * @param auth_protocol string
  18646. * @param auth_passphrase string
  18647. * @param priv_protocol string
  18648. * @param priv_passphrase string
  18649. * @param object_id string
  18650. * @param timeout int[optional]
  18651. * @param retries int[optional]
  18652. */
  18653. function snmp3_walk($host, $sec_name, $sec_level, $auth_protocol, $auth_passphrase, $priv_protocol, $priv_passphrase, $object_id, $timeout = null, $retries = null) {}
  18654. /**
  18655. * Return the current status of quick_print
  18656. *
  18657. * @return bool
  18658. */
  18659. function snmp_get_quick_print() {}
  18660. /**
  18661. * Return the method how the SNMP values will be returned
  18662. *
  18663. * @return int
  18664. */
  18665. function snmp_get_valueretrieval() {}
  18666. /**
  18667. * Return all values that are enums with their enum value instead of the raw integer
  18668. *
  18669. * @return void
  18670. * @param enum_print int
  18671. */
  18672. function snmp_set_enum_print($enum_print) {}
  18673. /**
  18674. * Return all objects including their respective object id withing the specified one
  18675. *
  18676. * @return void
  18677. * @param oid_numeric_print int
  18678. */
  18679. function snmp_set_oid_numeric_print($oid_numeric_print) {}
  18680. /**
  18681. * Return all objects including their respective object id withing the specified one
  18682. *
  18683. * @return void
  18684. * @param quick_print int
  18685. */
  18686. function snmp_set_quick_print($quick_print) {}
  18687. /**
  18688. * Specify the method how the SNMP values will be returned
  18689. *
  18690. * @return int
  18691. * @param method int
  18692. */
  18693. function snmp_set_valueretrieval($method) {}
  18694. /**
  18695. * Fetch a SNMP object
  18696. *
  18697. * @return string
  18698. * @param host string
  18699. * @param community string
  18700. * @param object_id string
  18701. * @param timeout int[optional]
  18702. * @param retries int[optional]
  18703. */
  18704. function snmpget($host, $community, $object_id, $timeout = null, $retries = null) {}
  18705. /**
  18706. * Return all objects including their respective object id withing the specified one
  18707. *
  18708. * @return array
  18709. * @param host string
  18710. * @param community string
  18711. * @param object_id string
  18712. * @param timeout int[optional]
  18713. * @param retries int[optional]
  18714. */
  18715. function snmprealwalk($host, $community, $object_id, $timeout = null, $retries = null) {}
  18716. /**
  18717. * Set the value of a SNMP object
  18718. *
  18719. * @return int
  18720. * @param host string
  18721. * @param community string
  18722. * @param object_id string
  18723. * @param type string
  18724. * @param value mixed
  18725. * @param timeout int[optional]
  18726. * @param retries int[optional]
  18727. */
  18728. function snmpset($host, $community, $object_id, $type, $value, $timeout = null, $retries = null) {}
  18729. /**
  18730. * Return all objects under the specified object id
  18731. *
  18732. * @return array
  18733. * @param host string
  18734. * @param community string
  18735. * @param object_id string
  18736. * @param timeout int[optional]
  18737. * @param retries int[optional]
  18738. */
  18739. function snmpwalk($host, $community, $object_id, $timeout = null, $retries = null) {}
  18740. /**
  18741. * Return all objects including their respective object id withing the specified one
  18742. *
  18743. * @return array
  18744. * @param host string
  18745. * @param community string
  18746. * @param object_id string
  18747. * @param timeout int[optional]
  18748. * @param retries int[optional]
  18749. */
  18750. function snmpwalkoid($host, $community, $object_id, $timeout = null, $retries = null) {}
  18751. /**
  18752. * Accepts a connection on the listening socket fd
  18753. *
  18754. * @return resource
  18755. * @param socket resource
  18756. */
  18757. function socket_accept($socket) {}
  18758. /**
  18759. * Binds an open socket to a listening port, port is only specified in AF_INET family.
  18760. *
  18761. * @return bool
  18762. * @param socket resource
  18763. * @param addr string
  18764. * @param port int[optional]
  18765. */
  18766. function socket_bind($socket, $addr, $port = null) {}
  18767. /**
  18768. * Clears the error on the socket or the last error code.
  18769. *
  18770. * @return void
  18771. * @param socket resource[optional]
  18772. */
  18773. function socket_clear_error($socket = null) {}
  18774. /**
  18775. * Closes a file descriptor
  18776. *
  18777. * @return void
  18778. * @param socket resource
  18779. */
  18780. function socket_close($socket) {}
  18781. /**
  18782. * Opens a connection to addr:port on the socket specified by socket
  18783. *
  18784. * @return bool
  18785. * @param socket resource
  18786. * @param addr string
  18787. * @param port int[optional]
  18788. */
  18789. function socket_connect($socket, $addr, $port = null) {}
  18790. /**
  18791. * Creates an endpoint for communication in the domain specified by domain, of type specified by type
  18792. *
  18793. * @return resource
  18794. * @param domain int
  18795. * @param type int
  18796. * @param protocol int
  18797. */
  18798. function socket_create($domain, $type, $protocol) {}
  18799. /**
  18800. * Opens a socket on port to accept connections
  18801. *
  18802. * @return resource
  18803. * @param port int
  18804. * @param backlog int
  18805. */
  18806. function socket_create_listen($port, $backlog) {}
  18807. /**
  18808. * Creates a pair of indistinguishable sockets and stores them in fds.
  18809. *
  18810. * @return bool
  18811. * @param domain int
  18812. * @param type int
  18813. * @param protocol int
  18814. * @param fd array
  18815. */
  18816. function socket_create_pair($domain, $type, $protocol, &$fd) {}
  18817. /**
  18818. * Gets socket options for the socket
  18819. *
  18820. * @return mixed
  18821. * @param socket resource
  18822. * @param level int
  18823. * @param optname int
  18824. */
  18825. function socket_get_option($socket, $level, $optname) {}
  18826. /**
  18827. * Retrieves header/meta data from streams/file pointers
  18828. *
  18829. * @return resource
  18830. * @param fp resource
  18831. */
  18832. function socket_get_status($fp) {}
  18833. /**
  18834. * Gets socket options for the socket
  18835. *
  18836. * @return mixed
  18837. * @param socket resource
  18838. * @param level int
  18839. * @param optname int
  18840. */
  18841. function socket_getopt($socket, $level, $optname) {}
  18842. /**
  18843. * Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type.
  18844. *
  18845. * @return bool
  18846. * @param socket resource
  18847. * @param addr string
  18848. * @param port int
  18849. */
  18850. function socket_getpeername($socket, &$addr, &$port) {}
  18851. /**
  18852. * Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type.
  18853. *
  18854. * @return bool
  18855. * @param socket resource
  18856. * @param addr string
  18857. * @param port int
  18858. */
  18859. function socket_getsockname($socket, &$addr, &$port) {}
  18860. /**
  18861. * Adds a new vector to the scatter/gather array
  18862. *
  18863. * @return bool
  18864. * @param iovec resource
  18865. * @param iov_len int
  18866. */
  18867. function socket_iovec_add($iovec, $iov_len) {}
  18868. /**
  18869. * Builds a 'struct iovec' for use with sendmsg, recvmsg, writev, and readv
  18870. *
  18871. * @return resource
  18872. * @param num_vectors int
  18873. * @vararg ... int
  18874. */
  18875. function socket_iovec_alloc($num_vectors) {}
  18876. /**
  18877. * Deletes a vector from an array of vectors
  18878. *
  18879. * @return bool
  18880. * @param iovec resource
  18881. * @param iov_pos int
  18882. */
  18883. function socket_iovec_delete($iovec, $iov_pos) {}
  18884. /**
  18885. * Returns the data held in the iovec specified by iovec_id[iovec_position]
  18886. *
  18887. * @return string
  18888. * @param iovec resource
  18889. * @param iovec_position int
  18890. */
  18891. function socket_iovec_fetch($iovec, $iovec_position) {}
  18892. /**
  18893. * Frees the iovec specified by iovec_id
  18894. *
  18895. * @return bool
  18896. * @param iovec resource
  18897. */
  18898. function socket_iovec_free($iovec) {}
  18899. /**
  18900. * Sets the data held in iovec_id[iovec_position] to new_val
  18901. *
  18902. * @return bool
  18903. * @param iovec resource
  18904. * @param iovec_position int
  18905. * @param new_val string
  18906. */
  18907. function socket_iovec_set($iovec, $iovec_position, $new_val) {}
  18908. /**
  18909. * Returns the last socket error (either the last used or the provided socket resource)
  18910. *
  18911. * @return int
  18912. * @param socket resource[optional]
  18913. */
  18914. function socket_last_error($socket = null) {}
  18915. /**
  18916. * Sets the maximum number of connections allowed to be waited for on the socket specified by fd
  18917. *
  18918. * @return bool
  18919. * @param socket resource
  18920. * @param backlog int
  18921. */
  18922. function socket_listen($socket, $backlog) {}
  18923. /**
  18924. * Reads a maximum of length bytes from socket
  18925. *
  18926. * @return string
  18927. * @param socket resource
  18928. * @param length int
  18929. * @param type int[optional]
  18930. */
  18931. function socket_read($socket, $length, $type = null) {}
  18932. /**
  18933. * Reads from an fd, using the scatter-gather array defined by iovec_id
  18934. *
  18935. * @return bool
  18936. * @param socket resource
  18937. * @param iovec_id resource
  18938. */
  18939. function socket_readv($socket, $iovec_id) {}
  18940. /**
  18941. * Receives data from a connected socket
  18942. *
  18943. * @return int
  18944. * @param socket resource
  18945. * @param buf string
  18946. * @param len int
  18947. * @param flags int
  18948. */
  18949. function socket_recv($socket, &$buf, $len, $flags) {}
  18950. /**
  18951. * Receives data from a socket, connected or not
  18952. *
  18953. * @return int
  18954. * @param socket resource
  18955. * @param buf string
  18956. * @param len int
  18957. * @param flags int
  18958. * @param name string
  18959. * @param port int[optional]
  18960. */
  18961. function socket_recvfrom($socket, &$buf, $len, $flags, &$name, &$port) {}
  18962. /**
  18963. * Used to receive messages on a socket, whether connection-oriented or not
  18964. *
  18965. * @return bool
  18966. * @param socket resource
  18967. * @param iovec resource
  18968. * @param control array
  18969. * @param controllen int
  18970. * @param flags int
  18971. * @param addr string
  18972. * @param port int[optional]
  18973. */
  18974. function socket_recvmsg($socket, $iovec, &$control, &$controllen, &$flags, &$addr, &$port) {}
  18975. /**
  18976. * Runs the select() system call on the sets mentioned with a timeout specified by tv_sec and tv_usec
  18977. *
  18978. * @return int
  18979. * @param read_fds array
  18980. * @param write_fds array
  18981. * @param except_fds &array
  18982. * @param tv_sec int
  18983. * @param tv_usec int
  18984. */
  18985. function socket_select(&$read_fds, &$write_fds, $except_fds, $tv_sec, $tv_usec) {}
  18986. /**
  18987. * Sends data to a connected socket
  18988. *
  18989. * @return int
  18990. * @param socket resource
  18991. * @param buf string
  18992. * @param len int
  18993. * @param flags int
  18994. */
  18995. function socket_send($socket, $buf, $len, $flags) {}
  18996. /**
  18997. * Sends a message to a socket, regardless of whether it is connection-oriented or not
  18998. *
  18999. * @return bool
  19000. * @param socket resource
  19001. * @param iovec resource
  19002. * @param flags int
  19003. * @param addr string
  19004. * @param port int[optional]
  19005. */
  19006. function socket_sendmsg($socket, $iovec, $flags, $addr, $port = null) {}
  19007. /**
  19008. * Sends a message to a socket, whether it is connected or not
  19009. *
  19010. * @return int
  19011. * @param socket resource
  19012. * @param buf string
  19013. * @param len int
  19014. * @param flags int
  19015. * @param addr string
  19016. * @param port int[optional]
  19017. */
  19018. function socket_sendto($socket, $buf, $len, $flags, $addr, $port = null) {}
  19019. /**
  19020. * Sets blocking mode on a socket resource
  19021. *
  19022. * @return bool
  19023. * @param socket resource
  19024. */
  19025. function socket_set_block($socket) {}
  19026. /**
  19027. * Set blocking/non-blocking mode on a socket or stream
  19028. *
  19029. * @return bool
  19030. * @param socket resource
  19031. * @param mode int
  19032. */
  19033. function socket_set_blocking($socket, $mode) {}
  19034. /**
  19035. * Sets nonblocking mode on a socket resource
  19036. *
  19037. * @return bool
  19038. * @param socket resource
  19039. */
  19040. function socket_set_nonblock($socket) {}
  19041. /**
  19042. * Sets socket options for the socket
  19043. *
  19044. * @return bool
  19045. * @param socket resource
  19046. * @param level int
  19047. * @param optname int
  19048. * @param optval int|array
  19049. */
  19050. function socket_set_option($socket, $level, $optname, $optval) {}
  19051. /**
  19052. * Set timeout on stream read to seconds + microseonds
  19053. *
  19054. * @return bool
  19055. * @param stream resource
  19056. * @param seconds int
  19057. * @param microseconds int
  19058. */
  19059. function socket_set_timeout($stream, $seconds, $microseconds) {}
  19060. /**
  19061. * Sets socket options for the socket
  19062. *
  19063. * @return bool
  19064. * @param socket resource
  19065. * @param level int
  19066. * @param optname int
  19067. * @param optval int|array
  19068. */
  19069. function socket_setopt($socket, $level, $optname, $optval) {}
  19070. /**
  19071. * Shuts down a socket for receiving, sending, or both.
  19072. *
  19073. * @return bool
  19074. * @param socket resource
  19075. * @param how int
  19076. */
  19077. function socket_shutdown($socket, $how) {}
  19078. /**
  19079. * Returns a string describing an error
  19080. *
  19081. * @return string
  19082. * @param errno int
  19083. */
  19084. function socket_strerror($errno) {}
  19085. /**
  19086. * Writes the buffer to the socket resource, length is optional
  19087. *
  19088. * @return int
  19089. * @param socket resource
  19090. * @param buf string
  19091. * @param length int
  19092. */
  19093. function socket_write($socket, $buf, $length) {}
  19094. /**
  19095. * Writes to a file descriptor, fd, using the scatter-gather array defined by iovec_id
  19096. *
  19097. * @return bool
  19098. * @param socket resource
  19099. * @param iovec_id resource
  19100. */
  19101. function socket_writev($socket, $iovec_id) {}
  19102. /**
  19103. * Sort an array
  19104. *
  19105. * @return bool
  19106. * @param array_arg array
  19107. * @param sort_flags int[optional]
  19108. */
  19109. function sort($array_arg, $sort_flags = null) {}
  19110. /**
  19111. * Calculate the soundex key of a string
  19112. *
  19113. * @return string
  19114. * @param str string
  19115. */
  19116. function soundex($str) {}
  19117. /**
  19118. * Split string into array by regular expression
  19119. *
  19120. * @return array
  19121. * @param pattern string
  19122. * @param string string
  19123. * @param limit int[optional]
  19124. */
  19125. function split($pattern, $string, $limit = null) {}
  19126. /**
  19127. * Split string into array by regular expression case-insensitive
  19128. *
  19129. * @return array
  19130. * @param pattern string
  19131. * @param string string
  19132. * @param limit int[optional]
  19133. */
  19134. function spliti($pattern, $string, $limit = null) {}
  19135. /**
  19136. * Return a formatted string
  19137. *
  19138. * @return string
  19139. * @param format string
  19140. * @param arg1 mixed[optional]
  19141. * @vararg ... mixed
  19142. */
  19143. function sprintf($format, $arg1 = null) {}
  19144. /**
  19145. * Make regular expression for case insensitive match
  19146. *
  19147. * @return string
  19148. * @param string string
  19149. */
  19150. function sql_regcase($string) {}
  19151. /**
  19152. * Executes a query against a given database and returns an array of arrays.
  19153. *
  19154. * @return array
  19155. * @param db resource
  19156. * @param query string
  19157. * @param result_type int[optional]
  19158. * @param decode_binary bool[optional]
  19159. */
  19160. function sqlite_array_query($db, $query, $result_type = null, $decode_binary = null) {}
  19161. /**
  19162. * Set busy timeout duration. If ms <= 0, all busy handlers are disabled.
  19163. *
  19164. * @return void
  19165. * @param db resource
  19166. * @param ms int
  19167. */
  19168. function sqlite_busy_timeout($db, $ms) {}
  19169. /**
  19170. * Returns the number of rows that were changed by the most recent SQL statement.
  19171. *
  19172. * @return int
  19173. * @param db resource
  19174. */
  19175. function sqlite_changes($db) {}
  19176. /**
  19177. * Closes an open sqlite database.
  19178. *
  19179. * @return void
  19180. * @param db resource
  19181. */
  19182. function sqlite_close($db) {}
  19183. /**
  19184. * Fetches a column from the current row of a result set.
  19185. *
  19186. * @return mixed
  19187. * @param result resource
  19188. * @param index_or_name mixed
  19189. * @param decode_binary bool[optional]
  19190. */
  19191. function sqlite_column($result, $index_or_name, $decode_binary = null) {}
  19192. /**
  19193. * Registers an aggregate function for queries.
  19194. *
  19195. * @return bool
  19196. * @param db resource
  19197. * @param funcname string
  19198. * @param step_func mixed
  19199. * @param finalize_func mixed
  19200. * @param num_args long
  19201. */
  19202. function sqlite_create_aggregate($db, $funcname, $step_func, $finalize_func, $num_args) {}
  19203. /**
  19204. * Registers a "regular" function for queries.
  19205. *
  19206. * @return bool
  19207. * @param db resource
  19208. * @param funcname string
  19209. * @param callback mixed
  19210. * @param num_args long
  19211. */
  19212. function sqlite_create_function($db, $funcname, $callback, $num_args) {}
  19213. /**
  19214. * Fetches the current row from a result set as an array.
  19215. *
  19216. * @return array
  19217. * @param result resource
  19218. * @param result_type int[optional]
  19219. * @param decode_binary bool[optional]
  19220. */
  19221. function sqlite_current($result, $result_type = null, $decode_binary = null) {}
  19222. /**
  19223. * Returns the textual description of an error code.
  19224. *
  19225. * @return string
  19226. * @param error_code int
  19227. */
  19228. function sqlite_error_string($error_code) {}
  19229. /**
  19230. * Escapes a string for use as a query parameter.
  19231. *
  19232. * @return string
  19233. * @param item string
  19234. */
  19235. function sqlite_escape_string($item) {}
  19236. /**
  19237. * Executes a result-less query against a given database
  19238. *
  19239. * @return boolean
  19240. * @param query string
  19241. * @param db resource
  19242. * @param error_message string
  19243. */
  19244. function sqlite_exec($query, $db, &$error_message) {}
  19245. /**
  19246. * Opens a SQLite database and creates an object for it. Will create the database if it does not exist.
  19247. *
  19248. * @return object
  19249. * @param filename string
  19250. * @param mode int[optional]
  19251. * @param error_message string[optional]
  19252. */
  19253. function sqlite_factory($filename, $mode = null, &$error_message) {}
  19254. /**
  19255. * Fetches all rows from a result set as an array of arrays.
  19256. *
  19257. * @return array
  19258. * @param result resource
  19259. * @param result_type int[optional]
  19260. * @param decode_binary bool[optional]
  19261. */
  19262. function sqlite_fetch_all($result, $result_type = null, $decode_binary = null) {}
  19263. /**
  19264. * Fetches the next row from a result set as an array.
  19265. *
  19266. * @return array
  19267. * @param result resource
  19268. * @param result_type int[optional]
  19269. * @param decode_binary bool[optional]
  19270. */
  19271. function sqlite_fetch_array($result, $result_type = null, $decode_binary = null) {}
  19272. /**
  19273. * Return an array of column types from a particular table.
  19274. *
  19275. * @return resource
  19276. * @param table_name string
  19277. * @param db resource
  19278. * @param result_type int[optional]
  19279. */
  19280. function sqlite_fetch_column_types($table_name, $db, $result_type = null) {}
  19281. /**
  19282. * Fetches the next row from a result set as an object.
  19283. *
  19284. * @return object
  19285. * @param result resource
  19286. * @param class_name string[optional]
  19287. * @param ctor_params NULL|array[optional]
  19288. * @param decode_binary bool[optional]
  19289. */
  19290. function sqlite_fetch_object($result, $class_name = null, $ctor_params = null, $decode_binary = null) {}
  19291. /**
  19292. * Fetches the first column of a result set as a string.
  19293. *
  19294. * @return string
  19295. * @param result resource
  19296. * @param decode_binary bool[optional]
  19297. */
  19298. function sqlite_fetch_single($result, $decode_binary = null) {}
  19299. /**
  19300. * Fetches the first column of a result set as a string.
  19301. *
  19302. * @return string
  19303. * @param result resource
  19304. * @param decode_binary bool[optional]
  19305. */
  19306. function sqlite_fetch_string($result, $decode_binary = null) {}
  19307. /**
  19308. * Returns the name of a particular field of a result set.
  19309. *
  19310. * @return string
  19311. * @param result resource
  19312. * @param field_index int
  19313. */
  19314. function sqlite_field_name($result, $field_index) {}
  19315. /**
  19316. * Returns whether more rows are available.
  19317. *
  19318. * @return bool
  19319. * @param result resource
  19320. */
  19321. function sqlite_has_more($result) {}
  19322. /**
  19323. * * Returns whether a previous row is available.
  19324. *
  19325. * @return bool
  19326. * @param result resource
  19327. */
  19328. function sqlite_has_prev($result) {}
  19329. /**
  19330. * Return the current row index of a buffered result.
  19331. *
  19332. * @return int
  19333. * @param result resource
  19334. */
  19335. function sqlite_key($result) {}
  19336. /**
  19337. * Returns the error code of the last error for a database.
  19338. *
  19339. * @return int
  19340. * @param db resource
  19341. */
  19342. function sqlite_last_error($db) {}
  19343. /**
  19344. * Returns the rowid of the most recently inserted row.
  19345. *
  19346. * @return int
  19347. * @param db resource
  19348. */
  19349. function sqlite_last_insert_rowid($db) {}
  19350. /**
  19351. * Returns the encoding (iso8859 or UTF-8) of the linked SQLite library.
  19352. *
  19353. * @return string
  19354. */
  19355. function sqlite_libencoding() {}
  19356. /**
  19357. * Returns the version of the linked SQLite library.
  19358. *
  19359. * @return string
  19360. */
  19361. function sqlite_libversion() {}
  19362. /**
  19363. * Seek to the next row number of a result set.
  19364. *
  19365. * @return bool
  19366. * @param result resource
  19367. */
  19368. function sqlite_next($result) {}
  19369. /**
  19370. * Returns the number of fields in a result set.
  19371. *
  19372. * @return int
  19373. * @param result resource
  19374. */
  19375. function sqlite_num_fields($result) {}
  19376. /**
  19377. * Returns the number of rows in a buffered result set.
  19378. *
  19379. * @return int
  19380. * @param result resource
  19381. */
  19382. function sqlite_num_rows($result) {}
  19383. /**
  19384. * Opens a SQLite database. Will create the database if it does not exist.
  19385. *
  19386. * @return resource
  19387. * @param filename string
  19388. * @param mode int[optional]
  19389. * @param error_message string[optional]
  19390. */
  19391. function sqlite_open($filename, $mode = null, &$error_message) {}
  19392. /**
  19393. * Opens a persistent handle to a SQLite database. Will create the database if it does not exist.
  19394. *
  19395. * @return resource
  19396. * @param filename string
  19397. * @param mode int[optional]
  19398. * @param error_message string[optional]
  19399. */
  19400. function sqlite_popen($filename, $mode = null, &$error_message) {}
  19401. /**
  19402. * * Seek to the previous row number of a result set.
  19403. *
  19404. * @return bool
  19405. * @param result resource
  19406. */
  19407. function sqlite_prev($result) {}
  19408. /**
  19409. * Executes a query against a given database and returns a result handle.
  19410. *
  19411. * @return resource
  19412. * @param query string
  19413. * @param db resource
  19414. * @param result_type int[optional]
  19415. * @param error_message string[optional]
  19416. */
  19417. function sqlite_query($query, $db, $result_type = null, &$error_message) {}
  19418. /**
  19419. * Seek to the first row number of a buffered result set.
  19420. *
  19421. * @return bool
  19422. * @param result resource
  19423. */
  19424. function sqlite_rewind($result) {}
  19425. /**
  19426. * Seek to a particular row number of a buffered result set.
  19427. *
  19428. * @return bool
  19429. * @param result resource
  19430. * @param row int
  19431. */
  19432. function sqlite_seek($result, $row) {}
  19433. /**
  19434. * Executes a query and returns either an array for one single column or the value of the first row.
  19435. *
  19436. * @return array
  19437. * @param db resource
  19438. * @param query string
  19439. * @param first_row_only bool[optional]
  19440. * @param decode_binary bool[optional]
  19441. */
  19442. function sqlite_single_query($db, $query, $first_row_only = null, $decode_binary = null) {}
  19443. /**
  19444. * Decode binary encoding on a string parameter passed to an UDF.
  19445. *
  19446. * @return string
  19447. * @param data string
  19448. */
  19449. function sqlite_udf_decode_binary($data) {}
  19450. /**
  19451. * Apply binary encoding (if required) to a string to return from an UDF.
  19452. *
  19453. * @return string
  19454. * @param data string
  19455. */
  19456. function sqlite_udf_encode_binary($data) {}
  19457. /**
  19458. * Executes a query that does not prefetch and buffer all data.
  19459. *
  19460. * @return resource
  19461. * @param query string
  19462. * @param db resource
  19463. * @param result_type int[optional]
  19464. * @param error_message string[optional]
  19465. */
  19466. function sqlite_unbuffered_query($query, $db, $result_type = null, &$error_message) {}
  19467. /**
  19468. * Returns whether more rows are available.
  19469. *
  19470. * @return bool
  19471. * @param result resource
  19472. */
  19473. function sqlite_valid($result) {}
  19474. /**
  19475. * Returns the square root of the number
  19476. *
  19477. * @return float
  19478. * @param number float
  19479. */
  19480. function sqrt($number) {}
  19481. /**
  19482. * Seeds random number generator
  19483. *
  19484. * @return void
  19485. * @param seed int[optional]
  19486. */
  19487. function srand($seed = null) {}
  19488. /**
  19489. * Implements an ANSI C compatible sscanf
  19490. *
  19491. * @return mixed
  19492. * @param str string
  19493. * @param format string
  19494. * @vararg ... string
  19495. */
  19496. function sscanf($str, $format) {}
  19497. /**
  19498. * Give information about a file
  19499. *
  19500. * @return array
  19501. * @param filename string
  19502. */
  19503. function stat($filename) {}
  19504. /**
  19505. * Returns input string padded on the left or right to specified length with pad_string
  19506. *
  19507. * @return string
  19508. * @param input string
  19509. * @param pad_length int
  19510. * @param pad_string string[optional]
  19511. * @param pad_type int[optional]
  19512. */
  19513. function str_pad($input, $pad_length, $pad_string = null, $pad_type = null) {}
  19514. /**
  19515. * Returns the input string repeat mult times
  19516. *
  19517. * @return string
  19518. * @param input string
  19519. * @param mult int
  19520. */
  19521. function str_repeat($input, $mult) {}
  19522. /**
  19523. * Replaces all occurrences of search in haystack with replace
  19524. *
  19525. * @return mixed
  19526. * @param search mixed
  19527. * @param replace mixed
  19528. * @param subject mixed
  19529. */
  19530. function str_replace($search, $replace, $subject) {}
  19531. /**
  19532. * Perform the rot13 transform on a string
  19533. *
  19534. * @return string
  19535. * @param str string
  19536. */
  19537. function str_rot13($str) {}
  19538. /**
  19539. * Shuffles string. One permutation of all possible is created
  19540. *
  19541. * @return void
  19542. * @param str string
  19543. */
  19544. function str_shuffle($str) {}
  19545. /**
  19546. *
  19547. *
  19548. * @return mixed
  19549. * @param str string
  19550. * @param format int[optional]
  19551. */
  19552. function str_word_count($str, $format = null) {}
  19553. /**
  19554. * Binary safe case-insensitive string comparison
  19555. *
  19556. * @return int
  19557. * @param str1 string
  19558. * @param str2 string
  19559. */
  19560. function strcasecmp($str1, $str2) {}
  19561. /**
  19562. * Finds first occurrence of a string within another
  19563. *
  19564. * @return string
  19565. * @param haystack string
  19566. * @param needle string
  19567. */
  19568. function strchr($haystack, $needle) {}
  19569. /**
  19570. * Binary safe string comparison
  19571. *
  19572. * @return int
  19573. * @param str1 string
  19574. * @param str2 string
  19575. */
  19576. function strcmp($str1, $str2) {}
  19577. /**
  19578. * Compares two strings using the current locale
  19579. *
  19580. * @return int
  19581. * @param str1 string
  19582. * @param str2 string
  19583. */
  19584. function strcoll($str1, $str2) {}
  19585. /**
  19586. * Finds length of initial segment consisting entirely of characters not found in mask. If start or/and length is provide works like strcspn(substr($s,$start,$len),$bad_chars)
  19587. *
  19588. * @return int
  19589. * @param str string
  19590. * @param mask string
  19591. * @param start unknown[optional]
  19592. * @param len unknown[optional]
  19593. */
  19594. function strcspn($str, $mask, $start = null, $len = null) {}
  19595. /**
  19596. * Create a file context and optionally set parameters
  19597. *
  19598. * @return resource
  19599. * @param options array[optional]
  19600. */
  19601. function stream_context_create($options = null) {}
  19602. /**
  19603. * Retrieve options for a stream/wrapper/context
  19604. *
  19605. * @return array
  19606. * @param context|resource_stream resource
  19607. */
  19608. function stream_context_get_options($context) {}
  19609. /**
  19610. * Set an option for a wrapper
  19611. *
  19612. * @return bool
  19613. * @param context|resource_stream resource
  19614. * @param wrappername string
  19615. * @param optionname string
  19616. * @param value mixed
  19617. */
  19618. function stream_context_set_option($context, $wrappername, $optionname, $value) {}
  19619. /**
  19620. * Set parameters for a file context
  19621. *
  19622. * @return bool
  19623. * @param context|resource_stream resource
  19624. * @param options array
  19625. */
  19626. function stream_context_set_params($context, $options) {}
  19627. /**
  19628. * Append a filter to a stream
  19629. *
  19630. * @return bool
  19631. * @param stream resource
  19632. * @param filtername string
  19633. * @param filterparams string
  19634. */
  19635. function stream_filter_append($stream, $filtername, $filterparams) {}
  19636. /**
  19637. * Prepend a filter to a stream
  19638. *
  19639. * @return bool
  19640. * @param stream resource
  19641. * @param filtername string
  19642. * @param filterparams string
  19643. */
  19644. function stream_filter_prepend($stream, $filtername, $filterparams) {}
  19645. /**
  19646. * Retrieves header/meta data from streams/file pointers
  19647. *
  19648. * @return resource
  19649. * @param fp resource
  19650. */
  19651. function stream_get_meta_data($fp) {}
  19652. /**
  19653. * Registers a custom URL protocol handler class
  19654. *
  19655. * @return bool
  19656. * @param protocol string
  19657. * @param classname string
  19658. */
  19659. function stream_register_wrapper($protocol, $classname) {}
  19660. /**
  19661. * Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec
  19662. *
  19663. * @return int
  19664. * @param read_streams array
  19665. * @param write_streams array
  19666. * @param except_streams array
  19667. * @param tv_sec int
  19668. * @param tv_usec int
  19669. */
  19670. function stream_select(&$read_streams, &$write_streams, &$except_streams, $tv_sec, $tv_usec) {}
  19671. /**
  19672. * Set blocking/non-blocking mode on a socket or stream
  19673. *
  19674. * @return bool
  19675. * @param socket resource
  19676. * @param mode int
  19677. */
  19678. function stream_set_blocking($socket, $mode) {}
  19679. /**
  19680. * Set timeout on stream read to seconds + microseonds
  19681. *
  19682. * @return bool
  19683. * @param stream resource
  19684. * @param seconds int
  19685. * @param microseconds int
  19686. */
  19687. function stream_set_timeout($stream, $seconds, $microseconds) {}
  19688. /**
  19689. * Set file write buffer
  19690. *
  19691. * @return int
  19692. * @param fp resource
  19693. * @param buffer int
  19694. */
  19695. function stream_set_write_buffer($fp, $buffer) {}
  19696. /**
  19697. * Registers a custom URL protocol handler class
  19698. *
  19699. * @return bool
  19700. * @param protocol string
  19701. * @param classname string
  19702. */
  19703. function stream_wrapper_register($protocol, $classname) {}
  19704. /**
  19705. * Format a local time/date according to locale settings
  19706. *
  19707. * @return string
  19708. * @param format string
  19709. * @param timestamp int[optional]
  19710. */
  19711. function strftime($format, $timestamp = null) {}
  19712. /**
  19713. * Strips HTML and PHP tags from a string
  19714. *
  19715. * @return string
  19716. * @param str string
  19717. * @param allowable_tags string[optional]
  19718. */
  19719. function strip_tags($str, $allowable_tags = null) {}
  19720. /**
  19721. * Strips backslashes from a string. Uses C-style conventions
  19722. *
  19723. * @return string
  19724. * @param str string
  19725. */
  19726. function stripcslashes($str) {}
  19727. /**
  19728. * Strips backslashes from a string
  19729. *
  19730. * @return string
  19731. * @param str string
  19732. */
  19733. function stripslashes($str) {}
  19734. /**
  19735. * Finds first occurrence of a string within another, case insensitive
  19736. *
  19737. * @return string
  19738. * @param haystack string
  19739. * @param needle string
  19740. */
  19741. function stristr($haystack, $needle) {}
  19742. /**
  19743. * Get string length
  19744. *
  19745. * @return int
  19746. * @param str string
  19747. */
  19748. function strlen($str) {}
  19749. /**
  19750. * Returns the result of case-insensitive string comparison using 'natural' algorithm
  19751. *
  19752. * @return int
  19753. * @param s1 string
  19754. * @param s2 string
  19755. */
  19756. function strnatcasecmp($s1, $s2) {}
  19757. /**
  19758. * Returns the result of string comparison using 'natural' algorithm
  19759. *
  19760. * @return int
  19761. * @param s1 string
  19762. * @param s2 string
  19763. */
  19764. function strnatcmp($s1, $s2) {}
  19765. /**
  19766. * Binary safe string comparison
  19767. *
  19768. * @return int
  19769. * @param str1 string
  19770. * @param str2 string
  19771. * @param len int
  19772. */
  19773. function strncasecmp($str1, $str2, $len) {}
  19774. /**
  19775. * Binary safe string comparison
  19776. *
  19777. * @return int
  19778. * @param str1 string
  19779. * @param str2 string
  19780. * @param len int
  19781. */
  19782. function strncmp($str1, $str2, $len) {}
  19783. /**
  19784. * Finds position of first occurrence of a string within another
  19785. *
  19786. * @return int
  19787. * @param haystack string
  19788. * @param needle string
  19789. * @param offset int[optional]
  19790. */
  19791. function strpos($haystack, $needle, $offset = null) {}
  19792. /**
  19793. * Finds the last occurrence of a character in a string within another
  19794. *
  19795. * @return string
  19796. * @param haystack string
  19797. * @param needle string
  19798. */
  19799. function strrchr($haystack, $needle) {}
  19800. /**
  19801. * Reverse a string
  19802. *
  19803. * @return string
  19804. * @param str string
  19805. */
  19806. function strrev($str) {}
  19807. /**
  19808. * Finds position of last occurrence of a character in a string within another
  19809. *
  19810. * @return int
  19811. * @param haystack string
  19812. * @param needle string
  19813. */
  19814. function strrpos($haystack, $needle) {}
  19815. /**
  19816. * Finds length of initial segment consisting entirely of characters found in mask. If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
  19817. *
  19818. * @return int
  19819. * @param str string
  19820. * @param mask string
  19821. * @param start unknown[optional]
  19822. * @param len unknown[optional]
  19823. */
  19824. function strspn($str, $mask, $start = null, $len = null) {}
  19825. /**
  19826. * Finds first occurrence of a string within another
  19827. *
  19828. * @return string
  19829. * @param haystack string
  19830. * @param needle string
  19831. */
  19832. function strstr($haystack, $needle) {}
  19833. /**
  19834. * Tokenize a string
  19835. *
  19836. * @return string
  19837. * @param str string[optional]
  19838. * @param token string
  19839. */
  19840. function strtok($str = null, $token) {}
  19841. /**
  19842. * Makes a string lowercase
  19843. *
  19844. * @return string
  19845. * @param str string
  19846. */
  19847. function strtolower($str) {}
  19848. /**
  19849. * Convert string representation of date and time to a timestamp
  19850. *
  19851. * @return int
  19852. * @param time string
  19853. * @param now int
  19854. */
  19855. function strtotime($time, $now) {}
  19856. /**
  19857. * Makes a string uppercase
  19858. *
  19859. * @return string
  19860. * @param str string
  19861. */
  19862. function strtoupper($str) {}
  19863. /**
  19864. * Translates characters in str using given translation tables
  19865. *
  19866. * @return string
  19867. * @param str string
  19868. * @param from string
  19869. * @param to string
  19870. */
  19871. function strtr($str, $from, $to) {}
  19872. /**
  19873. * Get the string value of a variable
  19874. *
  19875. * @return string
  19876. * @param var mixed
  19877. */
  19878. function strval($var) {}
  19879. /**
  19880. * Returns part of a string
  19881. *
  19882. * @return string
  19883. * @param str string
  19884. * @param start int
  19885. * @param length int[optional]
  19886. */
  19887. function substr($str, $start, $length = null) {}
  19888. /**
  19889. * Returns the number of times a substring occurs in the string
  19890. *
  19891. * @return int
  19892. * @param haystack string
  19893. * @param needle string
  19894. */
  19895. function substr_count($haystack, $needle) {}
  19896. /**
  19897. * Replaces part of a string with another string
  19898. *
  19899. * @return string
  19900. * @param str string
  19901. * @param repl string
  19902. * @param start int
  19903. * @param length int[optional]
  19904. */
  19905. function substr_replace($str, $repl, $start, $length = null) {}
  19906. /**
  19907. * Gets the specified url
  19908. *
  19909. * @return void
  19910. * @param url string
  19911. * @param target string
  19912. */
  19913. function swf_actiongeturl($url, $target) {}
  19914. /**
  19915. * Causes the Flash movie to display the specified frame, frame_number, and then stop.
  19916. *
  19917. * @return void
  19918. * @param frame_number int
  19919. */
  19920. function swf_actiongotoframe($frame_number) {}
  19921. /**
  19922. * Causes the flash movie to display the frame with the given label and then stop
  19923. *
  19924. * @return void
  19925. * @param label string
  19926. */
  19927. function swf_actiongotolabel($label) {}
  19928. /**
  19929. * Goes foward one frame
  19930. *
  19931. * @return void
  19932. */
  19933. function swf_actionnextframe() {}
  19934. /**
  19935. * Starts playing the Flash movie from the current frame
  19936. *
  19937. * @return void
  19938. */
  19939. function swf_actionplay() {}
  19940. /**
  19941. * Goes backward one frame
  19942. *
  19943. * @return void
  19944. */
  19945. function swf_actionprevframe() {}
  19946. /**
  19947. * Sets the context for actions
  19948. *
  19949. * @return void
  19950. * @param target string
  19951. */
  19952. function swf_actionsettarget($target) {}
  19953. /**
  19954. * Stops playing the Flash movie at the current frame
  19955. *
  19956. * @return void
  19957. */
  19958. function swf_actionstop() {}
  19959. /**
  19960. * Toggles between high and low quality
  19961. *
  19962. * @return void
  19963. */
  19964. function swf_actiontogglequality() {}
  19965. /**
  19966. * If the specified frame has not been loaded, skip the specified number of actions in the action list
  19967. *
  19968. * @return void
  19969. * @param frame int
  19970. * @param skipcount int
  19971. */
  19972. function swf_actionwaitforframe($frame, $skipcount) {}
  19973. /**
  19974. * Controls the location, appearance and active area of the current button
  19975. *
  19976. * @return void
  19977. * @param state int
  19978. * @param objid int
  19979. * @param depth int
  19980. */
  19981. function swf_addbuttonrecord($state, $objid, $depth) {}
  19982. /**
  19983. * Set the global add color to the rgba value specified
  19984. *
  19985. * @return void
  19986. * @param r float
  19987. * @param g float
  19988. * @param b float
  19989. * @param a float
  19990. */
  19991. function swf_addcolor($r, $g, $b, $a) {}
  19992. /**
  19993. * Close a Shockwave flash file that was opened with swf_openfile
  19994. *
  19995. * @return void
  19996. */
  19997. function swf_closefile() {}
  19998. /**
  19999. * Defines a bitmap given the name of a .gif .rgb .jpeg or .fi image. The image will be converted into Flash jpeg or Flash color map format
  20000. *
  20001. * @return void
  20002. * @param objid int
  20003. * @param imgname string
  20004. */
  20005. function swf_definebitmap($objid, $imgname) {}
  20006. /**
  20007. * Defines a font. name specifies the PostScript name of the font to use. This font also becomes the current font.
  20008. *
  20009. * @return void
  20010. * @param fontid int
  20011. * @param name string
  20012. */
  20013. function swf_definefont($fontid, $name) {}
  20014. /**
  20015. * Create a line with object id, objid, starting from x1, y1 and going to x2, y2 with width, width
  20016. *
  20017. * @return void
  20018. * @param objid int
  20019. * @param x1 float
  20020. * @param y1 float
  20021. * @param x2 float
  20022. * @param y2 float
  20023. * @param width float
  20024. */
  20025. function swf_defineline($objid, $x1, $y1, $x2, $y2, $width) {}
  20026. /**
  20027. * Define a Polygon from an array of x,y coordinates, coords.
  20028. *
  20029. * @return void
  20030. * @param obj_id int
  20031. * @param coords array
  20032. * @param npoints int
  20033. * @param width float
  20034. */
  20035. function swf_definepoly($obj_id, $coords, $npoints, $width) {}
  20036. /**
  20037. * Create a rectangle with object id, objid, the upper lefthand coordinate is given by x1, y1 the bottom right coordinate is x2, y2 and with is the width of the line
  20038. *
  20039. * @return void
  20040. * @param objid int
  20041. * @param x1 float
  20042. * @param y1 float
  20043. * @param x2 float
  20044. * @param y2 float
  20045. * @param width float
  20046. */
  20047. function swf_definerect($objid, $x1, $y1, $x2, $y2, $width) {}
  20048. /**
  20049. * defines a text string using the current font, current fontsize and current font slant. If docCenter is 1, the word is centered in x
  20050. *
  20051. * @return void
  20052. * @param objid int
  20053. * @param str string
  20054. * @param docCenter int
  20055. */
  20056. function swf_definetext($objid, $str, $docCenter) {}
  20057. /**
  20058. * Complete the definition of the current button
  20059. *
  20060. * @return void
  20061. */
  20062. function swf_endbutton() {}
  20063. /**
  20064. * Ends the list of actions to perform for the current frame
  20065. *
  20066. * @return void
  20067. */
  20068. function swf_enddoaction() {}
  20069. /**
  20070. * Completes the definition of the current shape
  20071. *
  20072. * @return void
  20073. */
  20074. function swf_endshape() {}
  20075. /**
  20076. * End the current symbol
  20077. *
  20078. * @return void
  20079. */
  20080. function swf_endsymbol() {}
  20081. /**
  20082. * Sets the current font's height to the value specified by height
  20083. *
  20084. * @return void
  20085. * @param height float
  20086. */
  20087. function swf_fontsize($height) {}
  20088. /**
  20089. * Set the current font slant to the angle indicated by slant
  20090. *
  20091. * @return void
  20092. * @param slant float
  20093. */
  20094. function swf_fontslant($slant) {}
  20095. /**
  20096. * Sets the current font tracking to the specified value, track
  20097. *
  20098. * @return void
  20099. * @param track unknown
  20100. */
  20101. function swf_fonttracking($track) {}
  20102. /**
  20103. * Returns an array of information about a bitmap specified by bitmapid
  20104. *
  20105. * @return array
  20106. * @param bitmapid int
  20107. */
  20108. function swf_getbitmapinfo($bitmapid) {}
  20109. /**
  20110. * Get information about the current font
  20111. *
  20112. * @return array
  20113. */
  20114. function swf_getfontinfo() {}
  20115. /**
  20116. * Returns the current frame
  20117. *
  20118. * @return int
  20119. */
  20120. function swf_getframe() {}
  20121. /**
  20122. * Adds string name to the current frame
  20123. *
  20124. * @return void
  20125. * @param name string
  20126. */
  20127. function swf_labelframe($name) {}
  20128. /**
  20129. * Defines a viewing transformation by giving the view position vx, vy, vz, and the coordinates of a reference point in the scene at px, py, pz. Twist controls a rotation along the viewer's z axis
  20130. *
  20131. * @return void
  20132. * @param vx float
  20133. * @param vy float
  20134. * @param vz float
  20135. * @param px float
  20136. * @param py float
  20137. * @param pz float
  20138. * @param twist float
  20139. */
  20140. function swf_lookat($vx, $vy, $vz, $px, $py, $pz, $twist) {}
  20141. /**
  20142. * Updates the position and/or color of the object
  20143. *
  20144. * @return void
  20145. * @param depth int
  20146. * @param how int
  20147. */
  20148. function swf_modifyobject($depth, $how) {}
  20149. /**
  20150. * Sets the global multiply color to the rgba value specified
  20151. *
  20152. * @return void
  20153. * @param r float
  20154. * @param g float
  20155. * @param b float
  20156. * @param a float
  20157. */
  20158. function swf_mulcolor($r, $g, $b, $a) {}
  20159. /**
  20160. * Returns a free objid
  20161. *
  20162. * @return int
  20163. */
  20164. function swf_nextid() {}
  20165. /**
  20166. * Describes a transition used to trigger an action list
  20167. *
  20168. * @return void
  20169. * @param transitions int
  20170. */
  20171. function swf_oncondition($transitions) {}
  20172. /**
  20173. * Create a Shockwave Flash file given by name, with width xsize and height ysize at a frame rate of framerate and a background color specified by a red value of r, green value of g and a blue value of b
  20174. *
  20175. * @return void
  20176. * @param name string
  20177. * @param xsize float
  20178. * @param ysize float
  20179. * @param framerate float
  20180. * @param r float
  20181. * @param g float
  20182. * @param b float
  20183. */
  20184. function swf_openfile($name, $xsize, $ysize, $framerate, $r, $g, $b) {}
  20185. /**
  20186. * Defines an orthographic mapping of user coordinates onto the current viewport
  20187. *
  20188. * @return void
  20189. * @param xmin float
  20190. * @param xmax float
  20191. * @param ymin float
  20192. * @param ymax float
  20193. * @param zmin float
  20194. * @param zmax float
  20195. */
  20196. function swf_ortho($xmin, $xmax, $ymin, $ymax, $zmin, $zmax) {}
  20197. /**
  20198. * Defines a 2-D orthographic mapping of user coordinates onto the current viewport
  20199. *
  20200. * @return void
  20201. * @param xmin float
  20202. * @param xmax float
  20203. * @param ymin float
  20204. * @param ymax float
  20205. */
  20206. function swf_ortho2($xmin, $xmax, $ymin, $ymax) {}
  20207. /**
  20208. * Define a perspective projection transformation.
  20209. *
  20210. * @return void
  20211. * @param fovy float
  20212. * @param aspect float
  20213. * @param near float
  20214. * @param far float
  20215. */
  20216. function swf_perspective($fovy, $aspect, $near, $far) {}
  20217. /**
  20218. * Places the object, objid, in the current frame at depth, depth
  20219. *
  20220. * @return void
  20221. * @param objid int
  20222. * @param depth int
  20223. */
  20224. function swf_placeobject($objid, $depth) {}
  20225. /**
  20226. * Defines he viewer's position in polar coordinates
  20227. *
  20228. * @return void
  20229. * @param dist float
  20230. * @param azimuth float
  20231. * @param incidence float
  20232. * @param twist float
  20233. */
  20234. function swf_polarview($dist, $azimuth, $incidence, $twist) {}
  20235. /**
  20236. * Restore a previous transformation matrix
  20237. *
  20238. * @return void
  20239. */
  20240. function swf_popmatrix() {}
  20241. /**
  20242. * This enables or disables rounding of the translation when objects are places or moved
  20243. *
  20244. * @return void
  20245. * @param doit int
  20246. */
  20247. function swf_posround($doit) {}
  20248. /**
  20249. * Push the current transformation matrix onto the stack
  20250. *
  20251. * @return void
  20252. */
  20253. function swf_pushmatrix() {}
  20254. /**
  20255. * Removes the object at the specified depth
  20256. *
  20257. * @return void
  20258. * @param depth int
  20259. */
  20260. function swf_removeobject($depth) {}
  20261. /**
  20262. * Rotate the current transformation by the given angle about x, y, or z axis. The axis may be 'x', 'y', or 'z'
  20263. *
  20264. * @return void
  20265. * @param angle float
  20266. * @param axis string
  20267. */
  20268. function swf_rotate($angle, $axis) {}
  20269. /**
  20270. * Scale the current transformation
  20271. *
  20272. * @return void
  20273. * @param x float
  20274. * @param y float
  20275. * @param z float
  20276. */
  20277. function swf_scale($x, $y, $z) {}
  20278. /**
  20279. * Sets fontid to the current font
  20280. *
  20281. * @return void
  20282. * @param fontid int
  20283. */
  20284. function swf_setfont($fontid) {}
  20285. /**
  20286. * Set the current frame number to the number given by frame_number
  20287. *
  20288. * @return void
  20289. * @param frame_number int
  20290. */
  20291. function swf_setframe($frame_number) {}
  20292. /**
  20293. * Draws a circular arc from ang1 to ang2. The center of the circle is given by x, and y. r specifies the radius of the arc
  20294. *
  20295. * @return void
  20296. * @param x float
  20297. * @param y float
  20298. * @param r float
  20299. * @param ang1 float
  20300. * @param ang2 float
  20301. */
  20302. function swf_shapearc($x, $y, $r, $ang1, $ang2) {}
  20303. /**
  20304. * Draws a quadratic bezier curve starting at the current position using x1, y1 as an off curve control point and using x2, y2 as the end point. The current position is then set to x2, y2.
  20305. *
  20306. * @return void
  20307. * @param x1 float
  20308. * @param y1 float
  20309. * @param x2 float
  20310. * @param y2 float
  20311. */
  20312. function swf_shapecurveto($x1, $y1, $x2, $y2) {}
  20313. /**
  20314. * Draws a cubic bezier curve starting at the current position using x1, y1 and x2, y2 as off curve control points and using x3,y3 as the end point. The current position is then sent to x3, y3
  20315. *
  20316. * @return void
  20317. * @param x1 float
  20318. * @param y1 float
  20319. * @param x2 float
  20320. * @param y2 float
  20321. * @param x3 float
  20322. * @param y3 float
  20323. */
  20324. function swf_shapecurveto3($x1, $y1, $x2, $y2, $x3, $y3) {}
  20325. /**
  20326. * Sets the current fill mode to clipped bitmap fill. Pixels from the previously defined bitmapid will be used to fill areas
  20327. *
  20328. * @return void
  20329. * @param bitmapid int
  20330. */
  20331. function swf_shapefillbitmapclip($bitmapid) {}
  20332. /**
  20333. * Sets the current fill mode to tiled bitmap fill. Pixels from the previously defined bitmapid will be used to fill areas
  20334. *
  20335. * @return void
  20336. * @param bitmapid int
  20337. */
  20338. function swf_shapefillbitmaptile($bitmapid) {}
  20339. /**
  20340. * Turns off filling
  20341. *
  20342. * @return void
  20343. */
  20344. function swf_shapefilloff() {}
  20345. /**
  20346. * Sets the current fill style to a solid fill with the specified rgba color
  20347. *
  20348. * @return void
  20349. * @param r float
  20350. * @param g float
  20351. * @param b float
  20352. * @param a float
  20353. */
  20354. function swf_shapefillsolid($r, $g, $b, $a) {}
  20355. /**
  20356. * Create a line with color defined by rgba, and a width of width
  20357. *
  20358. * @return void
  20359. * @param r float
  20360. * @param g float
  20361. * @param b float
  20362. * @param a float
  20363. * @param width float
  20364. */
  20365. function swf_shapelinesolid($r, $g, $b, $a, $width) {}
  20366. /**
  20367. * Draws a line from the current position to x,y, the current position is then set to x,y
  20368. *
  20369. * @return void
  20370. * @param x float
  20371. * @param y float
  20372. */
  20373. function swf_shapelineto($x, $y) {}
  20374. /**
  20375. * swf_shapemoveto moves the current position to the given x,y.
  20376. *
  20377. * @return void
  20378. * @param x float
  20379. * @param y float
  20380. */
  20381. function swf_shapemoveto($x, $y) {}
  20382. /**
  20383. * Finish the current frame
  20384. *
  20385. * @return void
  20386. */
  20387. function swf_showframe() {}
  20388. /**
  20389. * Start a button with an object id, objid and a type of either TYPE_MENUBUTTON or TYPE_PUSHBUTTON
  20390. *
  20391. * @return void
  20392. * @param objid int
  20393. * @param type int
  20394. */
  20395. function swf_startbutton($objid, $type) {}
  20396. /**
  20397. * Starts the description of an action list for the current frame
  20398. *
  20399. * @return void
  20400. */
  20401. function swf_startdoaction() {}
  20402. /**
  20403. * Initialize a new shape with object id, objid
  20404. *
  20405. * @return void
  20406. * @param objid int
  20407. */
  20408. function swf_startshape($objid) {}
  20409. /**
  20410. * Create a new symbol with object id, objid
  20411. *
  20412. * @return void
  20413. * @param objid int
  20414. */
  20415. function swf_startsymbol($objid) {}
  20416. /**
  20417. * Calculates the width of a string, str, using the current fontsize & current font
  20418. *
  20419. * @return void
  20420. * @param str string
  20421. */
  20422. function swf_textwidth($str) {}
  20423. /**
  20424. * Translate the current transformation
  20425. *
  20426. * @return void
  20427. * @param x float
  20428. * @param y float
  20429. * @param z float
  20430. */
  20431. function swf_translate($x, $y, $z) {}
  20432. /**
  20433. * Selects an area on the drawing surface for future drawing
  20434. *
  20435. * @return void
  20436. * @param xmin float
  20437. * @param xmax float
  20438. * @param ymin float
  20439. * @param ymax float
  20440. */
  20441. function swf_viewport($xmin, $xmax, $ymin, $ymax) {}
  20442. /**
  20443. * Returns the action flag for keyPress(char)
  20444. *
  20445. * @return int
  20446. * @param str string
  20447. */
  20448. function swfbutton_keypress($str) {}
  20449. /**
  20450. * Get number of affected rows in last query
  20451. *
  20452. * @return int
  20453. * @param link_id int[optional]
  20454. */
  20455. function sybase_affected_rows($link_id = null) {}
  20456. /**
  20457. * Close Sybase connection
  20458. *
  20459. * @return bool
  20460. * @param link_id int[optional]
  20461. */
  20462. function sybase_close($link_id = null) {}
  20463. /**
  20464. * Open Sybase server connection
  20465. *
  20466. * @return int
  20467. * @param host string[optional]
  20468. * @param user string[optional]
  20469. * @param password string[optional]
  20470. * @param charset string[optional]
  20471. * @param appname string[optional]
  20472. */
  20473. function sybase_connect($host = null, $user = null, $password = null, $charset = null, $appname = null) {}
  20474. /**
  20475. * Move internal row pointer
  20476. *
  20477. * @return bool
  20478. * @param result int
  20479. * @param offset int
  20480. */
  20481. function sybase_data_seek($result, $offset) {}
  20482. /**
  20483. * Sets deadlock retry count
  20484. *
  20485. * @return void
  20486. * @param retry_count int
  20487. */
  20488. function sybase_deadlock_retry_count($retry_count) {}
  20489. /**
  20490. * Fetch row as array
  20491. *
  20492. * @return array
  20493. * @param result int
  20494. */
  20495. function sybase_fetch_array($result) {}
  20496. /**
  20497. * Fetch row as array without numberic indices
  20498. *
  20499. * @return array
  20500. * @param result int
  20501. */
  20502. function sybase_fetch_assoc($result) {}
  20503. /**
  20504. * Get field information
  20505. *
  20506. * @return object
  20507. * @param result int
  20508. * @param offset int[optional]
  20509. */
  20510. function sybase_fetch_field($result, $offset = null) {}
  20511. /**
  20512. * Fetch row as object
  20513. *
  20514. * @return object
  20515. * @param result int
  20516. * @param object mixed[optional]
  20517. */
  20518. function sybase_fetch_object($result, $object = null) {}
  20519. /**
  20520. * Get row as enumerated array
  20521. *
  20522. * @return array
  20523. * @param result int
  20524. */
  20525. function sybase_fetch_row($result) {}
  20526. /**
  20527. * Set field offset
  20528. *
  20529. * @return bool
  20530. * @param result int
  20531. * @param offset int
  20532. */
  20533. function sybase_field_seek($result, $offset) {}
  20534. /**
  20535. * Free result memory
  20536. *
  20537. * @return bool
  20538. * @param result int
  20539. */
  20540. function sybase_free_result($result) {}
  20541. /**
  20542. * Returns the last message from server (over min_message_severity)
  20543. *
  20544. * @return string
  20545. */
  20546. function sybase_get_last_message() {}
  20547. /**
  20548. * Sets minimum client severity
  20549. *
  20550. * @return void
  20551. * @param severity int
  20552. */
  20553. function sybase_min_client_severity($severity) {}
  20554. /**
  20555. * Sets the minimum error severity
  20556. *
  20557. * @return void
  20558. * @param severity int
  20559. */
  20560. function sybase_min_error_severity($severity) {}
  20561. /**
  20562. * Sets the minimum message severity
  20563. *
  20564. * @return void
  20565. * @param severity int
  20566. */
  20567. function sybase_min_message_severity($severity) {}
  20568. /**
  20569. * Sets minimum server severity
  20570. *
  20571. * @return void
  20572. * @param severity int
  20573. */
  20574. function sybase_min_server_severity($severity) {}
  20575. /**
  20576. * Get number of fields in result
  20577. *
  20578. * @return int
  20579. * @param result int
  20580. */
  20581. function sybase_num_fields($result) {}
  20582. /**
  20583. * Get number of rows in result
  20584. *
  20585. * @return int
  20586. * @param result int
  20587. */
  20588. function sybase_num_rows($result) {}
  20589. /**
  20590. * Open persistent Sybase connection
  20591. *
  20592. * @return int
  20593. * @param host string[optional]
  20594. * @param user string[optional]
  20595. * @param password string[optional]
  20596. * @param charset string[optional]
  20597. * @param appname string[optional]
  20598. */
  20599. function sybase_pconnect($host = null, $user = null, $password = null, $charset = null, $appname = null) {}
  20600. /**
  20601. * Send Sybase query
  20602. *
  20603. * @return int
  20604. * @param query string
  20605. * @param link_id int[optional]
  20606. */
  20607. function sybase_query($query, $link_id = null) {}
  20608. /**
  20609. * Get result data
  20610. *
  20611. * @return string
  20612. * @param result int
  20613. * @param row int
  20614. * @param field mixed
  20615. */
  20616. function sybase_result($result, $row, $field) {}
  20617. /**
  20618. * Select Sybase database
  20619. *
  20620. * @return bool
  20621. * @param database string
  20622. * @param link_id int[optional]
  20623. */
  20624. function sybase_select_db($database, $link_id = null) {}
  20625. /**
  20626. *
  20627. *
  20628. * @return bool
  20629. * @param error_func mixed
  20630. */
  20631. function sybase_set_message_handler($error_func) {}
  20632. /**
  20633. * Send Sybase query
  20634. *
  20635. * @return int
  20636. * @param query string
  20637. * @param link_id int[optional]
  20638. */
  20639. function sybase_unbuffered_query($query, $link_id = null) {}
  20640. /**
  20641. * Create a symbolic link
  20642. *
  20643. * @return int
  20644. * @param target string
  20645. * @param link string
  20646. */
  20647. function symlink($target, $link) {}
  20648. /**
  20649. * Generate a system log message
  20650. *
  20651. * @return bool
  20652. * @param priority int
  20653. * @param message string
  20654. */
  20655. function syslog($priority, $message) {}
  20656. /**
  20657. * Execute an external program and display output
  20658. *
  20659. * @return int
  20660. * @param command string
  20661. * @param return_value int[optional]
  20662. */
  20663. function system($command, $return_value = null) {}
  20664. /**
  20665. * Returns the tangent of the number in radians
  20666. *
  20667. * @return float
  20668. * @param number float
  20669. */
  20670. function tan($number) {}
  20671. /**
  20672. * Returns the hyperbolic tangent of the number, defined as sinh(number)/cosh(number)
  20673. *
  20674. * @return float
  20675. * @param number float
  20676. */
  20677. function tanh($number) {}
  20678. /**
  20679. * Create a unique filename in a directory
  20680. *
  20681. * @return string
  20682. * @param dir string
  20683. * @param prefix string
  20684. */
  20685. function tempnam($dir, $prefix) {}
  20686. /**
  20687. * Set the textdomain to "domain". Returns the current domain
  20688. *
  20689. * @return string
  20690. * @param domain string
  20691. */
  20692. function textdomain($domain) {}
  20693. /**
  20694. * Return current UNIX timestamp
  20695. *
  20696. * @return int
  20697. */
  20698. function time() {}
  20699. /**
  20700. * Create a temporary file that will be deleted automatically after use
  20701. *
  20702. * @return resource
  20703. */
  20704. function tmpfile() {}
  20705. /**
  20706. *
  20707. *
  20708. * @return array
  20709. * @param source string
  20710. */
  20711. function token_get_all($source) {}
  20712. /**
  20713. *
  20714. *
  20715. * @return string
  20716. * @param type int
  20717. */
  20718. function token_name($type) {}
  20719. /**
  20720. * Set modification time of file
  20721. *
  20722. * @return bool
  20723. * @param filename string
  20724. * @param time int[optional]
  20725. * @param atime int[optional]
  20726. */
  20727. function touch($filename, $time = null, $atime = null) {}
  20728. /**
  20729. * Generates a user-level error/warning/notice message
  20730. *
  20731. * @return void
  20732. * @param messsage string
  20733. * @param error_type int[optional]
  20734. */
  20735. function trigger_error($messsage, $error_type = null) {}
  20736. /**
  20737. * Strips whitespace from the beginning and end of a string
  20738. *
  20739. * @return string
  20740. * @param str string
  20741. * @param character_mask string[optional]
  20742. */
  20743. function trim($str, $character_mask = null) {}
  20744. /**
  20745. * Sort an array with a user-defined comparison function and maintain index association
  20746. *
  20747. * @return bool
  20748. * @param array_arg array
  20749. * @param cmp_function string
  20750. */
  20751. function uasort($array_arg, $cmp_function) {}
  20752. /**
  20753. * Makes a string's first character uppercase
  20754. *
  20755. * @return string
  20756. * @param str string
  20757. */
  20758. function ucfirst($str) {}
  20759. /**
  20760. * Uppercase the first character of every word in a string
  20761. *
  20762. * @return string
  20763. * @param str string
  20764. */
  20765. function ucwords($str) {}
  20766. /**
  20767. * Add mnoGoSearch search restrictions
  20768. *
  20769. * @return int
  20770. * @param agent int
  20771. * @param var int
  20772. * @param val string
  20773. */
  20774. function udm_add_search_limit($agent, $var, $val) {}
  20775. /**
  20776. * Allocate mnoGoSearch session
  20777. *
  20778. * @return int
  20779. * @param dbaddr string
  20780. * @param dbmode string[optional]
  20781. */
  20782. function udm_alloc_agent($dbaddr, $dbmode = null) {}
  20783. /**
  20784. * Allocate mnoGoSearch session
  20785. *
  20786. * @return int
  20787. * @param dbaddr array
  20788. */
  20789. function udm_alloc_agent_array($dbaddr) {}
  20790. /**
  20791. * Get mnoGoSearch API version
  20792. *
  20793. * @return int
  20794. */
  20795. function udm_api_version() {}
  20796. /**
  20797. * Get mnoGoSearch categories list with the same root
  20798. *
  20799. * @return array
  20800. * @param agent int
  20801. * @param category string
  20802. */
  20803. function udm_cat_list($agent, $category) {}
  20804. /**
  20805. * Get mnoGoSearch categories path from the root to the given catgory
  20806. *
  20807. * @return array
  20808. * @param agent int
  20809. * @param category string
  20810. */
  20811. function udm_cat_path($agent, $category) {}
  20812. /**
  20813. * Check if the given charset is known to mnogosearch
  20814. *
  20815. * @return int
  20816. * @param agent int
  20817. * @param charset string
  20818. */
  20819. function udm_check_charset($agent, $charset) {}
  20820. /**
  20821. * Open connection to stored
  20822. *
  20823. * @return int
  20824. * @param agent int
  20825. * @param link int
  20826. * @param doc_id string
  20827. */
  20828. function udm_check_stored($agent, $link, $doc_id) {}
  20829. /**
  20830. * Clear all mnoGoSearch search restrictions
  20831. *
  20832. * @return int
  20833. * @param agent int
  20834. */
  20835. function udm_clear_search_limits($agent) {}
  20836. /**
  20837. * Open connection to stored
  20838. *
  20839. * @return int
  20840. * @param agent int
  20841. * @param link int
  20842. */
  20843. function udm_close_stored($agent, $link) {}
  20844. /**
  20845. * Return CRC32 checksum of gived string
  20846. *
  20847. * @return int
  20848. * @param agent int
  20849. * @param str string
  20850. */
  20851. function udm_crc32($agent, $str) {}
  20852. /**
  20853. * Get mnoGoSearch error number
  20854. *
  20855. * @return int
  20856. * @param agent int
  20857. */
  20858. function udm_errno($agent) {}
  20859. /**
  20860. * Get mnoGoSearch error message
  20861. *
  20862. * @return string
  20863. * @param agent int
  20864. */
  20865. function udm_error($agent) {}
  20866. /**
  20867. * Perform search
  20868. *
  20869. * @return int
  20870. * @param agent int
  20871. * @param query string
  20872. */
  20873. function udm_find($agent, $query) {}
  20874. /**
  20875. * Free mnoGoSearch session
  20876. *
  20877. * @return int
  20878. * @param agent int
  20879. */
  20880. function udm_free_agent($agent) {}
  20881. /**
  20882. * Free memory allocated for ispell data
  20883. *
  20884. * @return int
  20885. * @param agent int
  20886. */
  20887. function udm_free_ispell_data($agent) {}
  20888. /**
  20889. * mnoGoSearch free result
  20890. *
  20891. * @return int
  20892. * @param res int
  20893. */
  20894. function udm_free_res($res) {}
  20895. /**
  20896. * Get total number of documents in database
  20897. *
  20898. * @return int
  20899. * @param agent int
  20900. */
  20901. function udm_get_doc_count($agent) {}
  20902. /**
  20903. * Fetch mnoGoSearch result field
  20904. *
  20905. * @return string
  20906. * @param res int
  20907. * @param row int
  20908. * @param field int
  20909. */
  20910. function udm_get_res_field($res, $row, $field) {}
  20911. /**
  20912. * Fetch mnoGoSearch result field
  20913. *
  20914. * @return string
  20915. * @param res int
  20916. * @param row int
  20917. * @param field string
  20918. */
  20919. function udm_get_res_field_ex($res, $row, $field) {}
  20920. /**
  20921. * Get mnoGoSearch result parameters
  20922. *
  20923. * @return string
  20924. * @param res int
  20925. * @param param int
  20926. */
  20927. function udm_get_res_param($res, $param) {}
  20928. /**
  20929. * Return Hash32 checksum of gived string
  20930. *
  20931. * @return int
  20932. * @param agent int
  20933. * @param str string
  20934. */
  20935. function udm_hash32($agent, $str) {}
  20936. /**
  20937. * Load ispell data
  20938. *
  20939. * @return int
  20940. * @param agent int
  20941. * @param var int
  20942. * @param val1 string
  20943. * @param charset string[optional]
  20944. * @param val2 string
  20945. * @param flag int
  20946. */
  20947. function udm_load_ispell_data($agent, $var, $val1, $charset = null, $val2, $flag) {}
  20948. /**
  20949. * Perform search
  20950. *
  20951. * @return int
  20952. * @param agent int
  20953. * @param res int
  20954. * @param row int
  20955. */
  20956. function udm_make_excerpt($agent, $res, $row) {}
  20957. /**
  20958. * Open connection to stored
  20959. *
  20960. * @return int
  20961. * @param agent int
  20962. * @param storedaddr string
  20963. */
  20964. function udm_open_stored($agent, $storedaddr) {}
  20965. /**
  20966. * Parses query string, initialises variables and search limits taken from it
  20967. *
  20968. * @return int
  20969. * @param agent int
  20970. * @param str string
  20971. */
  20972. function udm_parse_query_string($agent, $str) {}
  20973. /**
  20974. * Set mnoGoSearch agent session parameters
  20975. *
  20976. * @return int
  20977. * @param agent int
  20978. * @param var int
  20979. * @param val string
  20980. */
  20981. function udm_set_agent_param($agent, $var, $val) {}
  20982. /**
  20983. * Set mnoGoSearch agent session parameters extended
  20984. *
  20985. * @return int
  20986. * @param agent int
  20987. * @param var string
  20988. * @param val string
  20989. */
  20990. function udm_set_agent_param_ex($agent, $var, $val) {}
  20991. /**
  20992. * Sort an array by keys using a user-defined comparison function
  20993. *
  20994. * @return bool
  20995. * @param array_arg array
  20996. * @param cmp_function string
  20997. */
  20998. function uksort($array_arg, $cmp_function) {}
  20999. /**
  21000. * Return or change the umask
  21001. *
  21002. * @return int
  21003. * @param mask int[optional]
  21004. */
  21005. function umask($mask = null) {}
  21006. /**
  21007. * Generates a unique ID
  21008. *
  21009. * @return string
  21010. * @param prefix string
  21011. * @param more_entropy bool[optional]
  21012. */
  21013. function uniqid($prefix, $more_entropy = null) {}
  21014. /**
  21015. * Convert UNIX timestamp to Julian Day
  21016. *
  21017. * @return int
  21018. * @param timestamp int[optional]
  21019. */
  21020. function unixtojd($timestamp = null) {}
  21021. /**
  21022. * Delete a file
  21023. *
  21024. * @return bool
  21025. * @param filename string
  21026. */
  21027. function unlink($filename) {}
  21028. /**
  21029. * Unpack binary string into named array elements according to format argument
  21030. *
  21031. * @return array
  21032. * @param format string
  21033. * @param input string
  21034. */
  21035. function unpack($format, $input) {}
  21036. /**
  21037. * Unregisters a tick callback function
  21038. *
  21039. * @return void
  21040. * @param function_name string
  21041. */
  21042. function unregister_tick_function($function_name) {}
  21043. /**
  21044. * Takes a string representation of variable and recreates it
  21045. *
  21046. * @return mixed
  21047. * @param variable_representation string
  21048. */
  21049. function unserialize($variable_representation) {}
  21050. /**
  21051. * Decodes URL-encoded string
  21052. *
  21053. * @return string
  21054. * @param str string
  21055. */
  21056. function urldecode($str) {}
  21057. /**
  21058. * URL-encodes string
  21059. *
  21060. * @return string
  21061. * @param str string
  21062. */
  21063. function urlencode($str) {}
  21064. /**
  21065. *
  21066. *
  21067. * @return bool
  21068. * @param on bool[optional]
  21069. */
  21070. function use_soap_error_handler($on = null) {}
  21071. /**
  21072. * Generates a user-level error/warning/notice message
  21073. *
  21074. * @return void
  21075. * @param messsage string
  21076. * @param error_type int[optional]
  21077. */
  21078. function user_error($messsage, $error_type = null) {}
  21079. /**
  21080. * Delay for a given number of micro seconds
  21081. *
  21082. * @return void
  21083. * @param micro_seconds int
  21084. */
  21085. function usleep($micro_seconds) {}
  21086. /**
  21087. * Sort an array by values using a user-defined comparison function
  21088. *
  21089. * @return bool
  21090. * @param array_arg array
  21091. * @param cmp_function string
  21092. */
  21093. function usort($array_arg, $cmp_function) {}
  21094. /**
  21095. * Converts a UTF-8 encoded string to ISO-8859-1
  21096. *
  21097. * @return string
  21098. * @param data string
  21099. */
  21100. function utf8_decode($data) {}
  21101. /**
  21102. * Encodes an ISO-8859-1 string to UTF-8
  21103. *
  21104. * @return string
  21105. * @param data string
  21106. */
  21107. function utf8_encode($data) {}
  21108. /**
  21109. * Dumps a string representation of variable to output
  21110. *
  21111. * @return void
  21112. * @param var mixed
  21113. */
  21114. function var_dump($var) {}
  21115. /**
  21116. * Outputs or returns a string representation of a variable
  21117. *
  21118. * @return mixed
  21119. * @param var mixed
  21120. * @param return bool[optional]
  21121. */
  21122. function var_export($var, $return = null) {}
  21123. /**
  21124. *
  21125. *
  21126. * @return bool
  21127. * @param index int
  21128. */
  21129. function velocis_autocommit($index) {}
  21130. /**
  21131. *
  21132. *
  21133. * @return bool
  21134. * @param id int
  21135. */
  21136. function velocis_close($id) {}
  21137. /**
  21138. *
  21139. *
  21140. * @return bool
  21141. * @param index int
  21142. */
  21143. function velocis_commit($index) {}
  21144. /**
  21145. *
  21146. *
  21147. * @return int
  21148. * @param server string
  21149. * @param user string
  21150. * @param pass sting
  21151. */
  21152. function velocis_connect($server, $user, $pass) {}
  21153. /**
  21154. *
  21155. *
  21156. * @return int
  21157. * @param index int
  21158. * @param exec_str string
  21159. */
  21160. function velocis_exec($index, $exec_str) {}
  21161. /**
  21162. *
  21163. *
  21164. * @return bool
  21165. * @param index int
  21166. */
  21167. function velocis_fetch($index) {}
  21168. /**
  21169. *
  21170. *
  21171. * @return string
  21172. * @param index int
  21173. * @param col int
  21174. */
  21175. function velocis_fieldname($index, $col) {}
  21176. /**
  21177. *
  21178. *
  21179. * @return int
  21180. * @param index int
  21181. */
  21182. function velocis_fieldnum($index) {}
  21183. /**
  21184. *
  21185. *
  21186. * @return bool
  21187. * @param index int
  21188. */
  21189. function velocis_freeresult($index) {}
  21190. /**
  21191. *
  21192. *
  21193. * @return bool
  21194. * @param index int
  21195. */
  21196. function velocis_off_autocommit($index) {}
  21197. /**
  21198. *
  21199. *
  21200. * @return mixed
  21201. * @param index int
  21202. * @param col int
  21203. */
  21204. function velocis_result($index, $col) {}
  21205. /**
  21206. *
  21207. *
  21208. * @return bool
  21209. * @param index int
  21210. */
  21211. function velocis_rollback($index) {}
  21212. /**
  21213. * Compares two "PHP-standardized" version number strings
  21214. *
  21215. * @return int
  21216. * @param ver1 string
  21217. * @param ver2 string
  21218. * @param oper string[optional]
  21219. */
  21220. function version_compare($ver1, $ver2, $oper = null) {}
  21221. /**
  21222. * Perform an Apache sub-request
  21223. *
  21224. * @return bool
  21225. * @param filename string
  21226. */
  21227. function virtual($filename) {}
  21228. /**
  21229. * Output a formatted string
  21230. *
  21231. * @return int
  21232. * @param format string
  21233. * @param args array
  21234. */
  21235. function vprintf($format, $args) {}
  21236. /**
  21237. * Return a formatted string
  21238. *
  21239. * @return string
  21240. * @param format string
  21241. * @param args array
  21242. */
  21243. function vsprintf($format, $args) {}
  21244. /**
  21245. * Turns off attributes for a window
  21246. *
  21247. * @return int
  21248. * @param window resource
  21249. * @param attrs int
  21250. */
  21251. function wattroff($window, $attrs) {}
  21252. /**
  21253. * Turns on attributes for a window
  21254. *
  21255. * @return int
  21256. * @param window resource
  21257. * @param attrs int
  21258. */
  21259. function wattron($window, $attrs) {}
  21260. /**
  21261. * Set the attributes for a window
  21262. *
  21263. * @return int
  21264. * @param window resource
  21265. * @param attrs int
  21266. */
  21267. function wattrset($window, $attrs) {}
  21268. /**
  21269. * Serializes given variables and adds them to packet given by packet_id
  21270. *
  21271. * @return int
  21272. * @param packet_id int
  21273. * @param var_names mixed
  21274. * @vararg ... mixed
  21275. */
  21276. function wddx_add_vars($packet_id, $var_names) {}
  21277. /**
  21278. * Deserializes given packet and returns a PHP value
  21279. *
  21280. * @return mixed
  21281. * @param packet string
  21282. */
  21283. function wddx_deserialize($packet) {}
  21284. /**
  21285. * Ends specified WDDX packet and returns the string containing the packet
  21286. *
  21287. * @return string
  21288. * @param packet_id int
  21289. */
  21290. function wddx_packet_end($packet_id) {}
  21291. /**
  21292. * Starts a WDDX packet with optional comment and returns the packet id
  21293. *
  21294. * @return int
  21295. * @param comment string[optional]
  21296. */
  21297. function wddx_packet_start($comment = null) {}
  21298. /**
  21299. * Creates a new packet and serializes the given value
  21300. *
  21301. * @return string
  21302. * @param var mixed
  21303. * @param comment string[optional]
  21304. */
  21305. function wddx_serialize_value($var, $comment = null) {}
  21306. /**
  21307. * Creates a new packet and serializes given variables into a struct
  21308. *
  21309. * @return string
  21310. * @param var_name mixed
  21311. * @vararg ... mixed
  21312. */
  21313. function wddx_serialize_vars($var_name) {}
  21314. /**
  21315. * Wraps buffer to selected number of characters using string break char
  21316. *
  21317. * @return string
  21318. * @param str string
  21319. * @param width int[optional]
  21320. * @param break string[optional]
  21321. * @param cut int[optional]
  21322. */
  21323. function wordwrap($str, $width = null, $break = null, $cut = null) {}
  21324. /**
  21325. * End standout mode for a window
  21326. *
  21327. * @return int
  21328. * @param window resource
  21329. */
  21330. function wstandend($window) {}
  21331. /**
  21332. * Enter standout mode for a window
  21333. *
  21334. * @return int
  21335. * @param window resource
  21336. */
  21337. function wstandout($window) {}
  21338. /**
  21339. * Get XML parser error string
  21340. *
  21341. * @return string
  21342. * @param code int
  21343. */
  21344. function xml_error_string($code) {}
  21345. /**
  21346. * Get current byte index for an XML parser
  21347. *
  21348. * @return int
  21349. * @param parser resource
  21350. */
  21351. function xml_get_current_byte_index($parser) {}
  21352. /**
  21353. * Get current column number for an XML parser
  21354. *
  21355. * @return int
  21356. * @param parser resource
  21357. */
  21358. function xml_get_current_column_number($parser) {}
  21359. /**
  21360. * Get current line number for an XML parser
  21361. *
  21362. * @return int
  21363. * @param parser resource
  21364. */
  21365. function xml_get_current_line_number($parser) {}
  21366. /**
  21367. * Get XML parser error code
  21368. *
  21369. * @return int
  21370. * @param parser resource
  21371. */
  21372. function xml_get_error_code($parser) {}
  21373. /**
  21374. * Start parsing an XML document
  21375. *
  21376. * @return int
  21377. * @param parser resource
  21378. * @param data string
  21379. * @param isFinal int[optional]
  21380. */
  21381. function xml_parse($parser, $data, $isFinal = null) {}
  21382. /**
  21383. * Parsing a XML document
  21384. *
  21385. * @return int
  21386. * @param parser resource
  21387. * @param data string
  21388. * @param struct array
  21389. * @param index array
  21390. */
  21391. function xml_parse_into_struct($parser, $data, &$struct, &$index) {}
  21392. /**
  21393. * Create an XML parser
  21394. *
  21395. * @return resource
  21396. * @param encoding string[optional]
  21397. */
  21398. function xml_parser_create($encoding = null) {}
  21399. /**
  21400. * Create an XML parser
  21401. *
  21402. * @return resource
  21403. * @param encoding string[optional]
  21404. * @param sep string[optional]
  21405. */
  21406. function xml_parser_create_ns($encoding = null, $sep = null) {}
  21407. /**
  21408. * Free an XML parser
  21409. *
  21410. * @return int
  21411. * @param parser resource
  21412. */
  21413. function xml_parser_free($parser) {}
  21414. /**
  21415. * Get options from an XML parser
  21416. *
  21417. * @return int
  21418. * @param parser resource
  21419. * @param option int
  21420. */
  21421. function xml_parser_get_option($parser, $option) {}
  21422. /**
  21423. * Set options in an XML parser
  21424. *
  21425. * @return int
  21426. * @param parser resource
  21427. * @param option int
  21428. * @param value mixed
  21429. */
  21430. function xml_parser_set_option($parser, $option, $value) {}
  21431. /**
  21432. * Set up character data handler
  21433. *
  21434. * @return int
  21435. * @param parser resource
  21436. * @param hdl string
  21437. */
  21438. function xml_set_character_data_handler($parser, $hdl) {}
  21439. /**
  21440. * Set up default handler
  21441. *
  21442. * @return int
  21443. * @param parser resource
  21444. * @param hdl string
  21445. */
  21446. function xml_set_default_handler($parser, $hdl) {}
  21447. /**
  21448. * Set up start and end element handlers
  21449. *
  21450. * @return int
  21451. * @param parser resource
  21452. * @param shdl string
  21453. * @param ehdl string
  21454. */
  21455. function xml_set_element_handler($parser, $shdl, $ehdl) {}
  21456. /**
  21457. * Set up character data handler
  21458. *
  21459. * @return int
  21460. * @param parser resource
  21461. * @param hdl string
  21462. */
  21463. function xml_set_end_namespace_decl_handler($parser, $hdl) {}
  21464. /**
  21465. * Set up external entity reference handler
  21466. *
  21467. * @return int
  21468. * @param parser resource
  21469. * @param hdl string
  21470. */
  21471. function xml_set_external_entity_ref_handler($parser, $hdl) {}
  21472. /**
  21473. * Set up notation declaration handler
  21474. *
  21475. * @return int
  21476. * @param parser resource
  21477. * @param hdl string
  21478. */
  21479. function xml_set_notation_decl_handler($parser, $hdl) {}
  21480. /**
  21481. * Set up object which should be used for callbacks
  21482. *
  21483. * @return int
  21484. * @param parser resource
  21485. * @param obj object
  21486. */
  21487. function xml_set_object($parser, &$obj) {}
  21488. /**
  21489. * Set up processing instruction (PI) handler
  21490. *
  21491. * @return int
  21492. * @param parser resource
  21493. * @param hdl string
  21494. */
  21495. function xml_set_processing_instruction_handler($parser, $hdl) {}
  21496. /**
  21497. * Set up character data handler
  21498. *
  21499. * @return int
  21500. * @param parser resource
  21501. * @param hdl string
  21502. */
  21503. function xml_set_start_namespace_decl_handler($parser, $hdl) {}
  21504. /**
  21505. * Set up unparsed entity declaration handler
  21506. *
  21507. * @return int
  21508. * @param parser resource
  21509. * @param hdl string
  21510. */
  21511. function xml_set_unparsed_entity_decl_handler($parser, $hdl) {}
  21512. /**
  21513. * Creates DOM object of XML document
  21514. *
  21515. * @return object
  21516. * @param xmldoc string
  21517. * @param mode int
  21518. * @param error array
  21519. */
  21520. function xmldoc($xmldoc, $mode, $error) {}
  21521. /**
  21522. * Creates DOM object of XML document in file
  21523. *
  21524. * @return object
  21525. * @param filename string
  21526. * @param mode int
  21527. * @param error array
  21528. */
  21529. function xmldocfile($filename, $mode, $error) {}
  21530. /**
  21531. * Decodes XML into native PHP types
  21532. *
  21533. * @return array
  21534. * @param xml string
  21535. * @param encoding string[optional]
  21536. */
  21537. function xmlrpc_decode($xml, $encoding = null) {}
  21538. /**
  21539. * Decodes XML into native PHP types
  21540. *
  21541. * @return array
  21542. * @param xml string
  21543. * @param method string&
  21544. * @param encoding string[optional]
  21545. */
  21546. function xmlrpc_decode_request($xml, $method, $encoding = null) {}
  21547. /**
  21548. * Generates XML for a PHP value
  21549. *
  21550. * @return string
  21551. * @param value mixed
  21552. */
  21553. function xmlrpc_encode($value) {}
  21554. /**
  21555. * Generates XML for a method request
  21556. *
  21557. * @return string
  21558. * @param method string
  21559. * @param params mixed
  21560. */
  21561. function xmlrpc_encode_request($method, $params) {}
  21562. /**
  21563. * Gets xmlrpc type for a PHP value. Especially useful for base64 and datetime strings
  21564. *
  21565. * @return string
  21566. * @param value mixed
  21567. */
  21568. function xmlrpc_get_type($value) {}
  21569. /**
  21570. * Determines if an array value represents an XMLRPC fault.
  21571. *
  21572. * @return string
  21573. * @param array unknown
  21574. */
  21575. function xmlrpc_is_fault($array) {}
  21576. /**
  21577. * Decodes XML into a list of method descriptions
  21578. *
  21579. * @return array
  21580. * @param xml string
  21581. */
  21582. function xmlrpc_parse_method_descriptions($xml) {}
  21583. /**
  21584. * Adds introspection documentation
  21585. *
  21586. * @return int
  21587. * @param server handle
  21588. * @param desc array
  21589. */
  21590. function xmlrpc_server_add_introspection_data($server, $desc) {}
  21591. /**
  21592. * Parses XML requests and call methods
  21593. *
  21594. * @return mixed
  21595. * @param server handle
  21596. * @param xml string
  21597. * @param user_data mixed
  21598. * @param output_options array[optional]
  21599. */
  21600. function xmlrpc_server_call_method($server, $xml, $user_data, $output_options = null) {}
  21601. /**
  21602. * Creates an xmlrpc server
  21603. *
  21604. * @return handle
  21605. */
  21606. function xmlrpc_server_create() {}
  21607. /**
  21608. * Destroys server resources
  21609. *
  21610. * @return void
  21611. * @param server handle
  21612. */
  21613. function xmlrpc_server_destroy($server) {}
  21614. /**
  21615. * Register a PHP function to generate documentation
  21616. *
  21617. * @return bool
  21618. * @param server handle
  21619. * @param function string
  21620. */
  21621. function xmlrpc_server_register_introspection_callback($server, $function) {}
  21622. /**
  21623. * Register a PHP function to handle method matching method_name
  21624. *
  21625. * @return bool
  21626. * @param server handle
  21627. * @param method_name string
  21628. * @param function string
  21629. */
  21630. function xmlrpc_server_register_method($server, $method_name, $function) {}
  21631. /**
  21632. * Sets xmlrpc type, base64 or datetime, for a PHP string value
  21633. *
  21634. * @return bool
  21635. * @param value string
  21636. * @param type string
  21637. */
  21638. function xmlrpc_set_type($value, $type) {}
  21639. /**
  21640. * Creates a tree of PHP objects from an XML document
  21641. *
  21642. * @return object
  21643. * @param xmltree string
  21644. */
  21645. function xmltree($xmltree) {}
  21646. /**
  21647. * Evaluates the XPath Location Path in the given string
  21648. *
  21649. * @return object
  21650. * @param xpathctx_handle object[optional]
  21651. * @param str string
  21652. */
  21653. function xpath_eval($xpathctx_handle = null, $str) {}
  21654. /**
  21655. * Evaluates the XPath expression in the given string
  21656. *
  21657. * @return object
  21658. * @param xpathctx_handle object[optional]
  21659. * @param str string
  21660. */
  21661. function xpath_eval_expression($xpathctx_handle = null, $str) {}
  21662. /**
  21663. * Initializing XPath environment
  21664. *
  21665. * @return bool
  21666. */
  21667. function xpath_init() {}
  21668. /**
  21669. * Creates new XPath context
  21670. *
  21671. * @return object
  21672. * @param doc_handle int[optional]
  21673. */
  21674. function xpath_new_context($doc_handle = null) {}
  21675. /**
  21676. * Registeres the given namespace in the passed XPath context
  21677. *
  21678. * @return bool
  21679. * @param xpathctx_handle object[optional]
  21680. * @param namespace_prefix string
  21681. * @param namespace_uri string
  21682. */
  21683. function xpath_register_ns($xpathctx_handle = null, $namespace_prefix, $namespace_uri) {}
  21684. /**
  21685. * Evaluates the XPtr Location Path in the given string
  21686. *
  21687. * @return int
  21688. * @param xpathctx_handle int[optional]
  21689. * @param str string
  21690. */
  21691. function xptr_eval($xpathctx_handle = null, $str) {}
  21692. /**
  21693. * Creates new XPath context
  21694. *
  21695. * @return object
  21696. * @param doc_handle int[optional]
  21697. */
  21698. function xptr_new_context($doc_handle = null) {}
  21699. /**
  21700. * Returns the information on the compilation settings of the backend
  21701. *
  21702. * @return string
  21703. */
  21704. function xslt_backend_info() {}
  21705. /**
  21706. * Returns the name of the Backend (here "Sablotron")
  21707. *
  21708. * @return string
  21709. */
  21710. function xslt_backend_name() {}
  21711. /**
  21712. * Returns the version number of Sablotron (if available)
  21713. *
  21714. * @return string
  21715. */
  21716. function xslt_backend_version() {}
  21717. /**
  21718. * Create a new XSLT processor
  21719. *
  21720. * @return resource
  21721. */
  21722. function xslt_create() {}
  21723. /**
  21724. * Error number
  21725. *
  21726. * @return int
  21727. * @param processor resource
  21728. */
  21729. function xslt_errno($processor) {}
  21730. /**
  21731. * Error string
  21732. *
  21733. * @return string
  21734. * @param processor resource
  21735. */
  21736. function xslt_error($processor) {}
  21737. /**
  21738. * Free the xslt processor up
  21739. *
  21740. * @return void
  21741. * @param processor resource
  21742. */
  21743. function xslt_free($processor) {}
  21744. /**
  21745. * Get options on a given xsl processor
  21746. *
  21747. * @return int
  21748. * @param processor resource
  21749. */
  21750. function xslt_getopt($processor) {}
  21751. /**
  21752. * Perform the xslt transformation
  21753. *
  21754. * @return string
  21755. * @param processor resource
  21756. * @param xml string
  21757. * @param xslt string
  21758. * @param result mixed
  21759. * @param args array
  21760. * @param params array
  21761. */
  21762. function xslt_process($processor, $xml, $xslt, $result, $args, $params) {}
  21763. /**
  21764. * Sets the base URI for all XSLT transformations
  21765. *
  21766. * @return void
  21767. * @param processor resource
  21768. * @param base string
  21769. */
  21770. function xslt_set_base($processor, $base) {}
  21771. /**
  21772. * Set the output encoding for the current stylesheet
  21773. *
  21774. * @return void
  21775. * @param processor resource
  21776. * @param encoding string
  21777. */
  21778. function xslt_set_encoding($processor, $encoding) {}
  21779. /**
  21780. * Set the error handler, to be called when an XSLT error happens
  21781. *
  21782. * @return void
  21783. * @param processor resource
  21784. * @param error_func mixed
  21785. */
  21786. function xslt_set_error_handler($processor, $error_func) {}
  21787. /**
  21788. * Set the log file to write the errors to (defaults to stderr)
  21789. *
  21790. * @return void
  21791. * @param processor resource
  21792. * @param logfile string
  21793. */
  21794. function xslt_set_log($processor, $logfile) {}
  21795. /**
  21796. * sets the object in which to resolve callback functions
  21797. *
  21798. * @return int
  21799. * @param parser resource
  21800. * @param obj object
  21801. */
  21802. function xslt_set_object($parser, $obj) {}
  21803. /**
  21804. * Set the SAX handlers to be called when the XML document gets processed
  21805. *
  21806. * @return void
  21807. * @param processor resource
  21808. * @param handlers array
  21809. */
  21810. function xslt_set_sax_handlers($processor, $handlers) {}
  21811. /**
  21812. * Set the scheme handlers for the XSLT processor
  21813. *
  21814. * @return void
  21815. * @param processor resource
  21816. * @param handlers array
  21817. */
  21818. function xslt_set_scheme_handlers($processor, $handlers) {}
  21819. /**
  21820. * Set options on a given xsl processor
  21821. *
  21822. * @return int
  21823. * @param processor resource
  21824. * @param newmask int
  21825. */
  21826. function xslt_setopt($processor, $newmask) {}
  21827. /**
  21828. * Return additional info for last error (empty string if none)
  21829. *
  21830. * @return string
  21831. * @param id int
  21832. */
  21833. function yaz_addinfo($id) {}
  21834. /**
  21835. * Configure CCL package
  21836. *
  21837. * @return int
  21838. * @param id int
  21839. * @param package array
  21840. */
  21841. function yaz_ccl_conf($id, $package) {}
  21842. /**
  21843. * Parse a CCL query
  21844. *
  21845. * @return int
  21846. * @param id int
  21847. * @param query string
  21848. * @param res array
  21849. */
  21850. function yaz_ccl_parse($id, $query, $res) {}
  21851. /**
  21852. * Destory and close target
  21853. *
  21854. * @return int
  21855. * @param id int
  21856. */
  21857. function yaz_close($id) {}
  21858. /**
  21859. * Create target with given zurl. Returns positive id if successful.
  21860. *
  21861. * @return int
  21862. * @param zurl_ string
  21863. */
  21864. function yaz_connect($zurl_) {}
  21865. /**
  21866. * Specify the databases within a session
  21867. *
  21868. * @return int
  21869. * @param id int
  21870. * @param databases string
  21871. */
  21872. function yaz_database($id, $databases) {}
  21873. /**
  21874. * Set Element-Set-Name for retrieval
  21875. *
  21876. * @return int
  21877. * @param id int
  21878. * @param elementsetname string
  21879. */
  21880. function yaz_element($id, $elementsetname) {}
  21881. /**
  21882. * Return last error number (>0 for bib-1 diagnostic, <0 for other error, 0 for no error
  21883. *
  21884. * @return int
  21885. * @param id int
  21886. */
  21887. function yaz_errno($id) {}
  21888. /**
  21889. * Return last error message
  21890. *
  21891. * @return string
  21892. * @param id int
  21893. */
  21894. function yaz_error($id) {}
  21895. /**
  21896. * Inspects Extended Services Result
  21897. *
  21898. * @return int
  21899. * @param id int
  21900. */
  21901. function yaz_es_result($id) {}
  21902. /**
  21903. * Return number of hits (result count) for last search
  21904. *
  21905. * @return int
  21906. * @param id int
  21907. */
  21908. function yaz_hits($id) {}
  21909. /**
  21910. * Sends Item Order request
  21911. *
  21912. * @return int
  21913. * @param id int
  21914. * @param package array
  21915. */
  21916. function yaz_itemorder($id, $package) {}
  21917. /**
  21918. * Retrieve records
  21919. *
  21920. * @return int
  21921. * @param id int
  21922. */
  21923. function yaz_present($id) {}
  21924. /**
  21925. * Set result set start point and number of records to request
  21926. *
  21927. * @return int
  21928. * @param id int
  21929. * @param start int
  21930. * @param number int
  21931. */
  21932. function yaz_range($id, $start, $number) {}
  21933. /**
  21934. * Return record information at given result set position
  21935. *
  21936. * @return string
  21937. * @param id int
  21938. * @param pos int
  21939. * @param type string
  21940. */
  21941. function yaz_record($id, $pos, $type) {}
  21942. /**
  21943. * Sends Scan Request
  21944. *
  21945. * @return int
  21946. * @param id int
  21947. * @param type unknown
  21948. * @param query unknown
  21949. * @param flags unknown[optional]
  21950. */
  21951. function yaz_scan($id, $type, $query, $flags = null) {}
  21952. /**
  21953. * Inspects Scan Result
  21954. *
  21955. * @return int
  21956. * @param id int
  21957. * @param options array
  21958. */
  21959. function yaz_scan_result($id, $options) {}
  21960. /**
  21961. * Set Schema for retrieval
  21962. *
  21963. * @return int
  21964. * @param id int
  21965. * @param schema string
  21966. */
  21967. function yaz_schema($id, $schema) {}
  21968. /**
  21969. * Specify query of type for search - returns true if successful
  21970. *
  21971. * @return int
  21972. * @param id int
  21973. * @param type string
  21974. * @param query string
  21975. */
  21976. function yaz_search($id, $type, $query) {}
  21977. /**
  21978. * Set result set sorting criteria
  21979. *
  21980. * @return int
  21981. * @param id int
  21982. * @param sortspec string
  21983. */
  21984. function yaz_sort($id, $sortspec) {}
  21985. /**
  21986. * Set record syntax for retrieval
  21987. *
  21988. * @return int
  21989. * @param id int
  21990. * @param syntax string
  21991. */
  21992. function yaz_syntax($id, $syntax) {}
  21993. /**
  21994. * Process events.
  21995. *
  21996. * @return int
  21997. * @param options array[optional]
  21998. */
  21999. function yaz_wait($options = null) {}
  22000. /**
  22001. * Traverse the map and call a function on each entry
  22002. *
  22003. * @return void
  22004. * @param domain string
  22005. * @param map string
  22006. * @param callback string
  22007. */
  22008. function yp_all($domain, $map, $callback) {}
  22009. /**
  22010. * Return an array containing the entire map
  22011. *
  22012. * @return array
  22013. * @param domain string
  22014. * @param map string
  22015. */
  22016. function yp_cat($domain, $map) {}
  22017. /**
  22018. * Returns the corresponding error string for the given error code
  22019. *
  22020. * @return string
  22021. * @param errorcode int
  22022. */
  22023. function yp_err_string($errorcode) {}
  22024. /**
  22025. * Returns the error code from the last call or 0 if no error occured
  22026. *
  22027. * @return int
  22028. */
  22029. function yp_errno() {}
  22030. /**
  22031. * Returns the first key as array with $var[$key] and the the line as the value
  22032. *
  22033. * @return array
  22034. * @param domain string
  22035. * @param map string
  22036. */
  22037. function yp_first($domain, $map) {}
  22038. /**
  22039. * Returns the domain or false
  22040. *
  22041. * @return string
  22042. */
  22043. function yp_get_default_domain() {}
  22044. /**
  22045. * Returns the machine name of the master
  22046. *
  22047. * @return string
  22048. * @param domain string
  22049. * @param map string
  22050. */
  22051. function yp_master($domain, $map) {}
  22052. /**
  22053. * Returns the matched line or false
  22054. *
  22055. * @return string
  22056. * @param domain string
  22057. * @param map string
  22058. * @param key string
  22059. */
  22060. function yp_match($domain, $map, $key) {}
  22061. /**
  22062. * Returns an array with $var[$key] and the the line as the value
  22063. *
  22064. * @return array
  22065. * @param domain string
  22066. * @param map string
  22067. * @param key string
  22068. */
  22069. function yp_next($domain, $map, $key) {}
  22070. /**
  22071. * Returns the order number or false
  22072. *
  22073. * @return int
  22074. * @param domain string
  22075. * @param map string
  22076. */
  22077. function yp_order($domain, $map) {}
  22078. /**
  22079. * Return the special ID used to request the Zend logo in phpinfo screens
  22080. *
  22081. * @return string
  22082. */
  22083. function zend_logo_guid() {}
  22084. /**
  22085. * Get the version of the Zend Engine
  22086. *
  22087. * @return string
  22088. */
  22089. function zend_version() {}
  22090. /**
  22091. * Close a Zip archive
  22092. *
  22093. * @return void
  22094. * @param zip resource
  22095. */
  22096. function zip_close($zip) {}
  22097. /**
  22098. * Close a zip entry
  22099. *
  22100. * @return void
  22101. * @param zip_ent resource
  22102. */
  22103. function zip_entry_close($zip_ent) {}
  22104. /**
  22105. * Return the compressed size of a ZZip entry
  22106. *
  22107. * @return int
  22108. * @param zip_entry resource
  22109. */
  22110. function zip_entry_compressedsize($zip_entry) {}
  22111. /**
  22112. * Return a string containing the compression method used on a particular entry
  22113. *
  22114. * @return string
  22115. * @param zip_entry resource
  22116. */
  22117. function zip_entry_compressionmethod($zip_entry) {}
  22118. /**
  22119. * Return the actual filesize of a ZZip entry
  22120. *
  22121. * @return int
  22122. * @param zip_entry resource
  22123. */
  22124. function zip_entry_filesize($zip_entry) {}
  22125. /**
  22126. * Return the name given a ZZip entry
  22127. *
  22128. * @return string
  22129. * @param zip_entry resource
  22130. */
  22131. function zip_entry_name($zip_entry) {}
  22132. /**
  22133. * Open a Zip File, pointed by the resource entry
  22134. *
  22135. * @return bool
  22136. * @param zip_dp resource
  22137. * @param zip_entry resource
  22138. * @param mode string
  22139. */
  22140. function zip_entry_open($zip_dp, $zip_entry, $mode) {}
  22141. /**
  22142. * Read X bytes from an opened zip entry
  22143. *
  22144. * @return string
  22145. * @param zip_ent resource
  22146. */
  22147. function zip_entry_read($zip_ent) {}
  22148. /**
  22149. * Open a new zip archive for reading
  22150. *
  22151. * @return resource
  22152. * @param filename string
  22153. */
  22154. function zip_open($filename) {}
  22155. /**
  22156. * Returns the next file in the archive
  22157. *
  22158. * @return resource
  22159. * @param zip resource
  22160. */
  22161. function zip_read($zip) {}
  22162. /**
  22163. * Returns the coding type used for output compression
  22164. *
  22165. * @return unknown
  22166. */
  22167. function zlib_get_coding_type() {}
  22168. class OCI_Lob {
  22169. /**
  22170. * Loads a large object
  22171. *
  22172. * @return string
  22173. * @param lob object
  22174. */
  22175. function load($lob) {}
  22176. /**
  22177. * Writes a large object into a file
  22178. *
  22179. * @return bool
  22180. * @param lob object
  22181. * @param filename string[optional]
  22182. * @param start int[optional]
  22183. * @param length int[optional]
  22184. */
  22185. function writetofile($lob, $filename = null, $start = null, $length = null) {}
  22186. /**
  22187. * Return the row count of an OCI statement
  22188. *
  22189. * @return bool
  22190. * @param stmt int
  22191. * @param loc int
  22192. * @param var string
  22193. */
  22194. function writetemporary($stmt, $loc, $var) {}
  22195. /**
  22196. * Closes lob descriptor
  22197. *
  22198. * @return bool
  22199. * @param lob object
  22200. */
  22201. function close($lob) {}
  22202. /**
  22203. * Saves a large object
  22204. *
  22205. * @return bool
  22206. * @param lob object
  22207. */
  22208. function save($lob) {}
  22209. /**
  22210. * Saves a large object file
  22211. *
  22212. * @return bool
  22213. * @param lob object
  22214. */
  22215. function savefile($lob) {}
  22216. /**
  22217. * Deletes large object description
  22218. *
  22219. * @return bool
  22220. * @param lob object
  22221. */
  22222. function free($lob) {}
  22223. };
  22224. class OCI_Collection {
  22225. /**
  22226. * Append an object to the collection
  22227. *
  22228. * @return bool
  22229. * @param collection object
  22230. * @param value unknown
  22231. */
  22232. function append($collection, $value) {}
  22233. /**
  22234. * Retrieve the value at collection index ndx
  22235. *
  22236. * @return string
  22237. * @param collection object
  22238. * @param ndx unknown
  22239. */
  22240. function getelem($collection, $ndx) {}
  22241. /**
  22242. * Assign element val to collection at index ndx
  22243. *
  22244. * @return bool
  22245. * @param collection object
  22246. * @param ndx unknown
  22247. * @param val unknown
  22248. */
  22249. function assignelem($collection, $ndx, $val) {}
  22250. /**
  22251. * Assign a collection from another existing collection
  22252. *
  22253. * @return bool
  22254. * @param collection object
  22255. * @param object unknown
  22256. */
  22257. function assign($collection, $object) {}
  22258. /**
  22259. * Return the size of a collection
  22260. *
  22261. * @return int
  22262. * @param collection object
  22263. */
  22264. function size($collection) {}
  22265. /**
  22266. * Return the max value of a collection. For a varray this is the maximum length of the array
  22267. *
  22268. * @return int
  22269. * @param collection object
  22270. */
  22271. function max($collection) {}
  22272. /**
  22273. * Trim num elements from the end of a collection
  22274. *
  22275. * @return bool
  22276. * @param collection object
  22277. * @param num unknown
  22278. */
  22279. function trim($collection, $num) {}
  22280. /**
  22281. * Deletes collection object
  22282. *
  22283. * @return bool
  22284. * @param lob object
  22285. */
  22286. function free($lob) {}
  22287. };
  22288. class swfshape {
  22289. /**
  22290. * Returns a new SWFShape object
  22291. *
  22292. * @return class
  22293. */
  22294. function swfshape() {}
  22295. /**
  22296. * Sets the current line style for this SWFShape
  22297. *
  22298. * @return void
  22299. * @param width int
  22300. * @param r int
  22301. * @param g int
  22302. * @param b int
  22303. * @param a int[optional]
  22304. */
  22305. function setline($width, $r, $g, $b, $a = null) {}
  22306. /**
  22307. * Returns a fill object, for use with swfshape_setleftfill and swfshape_setrightfill
  22308. *
  22309. * @return int
  22310. * @param fill int
  22311. * @param flags int
  22312. */
  22313. function addfill($fill, $flags) {}
  22314. /**
  22315. * Sets the left side fill style to fill
  22316. *
  22317. * @return void
  22318. * @param fill int
  22319. */
  22320. function setleftfill($fill) {}
  22321. /**
  22322. * Sets the right side fill style to fill
  22323. *
  22324. * @return void
  22325. * @param fill int
  22326. */
  22327. function setrightfill($fill) {}
  22328. /**
  22329. * Moves the pen to shape coordinates (x, y)
  22330. *
  22331. * @return void
  22332. * @param x float
  22333. * @param y float
  22334. */
  22335. function movepento($x, $y) {}
  22336. /**
  22337. * Moves the pen from its current location by vector (x, y)
  22338. *
  22339. * @return void
  22340. * @param x float
  22341. * @param y float
  22342. */
  22343. function movepen($x, $y) {}
  22344. /**
  22345. * Draws a line from the current pen position to shape coordinates (x, y) in the current line style
  22346. *
  22347. * @return void
  22348. * @param x float
  22349. * @param y float
  22350. */
  22351. function drawlineto($x, $y) {}
  22352. /**
  22353. * Draws a line from the current pen position (x, y) to the point (x+dx, y+dy) in the current line style
  22354. *
  22355. * @return void
  22356. * @param dx float
  22357. * @param dy float
  22358. */
  22359. function drawline($dx, $dy) {}
  22360. /**
  22361. * Draws a curve from the current pen position (x,y) to the point (bx, by) in the current line style, using point (ax, ay) as a control point. Or draws a cubic bezier to point (dx, dy) with control points (ax, ay) and (bx, by)
  22362. *
  22363. * @return void
  22364. * @param ax float
  22365. * @param ay float
  22366. * @param bx float
  22367. * @param by float
  22368. * @param dx float[optional]
  22369. * @param dy float
  22370. */
  22371. function drawcurveto($ax, $ay, $bx, $by, $dx = null, $dy) {}
  22372. /**
  22373. * Draws a curve from the current pen position (x, y) to the point (x+bdx, y+bdy) in the current line style, using point (x+adx, y+ady) as a control point or draws a cubic bezier to point (x+cdx, x+cdy) with control points (x+adx, y+ady) and (x+bdx, y+bdy)
  22374. *
  22375. * @return void
  22376. * @param adx float
  22377. * @param ady float
  22378. * @param bdx float
  22379. * @param bdy float
  22380. * @param cdx float[optional]
  22381. * @param cdy float
  22382. */
  22383. function drawcurve($adx, $ady, $bdx, $bdy, $cdx = null, $cdy) {}
  22384. /**
  22385. * Draws the first character in the given string into the shape using the glyph definition from the given font
  22386. *
  22387. * @return void
  22388. * @param font SWFFont
  22389. * @param character string
  22390. * @param size int[optional]
  22391. */
  22392. function drawglyph($font, $character, $size = null) {}
  22393. /**
  22394. * Draws a circle of radius r centered at the current location, in a counter-clockwise fashion
  22395. *
  22396. * @return void
  22397. * @param r int
  22398. */
  22399. function drawcircle($r) {}
  22400. /**
  22401. * Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured counterclockwise from 12 o'clock
  22402. *
  22403. * @return void
  22404. * @param r int
  22405. * @param startAngle float
  22406. * @param endAngle float
  22407. */
  22408. function drawarc($r, $startAngle, $endAngle) {}
  22409. /**
  22410. * Draws a cubic bezier curve using the current position and the three given points as control points
  22411. *
  22412. * @return void
  22413. * @param bx float
  22414. * @param by float
  22415. * @param cx float
  22416. * @param cy float
  22417. * @param dx float
  22418. * @param dy float
  22419. */
  22420. function drawcubic($bx, $by, $cx, $cy, $dx, $dy) {}
  22421. };
  22422. class swffill {
  22423. /**
  22424. * Returns a new SWFFill object
  22425. *
  22426. * @return class
  22427. */
  22428. function swffill() {}
  22429. /**
  22430. * Moves this SWFFill to shape coordinates (x,y)
  22431. *
  22432. * @return void
  22433. * @param x int
  22434. * @param y int
  22435. */
  22436. function moveto($x, $y) {}
  22437. /**
  22438. * Scales this SWFFill by xScale in the x direction, yScale in the y, or both to xScale if only one arg
  22439. *
  22440. * @return void
  22441. * @param xScale float
  22442. * @param yScale float[optional]
  22443. */
  22444. function scaleto($xScale, $yScale = null) {}
  22445. /**
  22446. * Rotates this SWFFill the given (clockwise) degrees from its original orientation
  22447. *
  22448. * @return void
  22449. * @param degrees float
  22450. */
  22451. function rotateto($degrees) {}
  22452. /**
  22453. * Sets this SWFFill's x skew value to xSkew
  22454. *
  22455. * @return void
  22456. * @param xSkew float
  22457. */
  22458. function skewxto($xSkew) {}
  22459. /**
  22460. * Sets this SWFFill's y skew value to ySkew
  22461. *
  22462. * @return void
  22463. * @param ySkew float
  22464. */
  22465. function skewyto($ySkew) {}
  22466. };
  22467. class swfgradient {
  22468. /**
  22469. * Returns a new SWFGradient object
  22470. *
  22471. * @return class
  22472. */
  22473. function swfgradient() {}
  22474. /**
  22475. * Adds given entry to the gradient
  22476. *
  22477. * @return void
  22478. * @param ratio float
  22479. * @param r string
  22480. * @param g string
  22481. * @param b string
  22482. * @param a string[optional]