PageRenderTime 54ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://gitlab.com/N3X15/studio3-php
PHP | 1085 lines | 180 code | 122 blank | 783 comment | 0 complexity | b4796e4f696e917195d09fe681211a24 MD5 | raw file
  1. <?php
  2. // Start of Core v.5.3.2
  3. class stdClass {
  4. }
  5. interface Traversable {
  6. }
  7. interface IteratorAggregate extends Traversable {
  8. abstract public function getIterator () {}
  9. }
  10. interface Iterator extends Traversable {
  11. abstract public function current () {}
  12. abstract public function next () {}
  13. abstract public function key () {}
  14. abstract public function valid () {}
  15. abstract public function rewind () {}
  16. }
  17. interface ArrayAccess {
  18. /**
  19. * @param offset
  20. */
  21. abstract public function offsetExists ($offset) {}
  22. /**
  23. * @param offset
  24. */
  25. abstract public function offsetGet ($offset) {}
  26. /**
  27. * @param offset
  28. * @param value
  29. */
  30. abstract public function offsetSet ($offset, $value) {}
  31. /**
  32. * @param offset
  33. */
  34. abstract public function offsetUnset ($offset) {}
  35. }
  36. interface Serializable {
  37. abstract public function serialize () {}
  38. /**
  39. * @param serialized
  40. */
  41. abstract public function unserialize ($serialized) {}
  42. }
  43. class Exception {
  44. protected $message;
  45. private $string;
  46. protected $code;
  47. protected $file;
  48. protected $line;
  49. private $trace;
  50. private $previous;
  51. final private function __clone () {}
  52. /**
  53. * @param message[optional]
  54. * @param code[optional]
  55. * @param previous[optional]
  56. */
  57. public function __construct ($message, $code, $previous) {}
  58. final public function getMessage () {}
  59. final public function getCode () {}
  60. final public function getFile () {}
  61. final public function getLine () {}
  62. final public function getTrace () {}
  63. final public function getPrevious () {}
  64. final public function getTraceAsString () {}
  65. public function __toString () {}
  66. }
  67. class ErrorException extends Exception {
  68. protected $message;
  69. protected $code;
  70. protected $file;
  71. protected $line;
  72. protected $severity;
  73. /**
  74. * @param message[optional]
  75. * @param code[optional]
  76. * @param severity[optional]
  77. * @param filename[optional]
  78. * @param lineno[optional]
  79. * @param previous[optional]
  80. */
  81. public function __construct ($message, $code, $severity, $filename, $lineno, $previous) {}
  82. final public function getSeverity () {}
  83. final private function __clone () {}
  84. final public function getMessage () {}
  85. final public function getCode () {}
  86. final public function getFile () {}
  87. final public function getLine () {}
  88. final public function getTrace () {}
  89. final public function getPrevious () {}
  90. final public function getTraceAsString () {}
  91. public function __toString () {}
  92. }
  93. final class Closure {
  94. private function __construct () {}
  95. }
  96. /**
  97. * Gets the version of the current Zend engine
  98. * @link http://www.php.net/manual/en/function.zend-version.php
  99. * @return string the Zend Engine version number, as a string.
  100. */
  101. function zend_version () {}
  102. /**
  103. * Returns the number of arguments passed to the function
  104. * @link http://www.php.net/manual/en/function.func-num-args.php
  105. * @return int the number of arguments passed into the current user-defined
  106. * function.
  107. */
  108. function func_num_args () {}
  109. /**
  110. * Return an item from the argument list
  111. * @link http://www.php.net/manual/en/function.func-get-arg.php
  112. * @param arg_num int <p>
  113. * The argument offset. Function arguments are counted starting from
  114. * zero.
  115. * </p>
  116. * @return mixed the specified argument, or false on error.
  117. */
  118. function func_get_arg ($arg_num) {}
  119. /**
  120. * Returns an array comprising a function's argument list
  121. * @link http://www.php.net/manual/en/function.func-get-args.php
  122. * @return array an array in which each element is a copy of the corresponding
  123. * member of the current user-defined function's argument list.
  124. */
  125. function func_get_args () {}
  126. /**
  127. * Get string length
  128. * @link http://www.php.net/manual/en/function.strlen.php
  129. * @param string string <p>
  130. * The string being measured for length.
  131. * </p>
  132. * @return int The length of the string on success,
  133. * and 0 if the string is empty.
  134. */
  135. function strlen ($string) {}
  136. /**
  137. * Binary safe string comparison
  138. * @link http://www.php.net/manual/en/function.strcmp.php
  139. * @param str1 string <p>
  140. * The first string.
  141. * </p>
  142. * @param str2 string <p>
  143. * The second string.
  144. * </p>
  145. * @return int &lt; 0 if str1 is less than
  146. * str2; &gt; 0 if str1
  147. * is greater than str2, and 0 if they are
  148. * equal.
  149. */
  150. function strcmp ($str1, $str2) {}
  151. /**
  152. * Binary safe string comparison of the first n characters
  153. * @link http://www.php.net/manual/en/function.strncmp.php
  154. * @param str1 string <p>
  155. * The first string.
  156. * </p>
  157. * @param str2 string <p>
  158. * The second string.
  159. * </p>
  160. * @param len int <p>
  161. * Number of characters to use in the comparison.
  162. * </p>
  163. * @return int &lt; 0 if str1 is less than
  164. * str2; &gt; 0 if str1
  165. * is greater than str2, and 0 if they are
  166. * equal.
  167. */
  168. function strncmp ($str1, $str2, $len) {}
  169. /**
  170. * Binary safe case-insensitive string comparison
  171. * @link http://www.php.net/manual/en/function.strcasecmp.php
  172. * @param str1 string <p>
  173. * The first string
  174. * </p>
  175. * @param str2 string <p>
  176. * The second string
  177. * </p>
  178. * @return int &lt; 0 if str1 is less than
  179. * str2; &gt; 0 if str1
  180. * is greater than str2, and 0 if they are
  181. * equal.
  182. */
  183. function strcasecmp ($str1, $str2) {}
  184. /**
  185. * Binary safe case-insensitive string comparison of the first n characters
  186. * @link http://www.php.net/manual/en/function.strncasecmp.php
  187. * @param str1 string <p>
  188. * The first string.
  189. * </p>
  190. * @param str2 string <p>
  191. * The second string.
  192. * </p>
  193. * @param len int <p>
  194. * The length of strings to be used in the comparison.
  195. * </p>
  196. * @return int &lt; 0 if str1 is less than
  197. * str2; &gt; 0 if str1 is
  198. * greater than str2, and 0 if they are equal.
  199. */
  200. function strncasecmp ($str1, $str2, $len) {}
  201. /**
  202. * Return the current key and value pair from an array and advance the array cursor
  203. * @link http://www.php.net/manual/en/function.each.php
  204. * @param array array <p>
  205. * The input array.
  206. * </p>
  207. * @return array the current key and value pair from the array
  208. * array. This pair is returned in a four-element
  209. * array, with the keys 0, 1,
  210. * key, and value. Elements
  211. * 0 and key contain the key name of
  212. * the array element, and 1 and value
  213. * contain the data.
  214. * </p>
  215. * <p>
  216. * If the internal pointer for the array points past the end of the
  217. * array contents, each returns
  218. * false.
  219. */
  220. function each (array &$array) {}
  221. /**
  222. * Sets which PHP errors are reported
  223. * @link http://www.php.net/manual/en/function.error-reporting.php
  224. * @param level int[optional] <p>
  225. * The new error_reporting
  226. * level. It takes on either a bitmask, or named constants. Using named
  227. * constants is strongly encouraged to ensure compatibility for future
  228. * versions. As error levels are added, the range of integers increases,
  229. * so older integer-based error levels will not always behave as expected.
  230. * </p>
  231. * <p>
  232. * The available error level constants and the actual
  233. * meanings of these error levels are described in the
  234. * predefined constants.
  235. * </p>
  236. * @return int the old error_reporting
  237. * level or the current level if no level parameter is
  238. * given.
  239. */
  240. function error_reporting ($level = null) {}
  241. /**
  242. * Defines a named constant
  243. * @link http://www.php.net/manual/en/function.define.php
  244. * @param name string <p>
  245. * The name of the constant.
  246. * </p>
  247. * @param value mixed <p>
  248. * The value of the constant; only scalar and null values are allowed.
  249. * Scalar values are integer,
  250. * float, string or boolean values. It is
  251. * possible to define resource constants, however it is not recommended
  252. * and may cause unpredictable behavior.
  253. * </p>
  254. * @param case_insensitive bool[optional] <p>
  255. * If set to true, the constant will be defined case-insensitive.
  256. * The default behavior is case-sensitive; i.e.
  257. * CONSTANT and Constant represent
  258. * different values.
  259. * </p>
  260. * <p>
  261. * Case-insensitive constants are stored as lower-case.
  262. * </p>
  263. * @return bool Returns true on success or false on failure.
  264. */
  265. function define ($name, $value, $case_insensitive = null) {}
  266. /**
  267. * Checks whether a given named constant exists
  268. * @link http://www.php.net/manual/en/function.defined.php
  269. * @param name string <p>
  270. * The constant name.
  271. * </p>
  272. * @return bool true if the named constant given by name
  273. * has been defined, false otherwise.
  274. */
  275. function defined ($name) {}
  276. /**
  277. * Returns the name of the class of an object
  278. * @link http://www.php.net/manual/en/function.get-class.php
  279. * @param object object[optional] <p>
  280. * The tested object
  281. * </p>
  282. * @return string the name of the class of which object is an
  283. * instance. Returns false if object is not an
  284. * object.
  285. */
  286. function get_class ($object = null) {}
  287. /**
  288. * the "Late Static Binding" class name
  289. * @link http://www.php.net/manual/en/function.get-called-class.php
  290. * @return string the class name. Returns false if called from outside a class.
  291. */
  292. function get_called_class () {}
  293. /**
  294. * Retrieves the parent class name for object or class
  295. * @link http://www.php.net/manual/en/function.get-parent-class.php
  296. * @param object mixed[optional] <p>
  297. * The tested object or class name
  298. * </p>
  299. * @return string the name of the parent class of the class of which
  300. * object is an instance or the name.
  301. * </p>
  302. * <p>
  303. * If the object does not have a parent false will be returned.
  304. * </p>
  305. * <p>
  306. * If called without parameter outside object, this function returns false.
  307. */
  308. function get_parent_class ($object = null) {}
  309. /**
  310. * Checks if the class method exists
  311. * @link http://www.php.net/manual/en/function.method-exists.php
  312. * @param object mixed <p>
  313. * An object instance or a class name
  314. * </p>
  315. * @param method_name string <p>
  316. * The method name
  317. * </p>
  318. * @return bool true if the method given by method_name
  319. * has been defined for the given object, false
  320. * otherwise.
  321. */
  322. function method_exists ($object, $method_name) {}
  323. /**
  324. * Checks if the object or class has a property
  325. * @link http://www.php.net/manual/en/function.property-exists.php
  326. * @param class mixed <p>
  327. * The class name or an object of the class to test for
  328. * </p>
  329. * @param property string <p>
  330. * The name of the property
  331. * </p>
  332. * @return bool true if the property exists, false if it doesn't exist or
  333. * &null; in case of an error.
  334. */
  335. function property_exists ($class, $property) {}
  336. /**
  337. * Checks if the class has been defined
  338. * @link http://www.php.net/manual/en/function.class-exists.php
  339. * @param class_name string <p>
  340. * The class name. The name is matched in a case-insensitive manner.
  341. * </p>
  342. * @param autoload bool[optional] <p>
  343. * Whether or not to call &link.autoload; by default.
  344. * </p>
  345. * @return bool true if class_name is a defined class,
  346. * false otherwise.
  347. */
  348. function class_exists ($class_name, $autoload = null) {}
  349. /**
  350. * Checks if the interface has been defined
  351. * @link http://www.php.net/manual/en/function.interface-exists.php
  352. * @param interface_name string <p>
  353. * The interface name
  354. * </p>
  355. * @param autoload bool[optional] <p>
  356. * Whether to call &link.autoload; or not by default.
  357. * </p>
  358. * @return bool true if the interface given by
  359. * interface_name has been defined, false otherwise.
  360. */
  361. function interface_exists ($interface_name, $autoload = null) {}
  362. /**
  363. * Return &true; if the given function has been defined
  364. * @link http://www.php.net/manual/en/function.function-exists.php
  365. * @param function_name string <p>
  366. * The function name, as a string.
  367. * </p>
  368. * @return bool true if function_name exists and is a
  369. * function, false otherwise.
  370. * </p>
  371. * <p>
  372. * This function will return false for constructs, such as
  373. * include_once and echo.
  374. */
  375. function function_exists ($function_name) {}
  376. /**
  377. * Creates an alias for a class
  378. * @link http://www.php.net/manual/en/function.class-alias.php
  379. * @param original string[optional] <p>
  380. * The original class.
  381. * </p>
  382. * @param alias string[optional] <p>
  383. * The alias name for the class.
  384. * </p>
  385. * @return boolean Returns true on success or false on failure.
  386. */
  387. function class_alias ($original = null, $alias = null) {}
  388. /**
  389. * Returns an array with the names of included or required files
  390. * @link http://www.php.net/manual/en/function.get-included-files.php
  391. * @return array an array of the names of all files.
  392. * </p>
  393. * <p>
  394. * The script originally called is considered an "included file," so it will
  395. * be listed together with the files referenced by
  396. * include and family.
  397. * </p>
  398. * <p>
  399. * Files that are included or required multiple times only show up once in
  400. * the returned array.
  401. */
  402. function get_included_files () {}
  403. /**
  404. * &Alias; <function>get_included_files</function>
  405. * @link http://www.php.net/manual/en/function.get-required-files.php
  406. */
  407. function get_required_files () {}
  408. /**
  409. * Checks if the object has this class as one of its parents
  410. * @link http://www.php.net/manual/en/function.is-subclass-of.php
  411. * @param object mixed <p>
  412. * A class name or an object instance
  413. * </p>
  414. * @param class_name string <p>
  415. * The class name
  416. * </p>
  417. * @return bool This function returns true if the object object,
  418. * belongs to a class which is a subclass of
  419. * class_name, false otherwise.
  420. */
  421. function is_subclass_of ($object, $class_name) {}
  422. /**
  423. * Checks if the object is of this class or has this class as one of its parents
  424. * @link http://www.php.net/manual/en/function.is-a.php
  425. * @param object object <p>
  426. * The tested object
  427. * </p>
  428. * @param class_name string <p>
  429. * The class name
  430. * </p>
  431. * @return bool true if the object is of this class or has this class as one of
  432. * its parents, false otherwise.
  433. */
  434. function is_a ($object, $class_name) {}
  435. /**
  436. * Get the default properties of the class
  437. * @link http://www.php.net/manual/en/function.get-class-vars.php
  438. * @param class_name string <p>
  439. * The class name
  440. * </p>
  441. * @return array an associative array of declared properties visible from the
  442. * current scope, with their default value.
  443. * The resulting array elements are in the form of
  444. * varname => value.
  445. */
  446. function get_class_vars ($class_name) {}
  447. /**
  448. * Gets the properties of the given object
  449. * @link http://www.php.net/manual/en/function.get-object-vars.php
  450. * @param object object <p>
  451. * An object instance.
  452. * </p>
  453. * @return array an associative array of defined object accessible non-static properties
  454. * for the specified object in scope. If a property have
  455. * not been assigned a value, it will be returned with a &null; value.
  456. */
  457. function get_object_vars ($object) {}
  458. /**
  459. * Gets the class methods' names
  460. * @link http://www.php.net/manual/en/function.get-class-methods.php
  461. * @param class_name mixed <p>
  462. * The class name or an object instance
  463. * </p>
  464. * @return array an array of method names defined for the class specified by
  465. * class_name. In case of an error, it returns &null;.
  466. */
  467. function get_class_methods ($class_name) {}
  468. /**
  469. * Generates a user-level error/warning/notice message
  470. * @link http://www.php.net/manual/en/function.trigger-error.php
  471. * @param error_msg string <p>
  472. * The designated error message for this error. It's limited to 1024
  473. * characters in length. Any additional characters beyond 1024 will be
  474. * truncated.
  475. * </p>
  476. * @param error_type int[optional] <p>
  477. * The designated error type for this error. It only works with the E_USER
  478. * family of constants, and will default to E_USER_NOTICE.
  479. * </p>
  480. * @return bool This function returns false if wrong error_type is
  481. * specified, true otherwise.
  482. */
  483. function trigger_error ($error_msg, $error_type = null) {}
  484. /**
  485. * Alias of <function>trigger_error</function>
  486. * @link http://www.php.net/manual/en/function.user-error.php
  487. * @param messsage
  488. * @param error_type[optional]
  489. */
  490. function user_error ($messsage, $error_type) {}
  491. /**
  492. * Sets a user-defined error handler function
  493. * @link http://www.php.net/manual/en/function.set-error-handler.php
  494. * @param error_handler callback <p>
  495. * The user function needs to accept two parameters: the error code, and a
  496. * string describing the error. Then there are three optional parameters
  497. * that may be supplied: the filename in which the error occurred, the
  498. * line number in which the error occurred, and the context in which the
  499. * error occurred (an array that points to the active symbol table at the
  500. * point the error occurred). The function can be shown as:
  501. * </p>
  502. * <p>
  503. * handler
  504. * interrno
  505. * stringerrstr
  506. * stringerrfile
  507. * interrline
  508. * arrayerrcontext
  509. * errno
  510. * The first parameter, errno, contains the
  511. * level of the error raised, as an integer.
  512. * @param error_types int[optional] <p>
  513. * Can be used to mask the triggering of the
  514. * error_handler function just like the error_reporting ini setting
  515. * controls which errors are shown. Without this mask set the
  516. * error_handler will be called for every error
  517. * regardless to the setting of the error_reporting setting.
  518. * </p>
  519. * @return mixed a string containing the previously defined error handler (if any). If
  520. * the built-in error handler is used &null; is returned. &null; is also returned
  521. * in case of an error such as an invalid callback. If the previous error handler
  522. * was a class method, this function will return an indexed array with the class
  523. * and the method name.
  524. */
  525. function set_error_handler ($error_handler, $error_types = null) {}
  526. /**
  527. * Restores the previous error handler function
  528. * @link http://www.php.net/manual/en/function.restore-error-handler.php
  529. * @return bool This function always returns true.
  530. */
  531. function restore_error_handler () {}
  532. /**
  533. * Sets a user-defined exception handler function
  534. * @link http://www.php.net/manual/en/function.set-exception-handler.php
  535. * @param exception_handler callback <p>
  536. * Name of the function to be called when an uncaught exception occurs.
  537. * This function must be defined before calling
  538. * set_exception_handler. This handler function
  539. * needs to accept one parameter, which will be the exception object that
  540. * was thrown.
  541. * </p>
  542. * @return callback the name of the previously defined exception handler, or &null; on error. If
  543. * no previous handler was defined, &null; is also returned.
  544. */
  545. function set_exception_handler ($exception_handler) {}
  546. /**
  547. * Restores the previously defined exception handler function
  548. * @link http://www.php.net/manual/en/function.restore-exception-handler.php
  549. * @return bool This function always returns true.
  550. */
  551. function restore_exception_handler () {}
  552. /**
  553. * Returns an array with the name of the defined classes
  554. * @link http://www.php.net/manual/en/function.get-declared-classes.php
  555. * @return array an array of the names of the declared classes in the current
  556. * script.
  557. * </p>
  558. * <p>
  559. * Note that depending on what extensions you have compiled or
  560. * loaded into PHP, additional classes could be present. This means that
  561. * you will not be able to define your own classes using these
  562. * names. There is a list of predefined classes in the Predefined Classes section of
  563. * the appendices.
  564. */
  565. function get_declared_classes () {}
  566. /**
  567. * Returns an array of all declared interfaces
  568. * @link http://www.php.net/manual/en/function.get-declared-interfaces.php
  569. * @return array an array of the names of the declared interfaces in the current
  570. * script.
  571. */
  572. function get_declared_interfaces () {}
  573. /**
  574. * Returns an array of all defined functions
  575. * @link http://www.php.net/manual/en/function.get-defined-functions.php
  576. * @return array an multidimensional array containing a list of all defined
  577. * functions, both built-in (internal) and user-defined. The internal
  578. * functions will be accessible via $arr["internal"], and
  579. * the user defined ones using $arr["user"] (see example
  580. * below).
  581. */
  582. function get_defined_functions () {}
  583. /**
  584. * Returns an array of all defined variables
  585. * @link http://www.php.net/manual/en/function.get-defined-vars.php
  586. * @return array A multidimensional array with all the variables.
  587. */
  588. function get_defined_vars () {}
  589. /**
  590. * Create an anonymous (lambda-style) function
  591. * @link http://www.php.net/manual/en/function.create-function.php
  592. * @param args string <p>
  593. * The function arguments.
  594. * </p>
  595. * @param code string <p>
  596. * The function code.
  597. * </p>
  598. * @return string a unique function name as a string, or false on error.
  599. */
  600. function create_function ($args, $code) {}
  601. /**
  602. * Returns the resource type
  603. * @link http://www.php.net/manual/en/function.get-resource-type.php
  604. * @param handle resource <p>
  605. * The evaluated resource handle.
  606. * </p>
  607. * @return string If the given handle is a resource, this function
  608. * will return a string representing its type. If the type is not identified
  609. * by this function, the return value will be the string
  610. * Unknown.
  611. * </p>
  612. * <p>
  613. * This function will return false and generate an error if
  614. * handle is not a resource.
  615. */
  616. function get_resource_type ($handle) {}
  617. /**
  618. * Returns an array with the names of all modules compiled and loaded
  619. * @link http://www.php.net/manual/en/function.get-loaded-extensions.php
  620. * @param zend_extensions bool[optional] <p>
  621. * Return zend_extensions or not, defaults to false (do not list
  622. * zend_extensions).
  623. * </p>
  624. * @return array an indexed array of all the modules names.
  625. */
  626. function get_loaded_extensions ($zend_extensions = null) {}
  627. /**
  628. * Find out whether an extension is loaded
  629. * @link http://www.php.net/manual/en/function.extension-loaded.php
  630. * @param name string <p>
  631. * The extension name.
  632. * </p>
  633. * <p>
  634. * You can see the names of various extensions by using
  635. * phpinfo or if you're using the
  636. * CGI or CLI version of
  637. * PHP you can use the -m switch to
  638. * list all available extensions:
  639. * </p>
  640. * @return bool true if the extension identified by name
  641. * is loaded, false otherwise.
  642. */
  643. function extension_loaded ($name) {}
  644. /**
  645. * Returns an array with the names of the functions of a module
  646. * @link http://www.php.net/manual/en/function.get-extension-funcs.php
  647. * @param module_name string <p>
  648. * The module name.
  649. * </p>
  650. * <p>
  651. * This parameter must be in lowercase.
  652. * </p>
  653. * @return array an array with all the functions, or false if
  654. * module_name is not a valid extension.
  655. */
  656. function get_extension_funcs ($module_name) {}
  657. /**
  658. * Returns an associative array with the names of all the constants and their values
  659. * @link http://www.php.net/manual/en/function.get-defined-constants.php
  660. * @param categorize bool[optional] <p>
  661. * Causing this function to return a multi-dimensional
  662. * array with categories in the keys of the first dimension and constants
  663. * and their values in the second dimension.
  664. * ]]>
  665. * &example.outputs.similar;
  666. * Array
  667. * (
  668. * [E_ERROR] => 1
  669. * [E_WARNING] => 2
  670. * [E_PARSE] => 4
  671. * [E_NOTICE] => 8
  672. * [E_CORE_ERROR] => 16
  673. * [E_CORE_WARNING] => 32
  674. * [E_COMPILE_ERROR] => 64
  675. * [E_COMPILE_WARNING] => 128
  676. * [E_USER_ERROR] => 256
  677. * [E_USER_WARNING] => 512
  678. * [E_USER_NOTICE] => 1024
  679. * [E_ALL] => 2047
  680. * [TRUE] => 1
  681. * )
  682. * [pcre] => Array
  683. * (
  684. * [PREG_PATTERN_ORDER] => 1
  685. * [PREG_SET_ORDER] => 2
  686. * [PREG_OFFSET_CAPTURE] => 256
  687. * [PREG_SPLIT_NO_EMPTY] => 1
  688. * [PREG_SPLIT_DELIM_CAPTURE] => 2
  689. * [PREG_SPLIT_OFFSET_CAPTURE] => 4
  690. * [PREG_GREP_INVERT] => 1
  691. * )
  692. * [user] => Array
  693. * (
  694. * [MY_CONSTANT] => 1
  695. * )
  696. * )
  697. * ]]>
  698. * </p>
  699. * @return array
  700. */
  701. function get_defined_constants ($categorize = null) {}
  702. /**
  703. * Generates a backtrace
  704. * @link http://www.php.net/manual/en/function.debug-backtrace.php
  705. * @param provide_object bool[optional] <p>
  706. * Whether or not to populate the "object" index.
  707. * </p>
  708. * @return array an associative array. The possible returned elements
  709. * are as follows:
  710. * </p>
  711. * <p>
  712. * <table>
  713. * Possible returned elements from debug_backtrace
  714. * <tr valign="top">
  715. * <td>&Name;</td>
  716. * <td>&Type;</td>
  717. * <td>&Description;</td>
  718. * </tr>
  719. * <tr valign="top">
  720. * <td>function</td>
  721. * <td>string</td>
  722. * <td>
  723. * The current function name. See also
  724. * __FUNCTION__.
  725. * </td>
  726. * </tr>
  727. * <tr valign="top">
  728. * <td>line</td>
  729. * <td>integer</td>
  730. * <td>
  731. * The current line number. See also
  732. * __LINE__.
  733. * </td>
  734. * </tr>
  735. * <tr valign="top">
  736. * <td>file</td>
  737. * <td>string</td>
  738. * <td>
  739. * The current file name. See also
  740. * __FILE__.
  741. * </td>
  742. * </tr>
  743. * <tr valign="top">
  744. * <td>class</td>
  745. * <td>string</td>
  746. * <td>
  747. * The current class name. See also
  748. * __CLASS__
  749. * </td>
  750. * </tr>
  751. * <tr valign="top">
  752. * <td>object</td>
  753. * <td>object</td>
  754. * <td>
  755. * The current object.
  756. * </td>
  757. * </tr>
  758. * <tr valign="top">
  759. * <td>type</td>
  760. * <td>string</td>
  761. * <td>
  762. * The current call type. If a method call, "->" is returned. If a static
  763. * method call, "::" is returned. If a function call, nothing is returned.
  764. * </td>
  765. * </tr>
  766. * <tr valign="top">
  767. * <td>args</td>
  768. * <td>array</td>
  769. * <td>
  770. * If inside a function, this lists the functions arguments. If
  771. * inside an included file, this lists the included file name(s).
  772. * </td>
  773. * </tr>
  774. * </table>
  775. */
  776. function debug_backtrace ($provide_object = null) {}
  777. /**
  778. * Prints a backtrace
  779. * @link http://www.php.net/manual/en/function.debug-print-backtrace.php
  780. * @return void
  781. */
  782. function debug_print_backtrace () {}
  783. /**
  784. * Forces collection of any existing garbage cycles
  785. * @link http://www.php.net/manual/en/function.gc-collect-cycles.php
  786. * @return int number of collected cycles.
  787. */
  788. function gc_collect_cycles () {}
  789. /**
  790. * Returns status of the circular reference collector
  791. * @link http://www.php.net/manual/en/function.gc-enabled.php
  792. * @return bool true if the garbage collector is enabled, false otherwise.
  793. */
  794. function gc_enabled () {}
  795. /**
  796. * Activates the circular reference collector
  797. * @link http://www.php.net/manual/en/function.gc-enable.php
  798. * @return void
  799. */
  800. function gc_enable () {}
  801. /**
  802. * Deactivates the circular reference collector
  803. * @link http://www.php.net/manual/en/function.gc-disable.php
  804. * @return void
  805. */
  806. function gc_disable () {}
  807. /**
  808. * Fatal run-time errors. These indicate errors that can not be
  809. * recovered from, such as a memory allocation problem.
  810. * Execution of the script is halted.
  811. * @link http://www.php.net/manual/en/errorfunc.constants.php
  812. */
  813. define ('E_ERROR', 1);
  814. /**
  815. * Catchable fatal error. It indicates that a probably dangerous error
  816. * occured, but did not leave the Engine in an unstable state. If the error
  817. * is not caught by a user defined handle (see also
  818. * set_error_handler), the application aborts as it
  819. * was an E_ERROR.
  820. * @link http://www.php.net/manual/en/errorfunc.constants.php
  821. */
  822. define ('E_RECOVERABLE_ERROR', 4096);
  823. /**
  824. * Run-time warnings (non-fatal errors). Execution of the script is not
  825. * halted.
  826. * @link http://www.php.net/manual/en/errorfunc.constants.php
  827. */
  828. define ('E_WARNING', 2);
  829. /**
  830. * Compile-time parse errors. Parse errors should only be generated by
  831. * the parser.
  832. * @link http://www.php.net/manual/en/errorfunc.constants.php
  833. */
  834. define ('E_PARSE', 4);
  835. /**
  836. * Run-time notices. Indicate that the script encountered something that
  837. * could indicate an error, but could also happen in the normal course of
  838. * running a script.
  839. * @link http://www.php.net/manual/en/errorfunc.constants.php
  840. */
  841. define ('E_NOTICE', 8);
  842. /**
  843. * Enable to have PHP suggest changes
  844. * to your code which will ensure the best interoperability
  845. * and forward compatibility of your code.
  846. * @link http://www.php.net/manual/en/errorfunc.constants.php
  847. */
  848. define ('E_STRICT', 2048);
  849. /**
  850. * Run-time notices. Enable this to receive warnings about code
  851. * that will not work in future versions.
  852. * @link http://www.php.net/manual/en/errorfunc.constants.php
  853. */
  854. define ('E_DEPRECATED', 8192);
  855. /**
  856. * Fatal errors that occur during PHP's initial startup. This is like an
  857. * E_ERROR, except it is generated by the core of PHP.
  858. * @link http://www.php.net/manual/en/errorfunc.constants.php
  859. */
  860. define ('E_CORE_ERROR', 16);
  861. /**
  862. * Warnings (non-fatal errors) that occur during PHP's initial startup.
  863. * This is like an E_WARNING, except it is generated
  864. * by the core of PHP.
  865. * @link http://www.php.net/manual/en/errorfunc.constants.php
  866. */
  867. define ('E_CORE_WARNING', 32);
  868. /**
  869. * Fatal compile-time errors. This is like an E_ERROR,
  870. * except it is generated by the Zend Scripting Engine.
  871. * @link http://www.php.net/manual/en/errorfunc.constants.php
  872. */
  873. define ('E_COMPILE_ERROR', 64);
  874. /**
  875. * Compile-time warnings (non-fatal errors). This is like an
  876. * E_WARNING, except it is generated by the Zend
  877. * Scripting Engine.
  878. * @link http://www.php.net/manual/en/errorfunc.constants.php
  879. */
  880. define ('E_COMPILE_WARNING', 128);
  881. /**
  882. * User-generated error message. This is like an
  883. * E_ERROR, except it is generated in PHP code by
  884. * using the PHP function trigger_error.
  885. * @link http://www.php.net/manual/en/errorfunc.constants.php
  886. */
  887. define ('E_USER_ERROR', 256);
  888. /**
  889. * User-generated warning message. This is like an
  890. * E_WARNING, except it is generated in PHP code by
  891. * using the PHP function trigger_error.
  892. * @link http://www.php.net/manual/en/errorfunc.constants.php
  893. */
  894. define ('E_USER_WARNING', 512);
  895. /**
  896. * User-generated notice message. This is like an
  897. * E_NOTICE, except it is generated in PHP code by
  898. * using the PHP function trigger_error.
  899. * @link http://www.php.net/manual/en/errorfunc.constants.php
  900. */
  901. define ('E_USER_NOTICE', 1024);
  902. /**
  903. * User-generated warning message. This is like an
  904. * E_DEPRECATED, except it is generated in PHP code by
  905. * using the PHP function trigger_error.
  906. * @link http://www.php.net/manual/en/errorfunc.constants.php
  907. */
  908. define ('E_USER_DEPRECATED', 16384);
  909. /**
  910. * All errors and warnings, as supported, except of level
  911. * E_STRICT.
  912. * @link http://www.php.net/manual/en/errorfunc.constants.php
  913. */
  914. define ('E_ALL', 30719);
  915. define ('TRUE', true);
  916. define ('FALSE', false);
  917. define ('NULL', null);
  918. define ('ZEND_THREAD_SAFE', false);
  919. define ('ZEND_DEBUG_BUILD', false);
  920. define ('PHP_VERSION', "5.3.2");
  921. define ('PHP_MAJOR_VERSION', 5);
  922. define ('PHP_MINOR_VERSION', 3);
  923. define ('PHP_RELEASE_VERSION', 2);
  924. define ('PHP_EXTRA_VERSION', "");
  925. define ('PHP_VERSION_ID', 50302);
  926. define ('PHP_ZTS', 0);
  927. define ('PHP_DEBUG', 0);
  928. define ('PHP_OS', "Linux");
  929. define ('PHP_SAPI', "cli");
  930. define ('DEFAULT_INCLUDE_PATH', ".:/usr/local/zend/share/pear");
  931. define ('PEAR_INSTALL_DIR', "/usr/local/zend/share/pear");
  932. define ('PEAR_EXTENSION_DIR', "/usr/local/zend/lib/php/20090626");
  933. define ('PHP_EXTENSION_DIR', "/usr/local/zend/lib/php/20090626");
  934. define ('PHP_PREFIX', "/usr/local/zend");
  935. define ('PHP_BINDIR', "/usr/local/zend/bin");
  936. define ('PHP_LIBDIR', "/usr/local/zend/lib/php");
  937. define ('PHP_DATADIR', "${prefix}/share");
  938. define ('PHP_SYSCONFDIR', "/usr/local/zend/etc");
  939. define ('PHP_LOCALSTATEDIR', "/usr/local/zend/var");
  940. define ('PHP_CONFIG_FILE_PATH', "/usr/local/zend/etc");
  941. define ('PHP_CONFIG_FILE_SCAN_DIR', "");
  942. define ('PHP_SHLIB_SUFFIX', "so");
  943. define ('PHP_EOL', "\n");
  944. define ('PHP_MAXPATHLEN', 4096);
  945. define ('PHP_INT_MAX', 2147483647);
  946. define ('PHP_INT_SIZE', 4);
  947. define ('PHP_OUTPUT_HANDLER_START', 1);
  948. define ('PHP_OUTPUT_HANDLER_CONT', 2);
  949. define ('PHP_OUTPUT_HANDLER_END', 4);
  950. define ('UPLOAD_ERR_OK', 0);
  951. define ('UPLOAD_ERR_INI_SIZE', 1);
  952. define ('UPLOAD_ERR_FORM_SIZE', 2);
  953. define ('UPLOAD_ERR_PARTIAL', 3);
  954. define ('UPLOAD_ERR_NO_FILE', 4);
  955. define ('UPLOAD_ERR_NO_TMP_DIR', 6);
  956. define ('UPLOAD_ERR_CANT_WRITE', 7);
  957. define ('UPLOAD_ERR_EXTENSION', 8);
  958. define ('DEBUGGER_VERSION', 5.3);
  959. define ('STDIN', "Resource id #1");
  960. define ('STDOUT', "Resource id #2");
  961. define ('STDERR', "Resource id #3");
  962. // End of Core v.5.3.2
  963. ?>