PageRenderTime 53ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/phpstubs/phpruntime/Core.php

https://github.com/jkonieczny/netbeans-test
PHP | 1534 lines | 225 code | 146 blank | 1163 comment | 0 complexity | 6485dc3011771fd9e7516ab48c3b1167 MD5 | raw file
  1. <?php
  2. // Start of Core v.5.3.2-0.dotdeb.1
  3. class stdClass {
  4. }
  5. /**
  6. * Interface to detect if a class is traversable using &foreach;.
  7. * @link http://php.net/manual/en/class.traversable.php
  8. */
  9. interface Traversable {
  10. }
  11. /**
  12. * Interface to create an external Iterator.
  13. * @link http://php.net/manual/en/class.iteratoraggregate.php
  14. */
  15. interface IteratorAggregate extends Traversable {
  16. /**
  17. * (PHP 5 &gt;= 5.1.0)<br/>
  18. * Retrieve an external iterator
  19. * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
  20. * @return Traversable An instance of an object implementing Iterator or
  21. * Traversable
  22. */
  23. abstract public function getIterator () {}
  24. }
  25. /**
  26. * Interface for external iterators or objects that can be iterated
  27. * themselves internally.
  28. * @link http://php.net/manual/en/class.iterator.php
  29. */
  30. interface Iterator extends Traversable {
  31. /**
  32. * (PHP 5 &gt;= 5.1.0)<br/>
  33. * Return the current element
  34. * @link http://php.net/manual/en/iterator.current.php
  35. * @return mixed Can return any type.
  36. */
  37. abstract public function current () {}
  38. /**
  39. * (PHP 5 &gt;= 5.1.0)<br/>
  40. * Move forward to next element
  41. * @link http://php.net/manual/en/iterator.next.php
  42. * @return void Any returned value is ignored.
  43. */
  44. abstract public function next () {}
  45. /**
  46. * (PHP 5 &gt;= 5.1.0)<br/>
  47. * Return the key of the current element
  48. * @link http://php.net/manual/en/iterator.key.php
  49. * @return scalar scalar on success, integer
  50. * 0 on failure.
  51. */
  52. abstract public function key () {}
  53. /**
  54. * (PHP 5 &gt;= 5.1.0)<br/>
  55. * Checks if current position is valid
  56. * @link http://php.net/manual/en/iterator.valid.php
  57. * @return boolean The return value will be casted to boolean and then evaluated.
  58. * Returns true on success or false on failure.
  59. */
  60. abstract public function valid () {}
  61. /**
  62. * (PHP 5 &gt;= 5.1.0)<br/>
  63. * Rewind the Iterator to the first element
  64. * @link http://php.net/manual/en/iterator.rewind.php
  65. * @return void Any returned value is ignored.
  66. */
  67. abstract public function rewind () {}
  68. }
  69. /**
  70. * Interface to provide accessing objects as arrays.
  71. * @link http://php.net/manual/en/class.arrayaccess.php
  72. */
  73. interface ArrayAccess {
  74. /**
  75. * (PHP 5 &gt;= 5.1.0)<br/>
  76. * Whether a offset exists
  77. * @link http://php.net/manual/en/arrayaccess.offsetexists.php
  78. * @param mixed $offset <p>
  79. * An offset to check for.
  80. * </p>
  81. * @return boolean Returns true on success or false on failure.
  82. * </p>
  83. * <p>
  84. * The return value will be casted to boolean if non-boolean was returned.
  85. */
  86. abstract public function offsetExists ($offset) {}
  87. /**
  88. * (PHP 5 &gt;= 5.1.0)<br/>
  89. * Offset to retrieve
  90. * @link http://php.net/manual/en/arrayaccess.offsetget.php
  91. * @param mixed $offset <p>
  92. * The offset to retrieve.
  93. * </p>
  94. * @return mixed Can return all value types.
  95. */
  96. abstract public function offsetGet ($offset) {}
  97. /**
  98. * (PHP 5 &gt;= 5.1.0)<br/>
  99. * Offset to set
  100. * @link http://php.net/manual/en/arrayaccess.offsetset.php
  101. * @param mixed $offset <p>
  102. * The offset to assign the value to.
  103. * </p>
  104. * @param mixed $value <p>
  105. * The value to set.
  106. * </p>
  107. * @return void
  108. */
  109. abstract public function offsetSet ($offset, $value) {}
  110. /**
  111. * (PHP 5 &gt;= 5.1.0)<br/>
  112. * Offset to unset
  113. * @link http://php.net/manual/en/arrayaccess.offsetunset.php
  114. * @param mixed $offset <p>
  115. * The offset to unset.
  116. * </p>
  117. * @return void
  118. */
  119. abstract public function offsetUnset ($offset) {}
  120. }
  121. /**
  122. * Interface for customized serializing.
  123. * @link http://php.net/manual/en/class.serializable.php
  124. */
  125. interface Serializable {
  126. /**
  127. * (PHP 5 &gt;= 5.1.0)<br/>
  128. * String representation of object
  129. * @link http://php.net/manual/en/serializable.serialize.php
  130. * @return string the string representation of the object or &null;
  131. */
  132. abstract public function serialize () {}
  133. /**
  134. * (PHP 5 &gt;= 5.1.0)<br/>
  135. * Constructs the object
  136. * @link http://php.net/manual/en/serializable.unserialize.php
  137. * @param string $serialized <p>
  138. * The string representation of the object.
  139. * </p>
  140. * @return mixed the original value unserialized.
  141. */
  142. abstract public function unserialize ($serialized) {}
  143. }
  144. /**
  145. * Exception is the base class for
  146. * all Exceptions.
  147. * @link http://php.net/manual/en/class.exception.php
  148. */
  149. class Exception {
  150. protected $message;
  151. private $string;
  152. protected $code;
  153. protected $file;
  154. protected $line;
  155. private $trace;
  156. private $previous;
  157. /**
  158. * (PHP 5 &gt;= 5.1.0)<br/>
  159. * Clone the exception
  160. * @link http://php.net/manual/en/exception.clone.php
  161. * @return void
  162. */
  163. final private function __clone () {}
  164. /**
  165. * (PHP 5 &gt;= 5.1.0)<br/>
  166. * Construct the exception
  167. * @link http://php.net/manual/en/exception.construct.php
  168. * @param $message [optional]
  169. * @param $code [optional]
  170. * @param $previous [optional]
  171. */
  172. public function __construct ($message, $code, $previous) {}
  173. /**
  174. * (PHP 5 &gt;= 5.1.0)<br/>
  175. * Gets the Exception message
  176. * @link http://php.net/manual/en/exception.getmessage.php
  177. * @return string the Exception message as a string.
  178. */
  179. final public function getMessage () {}
  180. /**
  181. * (PHP 5 &gt;= 5.1.0)<br/>
  182. * Gets the Exception code
  183. * @link http://php.net/manual/en/exception.getcode.php
  184. * @return int the Exception code as a integer.
  185. */
  186. final public function getCode () {}
  187. /**
  188. * (PHP 5 &gt;= 5.1.0)<br/>
  189. * Gets the file in which the exception occurred
  190. * @link http://php.net/manual/en/exception.getfile.php
  191. * @return string the filename in which the exception was thrown.
  192. */
  193. final public function getFile () {}
  194. /**
  195. * (PHP 5 &gt;= 5.1.0)<br/>
  196. * Gets the line in which the exception occurred
  197. * @link http://php.net/manual/en/exception.getline.php
  198. * @return int the line number where the exception was thrown.
  199. */
  200. final public function getLine () {}
  201. /**
  202. * (PHP 5 &gt;= 5.1.0)<br/>
  203. * Gets the stack trace
  204. * @link http://php.net/manual/en/exception.gettrace.php
  205. * @return array the Exception stack trace as an array.
  206. */
  207. final public function getTrace () {}
  208. /**
  209. * (PHP 5 &gt;= 5.3.0)<br/>
  210. * Returns previous Exception
  211. * @link http://php.net/manual/en/exception.getprevious.php
  212. * @return Exception the previous Exception if available
  213. * or &null; otherwise.
  214. */
  215. final public function getPrevious () {}
  216. /**
  217. * (PHP 5 &gt;= 5.1.0)<br/>
  218. * Gets the stack trace as a string
  219. * @link http://php.net/manual/en/exception.gettraceasstring.php
  220. * @return string the Exception stack trace as a string.
  221. */
  222. final public function getTraceAsString () {}
  223. /**
  224. * (PHP 5 &gt;= 5.1.0)<br/>
  225. * String representation of the exception
  226. * @link http://php.net/manual/en/exception.tostring.php
  227. * @return string the string representation of the exception.
  228. */
  229. public function __toString () {}
  230. }
  231. /**
  232. * An Error Exception.
  233. * @link http://php.net/manual/en/class.errorexception.php
  234. */
  235. class ErrorException extends Exception {
  236. protected $message;
  237. protected $code;
  238. protected $file;
  239. protected $line;
  240. protected $severity;
  241. /**
  242. * (PHP 5 &gt;= 5.1.0)<br/>
  243. * Construct the exception
  244. * @link http://php.net/manual/en/errorexception.construct.php
  245. * @param $message [optional]
  246. * @param $code [optional]
  247. * @param $severity [optional]
  248. * @param $filename [optional]
  249. * @param $lineno [optional]
  250. * @param $previous [optional]
  251. */
  252. public function __construct ($message, $code, $severity, $filename, $lineno, $previous) {}
  253. /**
  254. * (PHP 5 &gt;= 5.1.0)<br/>
  255. * Gets the exception severity
  256. * @link http://php.net/manual/en/errorexception.getseverity.php
  257. * @return int the severity level of the exception.
  258. */
  259. final public function getSeverity () {}
  260. /**
  261. * (PHP 5 &gt;= 5.1.0)<br/>
  262. * Clone the exception
  263. * @link http://php.net/manual/en/exception.clone.php
  264. * @return void
  265. */
  266. final private function __clone () {}
  267. /**
  268. * (PHP 5 &gt;= 5.1.0)<br/>
  269. * Gets the Exception message
  270. * @link http://php.net/manual/en/exception.getmessage.php
  271. * @return string the Exception message as a string.
  272. */
  273. final public function getMessage () {}
  274. /**
  275. * (PHP 5 &gt;= 5.1.0)<br/>
  276. * Gets the Exception code
  277. * @link http://php.net/manual/en/exception.getcode.php
  278. * @return int the Exception code as a integer.
  279. */
  280. final public function getCode () {}
  281. /**
  282. * (PHP 5 &gt;= 5.1.0)<br/>
  283. * Gets the file in which the exception occurred
  284. * @link http://php.net/manual/en/exception.getfile.php
  285. * @return string the filename in which the exception was thrown.
  286. */
  287. final public function getFile () {}
  288. /**
  289. * (PHP 5 &gt;= 5.1.0)<br/>
  290. * Gets the line in which the exception occurred
  291. * @link http://php.net/manual/en/exception.getline.php
  292. * @return int the line number where the exception was thrown.
  293. */
  294. final public function getLine () {}
  295. /**
  296. * (PHP 5 &gt;= 5.1.0)<br/>
  297. * Gets the stack trace
  298. * @link http://php.net/manual/en/exception.gettrace.php
  299. * @return array the Exception stack trace as an array.
  300. */
  301. final public function getTrace () {}
  302. /**
  303. * (PHP 5 &gt;= 5.3.0)<br/>
  304. * Returns previous Exception
  305. * @link http://php.net/manual/en/exception.getprevious.php
  306. * @return Exception the previous Exception if available
  307. * or &null; otherwise.
  308. */
  309. final public function getPrevious () {}
  310. /**
  311. * (PHP 5 &gt;= 5.1.0)<br/>
  312. * Gets the stack trace as a string
  313. * @link http://php.net/manual/en/exception.gettraceasstring.php
  314. * @return string the Exception stack trace as a string.
  315. */
  316. final public function getTraceAsString () {}
  317. /**
  318. * (PHP 5 &gt;= 5.1.0)<br/>
  319. * String representation of the exception
  320. * @link http://php.net/manual/en/exception.tostring.php
  321. * @return string the string representation of the exception.
  322. */
  323. public function __toString () {}
  324. }
  325. final class Closure {
  326. private function __construct () {}
  327. }
  328. /**
  329. * (PHP 4, PHP 5)<br/>
  330. * Gets the version of the current Zend engine
  331. * @link http://php.net/manual/en/function.zend-version.php
  332. * @return string the Zend Engine version number, as a string.
  333. */
  334. function zend_version () {}
  335. /**
  336. * (PHP 4, PHP 5)<br/>
  337. * Returns the number of arguments passed to the function
  338. * @link http://php.net/manual/en/function.func-num-args.php
  339. * @return int the number of arguments passed into the current user-defined
  340. * function.
  341. */
  342. function func_num_args () {}
  343. /**
  344. * (PHP 4, PHP 5)<br/>
  345. * Return an item from the argument list
  346. * @link http://php.net/manual/en/function.func-get-arg.php
  347. * @param int $arg_num <p>
  348. * The argument offset. Function arguments are counted starting from
  349. * zero.
  350. * </p>
  351. * @return mixed the specified argument, or false on error.
  352. */
  353. function func_get_arg ($arg_num) {}
  354. /**
  355. * (PHP 4, PHP 5)<br/>
  356. * Returns an array comprising a function's argument list
  357. * @link http://php.net/manual/en/function.func-get-args.php
  358. * @return array an array in which each element is a copy of the corresponding
  359. * member of the current user-defined function's argument list.
  360. */
  361. function func_get_args () {}
  362. /**
  363. * (PHP 4, PHP 5)<br/>
  364. * Get string length
  365. * @link http://php.net/manual/en/function.strlen.php
  366. * @param string $string <p>
  367. * The string being measured for length.
  368. * </p>
  369. * @return int The length of the string on success,
  370. * and 0 if the string is empty.
  371. */
  372. function strlen ($string) {}
  373. /**
  374. * (PHP 4, PHP 5)<br/>
  375. * Binary safe string comparison
  376. * @link http://php.net/manual/en/function.strcmp.php
  377. * @param string $str1 <p>
  378. * The first string.
  379. * </p>
  380. * @param string $str2 <p>
  381. * The second string.
  382. * </p>
  383. * @return int &lt; 0 if str1 is less than
  384. * str2; &gt; 0 if str1
  385. * is greater than str2, and 0 if they are
  386. * equal.
  387. */
  388. function strcmp ($str1, $str2) {}
  389. /**
  390. * (PHP 4, PHP 5)<br/>
  391. * Binary safe string comparison of the first n characters
  392. * @link http://php.net/manual/en/function.strncmp.php
  393. * @param string $str1 <p>
  394. * The first string.
  395. * </p>
  396. * @param string $str2 <p>
  397. * The second string.
  398. * </p>
  399. * @param int $len <p>
  400. * Number of characters to use in the comparison.
  401. * </p>
  402. * @return int &lt; 0 if str1 is less than
  403. * str2; &gt; 0 if str1
  404. * is greater than str2, and 0 if they are
  405. * equal.
  406. */
  407. function strncmp ($str1, $str2, $len) {}
  408. /**
  409. * (PHP 4, PHP 5)<br/>
  410. * Binary safe case-insensitive string comparison
  411. * @link http://php.net/manual/en/function.strcasecmp.php
  412. * @param string $str1 <p>
  413. * The first string
  414. * </p>
  415. * @param string $str2 <p>
  416. * The second string
  417. * </p>
  418. * @return int &lt; 0 if str1 is less than
  419. * str2; &gt; 0 if str1
  420. * is greater than str2, and 0 if they are
  421. * equal.
  422. */
  423. function strcasecmp ($str1, $str2) {}
  424. /**
  425. * (PHP 4 &gt;= 4.0.2, PHP 5)<br/>
  426. * Binary safe case-insensitive string comparison of the first n characters
  427. * @link http://php.net/manual/en/function.strncasecmp.php
  428. * @param string $str1 <p>
  429. * The first string.
  430. * </p>
  431. * @param string $str2 <p>
  432. * The second string.
  433. * </p>
  434. * @param int $len <p>
  435. * The length of strings to be used in the comparison.
  436. * </p>
  437. * @return int &lt; 0 if str1 is less than
  438. * str2; &gt; 0 if str1 is
  439. * greater than str2, and 0 if they are equal.
  440. */
  441. function strncasecmp ($str1, $str2, $len) {}
  442. /**
  443. * (PHP 4, PHP 5)<br/>
  444. * Return the current key and value pair from an array and advance the array cursor
  445. * @link http://php.net/manual/en/function.each.php
  446. * @param array $array <p>
  447. * The input array.
  448. * </p>
  449. * @return array the current key and value pair from the array
  450. * array. This pair is returned in a four-element
  451. * array, with the keys 0, 1,
  452. * key, and value. Elements
  453. * 0 and key contain the key name of
  454. * the array element, and 1 and value
  455. * contain the data.
  456. * </p>
  457. * <p>
  458. * If the internal pointer for the array points past the end of the
  459. * array contents, each returns
  460. * false.
  461. */
  462. function each (&$arrayarray ) {}
  463. /**
  464. * (PHP 4, PHP 5)<br/>
  465. * Sets which PHP errors are reported
  466. * @link http://php.net/manual/en/function.error-reporting.php
  467. * @param int $level [optional] <p>
  468. * The new error_reporting
  469. * level. It takes on either a bitmask, or named constants. Using named
  470. * constants is strongly encouraged to ensure compatibility for future
  471. * versions. As error levels are added, the range of integers increases,
  472. * so older integer-based error levels will not always behave as expected.
  473. * </p>
  474. * <p>
  475. * The available error level constants and the actual
  476. * meanings of these error levels are described in the
  477. * predefined constants.
  478. * </p>
  479. * @return int the old error_reporting
  480. * level.
  481. */
  482. function error_reporting ($level = null) {}
  483. /**
  484. * (PHP 4, PHP 5)<br/>
  485. * Defines a named constant
  486. * @link http://php.net/manual/en/function.define.php
  487. * @param string $name <p>
  488. * The name of the constant.
  489. * </p>
  490. * @param mixed $value <p>
  491. * The value of the constant; only scalar and null values are allowed.
  492. * Scalar values are integer,
  493. * float, string or boolean values. It is
  494. * possible to define resource constants, however it is not recommended
  495. * and may cause unpredictable behavior.
  496. * </p>
  497. * @param bool $case_insensitive [optional] <p>
  498. * If set to true, the constant will be defined case-insensitive.
  499. * The default behavior is case-sensitive; i.e.
  500. * CONSTANT and Constant represent
  501. * different values.
  502. * </p>
  503. * <p>
  504. * Case-insensitive constants are stored as lower-case.
  505. * </p>
  506. * @return bool Returns true on success or false on failure.
  507. */
  508. function define ($name, $value, $case_insensitive = null) {}
  509. /**
  510. * (PHP 4, PHP 5)<br/>
  511. * Checks whether a given named constant exists
  512. * @link http://php.net/manual/en/function.defined.php
  513. * @param string $name <p>
  514. * The constant name.
  515. * </p>
  516. * @return bool true if the named constant given by name
  517. * has been defined, false otherwise.
  518. */
  519. function defined ($name) {}
  520. /**
  521. * (PHP 4, PHP 5)<br/>
  522. * Returns the name of the class of an object
  523. * @link http://php.net/manual/en/function.get-class.php
  524. * @param object $object [optional] <p>
  525. * The tested object
  526. * </p>
  527. * @return string the name of the class of which object is an
  528. * instance. Returns false if object is not an
  529. * object.
  530. */
  531. function get_class ($object = null) {}
  532. /**
  533. * (PHP 5 &gt;= 5.3.0)<br/>
  534. * the "Late Static Binding" class name
  535. * @link http://php.net/manual/en/function.get-called-class.php
  536. * @return string the class name. Returns false if called from outside a class.
  537. */
  538. function get_called_class () {}
  539. /**
  540. * (PHP 4, PHP 5)<br/>
  541. * Retrieves the parent class name for object or class
  542. * @link http://php.net/manual/en/function.get-parent-class.php
  543. * @param mixed $object [optional] <p>
  544. * The tested object or class name
  545. * </p>
  546. * @return string the name of the parent class of the class of which
  547. * object is an instance or the name.
  548. * </p>
  549. * <p>
  550. * If the object does not have a parent false will be returned.
  551. * </p>
  552. * <p>
  553. * If called without parameter outside object, this function returns false.
  554. */
  555. function get_parent_class ($object = null) {}
  556. /**
  557. * (PHP 4, PHP 5)<br/>
  558. * Checks if the class method exists
  559. * @link http://php.net/manual/en/function.method-exists.php
  560. * @param mixed $object <p>
  561. * An object instance or a class name
  562. * </p>
  563. * @param string $method_name <p>
  564. * The method name
  565. * </p>
  566. * @return bool true if the method given by method_name
  567. * has been defined for the given object, false
  568. * otherwise.
  569. */
  570. function method_exists ($object, $method_name) {}
  571. /**
  572. * (PHP 5 &gt;= 5.1.0)<br/>
  573. * Checks if the object or class has a property
  574. * @link http://php.net/manual/en/function.property-exists.php
  575. * @param mixed $class <p>
  576. * The class name or an object of the class to test for
  577. * </p>
  578. * @param string $property <p>
  579. * The name of the property
  580. * </p>
  581. * @return bool true if the property exists, false if it doesn't exist or
  582. * &null; in case of an error.
  583. */
  584. function property_exists ($class, $property) {}
  585. /**
  586. * (PHP 4, PHP 5)<br/>
  587. * Checks if the class has been defined
  588. * @link http://php.net/manual/en/function.class-exists.php
  589. * @param string $class_name <p>
  590. * The class name. The name is matched in a case-insensitive manner.
  591. * </p>
  592. * @param bool $autoload [optional] <p>
  593. * Whether or not to call &link.autoload; by default.
  594. * </p>
  595. * @return bool true if class_name is a defined class,
  596. * false otherwise.
  597. */
  598. function class_exists ($class_name, $autoload = null) {}
  599. /**
  600. * (PHP 5 &gt;= 5.0.2)<br/>
  601. * Checks if the interface has been defined
  602. * @link http://php.net/manual/en/function.interface-exists.php
  603. * @param string $interface_name <p>
  604. * The interface name
  605. * </p>
  606. * @param bool $autoload [optional] <p>
  607. * Whether to call &link.autoload; or not by default.
  608. * </p>
  609. * @return bool true if the interface given by
  610. * interface_name has been defined, false otherwise.
  611. */
  612. function interface_exists ($interface_name, $autoload = null) {}
  613. /**
  614. * (PHP 4, PHP 5)<br/>
  615. * Return &true; if the given function has been defined
  616. * @link http://php.net/manual/en/function.function-exists.php
  617. * @param string $function_name <p>
  618. * The function name, as a string.
  619. * </p>
  620. * @return bool true if function_name exists and is a
  621. * function, false otherwise.
  622. * </p>
  623. * <p>
  624. * This function will return false for constructs, such as
  625. * include_once and echo.
  626. */
  627. function function_exists ($function_name) {}
  628. /**
  629. * (PHP 5 &gt;= 5.3.0)<br/>
  630. * Creates an alias for a class
  631. * @link http://php.net/manual/en/function.class-alias.php
  632. * @param string $original [optional] <p>
  633. * The original class.
  634. * </p>
  635. * @param string $alias [optional] <p>
  636. * The alias name for the class.
  637. * </p>
  638. * @return boolean Returns true on success or false on failure.
  639. */
  640. function class_alias ($original = null, $alias = null) {}
  641. /**
  642. * (PHP 4, PHP 5)<br/>
  643. * Returns an array with the names of included or required files
  644. * @link http://php.net/manual/en/function.get-included-files.php
  645. * @return array an array of the names of all files.
  646. * </p>
  647. * <p>
  648. * The script originally called is considered an "included file," so it will
  649. * be listed together with the files referenced by
  650. * include and family.
  651. * </p>
  652. * <p>
  653. * Files that are included or required multiple times only show up once in
  654. * the returned array.
  655. */
  656. function get_included_files () {}
  657. /**
  658. * (PHP 4, PHP 5)<br/>
  659. * &Alias; <function>get_included_files</function>
  660. * @link http://php.net/manual/en/function.get-required-files.php
  661. */
  662. function get_required_files () {}
  663. /**
  664. * (PHP 4, PHP 5)<br/>
  665. * Checks if the object has this class as one of its parents
  666. * @link http://php.net/manual/en/function.is-subclass-of.php
  667. * @param mixed $object <p>
  668. * A class name or an object instance
  669. * </p>
  670. * @param string $class_name <p>
  671. * The class name
  672. * </p>
  673. * @return bool This function returns true if the object object,
  674. * belongs to a class which is a subclass of
  675. * class_name, false otherwise.
  676. */
  677. function is_subclass_of ($object, $class_name) {}
  678. /**
  679. * (PHP 4 &gt;= 4.2.0, PHP 5)<br/>
  680. * Checks if the object is of this class or has this class as one of its parents
  681. * @link http://php.net/manual/en/function.is-a.php
  682. * @param object $object <p>
  683. * The tested object
  684. * </p>
  685. * @param string $class_name <p>
  686. * The class name
  687. * </p>
  688. * @return bool true if the object is of this class or has this class as one of
  689. * its parents, false otherwise.
  690. */
  691. function is_a ($object, $class_name) {}
  692. /**
  693. * (PHP 4, PHP 5)<br/>
  694. * Get the default properties of the class
  695. * @link http://php.net/manual/en/function.get-class-vars.php
  696. * @param string $class_name <p>
  697. * The class name
  698. * </p>
  699. * @return array an associative array of default public properties of the class.
  700. * The resulting array elements are in the form of
  701. * varname => value.
  702. */
  703. function get_class_vars ($class_name) {}
  704. /**
  705. * (PHP 4, PHP 5)<br/>
  706. * Gets the properties of the given object
  707. * @link http://php.net/manual/en/function.get-object-vars.php
  708. * @param object $object <p>
  709. * An object instance.
  710. * </p>
  711. * @return array an associative array of defined object accessible non-static properties
  712. * for the specified object in scope. If a property have
  713. * not been assigned a value, it will be returned with a &null; value.
  714. */
  715. function get_object_vars ($object) {}
  716. /**
  717. * (PHP 4, PHP 5)<br/>
  718. * Gets the class methods' names
  719. * @link http://php.net/manual/en/function.get-class-methods.php
  720. * @param mixed $class_name <p>
  721. * The class name or an object instance
  722. * </p>
  723. * @return array an array of method names defined for the class specified by
  724. * class_name. In case of an error, it returns &null;.
  725. */
  726. function get_class_methods ($class_name) {}
  727. /**
  728. * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
  729. * Generates a user-level error/warning/notice message
  730. * @link http://php.net/manual/en/function.trigger-error.php
  731. * @param string $error_msg <p>
  732. * The designated error message for this error. It's limited to 1024
  733. * characters in length. Any additional characters beyond 1024 will be
  734. * truncated.
  735. * </p>
  736. * @param int $error_type [optional] <p>
  737. * The designated error type for this error. It only works with the E_USER
  738. * family of constants, and will default to E_USER_NOTICE.
  739. * </p>
  740. * @return bool This function returns false if wrong error_type is
  741. * specified, true otherwise.
  742. */
  743. function trigger_error ($error_msg, $error_type = null) {}
  744. /**
  745. * (PHP 4, PHP 5)<br/>
  746. * Alias of <function>trigger_error</function>
  747. * @link http://php.net/manual/en/function.user-error.php
  748. * @param $messsage
  749. * @param $error_type [optional]
  750. */
  751. function user_error ($messsage, $error_type) {}
  752. /**
  753. * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
  754. * Sets a user-defined error handler function
  755. * @link http://php.net/manual/en/function.set-error-handler.php
  756. * @param callback $error_handler <p>
  757. * The user function needs to accept two parameters: the error code, and a
  758. * string describing the error. Then there are three optional parameters
  759. * that may be supplied: the filename in which the error occurred, the
  760. * line number in which the error occurred, and the context in which the
  761. * error occurred (an array that points to the active symbol table at the
  762. * point the error occurred). The function can be shown as:
  763. * </p>
  764. * <p>
  765. * handler
  766. * interrno
  767. * stringerrstr
  768. * stringerrfile
  769. * interrline
  770. * arrayerrcontext
  771. * errno
  772. * The first parameter, errno, contains the
  773. * level of the error raised, as an integer.
  774. * @param int $error_types [optional] <p>
  775. * Can be used to mask the triggering of the
  776. * error_handler function just like the error_reporting ini setting
  777. * controls which errors are shown. Without this mask set the
  778. * error_handler will be called for every error
  779. * regardless to the setting of the error_reporting setting.
  780. * </p>
  781. * @return mixed a string containing the previously defined error handler (if any). If
  782. * the built-in error handler is used &null; is returned. &null; is also returned
  783. * in case of an error such as an invalid callback. If the previous error handler
  784. * was a class method, this function will return an indexed array with the class
  785. * and the method name.
  786. */
  787. function set_error_handler ($error_handler, $error_types = null) {}
  788. /**
  789. * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
  790. * Restores the previous error handler function
  791. * @link http://php.net/manual/en/function.restore-error-handler.php
  792. * @return bool This function always returns true.
  793. */
  794. function restore_error_handler () {}
  795. /**
  796. * (PHP 5)<br/>
  797. * Sets a user-defined exception handler function
  798. * @link http://php.net/manual/en/function.set-exception-handler.php
  799. * @param callback $exception_handler <p>
  800. * Name of the function to be called when an uncaught exception occurs.
  801. * This function must be defined before calling
  802. * set_exception_handler. This handler function
  803. * needs to accept one parameter, which will be the exception object that
  804. * was thrown.
  805. * </p>
  806. * @return callback the name of the previously defined exception handler, or &null; on error. If
  807. * no previous handler was defined, &null; is also returned.
  808. */
  809. function set_exception_handler ($exception_handler) {}
  810. /**
  811. * (PHP 5)<br/>
  812. * Restores the previously defined exception handler function
  813. * @link http://php.net/manual/en/function.restore-exception-handler.php
  814. * @return bool This function always returns true.
  815. */
  816. function restore_exception_handler () {}
  817. /**
  818. * (PHP 4, PHP 5)<br/>
  819. * Returns an array with the name of the defined classes
  820. * @link http://php.net/manual/en/function.get-declared-classes.php
  821. * @return array an array of the names of the declared classes in the current
  822. * script.
  823. * </p>
  824. * <p>
  825. * Note that depending on what extensions you have compiled or
  826. * loaded into PHP, additional classes could be present. This means that
  827. * you will not be able to define your own classes using these
  828. * names. There is a list of predefined classes in the Predefined Classes section of
  829. * the appendices.
  830. */
  831. function get_declared_classes () {}
  832. /**
  833. * (PHP 5)<br/>
  834. * Returns an array of all declared interfaces
  835. * @link http://php.net/manual/en/function.get-declared-interfaces.php
  836. * @return array an array of the names of the declared interfaces in the current
  837. * script.
  838. */
  839. function get_declared_interfaces () {}
  840. /**
  841. * (PHP 4 &gt;= 4.0.4, PHP 5)<br/>
  842. * Returns an array of all defined functions
  843. * @link http://php.net/manual/en/function.get-defined-functions.php
  844. * @return array an multidimensional array containing a list of all defined
  845. * functions, both built-in (internal) and user-defined. The internal
  846. * functions will be accessible via $arr["internal"], and
  847. * the user defined ones using $arr["user"] (see example
  848. * below).
  849. */
  850. function get_defined_functions () {}
  851. /**
  852. * (PHP 4 &gt;= 4.0.4, PHP 5)<br/>
  853. * Returns an array of all defined variables
  854. * @link http://php.net/manual/en/function.get-defined-vars.php
  855. * @return array A multidimensional array with all the variables.
  856. */
  857. function get_defined_vars () {}
  858. /**
  859. * (PHP 4 &gt;= 4.0.1, PHP 5)<br/>
  860. * Create an anonymous (lambda-style) function
  861. * @link http://php.net/manual/en/function.create-function.php
  862. * @param string $args <p>
  863. * The function arguments.
  864. * </p>
  865. * @param string $code <p>
  866. * The function code.
  867. * </p>
  868. * @return string a unique function name as a string, or false on error.
  869. */
  870. function create_function ($args, $code) {}
  871. /**
  872. * (PHP 4 &gt;= 4.0.2, PHP 5)<br/>
  873. * Returns the resource type
  874. * @link http://php.net/manual/en/function.get-resource-type.php
  875. * @param resource $handle <p>
  876. * The evaluated resource handle.
  877. * </p>
  878. * @return string If the given handle is a resource, this function
  879. * will return a string representing its type. If the type is not identified
  880. * by this function, the return value will be the string
  881. * Unknown.
  882. * </p>
  883. * <p>
  884. * This function will return false and generate an error if
  885. * handle is not a resource.
  886. */
  887. function get_resource_type ($handle) {}
  888. /**
  889. * (PHP 4, PHP 5)<br/>
  890. * Returns an array with the names of all modules compiled and loaded
  891. * @link http://php.net/manual/en/function.get-loaded-extensions.php
  892. * @param bool $zend_extensions [optional] <p>
  893. * Return zend_extensions or not, defaults to false (do not list
  894. * zend_extensions).
  895. * </p>
  896. * @return array an indexed array of all the modules names.
  897. */
  898. function get_loaded_extensions ($zend_extensions = null) {}
  899. /**
  900. * (PHP 4, PHP 5)<br/>
  901. * Find out whether an extension is loaded
  902. * @link http://php.net/manual/en/function.extension-loaded.php
  903. * @param string $name <p>
  904. * The extension name.
  905. * </p>
  906. * <p>
  907. * You can see the names of various extensions by using
  908. * phpinfo or if you're using the
  909. * CGI or CLI version of
  910. * PHP you can use the -m switch to
  911. * list all available extensions:
  912. * </p>
  913. * @return bool true if the extension identified by name
  914. * is loaded, false otherwise.
  915. */
  916. function extension_loaded ($name) {}
  917. /**
  918. * (PHP 4, PHP 5)<br/>
  919. * Returns an array with the names of the functions of a module
  920. * @link http://php.net/manual/en/function.get-extension-funcs.php
  921. * @param string $module_name <p>
  922. * The module name.
  923. * </p>
  924. * <p>
  925. * This parameter must be in lowercase.
  926. * </p>
  927. * @return array an array with all the functions, or false if
  928. * module_name is not a valid extension.
  929. */
  930. function get_extension_funcs ($module_name) {}
  931. /**
  932. * (PHP 4 &gt;= 4.1.0, PHP 5)<br/>
  933. * Returns an associative array with the names of all the constants and their values
  934. * @link http://php.net/manual/en/function.get-defined-constants.php
  935. * @param bool $categorize [optional] <p>
  936. * Causing this function to return a multi-dimensional
  937. * array with categories in the keys of the first dimension and constants
  938. * and their values in the second dimension.
  939. * ]]>
  940. * &example.outputs.similar;
  941. * Array
  942. * (
  943. * [E_ERROR] => 1
  944. * [E_WARNING] => 2
  945. * [E_PARSE] => 4
  946. * [E_NOTICE] => 8
  947. * [E_CORE_ERROR] => 16
  948. * [E_CORE_WARNING] => 32
  949. * [E_COMPILE_ERROR] => 64
  950. * [E_COMPILE_WARNING] => 128
  951. * [E_USER_ERROR] => 256
  952. * [E_USER_WARNING] => 512
  953. * [E_USER_NOTICE] => 1024
  954. * [E_ALL] => 2047
  955. * [TRUE] => 1
  956. * )
  957. * [pcre] => Array
  958. * (
  959. * [PREG_PATTERN_ORDER] => 1
  960. * [PREG_SET_ORDER] => 2
  961. * [PREG_OFFSET_CAPTURE] => 256
  962. * [PREG_SPLIT_NO_EMPTY] => 1
  963. * [PREG_SPLIT_DELIM_CAPTURE] => 2
  964. * [PREG_SPLIT_OFFSET_CAPTURE] => 4
  965. * [PREG_GREP_INVERT] => 1
  966. * )
  967. * [user] => Array
  968. * (
  969. * [MY_CONSTANT] => 1
  970. * )
  971. * )
  972. * ]]>
  973. * </p>
  974. * @return array
  975. */
  976. function get_defined_constants ($categorize = null) {}
  977. /**
  978. * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
  979. * Generates a backtrace
  980. * @link http://php.net/manual/en/function.debug-backtrace.php
  981. * @param bool $provide_object [optional] <p>
  982. * Whether or not to populate the "object" index.
  983. * </p>
  984. * @return array an associative array. The possible returned elements
  985. * are as follows:
  986. * </p>
  987. * <p>
  988. * <table>
  989. * Possible returned elements from debug_backtrace
  990. * <tr valign="top">
  991. * <td>&Name;</td>
  992. * <td>&Type;</td>
  993. * <td>&Description;</td>
  994. * </tr>
  995. * <tr valign="top">
  996. * <td>function</td>
  997. * <td>string</td>
  998. * <td>
  999. * The current function name. See also
  1000. * __FUNCTION__.
  1001. * </td>
  1002. * </tr>
  1003. * <tr valign="top">
  1004. * <td>line</td>
  1005. * <td>integer</td>
  1006. * <td>
  1007. * The current line number. See also
  1008. * __LINE__.
  1009. * </td>
  1010. * </tr>
  1011. * <tr valign="top">
  1012. * <td>file</td>
  1013. * <td>string</td>
  1014. * <td>
  1015. * The current file name. See also
  1016. * __FILE__.
  1017. * </td>
  1018. * </tr>
  1019. * <tr valign="top">
  1020. * <td>class</td>
  1021. * <td>string</td>
  1022. * <td>
  1023. * The current class name. See also
  1024. * __CLASS__
  1025. * </td>
  1026. * </tr>
  1027. * <tr valign="top">
  1028. * <td>object</td>
  1029. * <td>object</td>
  1030. * <td>
  1031. * The current object.
  1032. * </td>
  1033. * </tr>
  1034. * <tr valign="top">
  1035. * <td>type</td>
  1036. * <td>string</td>
  1037. * <td>
  1038. * The current call type. If a method call, "->" is returned. If a static
  1039. * method call, "::" is returned. If a function call, nothing is returned.
  1040. * </td>
  1041. * </tr>
  1042. * <tr valign="top">
  1043. * <td>args</td>
  1044. * <td>array</td>
  1045. * <td>
  1046. * If inside a function, this lists the functions arguments. If
  1047. * inside an included file, this lists the included file name(s).
  1048. * </td>
  1049. * </tr>
  1050. * </table>
  1051. */
  1052. function debug_backtrace ($provide_object = null) {}
  1053. /**
  1054. * (PHP 5)<br/>
  1055. * Prints a backtrace
  1056. * @link http://php.net/manual/en/function.debug-print-backtrace.php
  1057. * @return void
  1058. */
  1059. function debug_print_backtrace () {}
  1060. /**
  1061. * (PHP 5 &gt;= 5.3.0)<br/>
  1062. * Forces collection of any existing garbage cycles
  1063. * @link http://php.net/manual/en/function.gc-collect-cycles.php
  1064. * @return int number of collected cycles.
  1065. */
  1066. function gc_collect_cycles () {}
  1067. /**
  1068. * (PHP 5 &gt;= 5.3.0)<br/>
  1069. * Returns status of the circular reference collector
  1070. * @link http://php.net/manual/en/function.gc-enabled.php
  1071. * @return bool true if the garbage collector is enabled, false otherwise.
  1072. */
  1073. function gc_enabled () {}
  1074. /**
  1075. * (PHP 5 &gt;= 5.3.0)<br/>
  1076. * Activates the circular reference collector
  1077. * @link http://php.net/manual/en/function.gc-enable.php
  1078. * @return void
  1079. */
  1080. function gc_enable () {}
  1081. /**
  1082. * (PHP 5 &gt;= 5.3.0)<br/>
  1083. * Deactivates the circular reference collector
  1084. * @link http://php.net/manual/en/function.gc-disable.php
  1085. * @return void
  1086. */
  1087. function gc_disable () {}
  1088. /**
  1089. * Fatal run-time errors. These indicate errors that can not be
  1090. * recovered from, such as a memory allocation problem.
  1091. * Execution of the script is halted.
  1092. * @link http://php.net/manual/en/errorfunc.constants.php
  1093. */
  1094. define ('E_ERROR', 1);
  1095. /**
  1096. * Catchable fatal error. It indicates that a probably dangerous error
  1097. * occured, but did not leave the Engine in an unstable state. If the error
  1098. * is not caught by a user defined handle (see also
  1099. * set_error_handler), the application aborts as it
  1100. * was an E_ERROR.
  1101. * @link http://php.net/manual/en/errorfunc.constants.php
  1102. */
  1103. define ('E_RECOVERABLE_ERROR', 4096);
  1104. /**
  1105. * Run-time warnings (non-fatal errors). Execution of the script is not
  1106. * halted.
  1107. * @link http://php.net/manual/en/errorfunc.constants.php
  1108. */
  1109. define ('E_WARNING', 2);
  1110. /**
  1111. * Compile-time parse errors. Parse errors should only be generated by
  1112. * the parser.
  1113. * @link http://php.net/manual/en/errorfunc.constants.php
  1114. */
  1115. define ('E_PARSE', 4);
  1116. /**
  1117. * Run-time notices. Indicate that the script encountered something that
  1118. * could indicate an error, but could also happen in the normal course of
  1119. * running a script.
  1120. * @link http://php.net/manual/en/errorfunc.constants.php
  1121. */
  1122. define ('E_NOTICE', 8);
  1123. /**
  1124. * Enable to have PHP suggest changes
  1125. * to your code which will ensure the best interoperability
  1126. * and forward compatibility of your code.
  1127. * @link http://php.net/manual/en/errorfunc.constants.php
  1128. */
  1129. define ('E_STRICT', 2048);
  1130. /**
  1131. * Run-time notices. Enable this to receive warnings about code
  1132. * that will not work in future versions.
  1133. * @link http://php.net/manual/en/errorfunc.constants.php
  1134. */
  1135. define ('E_DEPRECATED', 8192);
  1136. /**
  1137. * Fatal errors that occur during PHP's initial startup. This is like an
  1138. * E_ERROR, except it is generated by the core of PHP.
  1139. * @link http://php.net/manual/en/errorfunc.constants.php
  1140. */
  1141. define ('E_CORE_ERROR', 16);
  1142. /**
  1143. * Warnings (non-fatal errors) that occur during PHP's initial startup.
  1144. * This is like an E_WARNING, except it is generated
  1145. * by the core of PHP.
  1146. * @link http://php.net/manual/en/errorfunc.constants.php
  1147. */
  1148. define ('E_CORE_WARNING', 32);
  1149. /**
  1150. * Fatal compile-time errors. This is like an E_ERROR,
  1151. * except it is generated by the Zend Scripting Engine.
  1152. * @link http://php.net/manual/en/errorfunc.constants.php
  1153. */
  1154. define ('E_COMPILE_ERROR', 64);
  1155. /**
  1156. * Compile-time warnings (non-fatal errors). This is like an
  1157. * E_WARNING, except it is generated by the Zend
  1158. * Scripting Engine.
  1159. * @link http://php.net/manual/en/errorfunc.constants.php
  1160. */
  1161. define ('E_COMPILE_WARNING', 128);
  1162. /**
  1163. * User-generated error message. This is like an
  1164. * E_ERROR, except it is generated in PHP code by
  1165. * using the PHP function trigger_error.
  1166. * @link http://php.net/manual/en/errorfunc.constants.php
  1167. */
  1168. define ('E_USER_ERROR', 256);
  1169. /**
  1170. * User-generated warning message. This is like an
  1171. * E_WARNING, except it is generated in PHP code by
  1172. * using the PHP function trigger_error.
  1173. * @link http://php.net/manual/en/errorfunc.constants.php
  1174. */
  1175. define ('E_USER_WARNING', 512);
  1176. /**
  1177. * User-generated notice message. This is like an
  1178. * E_NOTICE, except it is generated in PHP code by
  1179. * using the PHP function trigger_error.
  1180. * @link http://php.net/manual/en/errorfunc.constants.php
  1181. */
  1182. define ('E_USER_NOTICE', 1024);
  1183. /**
  1184. * User-generated warning message. This is like an
  1185. * E_DEPRECATED, except it is generated in PHP code by
  1186. * using the PHP function trigger_error.
  1187. * @link http://php.net/manual/en/errorfunc.constants.php
  1188. */
  1189. define ('E_USER_DEPRECATED', 16384);
  1190. /**
  1191. * All errors and warnings, as supported, except of level
  1192. * E_STRICT in PHP &lt; 6.
  1193. * @link http://php.net/manual/en/errorfunc.constants.php
  1194. */
  1195. define ('E_ALL', 30719);
  1196. define ('S_MEMORY', 1);
  1197. define ('S_VARS', 4);
  1198. define ('S_FILES', 8);
  1199. define ('S_INCLUDE', 16);
  1200. define ('S_SQL', 32);
  1201. define ('S_EXECUTOR', 64);
  1202. define ('S_MAIL', 128);
  1203. define ('S_SESSION', 256);
  1204. define ('S_MISC', 2);
  1205. define ('S_INTERNAL', 536870912);
  1206. define ('S_ALL', 511);
  1207. /**
  1208. * system is unusable
  1209. * @link http://php.net/manual/en/network.constants.php
  1210. */
  1211. define ('LOG_EMERG', 0);
  1212. /**
  1213. * action must be taken immediately
  1214. * @link http://php.net/manual/en/network.constants.php
  1215. */
  1216. define ('LOG_ALERT', 1);
  1217. /**
  1218. * critical conditions
  1219. * @link http://php.net/manual/en/network.constants.php
  1220. */
  1221. define ('LOG_CRIT', 2);
  1222. /**
  1223. * error conditions
  1224. * @link http://php.net/manual/en/network.constants.php
  1225. */
  1226. define ('LOG_ERR', 3);
  1227. /**
  1228. * warning conditions
  1229. * @link http://php.net/manual/en/network.constants.php
  1230. */
  1231. define ('LOG_WARNING', 4);
  1232. /**
  1233. * normal, but significant, condition
  1234. * @link http://php.net/manual/en/network.constants.php
  1235. */
  1236. define ('LOG_NOTICE', 5);
  1237. /**
  1238. * informational message
  1239. * @link http://php.net/manual/en/network.constants.php
  1240. */
  1241. define ('LOG_INFO', 6);
  1242. /**
  1243. * debug-level message
  1244. * @link http://php.net/manual/en/network.constants.php
  1245. */
  1246. define ('LOG_DEBUG', 7);
  1247. /**
  1248. * kernel messages
  1249. * @link http://php.net/manual/en/network.constants.php
  1250. */
  1251. define ('LOG_KERN', 0);
  1252. /**
  1253. * generic user-level messages
  1254. * @link http://php.net/manual/en/network.constants.php
  1255. */
  1256. define ('LOG_USER', 8);
  1257. /**
  1258. * mail subsystem
  1259. * @link http://php.net/manual/en/network.constants.php
  1260. */
  1261. define ('LOG_MAIL', 16);
  1262. /**
  1263. * other system daemons
  1264. * @link http://php.net/manual/en/network.constants.php
  1265. */
  1266. define ('LOG_DAEMON', 24);
  1267. /**
  1268. * security/authorization messages (use LOG_AUTHPRIV instead
  1269. * in systems where that constant is defined)
  1270. * @link http://php.net/manual/en/network.constants.php
  1271. */
  1272. define ('LOG_AUTH', 32);
  1273. /**
  1274. * messages generated internally by syslogd
  1275. * @link http://php.net/manual/en/network.constants.php
  1276. */
  1277. define ('LOG_SYSLOG', 40);
  1278. /**
  1279. * line printer subsystem
  1280. * @link http://php.net/manual/en/network.constants.php
  1281. */
  1282. define ('LOG_LPR', 48);
  1283. /**
  1284. * USENET news subsystem
  1285. * @link http://php.net/manual/en/network.constants.php
  1286. */
  1287. define ('LOG_NEWS', 56);
  1288. /**
  1289. * UUCP subsystem
  1290. * @link http://php.net/manual/en/network.constants.php
  1291. */
  1292. define ('LOG_UUCP', 64);
  1293. /**
  1294. * clock daemon (cron and at)
  1295. * @link http://php.net/manual/en/network.constants.php
  1296. */
  1297. define ('LOG_CRON', 72);
  1298. /**
  1299. * security/authorization messages (private)
  1300. * @link http://php.net/manual/en/network.constants.php
  1301. */
  1302. define ('LOG_AUTHPRIV', 80);
  1303. define ('LOG_LOCAL0', 128);
  1304. define ('LOG_LOCAL1', 136);
  1305. define ('LOG_LOCAL2', 144);
  1306. define ('LOG_LOCAL3', 152);
  1307. define ('LOG_LOCAL4', 160);
  1308. define ('LOG_LOCAL5', 168);
  1309. define ('LOG_LOCAL6', 176);
  1310. define ('LOG_LOCAL7', 184);
  1311. /**
  1312. * include PID with each message
  1313. * @link http://php.net/manual/en/network.constants.php
  1314. */
  1315. define ('LOG_PID', 1);
  1316. /**
  1317. * if there is an error while sending data to the system logger,
  1318. * write directly to the system console
  1319. * @link http://php.net/manual/en/network.constants.php
  1320. */
  1321. define ('LOG_CONS', 2);
  1322. /**
  1323. * (default) delay opening the connection until the first
  1324. * message is logged
  1325. * @link http://php.net/manual/en/network.constants.php
  1326. */
  1327. define ('LOG_ODELAY', 4);
  1328. /**
  1329. * open the connection to the logger immediately
  1330. * @link http://php.net/manual/en/network.constants.php
  1331. */
  1332. define ('LOG_NDELAY', 8);
  1333. define ('LOG_NOWAIT', 16);
  1334. /**
  1335. * print log message also to standard error
  1336. * @link http://php.net/manual/en/network.constants.php
  1337. */
  1338. define ('LOG_PERROR', 32);
  1339. define ('TRUE', true);
  1340. define ('FALSE', false);
  1341. define ('NULL', null);
  1342. define ('ZEND_THREAD_SAFE', false);
  1343. define ('ZEND_DEBUG_BUILD', false);
  1344. define ('PHP_VERSION', "5.3.2-0.dotdeb.1");
  1345. define ('PHP_MAJOR_VERSION', 5);
  1346. define ('PHP_MINOR_VERSION', 3);
  1347. define ('PHP_RELEASE_VERSION', 2);
  1348. define ('PHP_EXTRA_VERSION', "-0.dotdeb.1");
  1349. define ('PHP_VERSION_ID', 50302);
  1350. define ('PHP_ZTS', 0);
  1351. define ('PHP_DEBUG', 0);
  1352. define ('PHP_OS', "Linux");
  1353. define ('PHP_SAPI', "cli");
  1354. define ('DEFAULT_INCLUDE_PATH', ".:/usr/share/php:/usr/share/pear");
  1355. define ('PEAR_INSTALL_DIR', "/usr/share/php");
  1356. define ('PEAR_EXTENSION_DIR', "/usr/lib/php5/20090626");
  1357. define ('PHP_EXTENSION_DIR', "/usr/lib/php5/20090626");
  1358. define ('PHP_PREFIX', "/usr");
  1359. define ('PHP_BINDIR', "/usr/bin");
  1360. define ('PHP_LIBDIR', "/usr/lib/php5");
  1361. define ('PHP_DATADIR', "${prefix}/share");
  1362. define ('PHP_SYSCONFDIR', "/usr/etc");
  1363. define ('PHP_LOCALSTATEDIR', "/usr/var");
  1364. define ('PHP_CONFIG_FILE_PATH', "/etc/php5/cli");
  1365. define ('PHP_CONFIG_FILE_SCAN_DIR', "/etc/php5/cli/conf.d");
  1366. define ('PHP_SHLIB_SUFFIX', "so");
  1367. define ('PHP_EOL', "\n");
  1368. define ('SUHOSIN_PATCH', 1);
  1369. define ('SUHOSIN_PATCH_VERSION', "0.9.9.1");
  1370. define ('PHP_MAXPATHLEN', 4096);
  1371. define ('PHP_INT_MAX', 9223372036854775807);
  1372. define ('PHP_INT_SIZE', 8);
  1373. define ('PHP_OUTPUT_HANDLER_START', 1);
  1374. define ('PHP_OUTPUT_HANDLER_CONT', 2);
  1375. define ('PHP_OUTPUT_HANDLER_END', 4);
  1376. define ('UPLOAD_ERR_OK', 0);
  1377. define ('UPLOAD_ERR_INI_SIZE', 1);
  1378. define ('UPLOAD_ERR_FORM_SIZE', 2);
  1379. define ('UPLOAD_ERR_PARTIAL', 3);
  1380. define ('UPLOAD_ERR_NO_FILE', 4);
  1381. define ('UPLOAD_ERR_NO_TMP_DIR', 6);
  1382. define ('UPLOAD_ERR_CANT_WRITE', 7);
  1383. define ('UPLOAD_ERR_EXTENSION', 8);
  1384. define ('STDIN', "Resource id #1");
  1385. define ('STDOUT', "Resource id #2");
  1386. define ('STDERR', "Resource id #3");
  1387. // End of Core v.5.3.2-0.dotdeb.1
  1388. ?>