PageRenderTime 32ms CodeModel.GetById 12ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 0ms

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

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