Debian Codegraph @

codelitephp/resources/cc/Core.php

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