PageRenderTime 6ms CodeModel.GetById 4ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 0ms

/.metadata/.plugins/org.eclipse.php.core/__language__/a601fd1b/Core.php

https://github.com/sad1990/--
PHP | 1332 lines | 206 code | 147 blank | 979 comment | 0 complexity | f1af49e76e2908817c580d93847376da MD5 | raw file
   1<?php
   2
   3// Start of Core v.5.5.7
   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	 * @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
 163final 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 */
 194function 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 */
 202function 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 */
 213function 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 */
 221function 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 */
 232function 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 &lt; 0 if str1 is less than
 244 * str2; &gt; 0 if str1
 245 * is greater than str2, and 0 if they are
 246 * equal.
 247 */
 248function 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 &lt; 0 if str1 is less than
 263 * str2; &gt; 0 if str1
 264 * is greater than str2, and 0 if they are
 265 * equal.
 266 */
 267function 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 &lt; 0 if str1 is less than
 279 * str2; &gt; 0 if str1
 280 * is greater than str2, and 0 if they are
 281 * equal.
 282 */
 283function 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 &lt; 0 if str1 is less than
 298 * str2; &gt; 0 if str1 is
 299 * greater than str2, and 0 if they are equal.
 300 */
 301function 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 */
 322function 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 */
 343function 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 * <p>
 365 * Case-insensitive constants are stored as lower-case.
 366 * </p>
 367 * @return bool Returns true on success or false on failure.
 368 */
 369function define ($name, $value, $case_insensitive = null) {}
 370
 371/**
 372 * Checks whether a given named constant exists
 373 * @link http://www.php.net/manual/en/function.defined.php
 374 * @param name string <p>
 375 * The constant name.
 376 * </p>
 377 * @return bool true if the named constant given by name
 378 * has been defined, false otherwise.
 379 */
 380function defined ($name) {}
 381
 382/**
 383 * Returns the name of the class of an object
 384 * @link http://www.php.net/manual/en/function.get-class.php
 385 * @param object object[optional] <p>
 386 * The tested object. This parameter may be omitted when inside a class.
 387 * </p>
 388 * @return string the name of the class of which object is an
 389 * instance. Returns false if object is not an 
 390 * object.
 391 * </p>
 392 * <p>
 393 * If object is omitted when inside a class, the
 394 * name of that class is returned.
 395 */
 396function get_class ($object = null) {}
 397
 398/**
 399 * the "Late Static Binding" class name
 400 * @link http://www.php.net/manual/en/function.get-called-class.php
 401 * @return string the class name. Returns false if called from outside a class.
 402 */
 403function get_called_class () {}
 404
 405/**
 406 * Retrieves the parent class name for object or class
 407 * @link http://www.php.net/manual/en/function.get-parent-class.php
 408 * @param object mixed[optional] <p>
 409 * The tested object or class name
 410 * </p>
 411 * @return string the name of the parent class of the class of which
 412 * object is an instance or the name.
 413 * </p>
 414 * <p>
 415 * If the object does not have a parent or the class given does not exist false will be returned.
 416 * </p>
 417 * <p>
 418 * If called without parameter outside object, this function returns false.
 419 */
 420function get_parent_class ($object = null) {}
 421
 422/**
 423 * Checks if the class method exists
 424 * @link http://www.php.net/manual/en/function.method-exists.php
 425 * @param object mixed <p>
 426 * An object instance or a class name
 427 * </p>
 428 * @param method_name string <p>
 429 * The method name
 430 * </p>
 431 * @return bool true if the method given by method_name
 432 * has been defined for the given object, false 
 433 * otherwise.
 434 */
 435function method_exists ($object, $method_name) {}
 436
 437/**
 438 * Checks if the object or class has a property
 439 * @link http://www.php.net/manual/en/function.property-exists.php
 440 * @param class mixed <p>
 441 * The class name or an object of the class to test for
 442 * </p>
 443 * @param property string <p>
 444 * The name of the property
 445 * </p>
 446 * @return bool true if the property exists, false if it doesn't exist or
 447 * &null; in case of an error.
 448 */
 449function property_exists ($class, $property) {}
 450
 451/**
 452 * Checks if the class has been defined
 453 * @link http://www.php.net/manual/en/function.class-exists.php
 454 * @param class_name string <p>
 455 * The class name. The name is matched in a case-insensitive manner.
 456 * </p>
 457 * @param autoload bool[optional] <p>
 458 * Whether or not to call &link.autoload; by default.
 459 * </p>
 460 * @return bool true if class_name is a defined class,
 461 * false otherwise.
 462 */
 463function class_exists ($class_name, $autoload = null) {}
 464
 465/**
 466 * Checks if the interface has been defined
 467 * @link http://www.php.net/manual/en/function.interface-exists.php
 468 * @param interface_name string <p>
 469 * The interface name
 470 * </p>
 471 * @param autoload bool[optional] <p>
 472 * Whether to call &link.autoload; or not by default.
 473 * </p>
 474 * @return bool true if the interface given by 
 475 * interface_name has been defined, false otherwise.
 476 */
 477function interface_exists ($interface_name, $autoload = null) {}
 478
 479/**
 480 * Checks if the trait exists
 481 * @link http://www.php.net/manual/en/function.trait-exists.php
 482 * @param traitname string <p>
 483 * Name of the trait to check
 484 * </p>
 485 * @param autoload bool[optional] <p>
 486 * Whether to autoload if not already loaded.
 487 * </p>
 488 * @return bool true if trait exists, false if not, &null; in case of an error.
 489 */
 490function trait_exists ($traitname, $autoload = null) {}
 491
 492/**
 493 * Return &true; if the given function has been defined
 494 * @link http://www.php.net/manual/en/function.function-exists.php
 495 * @param function_name string <p>
 496 * The function name, as a string.
 497 * </p>
 498 * @return bool true if function_name exists and is a
 499 * function, false otherwise.
 500 * </p>
 501 * <p>
 502 * This function will return false for constructs, such as 
 503 * include_once and echo.
 504 */
 505function function_exists ($function_name) {}
 506
 507/**
 508 * Creates an alias for a class
 509 * @link http://www.php.net/manual/en/function.class-alias.php
 510 * @param original string <p>
 511 * The original class.
 512 * </p>
 513 * @param alias string <p>
 514 * The alias name for the class.
 515 * </p>
 516 * @param autoload bool[optional] <p>
 517 * Whether do autoload if the original class is not found.
 518 * </p>
 519 * @return bool Returns true on success or false on failure.
 520 */
 521function class_alias ($original, $alias, $autoload = null) {}
 522
 523/**
 524 * Returns an array with the names of included or required files
 525 * @link http://www.php.net/manual/en/function.get-included-files.php
 526 * @return array an array of the names of all files.
 527 * </p>
 528 * <p>
 529 * The script originally called is considered an "included file," so it will
 530 * be listed together with the files referenced by 
 531 * include and family.
 532 * </p>
 533 * <p>
 534 * Files that are included or required multiple times only show up once in
 535 * the returned array.
 536 */
 537function get_included_files () {}
 538
 539/**
 540 * &Alias; <function>get_included_files</function>
 541 * @link http://www.php.net/manual/en/function.get-required-files.php
 542 */
 543function get_required_files () {}
 544
 545/**
 546 * Checks if the object has this class as one of its parents
 547 * @link http://www.php.net/manual/en/function.is-subclass-of.php
 548 * @param object mixed <p>
 549 * A class name or an object instance
 550 * </p>
 551 * @param class_name string <p>
 552 * The class name
 553 * </p>
 554 * @param allow_string bool[optional] <p>
 555 * If this parameter set to false, string class name as object
 556 * is not allowed. This also prevents from calling autoloader if the class doesn't exist.
 557 * </p>
 558 * @return bool This function returns true if the object object,
 559 * belongs to a class which is a subclass of 
 560 * class_name, false otherwise.
 561 */
 562function is_subclass_of ($object, $class_name, $allow_string = null) {}
 563
 564/**
 565 * Checks if the object is of this class or has this class as one of its parents
 566 * @link http://www.php.net/manual/en/function.is-a.php
 567 * @param object object <p>
 568 * The tested object
 569 * </p>
 570 * @param class_name string <p>
 571 * The class name
 572 * </p>
 573 * @param allow_string bool[optional] <p>
 574 * If this parameter set to false, string class name as object
 575 * is not allowed. This also prevents from calling autoloader if the class doesn't exist.
 576 * </p>
 577 * @return bool true if the object is of this class or has this class as one of
 578 * its parents, false otherwise.
 579 */
 580function is_a ($object, $class_name, $allow_string = null) {}
 581
 582/**
 583 * Get the default properties of the class
 584 * @link http://www.php.net/manual/en/function.get-class-vars.php
 585 * @param class_name string <p>
 586 * The class name
 587 * </p>
 588 * @return array an associative array of declared properties visible from the
 589 * current scope, with their default value.
 590 * The resulting array elements are in the form of 
 591 * varname => value.
 592 * In case of an error, it returns false.
 593 */
 594function get_class_vars ($class_name) {}
 595
 596/**
 597 * Gets the properties of the given object
 598 * @link http://www.php.net/manual/en/function.get-object-vars.php
 599 * @param object object <p>
 600 * An object instance.
 601 * </p>
 602 * @return array an associative array of defined object accessible non-static properties 
 603 * for the specified object in scope. If a property has
 604 * not been assigned a value, it will be returned with a &null; value.
 605 */
 606function get_object_vars ($object) {}
 607
 608/**
 609 * Gets the class methods' names
 610 * @link http://www.php.net/manual/en/function.get-class-methods.php
 611 * @param class_name mixed <p>
 612 * The class name or an object instance
 613 * </p>
 614 * @return array an array of method names defined for the class specified by
 615 * class_name. In case of an error, it returns &null;.
 616 */
 617function get_class_methods ($class_name) {}
 618
 619/**
 620 * Generates a user-level error/warning/notice message
 621 * @link http://www.php.net/manual/en/function.trigger-error.php
 622 * @param error_msg string <p>
 623 * The designated error message for this error. It's limited to 1024 
 624 * bytes in length. Any additional characters beyond 1024 bytes will be 
 625 * truncated.
 626 * </p>
 627 * @param error_type int[optional] <p>
 628 * The designated error type for this error. It only works with the E_USER
 629 * family of constants, and will default to E_USER_NOTICE.
 630 * </p>
 631 * @return bool This function returns false if wrong error_type is
 632 * specified, true otherwise.
 633 */
 634function trigger_error ($error_msg, $error_type = null) {}
 635
 636/**
 637 * Alias of <function>trigger_error</function>
 638 * @link http://www.php.net/manual/en/function.user-error.php
 639 * @param message
 640 * @param error_type[optional]
 641 */
 642function user_error ($message, $error_type) {}
 643
 644/**
 645 * Sets a user-defined error handler function
 646 * @link http://www.php.net/manual/en/function.set-error-handler.php
 647 * @param error_handler callable <p>
 648 * A callback with the following signature.
 649 * &null; may be passed instead, to reset this handler to its default state.
 650 * </p>
 651 * <p>
 652 * boolhandler
 653 * interrno
 654 * stringerrstr
 655 * stringerrfile
 656 * interrline
 657 * arrayerrcontext
 658 * errno
 659 * The first parameter, errno, contains the
 660 * level of the error raised, as an integer.
 661 * @param error_types int[optional] <p>
 662 * Can be used to mask the triggering of the
 663 * error_handler function just like the error_reporting ini setting 
 664 * controls which errors are shown. Without this mask set the
 665 * error_handler will be called for every error
 666 * regardless to the setting of the error_reporting setting.
 667 * </p>
 668 * @return mixed a string containing the previously defined error handler (if any). If
 669 * the built-in error handler is used &null; is returned. &null; is also returned
 670 * in case of an error such as an invalid callback. If the previous error handler
 671 * was a class method, this function will return an indexed array with the class
 672 * and the method name.
 673 */
 674function set_error_handler ($error_handler, $error_types = null) {}
 675
 676/**
 677 * Restores the previous error handler function
 678 * @link http://www.php.net/manual/en/function.restore-error-handler.php
 679 * @return bool This function always returns true.
 680 */
 681function restore_error_handler () {}
 682
 683/**
 684 * Sets a user-defined exception handler function
 685 * @link http://www.php.net/manual/en/function.set-exception-handler.php
 686 * @param exception_handler callable <p>
 687 * Name of the function to be called when an uncaught exception occurs.
 688 * This function must be defined before calling
 689 * set_exception_handler. This handler function
 690 * needs to accept one parameter, which will be the exception object that
 691 * was thrown. This is the handler signature:
 692 * </p>
 693 * <p>
 694 * voidhandler
 695 * Exceptionex
 696 * </p>
 697 * <p>
 698 * &null; may be passed instead, to reset this handler to its default state.
 699 * </p>
 700 * @return callable the name of the previously defined exception handler, or &null; on error. If
 701 * no previous handler was defined, &null; is also returned.
 702 */
 703function set_exception_handler ($exception_handler) {}
 704
 705/**
 706 * Restores the previously defined exception handler function
 707 * @link http://www.php.net/manual/en/function.restore-exception-handler.php
 708 * @return bool This function always returns true.
 709 */
 710function restore_exception_handler () {}
 711
 712/**
 713 * Returns an array with the name of the defined classes
 714 * @link http://www.php.net/manual/en/function.get-declared-classes.php
 715 * @return array an array of the names of the declared classes in the current
 716 * script.
 717 * </p>
 718 * <p>
 719 * Note that depending on what extensions you have compiled or
 720 * loaded into PHP, additional classes could be present. This means that
 721 * you will not be able to define your own classes using these
 722 * names. There is a list of predefined classes in the Predefined Classes section of
 723 * the appendices.
 724 */
 725function get_declared_classes () {}
 726
 727/**
 728 * Returns an array of all declared traits
 729 * @link http://www.php.net/manual/en/function.get-declared-traits.php
 730 * @return array an array with names of all declared traits in values.
 731 * Returns &null; in case of a failure.
 732 */
 733function get_declared_traits () {}
 734
 735/**
 736 * Returns an array of all declared interfaces
 737 * @link http://www.php.net/manual/en/function.get-declared-interfaces.php
 738 * @return array an array of the names of the declared interfaces in the current
 739 * script.
 740 */
 741function get_declared_interfaces () {}
 742
 743/**
 744 * Returns an array of all defined functions
 745 * @link http://www.php.net/manual/en/function.get-defined-functions.php
 746 * @return array a multidimensional array containing a list of all defined
 747 * functions, both built-in (internal) and user-defined. The internal
 748 * functions will be accessible via $arr["internal"], and
 749 * the user defined ones using $arr["user"] (see example
 750 * below).
 751 */
 752function get_defined_functions () {}
 753
 754/**
 755 * Returns an array of all defined variables
 756 * @link http://www.php.net/manual/en/function.get-defined-vars.php
 757 * @return array A multidimensional array with all the variables.
 758 */
 759function get_defined_vars () {}
 760
 761/**
 762 * Create an anonymous (lambda-style) function
 763 * @link http://www.php.net/manual/en/function.create-function.php
 764 * @param args string <p>
 765 * The function arguments.
 766 * </p>
 767 * @param code string <p>
 768 * The function code.
 769 * </p>
 770 * @return string a unique function name as a string, or false on error.
 771 */
 772function create_function ($args, $code) {}
 773
 774/**
 775 * Returns the resource type
 776 * @link http://www.php.net/manual/en/function.get-resource-type.php
 777 * @param handle resource <p>
 778 * The evaluated resource handle.
 779 * </p>
 780 * @return string If the given handle is a resource, this function
 781 * will return a string representing its type. If the type is not identified
 782 * by this function, the return value will be the string 
 783 * Unknown.
 784 * </p>
 785 * <p>
 786 * This function will return false and generate an error if 
 787 * handle is not a resource.
 788 */
 789function get_resource_type ($handle) {}
 790
 791/**
 792 * Returns an array with the names of all modules compiled and loaded
 793 * @link http://www.php.net/manual/en/function.get-loaded-extensions.php
 794 * @param zend_extensions bool[optional] <p>
 795 * Only return Zend extensions, if not then regular extensions, like 
 796 * mysqli are listed. Defaults to false (return regular extensions).
 797 * </p>
 798 * @return array an indexed array of all the modules names.
 799 */
 800function get_loaded_extensions ($zend_extensions = null) {}
 801
 802/**
 803 * Find out whether an extension is loaded
 804 * @link http://www.php.net/manual/en/function.extension-loaded.php
 805 * @param name string <p>
 806 * The extension name.
 807 * </p>
 808 * <p>
 809 * You can see the names of various extensions by using
 810 * phpinfo or if you're using the
 811 * CGI or CLI version of
 812 * PHP you can use the -m switch to
 813 * list all available extensions:
 814 * </p>
 815 * @return bool true if the extension identified by name
 816 * is loaded, false otherwise.
 817 */
 818function extension_loaded ($name) {}
 819
 820/**
 821 * Returns an array with the names of the functions of a module
 822 * @link http://www.php.net/manual/en/function.get-extension-funcs.php
 823 * @param module_name string <p>
 824 * The module name.
 825 * </p>
 826 * <p>
 827 * This parameter must be in lowercase.
 828 * </p>
 829 * @return array an array with all the functions, or false if 
 830 * module_name is not a valid extension.
 831 */
 832function get_extension_funcs ($module_name) {}
 833
 834/**
 835 * Returns an associative array with the names of all the constants and their values
 836 * @link http://www.php.net/manual/en/function.get-defined-constants.php
 837 * @param categorize bool[optional] <p>
 838 * Causing this function to return a multi-dimensional
 839 * array with categories in the keys of the first dimension and constants
 840 * and their values in the second dimension.
 841 * ]]>
 842 * &example.outputs.similar;
 843 * Array
 844 * (
 845 * [E_ERROR] => 1
 846 * [E_WARNING] => 2
 847 * [E_PARSE] => 4
 848 * [E_NOTICE] => 8
 849 * [E_CORE_ERROR] => 16
 850 * [E_CORE_WARNING] => 32
 851 * [E_COMPILE_ERROR] => 64
 852 * [E_COMPILE_WARNING] => 128
 853 * [E_USER_ERROR] => 256
 854 * [E_USER_WARNING] => 512
 855 * [E_USER_NOTICE] => 1024
 856 * [E_ALL] => 2047
 857 * [TRUE] => 1
 858 * )
 859 * [pcre] => Array
 860 * (
 861 * [PREG_PATTERN_ORDER] => 1
 862 * [PREG_SET_ORDER] => 2
 863 * [PREG_OFFSET_CAPTURE] => 256
 864 * [PREG_SPLIT_NO_EMPTY] => 1
 865 * [PREG_SPLIT_DELIM_CAPTURE] => 2
 866 * [PREG_SPLIT_OFFSET_CAPTURE] => 4
 867 * [PREG_GREP_INVERT] => 1
 868 * )
 869 * [user] => Array
 870 * (
 871 * [MY_CONSTANT] => 1
 872 * )
 873 * )
 874 * ]]>
 875 * </p>
 876 * @return array an array of constant name => constant value array, optionally
 877 * groupped by extension name registering the constant.
 878 */
 879function get_defined_constants ($categorize = null) {}
 880
 881/**
 882 * Generates a backtrace
 883 * @link http://www.php.net/manual/en/function.debug-backtrace.php
 884 * @param options int[optional] <p>
 885 * As of 5.3.6, this parameter is a bitmask for the following options:
 886 * <table>
 887 * debug_backtrace options
 888 * <tr valign="top">
 889 * <td>DEBUG_BACKTRACE_PROVIDE_OBJECT</td>
 890 * <td>
 891 * Whether or not to populate the "object" index.
 892 * </td>
 893 * </tr>
 894 * <tr valign="top">
 895 * <td>DEBUG_BACKTRACE_IGNORE_ARGS</td>
 896 * <td>
 897 * Whether or not to omit the "args" index, and thus all the function/method arguments,
 898 * to save memory.
 899 * </td>
 900 * </tr>
 901 * </table>
 902 * Before 5.3.6, the only values recognized are true or false, which are the same as 
 903 * setting or not setting the DEBUG_BACKTRACE_PROVIDE_OBJECT option respectively.
 904 * </p>
 905 * @param limit int[optional] <p>
 906 * As of 5.4.0, this parameter can be used to limit the number of stack frames returned.
 907 * By default (limit=0) it returns all stack frames.
 908 * </p>
 909 * @return array an array of associative arrays. The possible returned elements
 910 * are as follows:
 911 * </p>
 912 * <p>
 913 * <table>
 914 * Possible returned elements from debug_backtrace
 915 * <tr valign="top">
 916 * <td>&Name;</td>
 917 * <td>&Type;</td>
 918 * <td>&Description;</td>
 919 * </tr>
 920 * <tr valign="top">
 921 * <td>function</td>
 922 * <td>string</td>
 923 * <td>
 924 * The current function name. See also
 925 * __FUNCTION__.
 926 * </td>
 927 * </tr>
 928 * <tr valign="top">
 929 * <td>line</td>
 930 * <td>integer</td>
 931 * <td>
 932 * The current line number. See also
 933 * __LINE__.
 934 * </td>
 935 * </tr>
 936 * <tr valign="top">
 937 * <td>file</td>
 938 * <td>string</td>
 939 * <td>
 940 * The current file name. See also
 941 * __FILE__.
 942 * </td>
 943 * </tr>
 944 * <tr valign="top">
 945 * <td>class</td>
 946 * <td>string</td>
 947 * <td>
 948 * The current class name. See also
 949 * __CLASS__
 950 * </td>
 951 * </tr>
 952 * <tr valign="top">
 953 * <td>object</td>
 954 * <td>object</td>
 955 * <td>
 956 * The current object.
 957 * </td>
 958 * </tr>
 959 * <tr valign="top">
 960 * <td>type</td>
 961 * <td>string</td>
 962 * <td>
 963 * The current call type. If a method call, "->" is returned. If a static
 964 * method call, "::" is returned. If a function call, nothing is returned.
 965 * </td>
 966 * </tr>
 967 * <tr valign="top">
 968 * <td>args</td>
 969 * <td>array</td>
 970 * <td>
 971 * If inside a function, this lists the functions arguments. If
 972 * inside an included file, this lists the included file name(s).
 973 * </td>
 974 * </tr>
 975 * </table>
 976 */
 977function debug_backtrace ($options = null, $limit = null) {}
 978
 979/**
 980 * Prints a backtrace
 981 * @link http://www.php.net/manual/en/function.debug-print-backtrace.php
 982 * @param options int[optional] <p>
 983 * As of 5.3.6, this parameter is a bitmask for the following options:
 984 * <table>
 985 * debug_print_backtrace options
 986 * <tr valign="top">
 987 * <td>DEBUG_BACKTRACE_IGNORE_ARGS</td>
 988 * <td>
 989 * Whether or not to omit the "args" index, and thus all the function/method arguments,
 990 * to save memory.
 991 * </td>
 992 * </tr>
 993 * </table>
 994 * </p>
 995 * @param limit int[optional] <p>
 996 * As of 5.4.0, this parameter can be used to limit the number of stack frames printed.
 997 * By default (limit=0) it prints all stack frames.
 998 * </p>
 999 * @return void 
1000 */
1001function debug_print_backtrace ($options = null, $limit = null) {}
1002
1003/**
1004 * Forces collection of any existing garbage cycles
1005 * @link http://www.php.net/manual/en/function.gc-collect-cycles.php
1006 * @return int number of collected cycles.
1007 */
1008function gc_collect_cycles () {}
1009
1010/**
1011 * Returns status of the circular reference collector
1012 * @link http://www.php.net/manual/en/function.gc-enabled.php
1013 * @return bool true if the garbage collector is enabled, false otherwise.
1014 */
1015function gc_enabled () {}
1016
1017/**
1018 * Activates the circular reference collector
1019 * @link http://www.php.net/manual/en/function.gc-enable.php
1020 * @return void 
1021 */
1022function gc_enable () {}
1023
1024/**
1025 * Deactivates the circular reference collector
1026 * @link http://www.php.net/manual/en/function.gc-disable.php
1027 * @return void 
1028 */
1029function gc_disable () {}
1030
1031
1032/**
1033 * Fatal run-time errors. These indicate errors that can not be
1034 * recovered from, such as a memory allocation problem.
1035 * Execution of the script is halted.
1036 * @link http://www.php.net/manual/en/errorfunc.constants.php
1037 */
1038define ('E_ERROR', 1);
1039
1040/**
1041 * Catchable fatal error. It indicates that a probably dangerous error
1042 * occurred, but did not leave the Engine in an unstable state. If the error
1043 * is not caught by a user defined handle (see also
1044 * set_error_handler), the application aborts as it
1045 * was an E_ERROR.
1046 * @link http://www.php.net/manual/en/errorfunc.constants.php
1047 */
1048define ('E_RECOVERABLE_ERROR', 4096);
1049
1050/**
1051 * Run-time warnings (non-fatal errors). Execution of the script is not
1052 * halted.
1053 * @link http://www.php.net/manual/en/errorfunc.constants.php
1054 */
1055define ('E_WARNING', 2);
1056
1057/**
1058 * Compile-time parse errors. Parse errors should only be generated by
1059 * the parser.
1060 * @link http://www.php.net/manual/en/errorfunc.constants.php
1061 */
1062define ('E_PARSE', 4);
1063
1064/**
1065 * Run-time notices. Indicate that the script encountered something that
1066 * could indicate an error, but could also happen in the normal course of
1067 * running a script.
1068 * @link http://www.php.net/manual/en/errorfunc.constants.php
1069 */
1070define ('E_NOTICE', 8);
1071
1072/**
1073 * Enable to have PHP suggest changes
1074 * to your code which will ensure the best interoperability
1075 * and forward compatibility of your code.
1076 * @link http://www.php.net/manual/en/errorfunc.constants.php
1077 */
1078define ('E_STRICT', 2048);
1079
1080/**
1081 * Run-time notices. Enable this to receive warnings about code
1082 * that will not work in future versions.
1083 * @link http://www.php.net/manual/en/errorfunc.constants.php
1084 */
1085define ('E_DEPRECATED', 8192);
1086
1087/**
1088 * Fatal errors that occur during PHP's initial startup. This is like an
1089 * E_ERROR, except it is generated by the core of PHP.
1090 * @link http://www.php.net/manual/en/errorfunc.constants.php
1091 */
1092define ('E_CORE_ERROR', 16);
1093
1094/**
1095 * Warnings (non-fatal errors) that occur during PHP's initial startup.
1096 * This is like an E_WARNING, except it is generated
1097 * by the core of PHP.
1098 * @link http://www.php.net/manual/en/errorfunc.constants.php
1099 */
1100define ('E_CORE_WARNING', 32);
1101
1102/**
1103 * Fatal compile-time errors. This is like an E_ERROR,
1104 * except it is generated by the Zend Scripting Engine.
1105 * @link http://www.php.net/manual/en/errorfunc.constants.php
1106 */
1107define ('E_COMPILE_ERROR', 64);
1108
1109/**
1110 * Compile-time warnings (non-fatal errors). This is like an
1111 * E_WARNING, except it is generated by the Zend
1112 * Scripting Engine.
1113 * @link http://www.php.net/manual/en/errorfunc.constants.php
1114 */
1115define ('E_COMPILE_WARNING', 128);
1116
1117/**
1118 * User-generated error message. This is like an
1119 * E_ERROR, except it is generated in PHP code by
1120 * using the PHP function trigger_error.
1121 * @link http://www.php.net/manual/en/errorfunc.constants.php
1122 */
1123define ('E_USER_ERROR', 256);
1124
1125/**
1126 * User-generated warning message. This is like an
1127 * E_WARNING, except it is generated in PHP code by
1128 * using the PHP function trigger_error.
1129 * @link http://www.php.net/manual/en/errorfunc.constants.php
1130 */
1131define ('E_USER_WARNING', 512);
1132
1133/**
1134 * User-generated notice message. This is like an
1135 * E_NOTICE, except it is generated in PHP code by
1136 * using the PHP function trigger_error.
1137 * @link http://www.php.net/manual/en/errorfunc.constants.php
1138 */
1139define ('E_USER_NOTICE', 1024);
1140
1141/**
1142 * User-generated warning message. This is like an
1143 * E_DEPRECATED, except it is generated in PHP code by
1144 * using the PHP function trigger_error.
1145 * @link http://www.php.net/manual/en/errorfunc.constants.php
1146 */
1147define ('E_USER_DEPRECATED', 16384);
1148
1149/**
1150 * All errors and warnings, as supported, except of level
1151 * E_STRICT prior to PHP 5.4.0.
1152 * @link http://www.php.net/manual/en/errorfunc.constants.php
1153 */
1154define ('E_ALL', 32767);
1155define ('DEBUG_BACKTRACE_PROVIDE_OBJECT', 1);
1156define ('DEBUG_BACKTRACE_IGNORE_ARGS', 2);
1157define ('TRUE', true);
1158define ('FALSE', false);
1159define ('NULL', null);
1160define ('ZEND_THREAD_SAFE', false);
1161define ('ZEND_DEBUG_BUILD', false);
1162define ('PHP_VERSION', "5.5.5");
1163define ('PHP_MAJOR_VERSION', 5);
1164define ('PHP_MINOR_VERSION', 5);
1165define ('PHP_RELEASE_VERSION', 5);
1166define ('PHP_EXTRA_VERSION', "");
1167define ('PHP_VERSION_ID', 50505);
1168define ('PHP_ZTS', 0);
1169define ('PHP_DEBUG', 0);
1170define ('PHP_OS', "Darwin");
1171define ('PHP_SAPI', "cli");
1172define ('DEFAULT_INCLUDE_PATH', ".:");
1173define ('PEAR_INSTALL_DIR', "");
1174define ('PEAR_EXTENSION_DIR', "/opt/local/lib/php55/extensions/no-debug-non-zts-20121212");
1175define ('PHP_EXTENSION_DIR', "/opt/local/lib/php55/extensions/no-debug-non-zts-20121212");
1176define ('PHP_PREFIX', "/opt/local");
1177define ('PHP_BINDIR', "/opt/local/bin");
1178define ('PHP_MANDIR', "/opt/local/share/man");
1179define ('PHP_LIBDIR', "/opt/local/lib/php55");
1180define ('PHP_DATADIR', "${prefix}/share");
1181define ('PHP_SYSCONFDIR', "/opt/local/etc");
1182define ('PHP_LOCALSTATEDIR', "/opt/local/var");
1183define ('PHP_CONFIG_FILE_PATH', "/opt/local/etc/php55");
1184define ('PHP_CONFIG_FILE_SCAN_DIR', "/opt/local/var/db/php55");
1185define ('PHP_SHLIB_SUFFIX', "so");
1186define ('PHP_EOL', "\n");
1187define ('PHP_MAXPATHLEN', 1024);
1188define ('PHP_INT_MAX', 9223372036854775807);
1189define ('PHP_INT_SIZE', 8);
1190define ('PHP_BINARY', "/opt/local/bin/php55");
1191
1192/**
1193 * <p>
1194 * Indicates that output buffering has begun.
1195 * </p>
1196 * @link http://www.php.net/manual/en/outcontrol.constants.php
1197 */
1198define ('PHP_OUTPUT_HANDLER_START', 1);
1199
1200/**
1201 * <p>
1202 * Indicates that the output buffer is being flushed, and had data to output.
1203 * </p>
1204 * <p>
1205 * Available since PHP 5.4.
1206 * </p>
1207 * @link http://www.php.net/manual/en/outcontrol.constants.php
1208 */
1209define ('PHP_OUTPUT_HANDLER_WRITE', 0);
1210
1211/**
1212 * <p>
1213 * Indicates that the buffer has been flushed.
1214 * </p>
1215 * <p>
1216 * Available since PHP 5.4.
1217 * </p>
1218 * @link http://www.php.net/manual/en/outcontrol.constants.php
1219 */
1220define ('PHP_OUTPUT_HANDLER_FLUSH', 4);
1221
1222/**
1223 * <p>
1224 * Indicates that the output buffer has been cleaned.
1225 * </p>
1226 * <p>
1227 * Available since PHP 5.4.
1228 * </p>
1229 * @link http://www.php.net/manual/en/outcontrol.constants.php
1230 */
1231define ('PHP_OUTPUT_HANDLER_CLEAN', 2);
1232
1233/**
1234 * <p>
1235 * Indicates that this is the final output buffering operation.
1236 * </p>
1237 * <p>
1238 * Available since PHP 5.4.
1239 * </p>
1240 * @link http://www.php.net/manual/en/outcontrol.constants.php
1241 */
1242define ('PHP_OUTPUT_HANDLER_FINAL', 8);
1243
1244/**
1245 * <p>
1246 * Indicates that the buffer has been flushed, but output buffering will
1247 * continue.
1248 * </p>
1249 * <p>
1250 * As of PHP 5.4, this is an alias for
1251 * PHP_OUTPUT_HANDLER_WRITE.
1252 * </p>
1253 * @link http://www.php.net/manual/en/outcontrol.constants.php
1254 */
1255define ('PHP_OUTPUT_HANDLER_CONT', 0);
1256
1257/**
1258 * <p>
1259 * Indicates that output buffering has ended.
1260 * </p>
1261 * <p>
1262 * As of PHP 5.4, this is an alias for
1263 * PHP_OUTPUT_HANDLER_FINAL.
1264 * </p>
1265 * @link http://www.php.net/manual/en/outcontrol.constants.php
1266 */
1267define ('PHP_OUTPUT_HANDLER_END', 8);
1268
1269/**
1270 * <p>
1271 * Controls whether an output buffer created by
1272 * ob_start can be cleaned.
1273 * </p>
1274 * <p>
1275 * Available since PHP 5.4.
1276 * </p>
1277 * @link http://www.php.net/manual/en/outcontrol.constants.php
1278 */
1279define ('PHP_OUTPUT_HANDLER_CLEANABLE', 16);
1280
1281/**
1282 * <p>
1283 * Controls whether an output buffer created by
1284 * ob_start can be flushed.
1285 * </p>
1286 * <p>
1287 * Available since PHP 5.4.
1288 * </p>
1289 * @link http://www.php.net/manual/en/outcontrol.constants.php
1290 */
1291define ('PHP_OUTPUT_HANDLER_FLUSHABLE', 32);
1292
1293/**
1294 * <p>
1295 * Controls whether an output buffer created by
1296 * ob_start can be removed before the end of the script.
1297 * </p>
1298 * <p>
1299 * Available since PHP 5.4.
1300 * </p>
1301 * @link http://www.php.net/manual/en/outcontrol.constants.php
1302 */
1303define ('PHP_OUTPUT_HANDLER_REMOVABLE', 64);
1304
1305/**
1306 * <p>
1307 * The default set of output buffer flags; currently equivalent to
1308 * PHP_OUTPUT_HANDLER_CLEANABLE |
1309 * PHP_OUTPUT_HANDLER_FLUSHABLE |
1310 * PHP_OUTPUT_HANDLER_REMOVABLE.
1311 * </p>
1312 * <p>
1313 * Available since PHP 5.4.
1314 * </p>
1315 * @link http://www.php.net/manual/en/outcontrol.constants.php
1316 */
1317define ('PHP_OUTPUT_HANDLER_STDFLAGS', 112);
1318define ('PHP_OUTPUT_HANDLER_STARTED', 4096);
1319define ('PHP_OUTPUT_HANDLER_DISABLED', 8192);
1320define ('UPLOAD_ERR_OK', 0);
1321define ('UPLOAD_ERR_INI_SIZE', 1);
1322define ('UPLOAD_ERR_FORM_SIZE', 2);
1323define ('UPLOAD_ERR_PARTIAL', 3);
1324define ('UPLOAD_ERR_NO_FILE', 4);
1325define ('UPLOAD_ERR_NO_TMP_DIR', 6);
1326define ('UPLOAD_ERR_CANT_WRITE', 7);
1327define ('UPLOAD_ERR_EXTENSION', 8);
1328define ('STDIN', "Resource id #1");
1329define ('STDOUT', "Resource id #2");
1330define ('STDERR', "Resource id #3");
1331
1332// End of Core v.5.5.5