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