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

/stubs/Core_d.php

http://github.com/nnmatveev/php-stubs
PHP | 345 lines | 110 code | 42 blank | 193 comment | 0 complexity | 8c041d017bcbf35eaba845cd02d3b181 MD5 | raw file
  1. <?php
  2. // Start of Core v.5.3.2-0.dotdeb.1
  3. /**
  4. * Fatal run-time errors. These indicate errors that can not be
  5. * recovered from, such as a memory allocation problem.
  6. * Execution of the script is halted.
  7. * @link http://php.net/manual/en/errorfunc.constants.php
  8. */
  9. define ('E_ERROR', 1);
  10. /**
  11. * Catchable fatal error. It indicates that a probably dangerous error
  12. * occured, but did not leave the Engine in an unstable state. If the error
  13. * is not caught by a user defined handle (see also
  14. * set_error_handler), the application aborts as it
  15. * was an E_ERROR.
  16. * @link http://php.net/manual/en/errorfunc.constants.php
  17. */
  18. define ('E_RECOVERABLE_ERROR', 4096);
  19. /**
  20. * Run-time warnings (non-fatal errors). Execution of the script is not
  21. * halted.
  22. * @link http://php.net/manual/en/errorfunc.constants.php
  23. */
  24. define ('E_WARNING', 2);
  25. /**
  26. * Compile-time parse errors. Parse errors should only be generated by
  27. * the parser.
  28. * @link http://php.net/manual/en/errorfunc.constants.php
  29. */
  30. define ('E_PARSE', 4);
  31. /**
  32. * Run-time notices. Indicate that the script encountered something that
  33. * could indicate an error, but could also happen in the normal course of
  34. * running a script.
  35. * @link http://php.net/manual/en/errorfunc.constants.php
  36. */
  37. define ('E_NOTICE', 8);
  38. /**
  39. * Enable to have PHP suggest changes
  40. * to your code which will ensure the best interoperability
  41. * and forward compatibility of your code.
  42. * @link http://php.net/manual/en/errorfunc.constants.php
  43. */
  44. define ('E_STRICT', 2048);
  45. /**
  46. * Run-time notices. Enable this to receive warnings about code
  47. * that will not work in future versions.
  48. * @link http://php.net/manual/en/errorfunc.constants.php
  49. */
  50. define ('E_DEPRECATED', 8192);
  51. /**
  52. * Fatal errors that occur during PHP's initial startup. This is like an
  53. * E_ERROR, except it is generated by the core of PHP.
  54. * @link http://php.net/manual/en/errorfunc.constants.php
  55. */
  56. define ('E_CORE_ERROR', 16);
  57. /**
  58. * Warnings (non-fatal errors) that occur during PHP's initial startup.
  59. * This is like an E_WARNING, except it is generated
  60. * by the core of PHP.
  61. * @link http://php.net/manual/en/errorfunc.constants.php
  62. */
  63. define ('E_CORE_WARNING', 32);
  64. /**
  65. * Fatal compile-time errors. This is like an E_ERROR,
  66. * except it is generated by the Zend Scripting Engine.
  67. * @link http://php.net/manual/en/errorfunc.constants.php
  68. */
  69. define ('E_COMPILE_ERROR', 64);
  70. /**
  71. * Compile-time warnings (non-fatal errors). This is like an
  72. * E_WARNING, except it is generated by the Zend
  73. * Scripting Engine.
  74. * @link http://php.net/manual/en/errorfunc.constants.php
  75. */
  76. define ('E_COMPILE_WARNING', 128);
  77. /**
  78. * User-generated error message. This is like an
  79. * E_ERROR, except it is generated in PHP code by
  80. * using the PHP function trigger_error.
  81. * @link http://php.net/manual/en/errorfunc.constants.php
  82. */
  83. define ('E_USER_ERROR', 256);
  84. /**
  85. * User-generated warning message. This is like an
  86. * E_WARNING, except it is generated in PHP code by
  87. * using the PHP function trigger_error.
  88. * @link http://php.net/manual/en/errorfunc.constants.php
  89. */
  90. define ('E_USER_WARNING', 512);
  91. /**
  92. * User-generated notice message. This is like an
  93. * E_NOTICE, except it is generated in PHP code by
  94. * using the PHP function trigger_error.
  95. * @link http://php.net/manual/en/errorfunc.constants.php
  96. */
  97. define ('E_USER_NOTICE', 1024);
  98. /**
  99. * User-generated warning message. This is like an
  100. * E_DEPRECATED, except it is generated in PHP code by
  101. * using the PHP function trigger_error.
  102. * @link http://php.net/manual/en/errorfunc.constants.php
  103. */
  104. define ('E_USER_DEPRECATED', 16384);
  105. /**
  106. * All errors and warnings, as supported, except of level
  107. * E_STRICT in PHP &lt; 6.
  108. * @link http://php.net/manual/en/errorfunc.constants.php
  109. */
  110. define ('E_ALL', 30719);
  111. define ('S_MEMORY', 1);
  112. define ('S_VARS', 4);
  113. define ('S_FILES', 8);
  114. define ('S_INCLUDE', 16);
  115. define ('S_SQL', 32);
  116. define ('S_EXECUTOR', 64);
  117. define ('S_MAIL', 128);
  118. define ('S_SESSION', 256);
  119. define ('S_MISC', 2);
  120. define ('S_INTERNAL', 536870912);
  121. define ('S_ALL', 511);
  122. /**
  123. * system is unusable
  124. * @link http://php.net/manual/en/network.constants.php
  125. */
  126. define ('LOG_EMERG', 0);
  127. /**
  128. * action must be taken immediately
  129. * @link http://php.net/manual/en/network.constants.php
  130. */
  131. define ('LOG_ALERT', 1);
  132. /**
  133. * critical conditions
  134. * @link http://php.net/manual/en/network.constants.php
  135. */
  136. define ('LOG_CRIT', 2);
  137. /**
  138. * error conditions
  139. * @link http://php.net/manual/en/network.constants.php
  140. */
  141. define ('LOG_ERR', 3);
  142. /**
  143. * warning conditions
  144. * @link http://php.net/manual/en/network.constants.php
  145. */
  146. define ('LOG_WARNING', 4);
  147. /**
  148. * normal, but significant, condition
  149. * @link http://php.net/manual/en/network.constants.php
  150. */
  151. define ('LOG_NOTICE', 5);
  152. /**
  153. * informational message
  154. * @link http://php.net/manual/en/network.constants.php
  155. */
  156. define ('LOG_INFO', 6);
  157. /**
  158. * debug-level message
  159. * @link http://php.net/manual/en/network.constants.php
  160. */
  161. define ('LOG_DEBUG', 7);
  162. /**
  163. * kernel messages
  164. * @link http://php.net/manual/en/network.constants.php
  165. */
  166. define ('LOG_KERN', 0);
  167. /**
  168. * generic user-level messages
  169. * @link http://php.net/manual/en/network.constants.php
  170. */
  171. define ('LOG_USER', 8);
  172. /**
  173. * mail subsystem
  174. * @link http://php.net/manual/en/network.constants.php
  175. */
  176. define ('LOG_MAIL', 16);
  177. /**
  178. * other system daemons
  179. * @link http://php.net/manual/en/network.constants.php
  180. */
  181. define ('LOG_DAEMON', 24);
  182. /**
  183. * security/authorization messages (use LOG_AUTHPRIV instead
  184. * in systems where that constant is defined)
  185. * @link http://php.net/manual/en/network.constants.php
  186. */
  187. define ('LOG_AUTH', 32);
  188. /**
  189. * messages generated internally by syslogd
  190. * @link http://php.net/manual/en/network.constants.php
  191. */
  192. define ('LOG_SYSLOG', 40);
  193. /**
  194. * line printer subsystem
  195. * @link http://php.net/manual/en/network.constants.php
  196. */
  197. define ('LOG_LPR', 48);
  198. /**
  199. * USENET news subsystem
  200. * @link http://php.net/manual/en/network.constants.php
  201. */
  202. define ('LOG_NEWS', 56);
  203. /**
  204. * UUCP subsystem
  205. * @link http://php.net/manual/en/network.constants.php
  206. */
  207. define ('LOG_UUCP', 64);
  208. /**
  209. * clock daemon (cron and at)
  210. * @link http://php.net/manual/en/network.constants.php
  211. */
  212. define ('LOG_CRON', 72);
  213. /**
  214. * security/authorization messages (private)
  215. * @link http://php.net/manual/en/network.constants.php
  216. */
  217. define ('LOG_AUTHPRIV', 80);
  218. define ('LOG_LOCAL0', 128);
  219. define ('LOG_LOCAL1', 136);
  220. define ('LOG_LOCAL2', 144);
  221. define ('LOG_LOCAL3', 152);
  222. define ('LOG_LOCAL4', 160);
  223. define ('LOG_LOCAL5', 168);
  224. define ('LOG_LOCAL6', 176);
  225. define ('LOG_LOCAL7', 184);
  226. /**
  227. * include PID with each message
  228. * @link http://php.net/manual/en/network.constants.php
  229. */
  230. define ('LOG_PID', 1);
  231. /**
  232. * if there is an error while sending data to the system logger,
  233. * write directly to the system console
  234. * @link http://php.net/manual/en/network.constants.php
  235. */
  236. define ('LOG_CONS', 2);
  237. /**
  238. * (default) delay opening the connection until the first
  239. * message is logged
  240. * @link http://php.net/manual/en/network.constants.php
  241. */
  242. define ('LOG_ODELAY', 4);
  243. /**
  244. * open the connection to the logger immediately
  245. * @link http://php.net/manual/en/network.constants.php
  246. */
  247. define ('LOG_NDELAY', 8);
  248. define ('LOG_NOWAIT', 16);
  249. /**
  250. * print log message also to standard error
  251. * @link http://php.net/manual/en/network.constants.php
  252. */
  253. define ('LOG_PERROR', 32);
  254. define ('true', true, true);
  255. define ('false', false, true);
  256. define ('null', null, true);
  257. define ('ZEND_THREAD_SAFE', false);
  258. define ('ZEND_DEBUG_BUILD', false);
  259. define ('PHP_VERSION', "5.3.2-0.dotdeb.1");
  260. define ('PHP_MAJOR_VERSION', 5);
  261. define ('PHP_MINOR_VERSION', 3);
  262. define ('PHP_RELEASE_VERSION', 2);
  263. define ('PHP_EXTRA_VERSION', "-0.dotdeb.1");
  264. define ('PHP_VERSION_ID', 50302);
  265. define ('PHP_ZTS', 0);
  266. define ('PHP_DEBUG', 0);
  267. define ('PHP_OS', "Linux");
  268. define ('PHP_SAPI', "cli");
  269. define ('DEFAULT_INCLUDE_PATH', ".:/usr/share/php:/usr/share/pear");
  270. define ('PEAR_INSTALL_DIR', "/usr/share/php");
  271. define ('PEAR_EXTENSION_DIR', "/usr/lib/php5/20090626");
  272. define ('PHP_EXTENSION_DIR', "/usr/lib/php5/20090626");
  273. define ('PHP_PREFIX', "/usr");
  274. define ('PHP_BINDIR', "/usr/bin");
  275. define ('PHP_LIBDIR', "/usr/lib/php5");
  276. define ('PHP_DATADIR', "/usr/share");
  277. define ('PHP_SYSCONFDIR', "/usr/etc");
  278. define ('PHP_LOCALSTATEDIR', "/usr/var");
  279. define ('PHP_CONFIG_FILE_PATH', "/etc/php5/cli");
  280. define ('PHP_CONFIG_FILE_SCAN_DIR', "/etc/php5/cli/conf.d");
  281. define ('PHP_SHLIB_SUFFIX', "so");
  282. define ('PHP_EOL', "\n");
  283. define ('SUHOSIN_PATCH', 1);
  284. define ('SUHOSIN_PATCH_VERSION', "0.9.9.1");
  285. define ('PHP_MAXPATHLEN', 4096);
  286. define ('PHP_INT_MAX', 9223372036854775807);
  287. define ('PHP_INT_SIZE', 8);
  288. define ('PHP_OUTPUT_HANDLER_START', 1);
  289. define ('PHP_OUTPUT_HANDLER_CONT', 2);
  290. define ('PHP_OUTPUT_HANDLER_END', 4);
  291. define ('UPLOAD_ERR_OK', 0);
  292. define ('UPLOAD_ERR_INI_SIZE', 1);
  293. define ('UPLOAD_ERR_FORM_SIZE', 2);
  294. define ('UPLOAD_ERR_PARTIAL', 3);
  295. define ('UPLOAD_ERR_NO_FILE', 4);
  296. define ('UPLOAD_ERR_NO_TMP_DIR', 6);
  297. define ('UPLOAD_ERR_CANT_WRITE', 7);
  298. define ('UPLOAD_ERR_EXTENSION', 8);
  299. define('STDIN', fopen('php://stdin', 'r'));
  300. define('STDOUT', fopen('php://stdout', 'w'));
  301. define('STDERR', fopen('php://stderr', 'w'));
  302. // End of Core v.5.3.2-0.dotdeb.1
  303. ?>