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