PageRenderTime 30ms CodeModel.GetById 11ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/ide/eclipse/jaggery/org.eclipse.php.core/Resources/language/php5/basic.php

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