aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDawid Pakuła2013-11-11 12:21:25 (EST)
committerDawid Pakuła2013-11-14 05:59:26 (EST)
commit9034500b3b47f34efa42be4d8b18871d78493995 (patch)
treea3a7b771af4f1a20e0c74fa1b225c0665add8f79
parent94b33cc94525675aecdea8e1749ea9c60f0fc15c (diff)
downloadorg.eclipse.pdt-9034500b3b47f34efa42be4d8b18871d78493995.zip
org.eclipse.pdt-9034500b3b47f34efa42be4d8b18871d78493995.tar.gz
org.eclipse.pdt-9034500b3b47f34efa42be4d8b18871d78493995.tar.bz2
Bug 416807 - Class name resolution via ::classrefs/changes/74/18274/4
Initial php 5.5 support Deprecations on language model files Code assist support Formatting support Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=416807 Change-Id: I74346e67d4abc1d7e4b05c008680e43b72445a54 Signed-off-by: Dawid Pakuła <zulus@w3des.net>
-rw-r--r--plugins/org.eclipse.php.core/META-INF/MANIFEST.MF36
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/generate.php24
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/Core.php1332
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/PDO.php776
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/Phar.php2204
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/Reflection.php2221
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/SPL.php7324
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/SimpleXML.php487
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/Zend OPcache.php47
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/amf.php29
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/amqp.php1086
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/apc.php284
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/apcu.php105
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/basic.php114
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/bbcode.php285
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/bcmath.php150
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/big_int.php125
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/bz2.php156
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/cairo.php5614
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/calendar.php299
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/ctype.php133
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/curl.php2135
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/date.php1783
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/discount.php131
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/dom.php4744
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/ereg.php215
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/exif.php141
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/fileinfo.php146
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/filter.php484
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/gd.php2386
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/gettext.php137
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/hash.php314
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/iconv.php422
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/imagick.php5793
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/imap.php1604
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/intl.php5090
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/json.php255
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/ldap.php982
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/libevent.php400
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/libxml.php236
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/magickwand.php1297
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mbstring.php1287
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mcrypt.php559
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/memcache.php443
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mhash.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mysql.php853
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mysqli.php2651
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/mysqlnd.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/openssl.php1058
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pcntl.php427
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pcre.php448
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pdo_mysql.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pdo_pgsql.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pdo_sqlite.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/pgsql.php2019
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/phpiredis.php49
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/posix.php725
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/readline.php129
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/redis.php489
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/session.php433
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/soap.php516
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/solr.php3409
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/sqlite3.php483
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/ssh2.php775
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/standard.php11962
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/tidy.php664
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/timezonedb.php4
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/tokenizer.php160
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/twig.php15
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/uuid.php44
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xdebug.php79
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xhprof.php63
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xml.php563
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xmlreader.php286
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xmlwriter.php730
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/xsl.php176
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/yaml.php265
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/zip.php618
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.5/zlib.php405
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/build.xml28
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/highlighting/php55/generateHighlightingScanner.xml32
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/highlighting/php55/highlighting_scanner.jflex1008
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/ast_scanner.flex1157
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/generateAstParser.xml48
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/generateAstScanner.xml32
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/generateCompilerAstParser.xml49
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/php_ast_parser.cup3447
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php55/php_compiler_ast_parser.cup3936
-rw-r--r--plugins/org.eclipse.php.core/plugin.xml19
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/PHPVersion.java5
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/match/ASTMatcher.java27
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/AST.java135
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/ASTNode.java8
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/ASTParser.java36
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/ArrayCreation.java70
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/FinallyClause.java171
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/FunctionInvocation.java2
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Scalar.java67
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/TryStatement.java203
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/YieldExpression.java251
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/rewrite/ASTRewriteAnalyzer.java44
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/rewrite/ASTRewriteFlattener.java20
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/rewrite/SymbolsProvider.java140
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/scanner/php55/ParserConstants.java167
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/scanner/php55/PhpAstLexer.java2630
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/scanner/php55/PhpAstParser.java11691
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/visitor/AbstractVisitor.java18
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/visitor/ApplyAll.java20
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/visitor/HierarchicalVisitor.java10
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/visitor/Visitor.java11
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/CodeAssistUtils.java10
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/contexts/ClassStaticMemberContext.java10
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/FunctionParameterKeywordTypeStrategy.java7
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/MethodKeywordStrategy.java19
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/ASTNodeKinds.java4
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/ArrayCreation.java29
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/DereferenceNode.java6
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/FinallyClause.java63
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/PHPCallExpression.java2
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/Quote.java40
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/Scalar.java28
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/TryStatement.java25
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/nodes/YieldExpression.java84
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/PHPSourceParserFactory.java9
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/php55/CompilerAstLexer.java94
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/php55/CompilerAstParser.java12647
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/php55/CompilerParserConstants.java167
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/php55/PhpSourceParser.java39
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/parser/php55/PhpTokenNames.java150
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/visitor/ASTPrintVisitor.java24
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/visitor/PHPASTVisitor.java33
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/PhpLexerFactory.java8
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/php55/PhpLexer.java2412
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PHPRegionTypes.java6
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacetsConstants.java3
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/language/DefaultLanguageModelProvider.java7
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/language/keywords/KeywordInitializerPHP_5_4.java2
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/language/keywords/KeywordInitializerPHP_5_5.java39
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/language/keywords/PHPKeywords.java35
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/preferences/CorePreferenceConstants.java4
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/search/MethodExitsFinder.java8
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/BindingUtility.java35
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/GeneratorClassType.java76
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/ClassVariableDeclarationEvaluator.java26
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/InstanceCreationEvaluator.java19
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/IteratorTypeGoalEvaluator.java9
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/MethodReturnTypeEvaluator.java32
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/TypeReferenceEvaluator.java32
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/phpdoc/PHPDocMethodReturnTypeEvaluator.java2
-rw-r--r--plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterConstants.java14
-rw-r--r--plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterPreferences.java25
-rw-r--r--plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java130
-rw-r--r--plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/PHPDefaultFormatterPreferences.java4
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/FormatterMessages.java4
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/FormatterMessages.properties5
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/CodeFormatterPreview.java2
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/ControlStatementsTabPage.java16
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/PSR2FormatterPreferences.java2
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/WhiteSpaceOptions.java36
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/WhiteSpaceTabPage.java9
-rw-r--r--plugins/org.eclipse.php.formatter.ui/src/org/eclipse/php/formatter/ui/preferences/ZendFrameworkFormatterPreferences.java2
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/PHPUIMessages.java3
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/PHPUIMessages.properties55
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/ASTProvider.java4
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/highlighter/LineStyleProviderForPhp.java4
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPSyntaxColoringPage.java8
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPVersionConfigurationBlock.java8
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/ui/PHPElementLabels.java14
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/codeassist/CodeAssistTests.java4
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/compiler_ast/parser/CompilerParserTests.java5
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/document/lexer/DocumentLexerTests.java4
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/dom_ast/binding/BindingTests.java21
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/dom_ast/parser/DomParserTests.java7
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/dom_ast/rewrite/ASTRewriteTests.java3
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/dom_ast/rewrite/ASTRewriteTestsPHP55.java116
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/dom_ast/rewrite/NodeDeletionTestsPHP55.java10
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/errors/ErrorReportingTests.java1
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/errors/PHP55ErrorReportingTests.java156
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/formatter/FormatterTests.java3
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/markoccurrence/MarkOccurrenceTests.java5
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/model_structure/ModelStructureTests.java2
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/selection/SelectionEngineTests.java3
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/core/tests/typeinference/TypeInferenceTests.java5
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/internal/core/ast/locator/AllTests.java1
-rw-r--r--tests/org.eclipse.php.core.tests/src/org/eclipse/php/internal/core/ast/locator/PhpElementConciliatorV5_5Test.java12
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/test300530_parent.pdtt32
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/test300530_self.pdtt30
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/test395040_parent.pdtt16
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/test395040_self.pdtt16
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testClassMembers14-nonstrict.pdtt101
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testClassMembers14-strict.pdtt101
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testFunctionReturnType3-nonstrict.pdtt21
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testFunctionReturnType3-strict.pdtt21
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testFunctionReturnType4-nonstrict.pdtt28
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testFunctionReturnType4-strict.pdtt28
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testGeneratorIterator.pdtt18
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testNewClass3.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testNewClass5.pdtt14
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testParameter3.pdtt7
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testParameter4.pdtt7
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testParameter5.pdtt7
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php55/testTraitVisibilityPriToPub1.pdtt21
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php5/testForEachStatement1.pdtt2
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testArrayCreationDereference.pdtt89
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testArrayCreationDereferenceCall.pdtt57
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testForEachStatementWithList.pdtt30
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testForEachStatementWithList1.pdtt31
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testStaticClassConstant.pdtt25
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testStringScalarDereference.pdtt29
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testTryCatchFinallyStatement.pdtt35
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testTryFinallyStatement.pdtt25
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testTryMultiCatchFinallyStatement.pdtt45
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testYieldExpression.pdtt29
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/compiler_parser/php55/testYieldExpression1.pdtt41
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/arrayInitializer1.pdtt43
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/arrayInitializer2.pdtt31
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/classConstant.pdtt49
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/generatorMethod.pdtt44
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/parentSelfCaseinsensitive.pdtt87
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/scalarDereference.pdtt44
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/testTryFinally1.pdtt43
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/document_lexer/php55/testTryFinally2.pdtt67
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testArrayCreationDereference.pdtt110
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testArrayCreationDereferenceCall.pdtt88
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testForEachStatementWithList.pdtt45
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testForEachStatementWithList1.pdtt48
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testStaticClassConstant.pdtt36
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testStringScalarDereference.pdtt30
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testTryCatchFinallyStatement.pdtt48
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testTryFinallyStatement.pdtt33
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testTryMultiCatchFinallyStatement.pdtt63
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testYieldExpression.pdtt44
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/dom_parser/php55/testYieldExpression1.pdtt71
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/errors/php55/unfinishedTryStatement1.pdtt10
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/errors/php55/yieldOnlyInFunction1.pdtt8
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testParentFieldAccess.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testSelfClassInstanceCreation.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testSelfFieldAccess.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testSelfMethodReturnType.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testSelfVarDeclaration.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testYieldForeach.pdtt6
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/typeinference/php55/testYieldReturnType.pdtt6
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/src/org/eclipse/php/formatter/core/tests/FormatterTests.java10
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/workspace/formatter/php55/default_formatter_configuration/arrayInitializer1.pdtt15
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/workspace/formatter/php55/default_formatter_configuration/arrayInitializer3.pdtt19
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/workspace/formatter/php55/default_formatter_configuration/tryStatements.pdtt24
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/workspace/formatter/php55/default_formatter_configuration/yieldStatement.pdtt35
-rw-r--r--tests/org.eclipse.php.formatter.core.tests/workspace/formatter/php55/default_formatter_configuration/yieldStatement1.pdtt35
248 files changed, 128584 insertions, 313 deletions
diff --git a/plugins/org.eclipse.php.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.php.core/META-INF/MANIFEST.MF
index a17d40d..27a86ab 100644
--- a/plugins/org.eclipse.php.core/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.php.core/META-INF/MANIFEST.MF
@@ -146,6 +146,18 @@ Export-Package: org.eclipse.php.core.codeassist,
org.eclipse.php.ui,
org.eclipse.php.ui.performance.tests,
org.eclipse.php.ui.tests",
+ org.eclipse.php.internal.core.ast.scanner.php55,
+ org.eclipse.php.internal.core.ast.util;
+ x-friends:="org.eclipse.php.core.performance.tests,
+ org.eclipse.php.core.tests,
+ org.eclipse.php.debug.core,
+ org.eclipse.php.debug.daemon,
+ org.eclipse.php.debug.ui,
+ org.eclipse.php.server.core,
+ org.eclipse.php.server.ui,
+ org.eclipse.php.ui,
+ org.eclipse.php.ui.performance.tests,
+ org.eclipse.php.ui.tests",
org.eclipse.php.internal.core.ast.visitor;
x-friends:="org.eclipse.php.core.performance.tests,
org.eclipse.php.core.tests,
@@ -301,6 +313,18 @@ Export-Package: org.eclipse.php.core.codeassist,
org.eclipse.php.ui,
org.eclipse.php.ui.performance.tests,
org.eclipse.php.ui.tests",
+ org.eclipse.php.internal.core.compiler.ast.parser.php55,
+ org.eclipse.php.internal.core.compiler.ast.visitor;
+ x-friends:="org.eclipse.php.core.performance.tests,
+ org.eclipse.php.core.tests,
+ org.eclipse.php.debug.core,
+ org.eclipse.php.debug.daemon,
+ org.eclipse.php.debug.ui,
+ org.eclipse.php.server.core,
+ org.eclipse.php.server.ui,
+ org.eclipse.php.ui,
+ org.eclipse.php.ui.performance.tests,
+ org.eclipse.php.ui.tests",
org.eclipse.php.internal.core.corext;
x-friends:="org.eclipse.php.core.performance.tests,
org.eclipse.php.core.tests,
@@ -434,6 +458,18 @@ Export-Package: org.eclipse.php.core.codeassist,
org.eclipse.php.ui,
org.eclipse.php.ui.performance.tests,
org.eclipse.php.ui.tests",
+ org.eclipse.php.internal.core.documentModel.parser.php55,
+ org.eclipse.php.internal.core.documentModel.parser.regions;
+ x-friends:="org.eclipse.php.core.performance.tests,
+ org.eclipse.php.core.tests,
+ org.eclipse.php.debug.core,
+ org.eclipse.php.debug.daemon,
+ org.eclipse.php.debug.ui,
+ org.eclipse.php.server.core,
+ org.eclipse.php.server.ui,
+ org.eclipse.php.ui,
+ org.eclipse.php.ui.performance.tests,
+ org.eclipse.php.ui.tests",
org.eclipse.php.internal.core.documentModel.partitioner;
x-friends:="org.eclipse.php.core.performance.tests,
org.eclipse.php.core.tests,
diff --git a/plugins/org.eclipse.php.core/Resources/language/generate.php b/plugins/org.eclipse.php.core/Resources/language/generate.php
index 45ba6e3..9ddcd92 100644
--- a/plugins/org.eclipse.php.core/Resources/language/generate.php
+++ b/plugins/org.eclipse.php.core/Resources/language/generate.php
@@ -85,7 +85,7 @@ foreach ($intClasses as $intClass) {
print "\n";
$constants = get_defined_constants(true);
-$intConstants = $constants["internal"];
+$intConstants = @$constants["internal"];
// add magic constants:
$intConstants['__FILE__'] = null;
$intConstants['__LINE__'] = null;
@@ -159,7 +159,8 @@ function make_funckey_from_ref ($ref) {
function parse_phpdoc_functions ($phpdocDir) {
$xml_files = array_merge (
glob ("{$phpdocDir}/reference/*/*/*.xml")
- );
+ );
+ $functionsDoc = array();
foreach ($xml_files as $xml_file) {
$xml = file_get_contents ($xml_file);
@@ -246,6 +247,11 @@ function parse_phpdoc_functions ($phpdocDir) {
$functionsDoc[$refname]['returndoc'] = xml_to_phpdoc ($match[2]);
}
}
+
+ if (preg_match ('@&warn\.deprecated.func-(.*?);@s', $xml, $match)) {
+ $deprecatedSince = $match[1];
+ $functionsDoc[$refname]['deprecated'] = 'Since ' . str_replace('-', '.',$deprecatedSince);
+ }
// Create information for function alias
if ($function_alias) {
@@ -262,6 +268,7 @@ function parse_phpdoc_functions ($phpdocDir) {
* @return array Class information gathered from the PHP.net documentation by parsing XML files
*/
function parse_phpdoc_classes ($phpdocDir) {
+ $classesDoc = array();
$xml_files = array_merge (
glob ("{$phpdocDir}/reference/*/reference.xml"),
glob ("{$phpdocDir}/reference/*/classes.xml"),
@@ -290,7 +297,10 @@ function parse_phpdoc_classes ($phpdocDir) {
$fields_xml_file = array_merge (
glob ("{$phpdocDir}/reference/*/" . $refname . ".xml")
);
-
+ if (count($fields_xml_file) == 0) {
+ echo "Documentation for $refname not exists! \n";
+ continue;
+ }
if($fields_xml_file[0] != null) {
$xml_field_data = file_get_contents ($fields_xml_file[0]);
if($xml_field_data != null) {
@@ -358,6 +368,7 @@ function parse_phpdoc_classes ($phpdocDir) {
* @return array Constant information gathered from the PHP.net documentation by parsing XML files
*/
function parse_phpdoc_constants ($phpdocDir) {
+ $constantsDoc = array();
exec ("find ".addslashes($phpdocDir)." -name \"*constants.xml\"", $xml_files);
foreach ($xml_files as $xml_file) {
$xml = file_get_contents ($xml_file);
@@ -776,6 +787,7 @@ function print_doccomment ($ref, $tabs = 0) {
$funckey = make_funckey_from_ref ($ref);
$returntype = @$functionsDoc[$funckey]['returntype'];
$desc = @$functionsDoc[$funckey]['quickref'];
+ $deprecated = @$functionsDoc[$funckey]['deprecated'];
$returndoc = newline_to_phpdoc (@$functionsDoc[$funckey]['returndoc'], $tabs);
$paramsRef = $ref->getParameters();
@@ -826,6 +838,10 @@ function print_doccomment ($ref, $tabs = 0) {
print_tabs ($tabs);
print " * @return {$returntype} {$returndoc}\n";
}
+ if ($ref->isDeprecated() || $deprecated) {
+ print_tabs ($tabs);
+ print " * @deprecated {$deprecated}\n";
+ }
print_tabs ($tabs);
print " */\n";
}
@@ -903,7 +919,7 @@ function finish_file_output($filename) {
//if (file_exists ($filename)) {
// rename ($filename, "{$filename}.bak");
//}
- print "?>\n";
+ //print "? >";
file_put_contents ($filename, ob_get_contents());
ob_end_clean();
}
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/Core.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/Core.php
new file mode 100644
index 0000000..57a3532
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/Core.php
@@ -0,0 +1,1332 @@
+<?php
+
+// Start of Core v.5.5.5
+
+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 &lt; 0 if str1 is less than
+ * str2; &gt; 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 &lt; 0 if str1 is less than
+ * str2; &gt; 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 &lt; 0 if str1 is less than
+ * str2; &gt; 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 &lt; 0 if str1 is less than
+ * str2; &gt; 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 or 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
+ * </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 do autoload if the original class is not found.
+ * </p>
+ * @return bool Returns true on success or 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
+ * </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.
+ * </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 function must be defined before calling
+ * set_exception_handler. 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.
+ * </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 ('NULL', null);
+define ('ZEND_THREAD_SAFE', false);
+define ('ZEND_DEBUG_BUILD', false);
+define ('PHP_VERSION', "5.5.5");
+define ('PHP_MAJOR_VERSION', 5);
+define ('PHP_MINOR_VERSION', 5);
+define ('PHP_RELEASE_VERSION', 5);
+define ('PHP_EXTRA_VERSION', "");
+define ('PHP_VERSION_ID', 50505);
+define ('PHP_ZTS', 0);
+define ('PHP_DEBUG', 0);
+define ('PHP_OS', "Darwin");
+define ('PHP_SAPI', "cli");
+define ('DEFAULT_INCLUDE_PATH', ".:");
+define ('PEAR_INSTALL_DIR', "");
+define ('PEAR_EXTENSION_DIR', "/opt/local/lib/php55/extensions/no-debug-non-zts-20121212");
+define ('PHP_EXTENSION_DIR', "/opt/local/lib/php55/extensions/no-debug-non-zts-20121212");
+define ('PHP_PREFIX', "/opt/local");
+define ('PHP_BINDIR', "/opt/local/bin");
+define ('PHP_MANDIR', "/opt/local/share/man");
+define ('PHP_LIBDIR', "/opt/local/lib/php55");
+define ('PHP_DATADIR', "${prefix}/share");
+define ('PHP_SYSCONFDIR', "/opt/local/etc");
+define ('PHP_LOCALSTATEDIR', "/opt/local/var");
+define ('PHP_CONFIG_FILE_PATH', "/opt/local/etc/php55");
+define ('PHP_CONFIG_FILE_SCAN_DIR', "/opt/local/var/db/php55");
+define ('PHP_SHLIB_SUFFIX', "so");
+define ('PHP_EOL', "\n");
+define ('PHP_MAXPATHLEN', 1024);
+define ('PHP_INT_MAX', 9223372036854775807);
+define ('PHP_INT_SIZE', 8);
+define ('PHP_BINARY', "/opt/local/bin/php55");
+
+/**
+ * <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.5.5
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/PDO.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/PDO.php
new file mode 100644
index 0000000..4afcf40
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/PDO.php
@@ -0,0 +1,776 @@
+<?php
+
+// Start of PDO v.1.0.4dev
+
+class PDOException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+ public $errorInfo;
+
+
+ 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 PDO {
+ const PARAM_BOOL = 5;
+ const PARAM_NULL = 0;
+ const PARAM_INT = 1;
+ const PARAM_STR = 2;
+ const PARAM_LOB = 3;
+ const PARAM_STMT = 4;
+ const PARAM_INPUT_OUTPUT = 2147483648;
+ const PARAM_EVT_ALLOC = 0;
+ const PARAM_EVT_FREE = 1;
+ const PARAM_EVT_EXEC_PRE = 2;
+ const PARAM_EVT_EXEC_POST = 3;
+ const PARAM_EVT_FETCH_PRE = 4;
+ const PARAM_EVT_FETCH_POST = 5;
+ const PARAM_EVT_NORMALIZE = 6;
+ const FETCH_LAZY = 1;
+ const FETCH_ASSOC = 2;
+ const FETCH_NUM = 3;
+ const FETCH_BOTH = 4;
+ const FETCH_OBJ = 5;
+ const FETCH_BOUND = 6;
+ const FETCH_COLUMN = 7;
+ const FETCH_CLASS = 8;
+ const FETCH_INTO = 9;
+ const FETCH_FUNC = 10;
+ const FETCH_GROUP = 65536;
+ const FETCH_UNIQUE = 196608;
+ const FETCH_KEY_PAIR = 12;
+ const FETCH_CLASSTYPE = 262144;
+ const FETCH_SERIALIZE = 524288;
+ const FETCH_PROPS_LATE = 1048576;
+ const FETCH_NAMED = 11;
+ const ATTR_AUTOCOMMIT = 0;
+ const ATTR_PREFETCH = 1;
+ const ATTR_TIMEOUT = 2;
+ const ATTR_ERRMODE = 3;
+ const ATTR_SERVER_VERSION = 4;
+ const ATTR_CLIENT_VERSION = 5;
+ const ATTR_SERVER_INFO = 6;
+ const ATTR_CONNECTION_STATUS = 7;
+ const ATTR_CASE = 8;
+ const ATTR_CURSOR_NAME = 9;
+ const ATTR_CURSOR = 10;
+ const ATTR_ORACLE_NULLS = 11;
+ const ATTR_PERSISTENT = 12;
+ const ATTR_STATEMENT_CLASS = 13;
+ const ATTR_FETCH_TABLE_NAMES = 14;
+ const ATTR_FETCH_CATALOG_NAMES = 15;
+ const ATTR_DRIVER_NAME = 16;
+ const ATTR_STRINGIFY_FETCHES = 17;
+ const ATTR_MAX_COLUMN_LEN = 18;
+ const ATTR_EMULATE_PREPARES = 20;
+ const ATTR_DEFAULT_FETCH_MODE = 19;
+ const ERRMODE_SILENT = 0;
+ const ERRMODE_WARNING = 1;
+ const ERRMODE_EXCEPTION = 2;
+ const CASE_NATURAL = 0;
+ const CASE_LOWER = 2;
+ const CASE_UPPER = 1;
+ const NULL_NATURAL = 0;
+ const NULL_EMPTY_STRING = 1;
+ const NULL_TO_STRING = 2;
+ const ERR_NONE = 00000;
+ const FETCH_ORI_NEXT = 0;
+ const FETCH_ORI_PRIOR = 1;
+ const FETCH_ORI_FIRST = 2;
+ const FETCH_ORI_LAST = 3;
+ const FETCH_ORI_ABS = 4;
+ const FETCH_ORI_REL = 5;
+ const CURSOR_FWDONLY = 0;
+ const CURSOR_SCROLL = 1;
+ const MYSQL_ATTR_USE_BUFFERED_QUERY = 1000;
+ const MYSQL_ATTR_LOCAL_INFILE = 1001;
+ const MYSQL_ATTR_INIT_COMMAND = 1002;
+ const MYSQL_ATTR_COMPRESS = 1003;
+ const MYSQL_ATTR_DIRECT_QUERY = 1004;
+ const MYSQL_ATTR_FOUND_ROWS = 1005;
+ const MYSQL_ATTR_IGNORE_SPACE = 1006;
+ const MYSQL_ATTR_SSL_KEY = 1007;
+ const MYSQL_ATTR_SSL_CERT = 1008;
+ const MYSQL_ATTR_SSL_CA = 1009;
+ const MYSQL_ATTR_SSL_CAPATH = 1010;
+ const MYSQL_ATTR_SSL_CIPHER = 1011;
+ const MYSQL_ATTR_SERVER_PUBLIC_KEY = 1012;
+ const PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT = 1000;
+ const PGSQL_TRANSACTION_IDLE = 0;
+ const PGSQL_TRANSACTION_ACTIVE = 1;
+ const PGSQL_TRANSACTION_INTRANS = 2;
+ const PGSQL_TRANSACTION_INERROR = 3;
+ const PGSQL_TRANSACTION_UNKNOWN = 4;
+
+
+ /**
+ * Creates a PDO instance representing a connection to a database
+ * @link http://www.php.net/manual/en/pdo.construct.php
+ * @param dsn
+ * @param username
+ * @param passwd
+ * @param options[optional]
+ */
+ public function __construct ($dsn, $username, $passwd, $options) {}
+
+ /**
+ * Prepares a statement for execution and returns a statement object
+ * @link http://www.php.net/manual/en/pdo.prepare.php
+ * @param statement string <p>
+ * This must be a valid SQL statement for the target database server.
+ * </p>
+ * @param driver_options array[optional] <p>
+ * This array holds one or more key=&gt;value pairs to set
+ * attribute values for the PDOStatement object that this method
+ * returns. You would most commonly use this to set the
+ * PDO::ATTR_CURSOR value to
+ * PDO::CURSOR_SCROLL to request a scrollable cursor.
+ * Some drivers have driver specific options that may be set at
+ * prepare-time.
+ * </p>
+ * @return PDOStatement If the database server successfully prepares the statement,
+ * PDO::prepare returns a
+ * PDOStatement object.
+ * If the database server cannot successfully prepare the statement,
+ * PDO::prepare returns false or emits
+ * PDOException (depending on error handling).
+ * </p>
+ * <p>
+ * Emulated prepared statements does not communicate with the database server
+ * so PDO::prepare does not check the statement.
+ */
+ public function prepare ($statement, array $driver_options = null) {}
+
+ /**
+ * Initiates a transaction
+ * @link http://www.php.net/manual/en/pdo.begintransaction.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function beginTransaction () {}
+
+ /**
+ * Commits a transaction
+ * @link http://www.php.net/manual/en/pdo.commit.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function commit () {}
+
+ /**
+ * Rolls back a transaction
+ * @link http://www.php.net/manual/en/pdo.rollback.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function rollBack () {}
+
+ /**
+ * Checks if inside a transaction
+ * @link http://www.php.net/manual/en/pdo.intransaction.php
+ * @return bool true if a transaction is currently active, and false if not.
+ */
+ public function inTransaction () {}
+
+ /**
+ * Set an attribute
+ * @link http://www.php.net/manual/en/pdo.setattribute.php
+ * @param attribute int
+ * @param value mixed
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setAttribute ($attribute, $value) {}
+
+ /**
+ * Execute an SQL statement and return the number of affected rows
+ * @link http://www.php.net/manual/en/pdo.exec.php
+ * @param statement string <p>
+ * The SQL statement to prepare and execute.
+ * </p>
+ * <p>
+ * Data inside the query should be properly escaped.
+ * </p>
+ * @return int PDO::exec returns the number of rows that were modified
+ * or deleted by the SQL statement you issued. If no rows were affected,
+ * PDO::exec returns 0.
+ * </p>
+ * &return.falseproblem;
+ * <p>
+ * The following example incorrectly relies on the return value of
+ * PDO::exec, wherein a statement that affected 0 rows
+ * results in a call to die:
+ * exec() or die(print_r($db->errorInfo(), true));
+ * ?>
+ * ]]>
+ */
+ public function exec ($statement) {}
+
+ /**
+ * Executes an SQL statement, returning a result set as a PDOStatement object
+ * @link http://www.php.net/manual/en/pdo.query.php
+ * @param statement string <p>
+ * The SQL statement to prepare and execute.
+ * </p>
+ * <p>
+ * Data inside the query should be properly escaped.
+ * </p>
+ * @return PDOStatement PDO::query returns a PDOStatement object, or false
+ * on failure.
+ */
+ public function query ($statement) {}
+
+ /**
+ * Returns the ID of the last inserted row or sequence value
+ * @link http://www.php.net/manual/en/pdo.lastinsertid.php
+ * @param name string[optional] <p>
+ * Name of the sequence object from which the ID should be returned.
+ * </p>
+ * @return string If a sequence name was not specified for the name
+ * parameter, PDO::lastInsertId returns a
+ * string representing the row ID of the last row that was inserted into
+ * the database.
+ * </p>
+ * <p>
+ * If a sequence name was specified for the name
+ * parameter, PDO::lastInsertId returns a
+ * string representing the last value retrieved from the specified sequence
+ * object.
+ * </p>
+ * <p>
+ * If the PDO driver does not support this capability,
+ * PDO::lastInsertId triggers an
+ * IM001 SQLSTATE.
+ */
+ public function lastInsertId ($name = null) {}
+
+ /**
+ * Fetch the SQLSTATE associated with the last operation on the database handle
+ * @link http://www.php.net/manual/en/pdo.errorcode.php
+ * @return mixed an SQLSTATE, a five characters alphanumeric identifier defined in
+ * the ANSI SQL-92 standard. Briefly, an SQLSTATE consists of a
+ * two characters class value followed by a three characters subclass value. A
+ * class value of 01 indicates a warning and is accompanied by a return code
+ * of SQL_SUCCESS_WITH_INFO. Class values other than '01', except for the
+ * class 'IM', indicate an error. The class 'IM' is specific to warnings
+ * and errors that derive from the implementation of PDO (or perhaps ODBC,
+ * if you're using the ODBC driver) itself. The subclass value '000' in any
+ * class indicates that there is no subclass for that SQLSTATE.
+ * </p>
+ * <p>
+ * PDO::errorCode only retrieves error codes for operations
+ * performed directly on the database handle. If you create a PDOStatement
+ * object through PDO::prepare or
+ * PDO::query and invoke an error on the statement
+ * handle, PDO::errorCode will not reflect that error.
+ * You must call PDOStatement::errorCode to return the error
+ * code for an operation performed on a particular statement handle.
+ * </p>
+ * <p>
+ * Returns &null; if no operation has been run on the database handle.
+ */
+ public function errorCode () {}
+
+ /**
+ * Fetch extended error information associated with the last operation on the database handle
+ * @link http://www.php.net/manual/en/pdo.errorinfo.php
+ * @return array PDO::errorInfo returns an array of error information
+ * about the last operation performed by this database handle. The array
+ * consists of the following fields:
+ * <tr valign="top">
+ * <td>Element</td>
+ * <td>Information</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>0</td>
+ * <td>SQLSTATE error code (a five characters alphanumeric identifier defined
+ * in the ANSI SQL standard).</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>Driver-specific error code.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>2</td>
+ * <td>Driver-specific error message.</td>
+ * </tr>
+ * </p>
+ * <p>
+ * If the SQLSTATE error code is not set or there is no driver-specific
+ * error, the elements following element 0 will be set to &null;.
+ * </p>
+ * <p>
+ * PDO::errorInfo only retrieves error information for
+ * operations performed directly on the database handle. If you create a
+ * PDOStatement object through PDO::prepare or
+ * PDO::query and invoke an error on the statement
+ * handle, PDO::errorInfo will not reflect the error
+ * from the statement handle. You must call
+ * PDOStatement::errorInfo to return the error
+ * information for an operation performed on a particular statement handle.
+ */
+ public function errorInfo () {}
+
+ /**
+ * Retrieve a database connection attribute
+ * @link http://www.php.net/manual/en/pdo.getattribute.php
+ * @param attribute int <p>
+ * One of the PDO::ATTR_* constants. The constants that
+ * apply to database connections are as follows:
+ * PDO::ATTR_AUTOCOMMIT
+ * PDO::ATTR_CASE
+ * PDO::ATTR_CLIENT_VERSION
+ * PDO::ATTR_CONNECTION_STATUS
+ * PDO::ATTR_DRIVER_NAME
+ * PDO::ATTR_ERRMODE
+ * PDO::ATTR_ORACLE_NULLS
+ * PDO::ATTR_PERSISTENT
+ * PDO::ATTR_PREFETCH
+ * PDO::ATTR_SERVER_INFO
+ * PDO::ATTR_SERVER_VERSION
+ * PDO::ATTR_TIMEOUT
+ * </p>
+ * @return mixed A successful call returns the value of the requested PDO attribute.
+ * An unsuccessful call returns null.
+ */
+ public function getAttribute ($attribute) {}
+
+ /**
+ * Quotes a string for use in a query.
+ * @link http://www.php.net/manual/en/pdo.quote.php
+ * @param string string <p>
+ * The string to be quoted.
+ * </p>
+ * @param parameter_type int[optional] <p>
+ * Provides a data type hint for drivers that have alternate quoting styles.
+ * </p>
+ * @return string a quoted string that is theoretically safe to pass into an
+ * SQL statement. Returns false if the driver does not support quoting in
+ * this way.
+ */
+ public function quote ($string, $parameter_type = null) {}
+
+ final public function __wakeup () {}
+
+ final public function __sleep () {}
+
+ /**
+ * Return an array of available PDO drivers
+ * @link http://www.php.net/manual/en/pdo.getavailabledrivers.php
+ * @return array PDO::getAvailableDrivers returns an array of PDO driver names. If
+ * no drivers are available, it returns an empty array.
+ */
+ public static function getAvailableDrivers () {}
+
+}
+
+class PDOStatement implements Traversable {
+ public $queryString;
+
+
+ /**
+ * Executes a prepared statement
+ * @link http://www.php.net/manual/en/pdostatement.execute.php
+ * @param input_parameters array[optional] <p>
+ * An array of values with as many elements as there are bound
+ * parameters in the SQL statement being executed.
+ * All values are treated as PDO::PARAM_STR.
+ * </p>
+ * <p>
+ * You cannot bind multiple values to a single parameter; for example,
+ * you cannot bind two values to a single named parameter in an IN()
+ * clause.
+ * </p>
+ * <p>
+ * You cannot bind more values than specified; if more keys exist in
+ * input_parameters than in the SQL specified
+ * in the PDO::prepare, then the statement will
+ * fail and an error is emitted.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function execute (array $input_parameters = null) {}
+
+ /**
+ * Fetches the next row from a result set
+ * @link http://www.php.net/manual/en/pdostatement.fetch.php
+ * @param fetch_style int[optional] <p>
+ * Controls how the next row will be returned to the caller. This value
+ * must be one of the PDO::FETCH_* constants,
+ * defaulting to value of PDO::ATTR_DEFAULT_FETCH_MODE
+ * (which defaults to PDO::FETCH_BOTH).
+ * <p>
+ * PDO::FETCH_ASSOC: returns an array indexed by column
+ * name as returned in your result set
+ * </p>
+ * @param cursor_orientation int[optional] <p>
+ * For a PDOStatement object representing a scrollable cursor, this
+ * value determines which row will be returned to the caller. This value
+ * must be one of the PDO::FETCH_ORI_* constants,
+ * defaulting to PDO::FETCH_ORI_NEXT. To request a
+ * scrollable cursor for your PDOStatement object, you must set the
+ * PDO::ATTR_CURSOR attribute to
+ * PDO::CURSOR_SCROLL when you prepare the SQL
+ * statement with PDO::prepare.
+ * </p>
+ * @param cursor_offset int[optional]
+ * @return mixed The return value of this function on success depends on the fetch type. In
+ * all cases, false is returned on failure.
+ */
+ public function fetch ($fetch_style = null, $cursor_orientation = null, $cursor_offset = null) {}
+
+ /**
+ * Binds a parameter to the specified variable name
+ * @link http://www.php.net/manual/en/pdostatement.bindparam.php
+ * @param parameter mixed <p>
+ * Parameter identifier. For a prepared statement using named
+ * placeholders, this will be a parameter name of the form
+ * :name. For a prepared statement using
+ * question mark placeholders, this will be the 1-indexed position of
+ * the parameter.
+ * </p>
+ * @param variable mixed <p>
+ * Name of the PHP variable to bind to the SQL statement parameter.
+ * </p>
+ * @param data_type int[optional] <p>
+ * Explicit data type for the parameter using the PDO::PARAM_*
+ * constants.
+ * To return an INOUT parameter from a stored procedure,
+ * use the bitwise OR operator to set the PDO::PARAM_INPUT_OUTPUT bits
+ * for the data_type parameter.
+ * </p>
+ * @param length int[optional] <p>
+ * Length of the data type. To indicate that a parameter is an OUT
+ * parameter from a stored procedure, you must explicitly set the
+ * length.
+ * </p>
+ * @param driver_options mixed[optional] <p>
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function bindParam ($parameter, &$variable, $data_type = null, $length = null, $driver_options = null) {}
+
+ /**
+ * Bind a column to a PHP variable
+ * @link http://www.php.net/manual/en/pdostatement.bindcolumn.php
+ * @param column mixed <p>
+ * Number of the column (1-indexed) or name of the column in the result set.
+ * If using the column name, be aware that the name should match the
+ * case of the column, as returned by the driver.
+ * </p>
+ * @param param mixed <p>
+ * Name of the PHP variable to which the column will be bound.
+ * </p>
+ * @param type int[optional] <p>
+ * Data type of the parameter, specified by the PDO::PARAM_*
+ * constants.
+ * </p>
+ * @param maxlen int[optional] <p>
+ * A hint for pre-allocation.
+ * </p>
+ * @param driverdata mixed[optional] <p>
+ * Optional parameter(s) for the driver.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function bindColumn ($column, &$param, $type = null, $maxlen = null, $driverdata = null) {}
+
+ /**
+ * Binds a value to a parameter
+ * @link http://www.php.net/manual/en/pdostatement.bindvalue.php
+ * @param parameter mixed <p>
+ * Parameter identifier. For a prepared statement using named
+ * placeholders, this will be a parameter name of the form
+ * :name. For a prepared statement using
+ * question mark placeholders, this will be the 1-indexed position of
+ * the parameter.
+ * </p>
+ * @param value mixed <p>
+ * The value to bind to the parameter.
+ * </p>
+ * @param data_type int[optional] <p>
+ * Explicit data type for the parameter using the PDO::PARAM_*
+ * constants.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function bindValue ($parameter, $value, $data_type = null) {}
+
+ /**
+ * Returns the number of rows affected by the last SQL statement
+ * @link http://www.php.net/manual/en/pdostatement.rowcount.php
+ * @return int the number of rows.
+ */
+ public function rowCount () {}
+
+ /**
+ * Returns a single column from the next row of a result set
+ * @link http://www.php.net/manual/en/pdostatement.fetchcolumn.php
+ * @param column_number int[optional] <p>
+ * 0-indexed number of the column you wish to retrieve from the row. If
+ * no value is supplied, PDOStatement::fetchColumn
+ * fetches the first column.
+ * </p>
+ * @return string PDOStatement::fetchColumn returns a single column
+ * in the next row of a result set.
+ * </p>
+ * <p>
+ * There is no way to return another column from the same row if you
+ * use PDOStatement::fetchColumn to retrieve data.
+ */
+ public function fetchColumn ($column_number = null) {}
+
+ /**
+ * Returns an array containing all of the result set rows
+ * @link http://www.php.net/manual/en/pdostatement.fetchall.php
+ * @param fetch_style int[optional] <p>
+ * Controls the contents of the returned array as documented in
+ * PDOStatement::fetch.
+ * Defaults to value of PDO::ATTR_DEFAULT_FETCH_MODE
+ * (which defaults to PDO::FETCH_BOTH)
+ * </p>
+ * <p>
+ * To return an array consisting of all values of a single column from
+ * the result set, specify PDO::FETCH_COLUMN. You
+ * can specify which column you want with the
+ * column-index parameter.
+ * </p>
+ * <p>
+ * To fetch only the unique values of a single column from the result set,
+ * bitwise-OR PDO::FETCH_COLUMN with
+ * PDO::FETCH_UNIQUE.
+ * </p>
+ * <p>
+ * To return an associative array grouped by the values of a specified
+ * column, bitwise-OR PDO::FETCH_COLUMN with
+ * PDO::FETCH_GROUP.
+ * </p>
+ * @param fetch_argument mixed[optional] <p>
+ * This argument have a different meaning depending on the value of
+ * the fetch_style parameter:
+ * <p>
+ * PDO::FETCH_COLUMN: Returns the indicated 0-indexed
+ * column.
+ * </p>
+ * @param ctor_args array[optional] <p>
+ * Arguments of custom class constructor when the fetch_style
+ * parameter is PDO::FETCH_CLASS.
+ * </p>
+ * @return array PDOStatement::fetchAll returns an array containing
+ * all of the remaining rows in the result set. The array represents each
+ * row as either an array of column values or an object with properties
+ * corresponding to each column name. An empty array is returned if there
+ * are zero results to fetch, or false on failure.
+ * </p>
+ * <p>
+ * Using this method to fetch large result sets will result in a heavy
+ * demand on system and possibly network resources. Rather than retrieving
+ * all of the data and manipulating it in PHP, consider using the database
+ * server to manipulate the result sets. For example, use the WHERE and
+ * ORDER BY clauses in SQL to restrict results before retrieving and
+ * processing them with PHP.
+ */
+ public function fetchAll ($fetch_style = null, $fetch_argument = null, array $ctor_args = null) {}
+
+ /**
+ * Fetches the next row and returns it as an object.
+ * @link http://www.php.net/manual/en/pdostatement.fetchobject.php
+ * @param class_name string[optional] <p>
+ * Name of the created class.
+ * </p>
+ * @param ctor_args array[optional] <p>
+ * Elements of this array are passed to the constructor.
+ * </p>
+ * @return mixed an instance of the required class with property names that
+ * correspond to the column names &return.falseforfailure;.
+ */
+ public function fetchObject ($class_name = null, array $ctor_args = null) {}
+
+ /**
+ * Fetch the SQLSTATE associated with the last operation on the statement handle
+ * @link http://www.php.net/manual/en/pdostatement.errorcode.php
+ * @return string Identical to PDO::errorCode, except that
+ * PDOStatement::errorCode only retrieves error codes
+ * for operations performed with PDOStatement objects.
+ */
+ public function errorCode () {}
+
+ /**
+ * Fetch extended error information associated with the last operation on the statement handle
+ * @link http://www.php.net/manual/en/pdostatement.errorinfo.php
+ * @return array PDOStatement::errorInfo returns an array of
+ * error information about the last operation performed by this
+ * statement handle. The array consists of the following fields:
+ * <tr valign="top">
+ * <td>Element</td>
+ * <td>Information</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>0</td>
+ * <td>SQLSTATE error code (a five characters alphanumeric identifier defined
+ * in the ANSI SQL standard).</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>Driver specific error code.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>2</td>
+ * <td>Driver specific error message.</td>
+ * </tr>
+ */
+ public function errorInfo () {}
+
+ /**
+ * Set a statement attribute
+ * @link http://www.php.net/manual/en/pdostatement.setattribute.php
+ * @param attribute int
+ * @param value mixed
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setAttribute ($attribute, $value) {}
+
+ /**
+ * Retrieve a statement attribute
+ * @link http://www.php.net/manual/en/pdostatement.getattribute.php
+ * @param attribute int
+ * @return mixed the attribute value.
+ */
+ public function getAttribute ($attribute) {}
+
+ /**
+ * Returns the number of columns in the result set
+ * @link http://www.php.net/manual/en/pdostatement.columncount.php
+ * @return int the number of columns in the result set represented by the
+ * PDOStatement object. If there is no result set,
+ * PDOStatement::columnCount returns 0.
+ */
+ public function columnCount () {}
+
+ /**
+ * Returns metadata for a column in a result set
+ * @link http://www.php.net/manual/en/pdostatement.getcolumnmeta.php
+ * @param column int <p>
+ * The 0-indexed column in the result set.
+ * </p>
+ * @return array an associative array containing the following values representing
+ * the metadata for a single column:
+ * </p>
+ * <table>
+ * Column metadata
+ * <tr valign="top">
+ * <td>Name</td>
+ * <td>Value</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>native_type</td>
+ * <td>The PHP native type used to represent the column value.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>driver:decl_type</td>
+ * <td>The SQL type used to represent the column value in the database.
+ * If the column in the result set is the result of a function, this value
+ * is not returned by PDOStatement::getColumnMeta.
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>flags</td>
+ * <td>Any flags set for this column.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>name</td>
+ * <td>The name of this column as returned by the database.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>table</td>
+ * <td>The name of this column's table as returned by the database.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>len</td>
+ * <td>The length of this column. Normally -1 for
+ * types other than floating point decimals.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>precision</td>
+ * <td>The numeric precision of this column. Normally
+ * 0 for types other than floating point
+ * decimals.</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>pdo_type</td>
+ * <td>The type of this column as represented by the
+ * PDO::PARAM_*
+ * constants.</td>
+ * </tr>
+ * </table>
+ * <p>
+ * Returns false if the requested column does not exist in the result set,
+ * or if no result set exists.
+ */
+ public function getColumnMeta ($column) {}
+
+ /**
+ * Set the default fetch mode for this statement
+ * @link http://www.php.net/manual/en/pdostatement.setfetchmode.php
+ * @param mode int <p>
+ * The fetch mode must be one of the PDO::FETCH_* constants.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setFetchMode ($mode) {}
+
+ /**
+ * Advances to the next rowset in a multi-rowset statement handle
+ * @link http://www.php.net/manual/en/pdostatement.nextrowset.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function nextRowset () {}
+
+ /**
+ * Closes the cursor, enabling the statement to be executed again.
+ * @link http://www.php.net/manual/en/pdostatement.closecursor.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function closeCursor () {}
+
+ /**
+ * Dump an SQL prepared command
+ * @link http://www.php.net/manual/en/pdostatement.debugdumpparams.php
+ * @return void
+ */
+ public function debugDumpParams () {}
+
+ final public function __wakeup () {}
+
+ final public function __sleep () {}
+
+}
+
+final class PDORow {
+}
+
+function pdo_drivers () {}
+
+// End of PDO v.1.0.4dev
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/Phar.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/Phar.php
new file mode 100644
index 0000000..47aa102
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/Phar.php
@@ -0,0 +1,2204 @@
+<?php
+
+// Start of Phar v.2.0.1
+
+class PharException extends Exception {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 Phar extends RecursiveDirectoryIterator implements RecursiveIterator, SeekableIterator, Traversable, Iterator, Countable, ArrayAccess {
+ const CURRENT_MODE_MASK = 240;
+ const CURRENT_AS_PATHNAME = 32;
+ const CURRENT_AS_FILEINFO = 0;
+ const CURRENT_AS_SELF = 16;
+ const KEY_MODE_MASK = 3840;
+ const KEY_AS_PATHNAME = 0;
+ const FOLLOW_SYMLINKS = 512;
+ const KEY_AS_FILENAME = 256;
+ const NEW_CURRENT_AND_KEY = 256;
+ const OTHER_MODE_MASK = 12288;
+ const SKIP_DOTS = 4096;
+ const UNIX_PATHS = 8192;
+ const BZ2 = 8192;
+ const GZ = 4096;
+ const NONE = 0;
+ const PHAR = 1;
+ const TAR = 2;
+ const ZIP = 3;
+ const COMPRESSED = 61440;
+ const PHP = 0;
+ const PHPS = 1;
+ const MD5 = 1;
+ const OPENSSL = 16;
+ const SHA1 = 2;
+ const SHA256 = 3;
+ const SHA512 = 4;
+
+
+ /**
+ * Construct a Phar archive object
+ * @link http://www.php.net/manual/en/phar.construct.php
+ * @param filename
+ * @param flags[optional]
+ * @param alias[optional]
+ * @param fileformat[optional]
+ */
+ public function __construct ($filename, $flags, $alias, $fileformat) {}
+
+ public function __destruct () {}
+
+ /**
+ * Add an empty directory to the phar archive
+ * @link http://www.php.net/manual/en/phar.addemptydir.php
+ * @param dirname string <p>
+ * The name of the empty directory to create in the phar archive
+ * </p>
+ * @return void no return value, exception is thrown on failure.
+ */
+ public function addEmptyDir ($dirname) {}
+
+ /**
+ * Add a file from the filesystem to the phar archive
+ * @link http://www.php.net/manual/en/phar.addfile.php
+ * @param file string <p>
+ * Full or relative path to a file on disk to be added
+ * to the phar archive.
+ * </p>
+ * @param localname string[optional] <p>
+ * Path that the file will be stored in the archive.
+ * </p>
+ * @return void no return value, exception is thrown on failure.
+ */
+ public function addFile ($file, $localname = null) {}
+
+ /**
+ * Add a file from the filesystem to the phar archive
+ * @link http://www.php.net/manual/en/phar.addfromstring.php
+ * @param localname string <p>
+ * Path that the file will be stored in the archive.
+ * </p>
+ * @param contents string <p>
+ * The file contents to store
+ * </p>
+ * @return void no return value, exception is thrown on failure.
+ */
+ public function addFromString ($localname, $contents) {}
+
+ /**
+ * Construct a phar archive from the files within a directory.
+ * @link http://www.php.net/manual/en/phar.buildfromdirectory.php
+ * @param base_dir string <p>
+ * The full or relative path to the directory that contains all files
+ * to add to the archive.
+ * </p>
+ * @param regex string[optional] <p>
+ * An optional pcre regular expression that is used to filter the
+ * list of files. Only file paths matching the regular expression
+ * will be included in the archive.
+ * </p>
+ * @return array Phar::buildFromDirectory returns an associative array
+ * mapping internal path of file to the full path of the file on the
+ * filesystem.
+ */
+ public function buildFromDirectory ($base_dir, $regex = null) {}
+
+ /**
+ * Construct a phar archive from an iterator.
+ * @link http://www.php.net/manual/en/phar.buildfromiterator.php
+ * @param iter Iterator <p>
+ * Any iterator that either associatively maps phar file to location or
+ * returns SplFileInfo objects
+ * </p>
+ * @param base_directory string[optional] <p>
+ * For iterators that return SplFileInfo objects, the portion of each
+ * file's full path to remove when adding to the phar archive
+ * </p>
+ * @return array Phar::buildFromIterator returns an associative array
+ * mapping internal path of file to the full path of the file on the
+ * filesystem.
+ */
+ public function buildFromIterator ($iter, $base_directory = null) {}
+
+ /**
+ * Compresses all files in the current Phar archive
+ * @link http://www.php.net/manual/en/phar.compressfiles.php
+ * @param compression int <p>
+ * Compression must be one of Phar::GZ,
+ * Phar::BZ2 to add compression, or Phar::NONE
+ * to remove compression.
+ * </p>
+ * @return void
+ */
+ public function compressFiles ($compression) {}
+
+ /**
+ * Decompresses all files in the current Phar archive
+ * @link http://www.php.net/manual/en/phar.decompressfiles.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function decompressFiles () {}
+
+ /**
+ * Compresses the entire Phar archive using Gzip or Bzip2 compression
+ * @link http://www.php.net/manual/en/phar.compress.php
+ * @param compression int <p>
+ * Compression must be one of Phar::GZ,
+ * Phar::BZ2 to add compression, or Phar::NONE
+ * to remove compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * By default, the extension is .phar.gz
+ * or .phar.bz2 for compressing phar archives, and
+ * .phar.tar.gz or .phar.tar.bz2 for
+ * compressing tar archives. For decompressing, the default file extensions
+ * are .phar and .phar.tar.
+ * </p>
+ * @return object a Phar object.
+ */
+ public function compress ($compression, $extension = null) {}
+
+ /**
+ * Decompresses the entire Phar archive
+ * @link http://www.php.net/manual/en/phar.decompress.php
+ * @param extension string[optional] <p>
+ * For decompressing, the default file extensions
+ * are .phar and .phar.tar.
+ * Use this parameter to specify another file extension. Be aware
+ * that all executable phar archives must contain .phar
+ * in their filename.
+ * </p>
+ * @return object A Phar object is returned.
+ */
+ public function decompress ($extension = null) {}
+
+ /**
+ * Convert a phar archive to another executable phar archive file format
+ * @link http://www.php.net/manual/en/phar.converttoexecutable.php
+ * @param format int[optional] <p>
+ * This should be one of Phar::PHAR, Phar::TAR,
+ * or Phar::ZIP. If set to &null;, the existing file format
+ * will be preserved.
+ * </p>
+ * @param compression int[optional] <p>
+ * This should be one of Phar::NONE for no whole-archive
+ * compression, Phar::GZ for zlib-based compression, and
+ * Phar::BZ2 for bzip-based compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * This parameter is used to override the default file extension for a
+ * converted archive. Note that all zip- and tar-based phar archives must contain
+ * .phar in their file extension in order to be processed as a
+ * phar archive.
+ * </p>
+ * <p>
+ * If converting to a phar-based archive, the default extensions are
+ * .phar, .phar.gz, or .phar.bz2
+ * depending on the specified compression. For tar-based phar archives, the
+ * default extensions are .phar.tar, .phar.tar.gz,
+ * and .phar.tar.bz2. For zip-based phar archives, the
+ * default extension is .phar.zip.
+ * </p>
+ * @return Phar The method returns a Phar object on success and throws an
+ * exception on failure.
+ */
+ public function convertToExecutable ($format = null, $compression = null, $extension = null) {}
+
+ /**
+ * Convert a phar archive to a non-executable tar or zip file
+ * @link http://www.php.net/manual/en/phar.converttodata.php
+ * @param format int[optional] <p>
+ * This should be one of Phar::TAR
+ * or Phar::ZIP. If set to &null;, the existing file format
+ * will be preserved.
+ * </p>
+ * @param compression int[optional] <p>
+ * This should be one of Phar::NONE for no whole-archive
+ * compression, Phar::GZ for zlib-based compression, and
+ * Phar::BZ2 for bzip-based compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * This parameter is used to override the default file extension for a
+ * converted archive. Note that .phar cannot be used
+ * anywhere in the filename for a non-executable tar or zip archive.
+ * </p>
+ * <p>
+ * If converting to a tar-based phar archive, the
+ * default extensions are .tar, .tar.gz,
+ * and .tar.bz2 depending on specified compression.
+ * For zip-based archives, the
+ * default extension is .zip.
+ * </p>
+ * @return PharData The method returns a PharData object on success and throws an
+ * exception on failure.
+ */
+ public function convertToData ($format = null, $compression = null, $extension = null) {}
+
+ /**
+ * Copy a file internal to the phar archive to another new file within the phar
+ * @link http://www.php.net/manual/en/phar.copy.php
+ * @param oldfile string <p>
+ * </p>
+ * @param newfile string <p>
+ * </p>
+ * @return bool returns true on success, but it is safer to encase method call in a
+ * try/catch block and assume success if no exception is thrown.
+ */
+ public function copy ($oldfile, $newfile) {}
+
+ /**
+ * Returns the number of entries (files) in the Phar archive
+ * @link http://www.php.net/manual/en/phar.count.php
+ * @return int The number of files contained within this phar, or 0 (the number zero)
+ * if none.
+ */
+ public function count () {}
+
+ /**
+ * Delete a file within a phar archive
+ * @link http://www.php.net/manual/en/phar.delete.php
+ * @param entry string <p>
+ * Path within an archive to the file to delete.
+ * </p>
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function delete ($entry) {}
+
+ /**
+ * Deletes the global metadata of the phar
+ * @link http://www.php.net/manual/en/phar.delmetadata.php
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function delMetadata () {}
+
+ /**
+ * Extract the contents of a phar archive to a directory
+ * @link http://www.php.net/manual/en/phar.extractto.php
+ * @param pathto string <p>
+ * Path within an archive to the file to delete.
+ * </p>
+ * @param files string|array[optional] <p>
+ * The name of a file or directory to extract, or an array of files/directories to extract
+ * </p>
+ * @param overwrite bool[optional] <p>
+ * Set to true to enable overwriting existing files
+ * </p>
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function extractTo ($pathto, $files = null, $overwrite = null) {}
+
+ public function getAlias () {}
+
+ public function getPath () {}
+
+ /**
+ * Returns phar archive meta-data
+ * @link http://www.php.net/manual/en/phar.getmetadata.php
+ * @return mixed any PHP variable that can be serialized and is stored as meta-data for the Phar archive,
+ * or &null; if no meta-data is stored.
+ */
+ public function getMetadata () {}
+
+ /**
+ * Return whether phar was modified
+ * @link http://www.php.net/manual/en/phar.getmodified.php
+ * @return bool true if the phar has been modified since opened, false if not.
+ */
+ public function getModified () {}
+
+ /**
+ * Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
+ * @link http://www.php.net/manual/en/phar.getsignature.php
+ * @return array Array with the opened archive's signature in hash key and MD5,
+ * SHA-1,
+ * SHA-256, SHA-512, or OpenSSL
+ * in hash_type. This signature is a hash calculated on the
+ * entire phar's contents, and may be used to verify the integrity of the archive.
+ * A valid signature is absolutely required of all executable phar archives if the
+ * phar.require_hash INI variable
+ * is set to true.
+ */
+ public function getSignature () {}
+
+ /**
+ * Return the PHP loader or bootstrap stub of a Phar archive
+ * @link http://www.php.net/manual/en/phar.getstub.php
+ * @return string a string containing the contents of the bootstrap loader (stub) of
+ * the current Phar archive.
+ */
+ public function getStub () {}
+
+ /**
+ * Return version info of Phar archive
+ * @link http://www.php.net/manual/en/phar.getversion.php
+ * @return string The opened archive's API version. This is not to be confused with
+ * the API version that the loaded phar extension will use to create
+ * new phars. Each Phar archive has the API version hard-coded into
+ * its manifest. See Phar file format
+ * documentation for more information.
+ */
+ public function getVersion () {}
+
+ /**
+ * Returns whether phar has global meta-data
+ * @link http://www.php.net/manual/en/phar.hasmetadata.php
+ * @return bool true if meta-data has been set, and false if not.
+ */
+ public function hasMetadata () {}
+
+ /**
+ * Used to determine whether Phar write operations are being buffered, or are flushing directly to disk
+ * @link http://www.php.net/manual/en/phar.isbuffering.php
+ * @return bool true if the write operations are being buffer, false otherwise.
+ */
+ public function isBuffering () {}
+
+ /**
+ * Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on)
+ * @link http://www.php.net/manual/en/phar.iscompressed.php
+ * @return mixed Phar::GZ, Phar::BZ2 or false
+ */
+ public function isCompressed () {}
+
+ /**
+ * Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter
+ * @link http://www.php.net/manual/en/phar.isfileformat.php
+ * @param format int <p>
+ * Either Phar::PHAR, Phar::TAR, or
+ * Phar::ZIP to test for the format of the archive.
+ * </p>
+ * @return bool true if the phar archive matches the file format requested by the parameter
+ */
+ public function isFileFormat ($format) {}
+
+ /**
+ * Returns true if the phar archive can be modified
+ * @link http://www.php.net/manual/en/phar.iswritable.php
+ * @return bool true if the phar archive can be modified
+ */
+ public function isWritable () {}
+
+ /**
+ * determines whether a file exists in the phar
+ * @link http://www.php.net/manual/en/phar.offsetexists.php
+ * @param offset string <p>
+ * The filename (relative path) to look for in a Phar.
+ * </p>
+ * @return bool true if the file exists within the phar, or false if not.
+ */
+ public function offsetExists ($offset) {}
+
+ /**
+ * Gets a <classname>PharFileInfo</classname> object for a specific file
+ * @link http://www.php.net/manual/en/phar.offsetget.php
+ * @param offset string <p>
+ * The filename (relative path) to look for in a Phar.
+ * </p>
+ * @return int A PharFileInfo object is returned that can be used to
+ * iterate over a file's contents or to retrieve information about the current file.
+ */
+ public function offsetGet ($offset) {}
+
+ /**
+ * set the contents of an internal file to those of an external file
+ * @link http://www.php.net/manual/en/phar.offsetset.php
+ * @param offset string <p>
+ * The filename (relative path) to modify in a Phar.
+ * </p>
+ * @param value string <p>
+ * Content of the file.
+ * </p>
+ * @return void No return values.
+ */
+ public function offsetSet ($offset, $value) {}
+
+ /**
+ * remove a file from a phar
+ * @link http://www.php.net/manual/en/phar.offsetunset.php
+ * @param offset string <p>
+ * The filename (relative path) to modify in a Phar.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function offsetUnset ($offset) {}
+
+ /**
+ * Set the alias for the Phar archive
+ * @link http://www.php.net/manual/en/phar.setalias.php
+ * @param alias string <p>
+ * A shorthand string that this archive can be referred to in phar
+ * stream wrapper access.
+ * </p>
+ * @return bool
+ */
+ public function setAlias ($alias) {}
+
+ /**
+ * Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader
+ * @link http://www.php.net/manual/en/phar.setdefaultstub.php
+ * @param index string[optional] <p>
+ * Relative path within the phar archive to run if accessed on the command-line
+ * </p>
+ * @param webindex string[optional] <p>
+ * Relative path within the phar archive to run if accessed through a web browser
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setDefaultStub ($index = null, $webindex = null) {}
+
+ /**
+ * Sets phar archive meta-data
+ * @link http://www.php.net/manual/en/phardata.setmetadata.php
+ * @param metadata mixed <p>
+ * Any PHP variable containing information to store that describes the phar archive
+ * </p>
+ * @param metadata mixed
+ * @return void
+ */
+ public function setMetadata ($metadata, $metadata) {}
+
+ /**
+ * set the signature algorithm for a phar and apply it. The
+ * @link http://www.php.net/manual/en/phardata.setsignaturealgorithm.php
+ * @param sigtype int <p>
+ * One of Phar::MD5,
+ * Phar::SHA1, Phar::SHA256,
+ * Phar::SHA512, or Phar::PGP
+ * </p>
+ * @param privatekey string[optional] <p>
+ * The contents of an OpenSSL private key, as extracted from a certificate or
+ * OpenSSL key file:
+ * setSignatureAlgorithm(Phar::OPENSSL, $pkey);
+ * ?>
+ * ]]>
+ * See phar introduction for instructions on
+ * naming and placement of the public key file.
+ * </p>
+ * @param sigtype int
+ * @return void
+ */
+ public function setSignatureAlgorithm ($sigtype, $privatekey = null, $sigtype) {}
+
+ /**
+ * Used to set the PHP loader or bootstrap stub of a Phar archive
+ * @link http://www.php.net/manual/en/phar.setstub.php
+ * @param stub string <p>
+ * A string or an open stream handle to use as the executable stub for this
+ * phar archive.
+ * </p>
+ * @param len int[optional] <p>
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setStub ($stub, $len = null) {}
+
+ /**
+ * Start buffering Phar write operations, do not modify the Phar object on disk
+ * @link http://www.php.net/manual/en/phar.startbuffering.php
+ * @return void
+ */
+ public function startBuffering () {}
+
+ /**
+ * Stop buffering write requests to the Phar archive, and save changes to disk
+ * @link http://www.php.net/manual/en/phar.stopbuffering.php
+ * @return void
+ */
+ public function stopBuffering () {}
+
+ /**
+ * Returns the api version
+ * @link http://www.php.net/manual/en/phar.apiversion.php
+ * @return string The API version string as in &quot;1.0.0&quot;.
+ */
+ final public static function apiVersion () {}
+
+ /**
+ * Returns whether phar extension supports compression using either zlib or bzip2
+ * @link http://www.php.net/manual/en/phar.cancompress.php
+ * @param type int[optional] <p>
+ * Either Phar::GZ or Phar::BZ2 can be
+ * used to test whether compression is possible with a specific compression
+ * algorithm (zlib or bzip2).
+ * </p>
+ * @return bool true if compression/decompression is available, false if not.
+ */
+ final public static function canCompress ($type = null) {}
+
+ /**
+ * Returns whether phar extension supports writing and creating phars
+ * @link http://www.php.net/manual/en/phar.canwrite.php
+ * @return bool true if write access is enabled, false if it is disabled.
+ */
+ final public static function canWrite () {}
+
+ /**
+ * Create a phar-file format specific stub
+ * @link http://www.php.net/manual/en/phar.createdefaultstub.php
+ * @param indexfile string[optional]
+ * @param webindexfile string[optional]
+ * @return string a string containing the contents of a customized bootstrap loader (stub)
+ * that allows the created Phar archive to work with or without the Phar extension
+ * enabled.
+ */
+ final public static function createDefaultStub ($indexfile = null, $webindexfile = null) {}
+
+ /**
+ * Return array of supported compression algorithms
+ * @link http://www.php.net/manual/en/phar.getsupportedcompression.php
+ * @return array an array containing any of Phar::GZ or
+ * Phar::BZ2, depending on the availability of
+ * the zlib extension or the
+ * bz2 extension.
+ */
+ final public static function getSupportedCompression () {}
+
+ /**
+ * Return array of supported signature types
+ * @link http://www.php.net/manual/en/phar.getsupportedsignatures.php
+ * @return array an array containing any of MD5, SHA-1,
+ * SHA-256, SHA-512, or OpenSSL.
+ */
+ final public static function getSupportedSignatures () {}
+
+ /**
+ * instructs phar to intercept fopen, file_get_contents, opendir, and all of the stat-related functions
+ * @link http://www.php.net/manual/en/phar.interceptfilefuncs.php
+ * @return void
+ */
+ final public static function interceptFileFuncs () {}
+
+ /**
+ * Returns whether the given filename is a valid phar filename
+ * @link http://www.php.net/manual/en/phar.isvalidpharfilename.php
+ * @param filename string <p>
+ * The name or full path to a phar archive not yet created
+ * </p>
+ * @param executable bool[optional] <p>
+ * This parameter determines whether the filename should be treated as
+ * a phar executable archive, or a data non-executable archive
+ * </p>
+ * @return bool true if the filename is valid, false if not.
+ */
+ final public static function isValidPharFilename ($filename, $executable = null) {}
+
+ /**
+ * Loads any phar archive with an alias
+ * @link http://www.php.net/manual/en/phar.loadphar.php
+ * @param filename string <p>
+ * the full or relative path to the phar archive to open
+ * </p>
+ * @param alias string[optional] <p>
+ * The alias that may be used to refer to the phar archive. Note
+ * that many phar archives specify an explicit alias inside the
+ * phar archive, and a PharException will be thrown if
+ * a new alias is specified in this case.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ final public static function loadPhar ($filename, $alias = null) {}
+
+ /**
+ * Reads the currently executed file (a phar) and registers its manifest
+ * @link http://www.php.net/manual/en/phar.mapphar.php
+ * @param alias string[optional] <p>
+ * The alias that can be used in phar:// URLs to
+ * refer to this archive, rather than its full path.
+ * </p>
+ * @param dataoffset int[optional] <p>
+ * Unused variable, here for compatibility with PEAR's PHP_Archive.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ final public static function mapPhar ($alias = null, $dataoffset = null) {}
+
+ /**
+ * Returns the full path on disk or full phar URL to the currently executing Phar archive
+ * @link http://www.php.net/manual/en/phar.running.php
+ * @param retphar bool[optional] <p>
+ * If false, the full path on disk to the phar
+ * archive is returned. If true, a full phar URL is returned.
+ * </p>
+ * @return string the filename if valid, empty string otherwise.
+ */
+ final public static function running ($retphar = null) {}
+
+ /**
+ * Mount an external path or file to a virtual location within the phar archive
+ * @link http://www.php.net/manual/en/phar.mount.php
+ * @param pharpath string <p>
+ * The internal path within the phar archive to use as the mounted path location.
+ * This must be a relative path within the phar archive, and must not already exist.
+ * </p>
+ * @param externalpath string <p>
+ * A path or URL to an external file or directory to mount within the phar archive
+ * </p>
+ * @return void No return. PharException is thrown on failure.
+ */
+ final public static function mount ($pharpath, $externalpath) {}
+
+ /**
+ * Defines a list of up to 4 $_SERVER variables that should be modified for execution
+ * @link http://www.php.net/manual/en/phar.mungserver.php
+ * @param munglist array <p>
+ * an array containing as string indices any of
+ * REQUEST_URI, PHP_SELF,
+ * SCRIPT_NAME and SCRIPT_FILENAME.
+ * Other values trigger an exception, and Phar::mungServer
+ * is case-sensitive.
+ * </p>
+ * @return void No return.
+ */
+ final public static function mungServer (array $munglist) {}
+
+ /**
+ * Completely remove a phar archive from disk and from memory
+ * @link http://www.php.net/manual/en/phar.unlinkarchive.php
+ * @param archive string <p>
+ * The path on disk to the phar archive.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ final public static function unlinkArchive ($archive) {}
+
+ /**
+ * mapPhar for web-based phars. front controller for web applications
+ * @link http://www.php.net/manual/en/phar.webphar.php
+ * @param alias string[optional] <p>
+ * The alias that can be used in phar:// URLs to
+ * refer to this archive, rather than its full path.
+ * </p>
+ * @param index string[optional] <p>
+ * The location within the phar of the directory index.
+ * </p>
+ * @param f404 string[optional] <p>
+ * The location of the script to run when a file is not found. This
+ * script should output the proper HTTP 404 headers.
+ * </p>
+ * @param mimetypes array[optional] <p>
+ * An array mapping additional file extensions to MIME type.
+ * If the default mapping is sufficient, pass an empty array.
+ * By default, these extensions are mapped to these MIME types:
+ * Phar::PHPS, // pass to highlight_file()
+ * 'c' => 'text/plain',
+ * 'cc' => 'text/plain',
+ * 'cpp' => 'text/plain',
+ * 'c++' => 'text/plain',
+ * 'dtd' => 'text/plain',
+ * 'h' => 'text/plain',
+ * 'log' => 'text/plain',
+ * 'rng' => 'text/plain',
+ * 'txt' => 'text/plain',
+ * 'xsd' => 'text/plain',
+ * 'php' => Phar::PHP, // parse as PHP
+ * 'inc' => Phar::PHP, // parse as PHP
+ * 'avi' => 'video/avi',
+ * 'bmp' => 'image/bmp',
+ * 'css' => 'text/css',
+ * 'gif' => 'image/gif',
+ * 'htm' => 'text/html',
+ * 'html' => 'text/html',
+ * 'htmls' => 'text/html',
+ * 'ico' => 'image/x-ico',
+ * 'jpe' => 'image/jpeg',
+ * 'jpg' => 'image/jpeg',
+ * 'jpeg' => 'image/jpeg',
+ * 'js' => 'application/x-javascript',
+ * 'midi' => 'audio/midi',
+ * 'mid' => 'audio/midi',
+ * 'mod' => 'audio/mod',
+ * 'mov' => 'movie/quicktime',
+ * 'mp3' => 'audio/mp3',
+ * 'mpg' => 'video/mpeg',
+ * 'mpeg' => 'video/mpeg',
+ * 'pdf' => 'application/pdf',
+ * 'png' => 'image/png',
+ * 'swf' => 'application/shockwave-flash',
+ * 'tif' => 'image/tiff',
+ * 'tiff' => 'image/tiff',
+ * 'wav' => 'audio/wav',
+ * 'xbm' => 'image/xbm',
+ * 'xml' => 'text/xml',
+ * );
+ * ?>
+ * ]]>
+ * </p>
+ * @param rewrites callable[optional] <p>
+ * The rewrites function is passed a string as its only parameter and must return a string or false.
+ * </p>
+ * <p>
+ * If you are using fast-cgi or cgi then the parameter passed to the function is the value of the
+ * $_SERVER['PATH_INFO'] variable. Otherwise, the parameter passed to the function is the value
+ * of the $_SERVER['REQUEST_URI'] variable.
+ * </p>
+ * <p>
+ * If a string is returned it is used as the internal file path. If false is returned then webPhar() will
+ * send a HTTP 403 Denied Code.
+ * </p>
+ * @return void
+ */
+ final public static function webPhar ($alias = null, $index = null, $f404 = null, array $mimetypes = null, $rewrites = null) {}
+
+ /**
+ * Returns whether current entry is a directory and not '.' or '..'
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.haschildren.php
+ * @param allow_links bool[optional] <p>
+ * </p>
+ * @return bool whether the current entry is a directory, but not '.' or '..'
+ */
+ public function hasChildren ($allow_links = null) {}
+
+ /**
+ * Returns an iterator for the current entry if it is a directory
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getchildren.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator
+ * constants.
+ */
+ public function getChildren () {}
+
+ /**
+ * Get sub path
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpath.php
+ * @return string The sub path (sub directory).
+ */
+ public function getSubPath () {}
+
+ /**
+ * Get sub path and name
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpathname.php
+ * @return string The sub path (sub directory) and filename.
+ */
+ public function getSubPathname () {}
+
+ /**
+ * Rewinds back to the beginning
+ * @link http://www.php.net/manual/en/filesystemiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Move to the next file
+ * @link http://www.php.net/manual/en/filesystemiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Retrieve the key for the current file
+ * @link http://www.php.net/manual/en/filesystemiterator.key.php
+ * @return string the pathname or filename depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function key () {}
+
+ /**
+ * The current file
+ * @link http://www.php.net/manual/en/filesystemiterator.current.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function current () {}
+
+ /**
+ * Get the handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.getflags.php
+ * @return int The integer value of the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.setflags.php
+ * @param flags int[optional] <p>
+ * The handling flags to set.
+ * See the FilesystemIterator constants.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags = null) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class PharData extends RecursiveDirectoryIterator implements RecursiveIterator, SeekableIterator, Traversable, Iterator, Countable, ArrayAccess {
+ const CURRENT_MODE_MASK = 240;
+ const CURRENT_AS_PATHNAME = 32;
+ const CURRENT_AS_FILEINFO = 0;
+ const CURRENT_AS_SELF = 16;
+ const KEY_MODE_MASK = 3840;
+ const KEY_AS_PATHNAME = 0;
+ const FOLLOW_SYMLINKS = 512;
+ const KEY_AS_FILENAME = 256;
+ const NEW_CURRENT_AND_KEY = 256;
+ const OTHER_MODE_MASK = 12288;
+ const SKIP_DOTS = 4096;
+ const UNIX_PATHS = 8192;
+
+
+ /**
+ * Construct a non-executable tar or zip archive object
+ * @link http://www.php.net/manual/en/phardata.construct.php
+ * @param filename
+ * @param flags[optional]
+ * @param alias[optional]
+ * @param fileformat[optional]
+ */
+ public function __construct ($filename, $flags, $alias, $fileformat) {}
+
+ public function __destruct () {}
+
+ /**
+ * Add an empty directory to the tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.addemptydir.php
+ * @param dirname string <p>
+ * The name of the empty directory to create in the phar archive
+ * </p>
+ * @return bool no return value, exception is thrown on failure.
+ */
+ public function addEmptyDir ($dirname) {}
+
+ /**
+ * Add a file from the filesystem to the tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.addfile.php
+ * @param file string <p>
+ * Full or relative path to a file on disk to be added
+ * to the phar archive.
+ * </p>
+ * @param localname string[optional] <p>
+ * Path that the file will be stored in the archive.
+ * </p>
+ * @return void no return value, exception is thrown on failure.
+ */
+ public function addFile ($file, $localname = null) {}
+
+ /**
+ * Add a file from the filesystem to the tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.addfromstring.php
+ * @param localname string <p>
+ * Path that the file will be stored in the archive.
+ * </p>
+ * @param contents string <p>
+ * The file contents to store
+ * </p>
+ * @return bool no return value, exception is thrown on failure.
+ */
+ public function addFromString ($localname, $contents) {}
+
+ /**
+ * Construct a tar/zip archive from the files within a directory.
+ * @link http://www.php.net/manual/en/phardata.buildfromdirectory.php
+ * @param base_dir string <p>
+ * The full or relative path to the directory that contains all files
+ * to add to the archive.
+ * </p>
+ * @param regex string[optional] <p>
+ * An optional pcre regular expression that is used to filter the
+ * list of files. Only file paths matching the regular expression
+ * will be included in the archive.
+ * </p>
+ * @return array Phar::buildFromDirectory returns an associative array
+ * mapping internal path of file to the full path of the file on the
+ * filesystem.
+ */
+ public function buildFromDirectory ($base_dir, $regex = null) {}
+
+ /**
+ * Construct a tar or zip archive from an iterator.
+ * @link http://www.php.net/manual/en/phardata.buildfromiterator.php
+ * @param iter Iterator <p>
+ * Any iterator that either associatively maps tar/zip file to location or
+ * returns SplFileInfo objects
+ * </p>
+ * @param base_directory string[optional] <p>
+ * For iterators that return SplFileInfo objects, the portion of each
+ * file's full path to remove when adding to the tar/zip archive
+ * </p>
+ * @return array PharData::buildFromIterator returns an associative array
+ * mapping internal path of file to the full path of the file on the
+ * filesystem.
+ */
+ public function buildFromIterator ($iter, $base_directory = null) {}
+
+ /**
+ * Compresses all files in the current tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.compressfiles.php
+ * @param compression int <p>
+ * Compression must be one of Phar::GZ,
+ * Phar::BZ2 to add compression, or Phar::NONE
+ * to remove compression.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function compressFiles ($compression) {}
+
+ /**
+ * Decompresses all files in the current zip archive
+ * @link http://www.php.net/manual/en/phardata.decompressfiles.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function decompressFiles () {}
+
+ /**
+ * Compresses the entire tar/zip archive using Gzip or Bzip2 compression
+ * @link http://www.php.net/manual/en/phardata.compress.php
+ * @param compression int <p>
+ * Compression must be one of Phar::GZ,
+ * Phar::BZ2 to add compression, or Phar::NONE
+ * to remove compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * By default, the extension is .tar.gz or .tar.bz2
+ * for compressing a tar, and .tar for decompressing.
+ * </p>
+ * @return object A PharData object is returned.
+ */
+ public function compress ($compression, $extension = null) {}
+
+ /**
+ * Decompresses the entire Phar archive
+ * @link http://www.php.net/manual/en/phardata.decompress.php
+ * @param extension string[optional] <p>
+ * For decompressing, the default file extension
+ * is .phar.tar.
+ * Use this parameter to specify another file extension. Be aware
+ * that no non-executable archives cannot contain .phar
+ * in their filename.
+ * </p>
+ * @return object A PharData object is returned.
+ */
+ public function decompress ($extension = null) {}
+
+ /**
+ * Convert a non-executable tar/zip archive to an executable phar archive
+ * @link http://www.php.net/manual/en/phardata.converttoexecutable.php
+ * @param format int[optional] <p>
+ * This should be one of Phar::PHAR, Phar::TAR,
+ * or Phar::ZIP. If set to &null;, the existing file format
+ * will be preserved.
+ * </p>
+ * @param compression int[optional] <p>
+ * This should be one of Phar::NONE for no whole-archive
+ * compression, Phar::GZ for zlib-based compression, and
+ * Phar::BZ2 for bzip-based compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * This parameter is used to override the default file extension for a
+ * converted archive. Note that all zip- and tar-based phar archives must contain
+ * .phar in their file extension in order to be processed as a
+ * phar archive.
+ * </p>
+ * <p>
+ * If converting to a phar-based archive, the default extensions are
+ * .phar, .phar.gz, or .phar.bz2
+ * depending on the specified compression. For tar-based phar archives, the
+ * default extensions are .phar.tar, .phar.tar.gz,
+ * and .phar.tar.bz2. For zip-based phar archives, the
+ * default extension is .phar.zip.
+ * </p>
+ * @return Phar The method returns a Phar object on success and throws an
+ * exception on failure.
+ */
+ public function convertToExecutable ($format = null, $compression = null, $extension = null) {}
+
+ /**
+ * Convert a phar archive to a non-executable tar or zip file
+ * @link http://www.php.net/manual/en/phardata.converttodata.php
+ * @param format int[optional] <p>
+ * This should be one of Phar::TAR
+ * or Phar::ZIP. If set to &null;, the existing file format
+ * will be preserved.
+ * </p>
+ * @param compression int[optional] <p>
+ * This should be one of Phar::NONE for no whole-archive
+ * compression, Phar::GZ for zlib-based compression, and
+ * Phar::BZ2 for bzip-based compression.
+ * </p>
+ * @param extension string[optional] <p>
+ * This parameter is used to override the default file extension for a
+ * converted archive. Note that .phar cannot be used
+ * anywhere in the filename for a non-executable tar or zip archive.
+ * </p>
+ * <p>
+ * If converting to a tar-based phar archive, the
+ * default extensions are .tar, .tar.gz,
+ * and .tar.bz2 depending on specified compression.
+ * For zip-based archives, the
+ * default extension is .zip.
+ * </p>
+ * @return PharData The method returns a PharData object on success and throws an
+ * exception on failure.
+ */
+ public function convertToData ($format = null, $compression = null, $extension = null) {}
+
+ /**
+ * Copy a file internal to the phar archive to another new file within the phar
+ * @link http://www.php.net/manual/en/phardata.copy.php
+ * @param oldfile string <p>
+ * </p>
+ * @param newfile string <p>
+ * </p>
+ * @return bool returns true on success, but it is safer to encase method call in a
+ * try/catch block and assume success if no exception is thrown.
+ */
+ public function copy ($oldfile, $newfile) {}
+
+ public function count () {}
+
+ /**
+ * Delete a file within a tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.delete.php
+ * @param entry string <p>
+ * Path within an archive to the file to delete.
+ * </p>
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function delete ($entry) {}
+
+ /**
+ * Deletes the global metadata of a zip archive
+ * @link http://www.php.net/manual/en/phardata.delmetadata.php
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function delMetadata () {}
+
+ /**
+ * Extract the contents of a tar/zip archive to a directory
+ * @link http://www.php.net/manual/en/phardata.extractto.php
+ * @param pathto string <p>
+ * Path within an archive to the file to delete.
+ * </p>
+ * @param files string|array[optional] <p>
+ * The name of a file or directory to extract, or an array of files/directories to extract
+ * </p>
+ * @param overwrite bool[optional] <p>
+ * Set to true to enable overwriting existing files
+ * </p>
+ * @return bool returns true on success, but it is better to check for thrown exception,
+ * and assume success if none is thrown.
+ */
+ public function extractTo ($pathto, $files = null, $overwrite = null) {}
+
+ public function getAlias () {}
+
+ public function getPath () {}
+
+ public function getMetadata () {}
+
+ public function getModified () {}
+
+ public function getSignature () {}
+
+ public function getStub () {}
+
+ public function getVersion () {}
+
+ public function hasMetadata () {}
+
+ public function isBuffering () {}
+
+ public function isCompressed () {}
+
+ /**
+ * @param fileformat
+ */
+ public function isFileFormat ($fileformat) {}
+
+ /**
+ * Returns true if the tar/zip archive can be modified
+ * @link http://www.php.net/manual/en/phardata.iswritable.php
+ * @return bool true if the tar/zip archive can be modified
+ */
+ public function isWritable () {}
+
+ /**
+ * @param entry
+ */
+ public function offsetExists ($entry) {}
+
+ /**
+ * @param entry
+ */
+ public function offsetGet ($entry) {}
+
+ /**
+ * set the contents of a file within the tar/zip to those of an external file or string
+ * @link http://www.php.net/manual/en/phardata.offsetset.php
+ * @param offset string <p>
+ * The filename (relative path) to modify in a tar or zip archive.
+ * </p>
+ * @param value string <p>
+ * Content of the file.
+ * </p>
+ * @return void No return values.
+ */
+ public function offsetSet ($offset, $value) {}
+
+ /**
+ * remove a file from a tar/zip archive
+ * @link http://www.php.net/manual/en/phardata.offsetunset.php
+ * @param offset string <p>
+ * The filename (relative path) to modify in the tar/zip archive.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function offsetUnset ($offset) {}
+
+ /**
+ * dummy function (Phar::setAlias is not valid for PharData)
+ * @link http://www.php.net/manual/en/phardata.setalias.php
+ * @param alias string <p>
+ * A shorthand string that this archive can be referred to in phar
+ * stream wrapper access. This parameter is ignored.
+ * </p>
+ * @return bool
+ */
+ public function setAlias ($alias) {}
+
+ /**
+ * dummy function (Phar::setDefaultStub is not valid for PharData)
+ * @link http://www.php.net/manual/en/phardata.setdefaultstub.php
+ * @param index string[optional] <p>
+ * Relative path within the phar archive to run if accessed on the command-line
+ * </p>
+ * @param webindex string[optional] <p>
+ * Relative path within the phar archive to run if accessed through a web browser
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setDefaultStub ($index = null, $webindex = null) {}
+
+ /**
+ * @param metadata
+ */
+ public function setMetadata ($metadata) {}
+
+ /**
+ * @param algorithm
+ * @param privatekey[optional]
+ */
+ public function setSignatureAlgorithm ($algorithm, $privatekey) {}
+
+ /**
+ * dummy function (Phar::setStub is not valid for PharData)
+ * @link http://www.php.net/manual/en/phardata.setstub.php
+ * @param stub string <p>
+ * A string or an open stream handle to use as the executable stub for this
+ * phar archive. This parameter is ignored.
+ * </p>
+ * @param len int[optional] <p>
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setStub ($stub, $len = null) {}
+
+ public function startBuffering () {}
+
+ public function stopBuffering () {}
+
+ final public static function apiVersion () {}
+
+ /**
+ * @param method[optional]
+ */
+ final public static function canCompress ($method) {}
+
+ final public static function canWrite () {}
+
+ /**
+ * @param index[optional]
+ * @param webindex[optional]
+ */
+ final public static function createDefaultStub ($index, $webindex) {}
+
+ final public static function getSupportedCompression () {}
+
+ final public static function getSupportedSignatures () {}
+
+ final public static function interceptFileFuncs () {}
+
+ /**
+ * @param filename
+ * @param executable[optional]
+ */
+ final public static function isValidPharFilename ($filename, $executable) {}
+
+ /**
+ * @param filename
+ * @param alias[optional]
+ */
+ final public static function loadPhar ($filename, $alias) {}
+
+ /**
+ * @param alias[optional]
+ * @param offset[optional]
+ */
+ final public static function mapPhar ($alias, $offset) {}
+
+ /**
+ * @param retphar
+ */
+ final public static function running ($retphar) {}
+
+ /**
+ * @param inphar
+ * @param externalfile
+ */
+ final public static function mount ($inphar, $externalfile) {}
+
+ /**
+ * @param munglist
+ */
+ final public static function mungServer ($munglist) {}
+
+ /**
+ * @param archive
+ */
+ final public static function unlinkArchive ($archive) {}
+
+ /**
+ * @param alias[optional]
+ * @param index[optional]
+ * @param f404[optional]
+ * @param mimetypes[optional]
+ * @param rewrites[optional]
+ */
+ final public static function webPhar ($alias, $index, $f404, $mimetypes, $rewrites) {}
+
+ /**
+ * Returns whether current entry is a directory and not '.' or '..'
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.haschildren.php
+ * @param allow_links bool[optional] <p>
+ * </p>
+ * @return bool whether the current entry is a directory, but not '.' or '..'
+ */
+ public function hasChildren ($allow_links = null) {}
+
+ /**
+ * Returns an iterator for the current entry if it is a directory
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getchildren.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator
+ * constants.
+ */
+ public function getChildren () {}
+
+ /**
+ * Get sub path
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpath.php
+ * @return string The sub path (sub directory).
+ */
+ public function getSubPath () {}
+
+ /**
+ * Get sub path and name
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpathname.php
+ * @return string The sub path (sub directory) and filename.
+ */
+ public function getSubPathname () {}
+
+ /**
+ * Rewinds back to the beginning
+ * @link http://www.php.net/manual/en/filesystemiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Move to the next file
+ * @link http://www.php.net/manual/en/filesystemiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Retrieve the key for the current file
+ * @link http://www.php.net/manual/en/filesystemiterator.key.php
+ * @return string the pathname or filename depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function key () {}
+
+ /**
+ * The current file
+ * @link http://www.php.net/manual/en/filesystemiterator.current.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function current () {}
+
+ /**
+ * Get the handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.getflags.php
+ * @return int The integer value of the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.setflags.php
+ * @param flags int[optional] <p>
+ * The handling flags to set.
+ * See the FilesystemIterator constants.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags = null) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class PharFileInfo extends SplFileInfo {
+
+ /**
+ * Construct a Phar entry object
+ * @link http://www.php.net/manual/en/pharfileinfo.construct.php
+ * @param filename
+ */
+ public function __construct ($filename) {}
+
+ public function __destruct () {}
+
+ /**
+ * Sets file-specific permission bits
+ * @link http://www.php.net/manual/en/pharfileinfo.chmod.php
+ * @param permissions int <p>
+ * permissions (see chmod)
+ * </p>
+ * @return void
+ */
+ public function chmod ($permissions) {}
+
+ /**
+ * Compresses the current Phar entry with either zlib or bzip2 compression
+ * @link http://www.php.net/manual/en/pharfileinfo.compress.php
+ * @param compression int
+ * @return bool Returns true on success or false on failure.
+ */
+ public function compress ($compression) {}
+
+ /**
+ * Decompresses the current Phar entry within the phar
+ * @link http://www.php.net/manual/en/pharfileinfo.decompress.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function decompress () {}
+
+ /**
+ * Deletes the metadata of the entry
+ * @link http://www.php.net/manual/en/pharfileinfo.delmetadata.php
+ * @return bool true if successful, false if the entry had no metadata.
+ * As with all functionality that modifies the contents of
+ * a phar, the phar.readonly INI variable
+ * must be off in order to succeed if the file is within a Phar
+ * archive. Files within PharData archives do not have
+ * this restriction.
+ */
+ public function delMetadata () {}
+
+ /**
+ * Returns the actual size of the file (with compression) inside the Phar archive
+ * @link http://www.php.net/manual/en/pharfileinfo.getcompressedsize.php
+ * @return int The size in bytes of the file within the Phar archive on disk.
+ */
+ public function getCompressedSize () {}
+
+ /**
+ * Returns CRC32 code or throws an exception if CRC has not been verified
+ * @link http://www.php.net/manual/en/pharfileinfo.getcrc32.php
+ * @return int The crc32 checksum of the file within the Phar archive.
+ */
+ public function getCRC32 () {}
+
+ public function getContent () {}
+
+ /**
+ * Returns file-specific meta-data saved with a file
+ * @link http://www.php.net/manual/en/pharfileinfo.getmetadata.php
+ * @return mixed any PHP variable that can be serialized and is stored as meta-data for the file,
+ * or &null; if no meta-data is stored.
+ */
+ public function getMetadata () {}
+
+ /**
+ * Returns the Phar file entry flags
+ * @link http://www.php.net/manual/en/pharfileinfo.getpharflags.php
+ * @return int The Phar flags (always 0 in the current implementation)
+ */
+ public function getPharFlags () {}
+
+ /**
+ * Returns the metadata of the entry
+ * @link http://www.php.net/manual/en/pharfileinfo.hasmetadata.php
+ * @return bool false if no metadata is set or is &null;, true if metadata is not &null;
+ */
+ public function hasMetadata () {}
+
+ /**
+ * Returns whether the entry is compressed
+ * @link http://www.php.net/manual/en/pharfileinfo.iscompressed.php
+ * @param compression_type int[optional] <p>
+ * One of Phar::GZ or Phar::BZ2,
+ * defaults to any compression.
+ * </p>
+ * @return bool true if the file is compressed within the Phar archive, false if not.
+ */
+ public function isCompressed ($compression_type = null) {}
+
+ /**
+ * Returns whether file entry has had its CRC verified
+ * @link http://www.php.net/manual/en/pharfileinfo.iscrcchecked.php
+ * @return bool true if the file has had its CRC verified, false if not.
+ */
+ public function isCRCChecked () {}
+
+ /**
+ * Sets file-specific meta-data saved with a file
+ * @link http://www.php.net/manual/en/pharfileinfo.setmetadata.php
+ * @param metadata mixed <p>
+ * Any PHP variable containing information to store alongside a file
+ * </p>
+ * @return void
+ */
+ public function setMetadata ($metadata) {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the filename
+ * @link http://www.php.net/manual/en/splfileinfo.getfilename.php
+ * @return string The filename.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/splfileinfo.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the base name of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getbasename.php
+ * @param suffix string[optional] <p>
+ * Optional suffix to omit from the base name returned.
+ * </p>
+ * @return string the base name without path information.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+ /**
+ * Returns the path to the file as a string
+ * @link http://www.php.net/manual/en/splfileinfo.tostring.php
+ * @return void the path to the file.
+ */
+ public function __toString () {}
+
+}
+// End of Phar v.2.0.1
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/Reflection.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/Reflection.php
new file mode 100644
index 0000000..0d4bf9f
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/Reflection.php
@@ -0,0 +1,2221 @@
+<?php
+
+// Start of Reflection v.$Id: b1f7484f243ca1baeb64560b43b1927e7279dc80 $
+
+class ReflectionException extends Exception {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 Reflection {
+
+ /**
+ * Gets modifier names
+ * @link http://www.php.net/manual/en/reflection.getmodifiernames.php
+ * @param modifiers int <p>
+ * The modifiers to get, which is from a numeric value.
+ * </p>
+ * @return array An array of modifier names.
+ */
+ public static function getModifierNames ($modifiers) {}
+
+ /**
+ * Exports
+ * @link http://www.php.net/manual/en/reflection.export.php
+ * @param reflector Reflector <p>
+ * &reflection.export.param.name;
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($reflector, $return = null) {}
+
+}
+
+interface Reflector {
+
+ /**
+ * Exports
+ * @link http://www.php.net/manual/en/reflector.export.php
+ * @return string
+ */
+ abstract public static function export () {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflector.tostring.php
+ * @return string
+ */
+ abstract public function __toString () {}
+
+}
+
+class ReflectionFunctionAbstract implements Reflector {
+ abstract public $name;
+
+
+ /**
+ * Clones function
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.tostring.php
+ * @return void The string.
+ */
+ abstract public function __toString () {}
+
+ /**
+ * Checks if function in namespace
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.innamespace.php
+ * @return bool true if it's in a namespace, otherwise false
+ */
+ public function inNamespace () {}
+
+ /**
+ * Checks if closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isclosure.php
+ * @return bool true if it's a closure, otherwise false
+ */
+ public function isClosure () {}
+
+ /**
+ * Checks if deprecated
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isdeprecated.php
+ * @return bool true if it's deprecated, otherwise false
+ */
+ public function isDeprecated () {}
+
+ /**
+ * Checks if is internal
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isinternal.php
+ * @return bool true if it's internal, otherwise false
+ */
+ public function isInternal () {}
+
+ /**
+ * Checks if user defined
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isuserdefined.php
+ * @return bool true if it's user-defined, otherwise false;
+ */
+ public function isUserDefined () {}
+
+ /**
+ * Returns whether this function is a generator
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isgenerator.php
+ * @return bool true if the function is generator, false if it is not or &null;
+ * on failure.
+ */
+ public function isGenerator () {}
+
+ /**
+ * Returns this pointer bound to closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurethis.php
+ * @return object $this pointer.
+ * Returns &null; in case of an error.
+ */
+ public function getClosureThis () {}
+
+ /**
+ * Returns the scope associated to the closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
+ * @return ReflectionClass the class on success or &null; on failure.
+ */
+ public function getClosureScopeClass () {}
+
+ /**
+ * Gets doc comment
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
+ * @return string The doc comment if it exists, otherwise false
+ */
+ public function getDocComment () {}
+
+ /**
+ * Gets end line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getendline.php
+ * @return int The ending line number of the user defined function, or false if unknown.
+ */
+ public function getEndLine () {}
+
+ /**
+ * Gets extension info
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextension.php
+ * @return ReflectionExtension The extension information, as a ReflectionExtension object.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets extension name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextensionname.php
+ * @return string The extensions name.
+ */
+ public function getExtensionName () {}
+
+ /**
+ * Gets file name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getfilename.php
+ * @return string The file name.
+ */
+ public function getFileName () {}
+
+ /**
+ * Gets function name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getname.php
+ * @return string The name of the function.
+ */
+ public function getName () {}
+
+ /**
+ * Gets namespace name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
+ * @return string The namespace name.
+ */
+ public function getNamespaceName () {}
+
+ /**
+ * Gets number of parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofparameters.php
+ * @return int The number of parameters.
+ */
+ public function getNumberOfParameters () {}
+
+ /**
+ * Gets number of required parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofrequiredparameters.php
+ * @return int The number of required parameters.
+ */
+ public function getNumberOfRequiredParameters () {}
+
+ /**
+ * Gets parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getparameters.php
+ * @return array The parameters, as a ReflectionParameter object.
+ */
+ public function getParameters () {}
+
+ /**
+ * Gets function short name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getshortname.php
+ * @return string The short name of the function.
+ */
+ public function getShortName () {}
+
+ /**
+ * Gets starting line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstartline.php
+ * @return int The starting line number.
+ */
+ public function getStartLine () {}
+
+ /**
+ * Gets static variables
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstaticvariables.php
+ * @return array An array of static variables.
+ */
+ public function getStaticVariables () {}
+
+ /**
+ * Checks if returns reference
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.returnsreference.php
+ * @return bool true if it returns a reference, otherwise false
+ */
+ public function returnsReference () {}
+
+}
+
+class ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
+ const IS_DEPRECATED = 262144;
+
+ public $name;
+
+
+ /**
+ * Constructs a ReflectionFunction object
+ * @link http://www.php.net/manual/en/reflectionfunction.construct.php
+ * @param name
+ */
+ public function __construct ($name) {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflectionfunction.tostring.php
+ * @return string ReflectionFunction::export-like output for
+ * the function.
+ */
+ public function __toString () {}
+
+ /**
+ * Exports function
+ * @link http://www.php.net/manual/en/reflectionfunction.export.php
+ * @param name string <p>
+ * &reflection.export.param.name;
+ * </p>
+ * @param return string[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($name, $return = null) {}
+
+ /**
+ * Checks if function is disabled
+ * @link http://www.php.net/manual/en/reflectionfunction.isdisabled.php
+ * @return bool true if it's disable, otherwise false
+ */
+ public function isDisabled () {}
+
+ /**
+ * Invokes function
+ * @link http://www.php.net/manual/en/reflectionfunction.invoke.php
+ * @param parameter mixed[optional]
+ * @param _ mixed[optional]
+ * @return mixed the result of the invoked function call.
+ */
+ public function invoke ($parameter = null, $_ = null) {}
+
+ /**
+ * Invokes function args
+ * @link http://www.php.net/manual/en/reflectionfunction.invokeargs.php
+ * @param args array <p>
+ * The passed arguments to the function as an array, much like
+ * call_user_func_array works.
+ * </p>
+ * @return mixed the result of the invoked function
+ */
+ public function invokeArgs (array $args) {}
+
+ /**
+ * Returns a dynamically created closure for the function
+ * @link http://www.php.net/manual/en/reflectionfunction.getclosure.php
+ * @return Closure Closure.
+ * Returns &null; in case of an error.
+ */
+ public function getClosure () {}
+
+ /**
+ * Clones function
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * Checks if function in namespace
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.innamespace.php
+ * @return bool true if it's in a namespace, otherwise false
+ */
+ public function inNamespace () {}
+
+ /**
+ * Checks if closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isclosure.php
+ * @return bool true if it's a closure, otherwise false
+ */
+ public function isClosure () {}
+
+ /**
+ * Checks if deprecated
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isdeprecated.php
+ * @return bool true if it's deprecated, otherwise false
+ */
+ public function isDeprecated () {}
+
+ /**
+ * Checks if is internal
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isinternal.php
+ * @return bool true if it's internal, otherwise false
+ */
+ public function isInternal () {}
+
+ /**
+ * Checks if user defined
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isuserdefined.php
+ * @return bool true if it's user-defined, otherwise false;
+ */
+ public function isUserDefined () {}
+
+ /**
+ * Returns whether this function is a generator
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isgenerator.php
+ * @return bool true if the function is generator, false if it is not or &null;
+ * on failure.
+ */
+ public function isGenerator () {}
+
+ /**
+ * Returns this pointer bound to closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurethis.php
+ * @return object $this pointer.
+ * Returns &null; in case of an error.
+ */
+ public function getClosureThis () {}
+
+ /**
+ * Returns the scope associated to the closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
+ * @return ReflectionClass the class on success or &null; on failure.
+ */
+ public function getClosureScopeClass () {}
+
+ /**
+ * Gets doc comment
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
+ * @return string The doc comment if it exists, otherwise false
+ */
+ public function getDocComment () {}
+
+ /**
+ * Gets end line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getendline.php
+ * @return int The ending line number of the user defined function, or false if unknown.
+ */
+ public function getEndLine () {}
+
+ /**
+ * Gets extension info
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextension.php
+ * @return ReflectionExtension The extension information, as a ReflectionExtension object.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets extension name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextensionname.php
+ * @return string The extensions name.
+ */
+ public function getExtensionName () {}
+
+ /**
+ * Gets file name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getfilename.php
+ * @return string The file name.
+ */
+ public function getFileName () {}
+
+ /**
+ * Gets function name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getname.php
+ * @return string The name of the function.
+ */
+ public function getName () {}
+
+ /**
+ * Gets namespace name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
+ * @return string The namespace name.
+ */
+ public function getNamespaceName () {}
+
+ /**
+ * Gets number of parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofparameters.php
+ * @return int The number of parameters.
+ */
+ public function getNumberOfParameters () {}
+
+ /**
+ * Gets number of required parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofrequiredparameters.php
+ * @return int The number of required parameters.
+ */
+ public function getNumberOfRequiredParameters () {}
+
+ /**
+ * Gets parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getparameters.php
+ * @return array The parameters, as a ReflectionParameter object.
+ */
+ public function getParameters () {}
+
+ /**
+ * Gets function short name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getshortname.php
+ * @return string The short name of the function.
+ */
+ public function getShortName () {}
+
+ /**
+ * Gets starting line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstartline.php
+ * @return int The starting line number.
+ */
+ public function getStartLine () {}
+
+ /**
+ * Gets static variables
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstaticvariables.php
+ * @return array An array of static variables.
+ */
+ public function getStaticVariables () {}
+
+ /**
+ * Checks if returns reference
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.returnsreference.php
+ * @return bool true if it returns a reference, otherwise false
+ */
+ public function returnsReference () {}
+
+}
+
+class ReflectionParameter implements Reflector {
+ public $name;
+
+
+ /**
+ * Clone
+ * @link http://www.php.net/manual/en/reflectionparameter.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * Exports
+ * @link http://www.php.net/manual/en/reflectionparameter.export.php
+ * @param function string <p>
+ * The function name.
+ * </p>
+ * @param parameter string <p>
+ * The parameter name.
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string The exported reflection.
+ */
+ public static function export ($function, $parameter, $return = null) {}
+
+ /**
+ * Construct
+ * @link http://www.php.net/manual/en/reflectionparameter.construct.php
+ * @param function
+ * @param parameter
+ */
+ public function __construct ($function, $parameter) {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflectionparameter.tostring.php
+ * @return string
+ */
+ public function __toString () {}
+
+ /**
+ * Gets parameter name
+ * @link http://www.php.net/manual/en/reflectionparameter.getname.php
+ * @return string The name of the reflected parameter.
+ */
+ public function getName () {}
+
+ /**
+ * Checks if passed by reference
+ * @link http://www.php.net/manual/en/reflectionparameter.ispassedbyreference.php
+ * @return bool true if the parameter is passed in by reference, otherwise false
+ */
+ public function isPassedByReference () {}
+
+ /**
+ * Returns whether this parameter can be passed by value
+ * @link http://www.php.net/manual/en/reflectionparameter.canbepassedbyvalue.php
+ * @return bool true if the parameter can be passed by value, false otherwise.
+ * Returns &null; in case of an error.
+ */
+ public function canBePassedByValue () {}
+
+ /**
+ * Gets declaring function
+ * @link http://www.php.net/manual/en/reflectionparameter.getdeclaringfunction.php
+ * @return ReflectionFunctionAbstract A ReflectionFunction object.
+ */
+ public function getDeclaringFunction () {}
+
+ /**
+ * Gets declaring class
+ * @link http://www.php.net/manual/en/reflectionparameter.getdeclaringclass.php
+ * @return ReflectionClass A ReflectionClass object.
+ */
+ public function getDeclaringClass () {}
+
+ /**
+ * Get class
+ * @link http://www.php.net/manual/en/reflectionparameter.getclass.php
+ * @return ReflectionClass A ReflectionClass object.
+ */
+ public function getClass () {}
+
+ /**
+ * Checks if parameter expects an array
+ * @link http://www.php.net/manual/en/reflectionparameter.isarray.php
+ * @return bool true if an array is expected, false otherwise.
+ */
+ public function isArray () {}
+
+ /**
+ * Returns whether parameter MUST be callable
+ * @link http://www.php.net/manual/en/reflectionparameter.iscallable.php
+ * @return bool true if the parameter is callable, false if it is
+ * not or &null; on failure.
+ */
+ public function isCallable () {}
+
+ /**
+ * Checks if null is allowed
+ * @link http://www.php.net/manual/en/reflectionparameter.allowsnull.php
+ * @return bool true if &null; is allowed, otherwise false
+ */
+ public function allowsNull () {}
+
+ /**
+ * Gets parameter position
+ * @link http://www.php.net/manual/en/reflectionparameter.getposition.php
+ * @return int The position of the parameter, left to right, starting at position #0.
+ */
+ public function getPosition () {}
+
+ /**
+ * Checks if optional
+ * @link http://www.php.net/manual/en/reflectionparameter.isoptional.php
+ * @return bool true if the parameter is optional, otherwise false
+ */
+ public function isOptional () {}
+
+ /**
+ * Checks if a default value is available
+ * @link http://www.php.net/manual/en/reflectionparameter.isdefaultvalueavailable.php
+ * @return bool true if a default value is available, otherwise false
+ */
+ public function isDefaultValueAvailable () {}
+
+ /**
+ * Gets default parameter value
+ * @link http://www.php.net/manual/en/reflectionparameter.getdefaultvalue.php
+ * @return mixed The parameters default value.
+ */
+ public function getDefaultValue () {}
+
+ /**
+ * Returns whether the default value of this parameter is constant
+ * @link http://www.php.net/manual/en/reflectionparameter.isdefaultvalueconstant.php
+ * @return bool true if the default value is constant, false if it is not or
+ * &null; on failure.
+ */
+ public function isDefaultValueConstant () {}
+
+ /**
+ * Returns the default value's constant name if default value is constant or null
+ * @link http://www.php.net/manual/en/reflectionparameter.getdefaultvalueconstantname.php
+ * @return string string on success or &null; on failure.
+ */
+ public function getDefaultValueConstantName () {}
+
+}
+
+class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector {
+ const IS_STATIC = 1;
+ const IS_PUBLIC = 256;
+ const IS_PROTECTED = 512;
+ const IS_PRIVATE = 1024;
+ const IS_ABSTRACT = 2;
+ const IS_FINAL = 4;
+
+ public $name;
+ public $class;
+
+
+ /**
+ * Export a reflection method.
+ * @link http://www.php.net/manual/en/reflectionmethod.export.php
+ * @param class string <p>
+ * The class name.
+ * </p>
+ * @param name string <p>
+ * The name of the method.
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($class, $name, $return = null) {}
+
+ /**
+ * Constructs a ReflectionMethod
+ * @link http://www.php.net/manual/en/reflectionmethod.construct.php
+ * @param class_method string <p>
+ * Class name and method name delimited by ::.
+ * </p>
+ * @return mixed
+ */
+ public function __construct ($class_method) {}
+
+ /**
+ * Returns the string representation of the Reflection method object.
+ * @link http://www.php.net/manual/en/reflectionmethod.tostring.php
+ * @return string A string representation of this ReflectionMethod instance.
+ */
+ public function __toString () {}
+
+ /**
+ * Checks if method is public
+ * @link http://www.php.net/manual/en/reflectionmethod.ispublic.php
+ * @return bool true if the method is public, otherwise false
+ */
+ public function isPublic () {}
+
+ /**
+ * Checks if method is private
+ * @link http://www.php.net/manual/en/reflectionmethod.isprivate.php
+ * @return bool true if the method is private, otherwise false
+ */
+ public function isPrivate () {}
+
+ /**
+ * Checks if method is protected
+ * @link http://www.php.net/manual/en/reflectionmethod.isprotected.php
+ * @return bool true if the method is protected, otherwise false
+ */
+ public function isProtected () {}
+
+ /**
+ * Checks if method is abstract
+ * @link http://www.php.net/manual/en/reflectionmethod.isabstract.php
+ * @return bool true if the method is abstract, otherwise false
+ */
+ public function isAbstract () {}
+
+ /**
+ * Checks if method is final
+ * @link http://www.php.net/manual/en/reflectionmethod.isfinal.php
+ * @return bool true if the method is final, otherwise false
+ */
+ public function isFinal () {}
+
+ /**
+ * Checks if method is static
+ * @link http://www.php.net/manual/en/reflectionmethod.isstatic.php
+ * @return bool true if the method is static, otherwise false
+ */
+ public function isStatic () {}
+
+ /**
+ * Checks if method is a constructor
+ * @link http://www.php.net/manual/en/reflectionmethod.isconstructor.php
+ * @return bool true if the method is a constructor, otherwise false
+ */
+ public function isConstructor () {}
+
+ /**
+ * Checks if method is a destructor
+ * @link http://www.php.net/manual/en/reflectionmethod.isdestructor.php
+ * @return bool true if the method is a destructor, otherwise false
+ */
+ public function isDestructor () {}
+
+ /**
+ * Returns a dynamically created closure for the method
+ * @link http://www.php.net/manual/en/reflectionmethod.getclosure.php
+ * @param object object <p>
+ * Forbidden for static methods, required for other methods.
+ * </p>
+ * @return Closure Closure.
+ * Returns &null; in case of an error.
+ */
+ public function getClosure ($object) {}
+
+ /**
+ * Gets the method modifiers
+ * @link http://www.php.net/manual/en/reflectionmethod.getmodifiers.php
+ * @return int A numeric representation of the modifiers. The modifiers are listed below.
+ * The actual meanings of these modifiers are described in the
+ * predefined constants.
+ */
+ public function getModifiers () {}
+
+ /**
+ * Invoke
+ * @link http://www.php.net/manual/en/reflectionmethod.invoke.php
+ * @param object object <p>
+ * The object to invoke the method on. For static methods, pass
+ * null to this parameter.
+ * </p>
+ * @param parameter mixed[optional] <p>
+ * Zero or more parameters to be passed to the method.
+ * It accepts a variable number of parameters which are passed to the method.
+ * </p>
+ * @param _ mixed[optional]
+ * @return mixed the method result.
+ */
+ public function invoke ($object, $parameter = null, $_ = null) {}
+
+ /**
+ * Invoke args
+ * @link http://www.php.net/manual/en/reflectionmethod.invokeargs.php
+ * @param object object <p>
+ * The object to invoke the method on. In case of static methods, you can pass
+ * null to this parameter.
+ * </p>
+ * @param args array <p>
+ * The parameters to be passed to the function, as an array.
+ * </p>
+ * @return mixed the method result.
+ */
+ public function invokeArgs ($object, array $args) {}
+
+ /**
+ * Gets declaring class for the reflected method.
+ * @link http://www.php.net/manual/en/reflectionmethod.getdeclaringclass.php
+ * @return ReflectionClass A ReflectionClass object of the class that the
+ * reflected method is part of.
+ */
+ public function getDeclaringClass () {}
+
+ /**
+ * Gets the method prototype (if there is one).
+ * @link http://www.php.net/manual/en/reflectionmethod.getprototype.php
+ * @return ReflectionMethod A ReflectionMethod instance of the method prototype.
+ */
+ public function getPrototype () {}
+
+ /**
+ * Set method accessibility
+ * @link http://www.php.net/manual/en/reflectionmethod.setaccessible.php
+ * @param accessible bool <p>
+ * true to allow accessibility, or false.
+ * </p>
+ * @return void
+ */
+ public function setAccessible ($accessible) {}
+
+ /**
+ * Clones function
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * Checks if function in namespace
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.innamespace.php
+ * @return bool true if it's in a namespace, otherwise false
+ */
+ public function inNamespace () {}
+
+ /**
+ * Checks if closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isclosure.php
+ * @return bool true if it's a closure, otherwise false
+ */
+ public function isClosure () {}
+
+ /**
+ * Checks if deprecated
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isdeprecated.php
+ * @return bool true if it's deprecated, otherwise false
+ */
+ public function isDeprecated () {}
+
+ /**
+ * Checks if is internal
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isinternal.php
+ * @return bool true if it's internal, otherwise false
+ */
+ public function isInternal () {}
+
+ /**
+ * Checks if user defined
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isuserdefined.php
+ * @return bool true if it's user-defined, otherwise false;
+ */
+ public function isUserDefined () {}
+
+ /**
+ * Returns whether this function is a generator
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.isgenerator.php
+ * @return bool true if the function is generator, false if it is not or &null;
+ * on failure.
+ */
+ public function isGenerator () {}
+
+ /**
+ * Returns this pointer bound to closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurethis.php
+ * @return object $this pointer.
+ * Returns &null; in case of an error.
+ */
+ public function getClosureThis () {}
+
+ /**
+ * Returns the scope associated to the closure
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
+ * @return ReflectionClass the class on success or &null; on failure.
+ */
+ public function getClosureScopeClass () {}
+
+ /**
+ * Gets doc comment
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
+ * @return string The doc comment if it exists, otherwise false
+ */
+ public function getDocComment () {}
+
+ /**
+ * Gets end line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getendline.php
+ * @return int The ending line number of the user defined function, or false if unknown.
+ */
+ public function getEndLine () {}
+
+ /**
+ * Gets extension info
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextension.php
+ * @return ReflectionExtension The extension information, as a ReflectionExtension object.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets extension name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getextensionname.php
+ * @return string The extensions name.
+ */
+ public function getExtensionName () {}
+
+ /**
+ * Gets file name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getfilename.php
+ * @return string The file name.
+ */
+ public function getFileName () {}
+
+ /**
+ * Gets function name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getname.php
+ * @return string The name of the function.
+ */
+ public function getName () {}
+
+ /**
+ * Gets namespace name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
+ * @return string The namespace name.
+ */
+ public function getNamespaceName () {}
+
+ /**
+ * Gets number of parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofparameters.php
+ * @return int The number of parameters.
+ */
+ public function getNumberOfParameters () {}
+
+ /**
+ * Gets number of required parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getnumberofrequiredparameters.php
+ * @return int The number of required parameters.
+ */
+ public function getNumberOfRequiredParameters () {}
+
+ /**
+ * Gets parameters
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getparameters.php
+ * @return array The parameters, as a ReflectionParameter object.
+ */
+ public function getParameters () {}
+
+ /**
+ * Gets function short name
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getshortname.php
+ * @return string The short name of the function.
+ */
+ public function getShortName () {}
+
+ /**
+ * Gets starting line number
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstartline.php
+ * @return int The starting line number.
+ */
+ public function getStartLine () {}
+
+ /**
+ * Gets static variables
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.getstaticvariables.php
+ * @return array An array of static variables.
+ */
+ public function getStaticVariables () {}
+
+ /**
+ * Checks if returns reference
+ * @link http://www.php.net/manual/en/reflectionfunctionabstract.returnsreference.php
+ * @return bool true if it returns a reference, otherwise false
+ */
+ public function returnsReference () {}
+
+}
+
+class ReflectionClass implements Reflector {
+ const IS_IMPLICIT_ABSTRACT = 16;
+ const IS_EXPLICIT_ABSTRACT = 32;
+ const IS_FINAL = 64;
+
+ public $name;
+
+
+ final private function __clone () {}
+
+ /**
+ * Exports a class
+ * @link http://www.php.net/manual/en/reflectionclass.export.php
+ * @param argument mixed <p>
+ * &reflection.export.param.name;
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($argument, $return = null) {}
+
+ /**
+ * Constructs a ReflectionClass
+ * @link http://www.php.net/manual/en/reflectionclass.construct.php
+ * @param argument
+ */
+ public function __construct ($argument) {}
+
+ /**
+ * Returns the string representation of the ReflectionClass object.
+ * @link http://www.php.net/manual/en/reflectionclass.tostring.php
+ * @return string A string representation of this ReflectionClass instance.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets class name
+ * @link http://www.php.net/manual/en/reflectionclass.getname.php
+ * @return string The class name.
+ */
+ public function getName () {}
+
+ /**
+ * Checks if class is defined internally by an extension, or the core
+ * @link http://www.php.net/manual/en/reflectionclass.isinternal.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInternal () {}
+
+ /**
+ * Checks if user defined
+ * @link http://www.php.net/manual/en/reflectionclass.isuserdefined.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isUserDefined () {}
+
+ /**
+ * Checks if the class is instantiable
+ * @link http://www.php.net/manual/en/reflectionclass.isinstantiable.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInstantiable () {}
+
+ /**
+ * Returns whether this class is cloneable
+ * @link http://www.php.net/manual/en/reflectionclass.iscloneable.php
+ * @return bool true if the class is cloneable, false otherwise.
+ */
+ public function isCloneable () {}
+
+ /**
+ * Gets the filename of the file in which the class has been defined
+ * @link http://www.php.net/manual/en/reflectionclass.getfilename.php
+ * @return string the filename of the file in which the class has been defined.
+ * If the class is defined in the PHP core or in a PHP extension, false
+ * is returned.
+ */
+ public function getFileName () {}
+
+ /**
+ * Gets starting line number
+ * @link http://www.php.net/manual/en/reflectionclass.getstartline.php
+ * @return int The starting line number, as an integer.
+ */
+ public function getStartLine () {}
+
+ /**
+ * Gets end line
+ * @link http://www.php.net/manual/en/reflectionclass.getendline.php
+ * @return int The ending line number of the user defined class, or false if unknown.
+ */
+ public function getEndLine () {}
+
+ /**
+ * Gets doc comments
+ * @link http://www.php.net/manual/en/reflectionclass.getdoccomment.php
+ * @return string The doc comment if it exists, otherwise false
+ */
+ public function getDocComment () {}
+
+ /**
+ * Gets the constructor of the class
+ * @link http://www.php.net/manual/en/reflectionclass.getconstructor.php
+ * @return ReflectionMethod A ReflectionMethod object reflecting the class' constructor, or &null; if the class
+ * has no constructor.
+ */
+ public function getConstructor () {}
+
+ /**
+ * Checks if method is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasmethod.php
+ * @param name string <p>
+ * Name of the method being checked for.
+ * </p>
+ * @return bool true if it has the method, otherwise false
+ */
+ public function hasMethod ($name) {}
+
+ /**
+ * Gets a <classname>ReflectionMethod</classname> for a class method.
+ * @link http://www.php.net/manual/en/reflectionclass.getmethod.php
+ * @param name string <p>
+ * The method name to reflect.
+ * </p>
+ * @return ReflectionMethod A ReflectionMethod.
+ */
+ public function getMethod ($name) {}
+
+ /**
+ * Gets an array of methods
+ * @link http://www.php.net/manual/en/reflectionclass.getmethods.php
+ * @param filter int[optional] <p>
+ * Filter the results to include only methods with certain attributes. Defaults
+ * to no filtering.
+ * </p>
+ * <p>
+ * Any combination of ReflectionMethod::IS_STATIC,
+ * ReflectionMethod::IS_PUBLIC,
+ * ReflectionMethod::IS_PROTECTED,
+ * ReflectionMethod::IS_PRIVATE,
+ * ReflectionMethod::IS_ABSTRACT,
+ * ReflectionMethod::IS_FINAL.
+ * </p>
+ * @return array An array of ReflectionMethod objects
+ * reflecting each method.
+ */
+ public function getMethods ($filter = null) {}
+
+ /**
+ * Checks if property is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasproperty.php
+ * @param name string <p>
+ * Name of the property being checked for.
+ * </p>
+ * @return bool true if it has the property, otherwise false
+ */
+ public function hasProperty ($name) {}
+
+ /**
+ * Gets a <classname>ReflectionProperty</classname> for a class's property
+ * @link http://www.php.net/manual/en/reflectionclass.getproperty.php
+ * @param name string <p>
+ * The property name.
+ * </p>
+ * @return ReflectionProperty A ReflectionProperty.
+ */
+ public function getProperty ($name) {}
+
+ /**
+ * Gets properties
+ * @link http://www.php.net/manual/en/reflectionclass.getproperties.php
+ * @param filter int[optional] <p>
+ * The optional filter, for filtering desired property types. It's configured using
+ * the ReflectionProperty constants,
+ * and defaults to all property types.
+ * </p>
+ * @return array An array of ReflectionProperty objects.
+ */
+ public function getProperties ($filter = null) {}
+
+ /**
+ * Checks if constant is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasconstant.php
+ * @param name string <p>
+ * The name of the constant being checked for.
+ * </p>
+ * @return bool true if the constant is defined, otherwise false.
+ */
+ public function hasConstant ($name) {}
+
+ /**
+ * Gets constants
+ * @link http://www.php.net/manual/en/reflectionclass.getconstants.php
+ * @return array An array of constants.
+ * Constant name in key, constant value in value.
+ */
+ public function getConstants () {}
+
+ /**
+ * Gets defined constant
+ * @link http://www.php.net/manual/en/reflectionclass.getconstant.php
+ * @param name string <p>
+ * Name of the constant.
+ * </p>
+ * @return mixed Value of the constant.
+ */
+ public function getConstant ($name) {}
+
+ /**
+ * Gets the interfaces
+ * @link http://www.php.net/manual/en/reflectionclass.getinterfaces.php
+ * @return array An associative array of interfaces, with keys as interface
+ * names and the array values as ReflectionClass objects.
+ */
+ public function getInterfaces () {}
+
+ /**
+ * Gets the interface names
+ * @link http://www.php.net/manual/en/reflectionclass.getinterfacenames.php
+ * @return array A numerical array with interface names as the values.
+ */
+ public function getInterfaceNames () {}
+
+ /**
+ * Checks if the class is an interface
+ * @link http://www.php.net/manual/en/reflectionclass.isinterface.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInterface () {}
+
+ /**
+ * Returns an array of traits used by this class
+ * @link http://www.php.net/manual/en/reflectionclass.gettraits.php
+ * @return array an array with trait names in keys and instances of trait's
+ * ReflectionClass in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraits () {}
+
+ /**
+ * Returns an array of names of traits used by this class
+ * @link http://www.php.net/manual/en/reflectionclass.gettraitnames.php
+ * @return array an array with trait names in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraitNames () {}
+
+ /**
+ * Returns an array of trait aliases
+ * @link http://www.php.net/manual/en/reflectionclass.gettraitaliases.php
+ * @return array an array with new method names in keys and original names (in the
+ * format "TraitName::original") in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraitAliases () {}
+
+ /**
+ * Returns whether this is a trait
+ * @link http://www.php.net/manual/en/reflectionclass.istrait.php
+ * @return bool true if this is a trait, false otherwise.
+ * Returns &null; in case of an error.
+ */
+ public function isTrait () {}
+
+ /**
+ * Checks if class is abstract
+ * @link http://www.php.net/manual/en/reflectionclass.isabstract.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isAbstract () {}
+
+ /**
+ * Checks if class is final
+ * @link http://www.php.net/manual/en/reflectionclass.isfinal.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isFinal () {}
+
+ /**
+ * Gets modifiers
+ * @link http://www.php.net/manual/en/reflectionclass.getmodifiers.php
+ * @return int bitmask of
+ * modifier constants.
+ */
+ public function getModifiers () {}
+
+ /**
+ * Checks class for instance
+ * @link http://www.php.net/manual/en/reflectionclass.isinstance.php
+ * @param object object <p>
+ * The object being compared to.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInstance ($object) {}
+
+ /**
+ * Creates a new class instance from given arguments.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstance.php
+ * @param args mixed <p>
+ * Accepts a variable number of arguments which are passed to the class
+ * constructor, much like call_user_func.
+ * </p>
+ * @param _ mixed[optional]
+ * @return object
+ */
+ public function newInstance ($args, $_ = null) {}
+
+ /**
+ * Creates a new class instance without invoking the constructor.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstancewithoutconstructor.php
+ * @return object
+ */
+ public function newInstanceWithoutConstructor () {}
+
+ /**
+ * Creates a new class instance from given arguments.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstanceargs.php
+ * @param args array[optional] <p>
+ * The parameters to be passed to the class constructor as an array.
+ * </p>
+ * @return object a new instance of the class.
+ */
+ public function newInstanceArgs (array $args = null) {}
+
+ /**
+ * Gets parent class
+ * @link http://www.php.net/manual/en/reflectionclass.getparentclass.php
+ * @return object A ReflectionClass.
+ */
+ public function getParentClass () {}
+
+ /**
+ * Checks if a subclass
+ * @link http://www.php.net/manual/en/reflectionclass.issubclassof.php
+ * @param class string <p>
+ * The class name being checked against.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isSubclassOf ($class) {}
+
+ /**
+ * Gets static properties
+ * @link http://www.php.net/manual/en/reflectionclass.getstaticproperties.php
+ * @return array The static properties, as an array.
+ */
+ public function getStaticProperties () {}
+
+ /**
+ * Gets static property value
+ * @link http://www.php.net/manual/en/reflectionclass.getstaticpropertyvalue.php
+ * @param name string <p>
+ * The name of the static property for which to return a value.
+ * </p>
+ * @param def_value mixed[optional] <p>
+ * </p>
+ * @return mixed The value of the static property.
+ */
+ public function getStaticPropertyValue ($name, &$def_value = null) {}
+
+ /**
+ * Sets static property value
+ * @link http://www.php.net/manual/en/reflectionclass.setstaticpropertyvalue.php
+ * @param name string <p>
+ * Property name.
+ * </p>
+ * @param value string <p>
+ * New property value.
+ * </p>
+ * @return void
+ */
+ public function setStaticPropertyValue ($name, $value) {}
+
+ /**
+ * Gets default properties
+ * @link http://www.php.net/manual/en/reflectionclass.getdefaultproperties.php
+ * @return array An array of default properties, with the key being the name of
+ * the property and the value being the default value of the property or &null;
+ * if the property doesn't have a default value. The function does not distinguish
+ * between static and non static properties and does not take visibility modifiers
+ * into account.
+ */
+ public function getDefaultProperties () {}
+
+ /**
+ * Checks if iterateable
+ * @link http://www.php.net/manual/en/reflectionclass.isiterateable.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isIterateable () {}
+
+ /**
+ * Implements interface
+ * @link http://www.php.net/manual/en/reflectionclass.implementsinterface.php
+ * @param interface string <p>
+ * The interface name.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function implementsInterface ($interface) {}
+
+ /**
+ * Gets a <classname>ReflectionExtension</classname> object for the extension which defined the class
+ * @link http://www.php.net/manual/en/reflectionclass.getextension.php
+ * @return ReflectionExtension A ReflectionExtension object representing the extension which defined the class,
+ * or &null; for user-defined classes.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the name of the extension which defined the class
+ * @link http://www.php.net/manual/en/reflectionclass.getextensionname.php
+ * @return string The name of the extension which defined the class, or false for user-defined classes.
+ */
+ public function getExtensionName () {}
+
+ /**
+ * Checks if in namespace
+ * @link http://www.php.net/manual/en/reflectionclass.innamespace.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function inNamespace () {}
+
+ /**
+ * Gets namespace name
+ * @link http://www.php.net/manual/en/reflectionclass.getnamespacename.php
+ * @return string The namespace name.
+ */
+ public function getNamespaceName () {}
+
+ /**
+ * Gets short name
+ * @link http://www.php.net/manual/en/reflectionclass.getshortname.php
+ * @return string The class short name.
+ */
+ public function getShortName () {}
+
+}
+
+class ReflectionObject extends ReflectionClass implements Reflector {
+ const IS_IMPLICIT_ABSTRACT = 16;
+ const IS_EXPLICIT_ABSTRACT = 32;
+ const IS_FINAL = 64;
+
+ public $name;
+
+
+ /**
+ * Export
+ * @link http://www.php.net/manual/en/reflectionobject.export.php
+ * @param argument string <p>
+ * &reflection.export.param.name;
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($argument, $return = null) {}
+
+ /**
+ * Constructs a ReflectionObject
+ * @link http://www.php.net/manual/en/reflectionobject.construct.php
+ * @param argument
+ */
+ public function __construct ($argument) {}
+
+ final private function __clone () {}
+
+ /**
+ * Returns the string representation of the ReflectionClass object.
+ * @link http://www.php.net/manual/en/reflectionclass.tostring.php
+ * @return string A string representation of this ReflectionClass instance.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets class name
+ * @link http://www.php.net/manual/en/reflectionclass.getname.php
+ * @return string The class name.
+ */
+ public function getName () {}
+
+ /**
+ * Checks if class is defined internally by an extension, or the core
+ * @link http://www.php.net/manual/en/reflectionclass.isinternal.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInternal () {}
+
+ /**
+ * Checks if user defined
+ * @link http://www.php.net/manual/en/reflectionclass.isuserdefined.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isUserDefined () {}
+
+ /**
+ * Checks if the class is instantiable
+ * @link http://www.php.net/manual/en/reflectionclass.isinstantiable.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInstantiable () {}
+
+ /**
+ * Returns whether this class is cloneable
+ * @link http://www.php.net/manual/en/reflectionclass.iscloneable.php
+ * @return bool true if the class is cloneable, false otherwise.
+ */
+ public function isCloneable () {}
+
+ /**
+ * Gets the filename of the file in which the class has been defined
+ * @link http://www.php.net/manual/en/reflectionclass.getfilename.php
+ * @return string the filename of the file in which the class has been defined.
+ * If the class is defined in the PHP core or in a PHP extension, false
+ * is returned.
+ */
+ public function getFileName () {}
+
+ /**
+ * Gets starting line number
+ * @link http://www.php.net/manual/en/reflectionclass.getstartline.php
+ * @return int The starting line number, as an integer.
+ */
+ public function getStartLine () {}
+
+ /**
+ * Gets end line
+ * @link http://www.php.net/manual/en/reflectionclass.getendline.php
+ * @return int The ending line number of the user defined class, or false if unknown.
+ */
+ public function getEndLine () {}
+
+ /**
+ * Gets doc comments
+ * @link http://www.php.net/manual/en/reflectionclass.getdoccomment.php
+ * @return string The doc comment if it exists, otherwise false
+ */
+ public function getDocComment () {}
+
+ /**
+ * Gets the constructor of the class
+ * @link http://www.php.net/manual/en/reflectionclass.getconstructor.php
+ * @return ReflectionMethod A ReflectionMethod object reflecting the class' constructor, or &null; if the class
+ * has no constructor.
+ */
+ public function getConstructor () {}
+
+ /**
+ * Checks if method is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasmethod.php
+ * @param name string <p>
+ * Name of the method being checked for.
+ * </p>
+ * @return bool true if it has the method, otherwise false
+ */
+ public function hasMethod ($name) {}
+
+ /**
+ * Gets a <classname>ReflectionMethod</classname> for a class method.
+ * @link http://www.php.net/manual/en/reflectionclass.getmethod.php
+ * @param name string <p>
+ * The method name to reflect.
+ * </p>
+ * @return ReflectionMethod A ReflectionMethod.
+ */
+ public function getMethod ($name) {}
+
+ /**
+ * Gets an array of methods
+ * @link http://www.php.net/manual/en/reflectionclass.getmethods.php
+ * @param filter int[optional] <p>
+ * Filter the results to include only methods with certain attributes. Defaults
+ * to no filtering.
+ * </p>
+ * <p>
+ * Any combination of ReflectionMethod::IS_STATIC,
+ * ReflectionMethod::IS_PUBLIC,
+ * ReflectionMethod::IS_PROTECTED,
+ * ReflectionMethod::IS_PRIVATE,
+ * ReflectionMethod::IS_ABSTRACT,
+ * ReflectionMethod::IS_FINAL.
+ * </p>
+ * @return array An array of ReflectionMethod objects
+ * reflecting each method.
+ */
+ public function getMethods ($filter = null) {}
+
+ /**
+ * Checks if property is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasproperty.php
+ * @param name string <p>
+ * Name of the property being checked for.
+ * </p>
+ * @return bool true if it has the property, otherwise false
+ */
+ public function hasProperty ($name) {}
+
+ /**
+ * Gets a <classname>ReflectionProperty</classname> for a class's property
+ * @link http://www.php.net/manual/en/reflectionclass.getproperty.php
+ * @param name string <p>
+ * The property name.
+ * </p>
+ * @return ReflectionProperty A ReflectionProperty.
+ */
+ public function getProperty ($name) {}
+
+ /**
+ * Gets properties
+ * @link http://www.php.net/manual/en/reflectionclass.getproperties.php
+ * @param filter int[optional] <p>
+ * The optional filter, for filtering desired property types. It's configured using
+ * the ReflectionProperty constants,
+ * and defaults to all property types.
+ * </p>
+ * @return array An array of ReflectionProperty objects.
+ */
+ public function getProperties ($filter = null) {}
+
+ /**
+ * Checks if constant is defined
+ * @link http://www.php.net/manual/en/reflectionclass.hasconstant.php
+ * @param name string <p>
+ * The name of the constant being checked for.
+ * </p>
+ * @return bool true if the constant is defined, otherwise false.
+ */
+ public function hasConstant ($name) {}
+
+ /**
+ * Gets constants
+ * @link http://www.php.net/manual/en/reflectionclass.getconstants.php
+ * @return array An array of constants.
+ * Constant name in key, constant value in value.
+ */
+ public function getConstants () {}
+
+ /**
+ * Gets defined constant
+ * @link http://www.php.net/manual/en/reflectionclass.getconstant.php
+ * @param name string <p>
+ * Name of the constant.
+ * </p>
+ * @return mixed Value of the constant.
+ */
+ public function getConstant ($name) {}
+
+ /**
+ * Gets the interfaces
+ * @link http://www.php.net/manual/en/reflectionclass.getinterfaces.php
+ * @return array An associative array of interfaces, with keys as interface
+ * names and the array values as ReflectionClass objects.
+ */
+ public function getInterfaces () {}
+
+ /**
+ * Gets the interface names
+ * @link http://www.php.net/manual/en/reflectionclass.getinterfacenames.php
+ * @return array A numerical array with interface names as the values.
+ */
+ public function getInterfaceNames () {}
+
+ /**
+ * Checks if the class is an interface
+ * @link http://www.php.net/manual/en/reflectionclass.isinterface.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInterface () {}
+
+ /**
+ * Returns an array of traits used by this class
+ * @link http://www.php.net/manual/en/reflectionclass.gettraits.php
+ * @return array an array with trait names in keys and instances of trait's
+ * ReflectionClass in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraits () {}
+
+ /**
+ * Returns an array of names of traits used by this class
+ * @link http://www.php.net/manual/en/reflectionclass.gettraitnames.php
+ * @return array an array with trait names in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraitNames () {}
+
+ /**
+ * Returns an array of trait aliases
+ * @link http://www.php.net/manual/en/reflectionclass.gettraitaliases.php
+ * @return array an array with new method names in keys and original names (in the
+ * format "TraitName::original") in values.
+ * Returns &null; in case of an error.
+ */
+ public function getTraitAliases () {}
+
+ /**
+ * Returns whether this is a trait
+ * @link http://www.php.net/manual/en/reflectionclass.istrait.php
+ * @return bool true if this is a trait, false otherwise.
+ * Returns &null; in case of an error.
+ */
+ public function isTrait () {}
+
+ /**
+ * Checks if class is abstract
+ * @link http://www.php.net/manual/en/reflectionclass.isabstract.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isAbstract () {}
+
+ /**
+ * Checks if class is final
+ * @link http://www.php.net/manual/en/reflectionclass.isfinal.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isFinal () {}
+
+ /**
+ * Gets modifiers
+ * @link http://www.php.net/manual/en/reflectionclass.getmodifiers.php
+ * @return int bitmask of
+ * modifier constants.
+ */
+ public function getModifiers () {}
+
+ /**
+ * Checks class for instance
+ * @link http://www.php.net/manual/en/reflectionclass.isinstance.php
+ * @param object object <p>
+ * The object being compared to.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isInstance ($object) {}
+
+ /**
+ * Creates a new class instance from given arguments.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstance.php
+ * @param args mixed <p>
+ * Accepts a variable number of arguments which are passed to the class
+ * constructor, much like call_user_func.
+ * </p>
+ * @param _ mixed[optional]
+ * @return object
+ */
+ public function newInstance ($args, $_ = null) {}
+
+ /**
+ * Creates a new class instance without invoking the constructor.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstancewithoutconstructor.php
+ * @return object
+ */
+ public function newInstanceWithoutConstructor () {}
+
+ /**
+ * Creates a new class instance from given arguments.
+ * @link http://www.php.net/manual/en/reflectionclass.newinstanceargs.php
+ * @param args array[optional] <p>
+ * The parameters to be passed to the class constructor as an array.
+ * </p>
+ * @return object a new instance of the class.
+ */
+ public function newInstanceArgs (array $args = null) {}
+
+ /**
+ * Gets parent class
+ * @link http://www.php.net/manual/en/reflectionclass.getparentclass.php
+ * @return object A ReflectionClass.
+ */
+ public function getParentClass () {}
+
+ /**
+ * Checks if a subclass
+ * @link http://www.php.net/manual/en/reflectionclass.issubclassof.php
+ * @param class string <p>
+ * The class name being checked against.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isSubclassOf ($class) {}
+
+ /**
+ * Gets static properties
+ * @link http://www.php.net/manual/en/reflectionclass.getstaticproperties.php
+ * @return array The static properties, as an array.
+ */
+ public function getStaticProperties () {}
+
+ /**
+ * Gets static property value
+ * @link http://www.php.net/manual/en/reflectionclass.getstaticpropertyvalue.php
+ * @param name string <p>
+ * The name of the static property for which to return a value.
+ * </p>
+ * @param def_value mixed[optional] <p>
+ * </p>
+ * @return mixed The value of the static property.
+ */
+ public function getStaticPropertyValue ($name, &$def_value = null) {}
+
+ /**
+ * Sets static property value
+ * @link http://www.php.net/manual/en/reflectionclass.setstaticpropertyvalue.php
+ * @param name string <p>
+ * Property name.
+ * </p>
+ * @param value string <p>
+ * New property value.
+ * </p>
+ * @return void
+ */
+ public function setStaticPropertyValue ($name, $value) {}
+
+ /**
+ * Gets default properties
+ * @link http://www.php.net/manual/en/reflectionclass.getdefaultproperties.php
+ * @return array An array of default properties, with the key being the name of
+ * the property and the value being the default value of the property or &null;
+ * if the property doesn't have a default value. The function does not distinguish
+ * between static and non static properties and does not take visibility modifiers
+ * into account.
+ */
+ public function getDefaultProperties () {}
+
+ /**
+ * Checks if iterateable
+ * @link http://www.php.net/manual/en/reflectionclass.isiterateable.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function isIterateable () {}
+
+ /**
+ * Implements interface
+ * @link http://www.php.net/manual/en/reflectionclass.implementsinterface.php
+ * @param interface string <p>
+ * The interface name.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function implementsInterface ($interface) {}
+
+ /**
+ * Gets a <classname>ReflectionExtension</classname> object for the extension which defined the class
+ * @link http://www.php.net/manual/en/reflectionclass.getextension.php
+ * @return ReflectionExtension A ReflectionExtension object representing the extension which defined the class,
+ * or &null; for user-defined classes.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the name of the extension which defined the class
+ * @link http://www.php.net/manual/en/reflectionclass.getextensionname.php
+ * @return string The name of the extension which defined the class, or false for user-defined classes.
+ */
+ public function getExtensionName () {}
+
+ /**
+ * Checks if in namespace
+ * @link http://www.php.net/manual/en/reflectionclass.innamespace.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function inNamespace () {}
+
+ /**
+ * Gets namespace name
+ * @link http://www.php.net/manual/en/reflectionclass.getnamespacename.php
+ * @return string The namespace name.
+ */
+ public function getNamespaceName () {}
+
+ /**
+ * Gets short name
+ * @link http://www.php.net/manual/en/reflectionclass.getshortname.php
+ * @return string The class short name.
+ */
+ public function getShortName () {}
+
+}
+
+class ReflectionProperty implements Reflector {
+ const IS_STATIC = 1;
+ const IS_PUBLIC = 256;
+ const IS_PROTECTED = 512;
+ const IS_PRIVATE = 1024;
+
+ public $name;
+ public $class;
+
+
+ /**
+ * Clone
+ * @link http://www.php.net/manual/en/reflectionproperty.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * Export
+ * @link http://www.php.net/manual/en/reflectionproperty.export.php
+ * @param class mixed
+ * @param name string <p>
+ * The property name.
+ * </p>
+ * @param return bool[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string
+ */
+ public static function export ($class, $name, $return = null) {}
+
+ /**
+ * Construct a ReflectionProperty object
+ * @link http://www.php.net/manual/en/reflectionproperty.construct.php
+ * @param class
+ * @param name
+ */
+ public function __construct ($class, $name) {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflectionproperty.tostring.php
+ * @return string
+ */
+ public function __toString () {}
+
+ /**
+ * Gets property name
+ * @link http://www.php.net/manual/en/reflectionproperty.getname.php
+ * @return string The name of the reflected property.
+ */
+ public function getName () {}
+
+ /**
+ * Gets value
+ * @link http://www.php.net/manual/en/reflectionproperty.getvalue.php
+ * @param object object[optional] <p>
+ * If the property is non-static an object must be provided to fetch the
+ * property from. If you want to fetch the default property without
+ * providing an object use ReflectionClass::getDefaultProperties
+ * instead.
+ * </p>
+ * @return mixed The current value of the property.
+ */
+ public function getValue ($object = null) {}
+
+ /**
+ * Set property value
+ * @link http://www.php.net/manual/en/reflectionproperty.setvalue.php
+ * @param object object <p>
+ * If the property is non-static an object must be provided to change
+ * the property on. If the property is static this parameter is left
+ * out and only value needs to be provided.
+ * </p>
+ * @param value mixed <p>
+ * The new value.
+ * </p>
+ * @return void
+ */
+ public function setValue ($object, $value) {}
+
+ /**
+ * Checks if property is public
+ * @link http://www.php.net/manual/en/reflectionproperty.ispublic.php
+ * @return bool true if the property is public, false otherwise.
+ */
+ public function isPublic () {}
+
+ /**
+ * Checks if property is private
+ * @link http://www.php.net/manual/en/reflectionproperty.isprivate.php
+ * @return bool true if the property is private, false otherwise.
+ */
+ public function isPrivate () {}
+
+ /**
+ * Checks if property is protected
+ * @link http://www.php.net/manual/en/reflectionproperty.isprotected.php
+ * @return bool true if the property is protected, false otherwise.
+ */
+ public function isProtected () {}
+
+ /**
+ * Checks if property is static
+ * @link http://www.php.net/manual/en/reflectionproperty.isstatic.php
+ * @return bool true if the property is static, false otherwise.
+ */
+ public function isStatic () {}
+
+ /**
+ * Checks if default value
+ * @link http://www.php.net/manual/en/reflectionproperty.isdefault.php
+ * @return bool true if the property was declared at compile-time, or false if
+ * it was created at run-time.
+ */
+ public function isDefault () {}
+
+ /**
+ * Gets modifiers
+ * @link http://www.php.net/manual/en/reflectionproperty.getmodifiers.php
+ * @return int A numeric representation of the modifiers.
+ */
+ public function getModifiers () {}
+
+ /**
+ * Gets declaring class
+ * @link http://www.php.net/manual/en/reflectionproperty.getdeclaringclass.php
+ * @return ReflectionClass A ReflectionClass object.
+ */
+ public function getDeclaringClass () {}
+
+ /**
+ * Gets doc comment
+ * @link http://www.php.net/manual/en/reflectionproperty.getdoccomment.php
+ * @return string The doc comment.
+ */
+ public function getDocComment () {}
+
+ /**
+ * Set property accessibility
+ * @link http://www.php.net/manual/en/reflectionproperty.setaccessible.php
+ * @param accessible bool <p>
+ * true to allow accessibility, or false.
+ * </p>
+ * @return void
+ */
+ public function setAccessible ($accessible) {}
+
+}
+
+class ReflectionExtension implements Reflector {
+ public $name;
+
+
+ /**
+ * Clones
+ * @link http://www.php.net/manual/en/reflectionextension.clone.php
+ * @return void No value is returned, if called a fatal error will occur.
+ */
+ final private function __clone () {}
+
+ /**
+ * Export
+ * @link http://www.php.net/manual/en/reflectionextension.export.php
+ * @param name string <p>
+ * &reflection.export.param.name;
+ * </p>
+ * @param return string[optional] <p>
+ * &reflection.export.param.return;
+ * </p>
+ * @return string &reflection.export.return;
+ */
+ public static function export ($name, $return = null) {}
+
+ /**
+ * Constructs a ReflectionExtension
+ * @link http://www.php.net/manual/en/reflectionextension.construct.php
+ * @param name
+ */
+ public function __construct ($name) {}
+
+ /**
+ * To string
+ * @link http://www.php.net/manual/en/reflectionextension.tostring.php
+ * @return string the exported extension as a string, in the same way as the
+ * ReflectionExtension::export.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets extension name
+ * @link http://www.php.net/manual/en/reflectionextension.getname.php
+ * @return string The extensions name.
+ */
+ public function getName () {}
+
+ /**
+ * Gets extension version
+ * @link http://www.php.net/manual/en/reflectionextension.getversion.php
+ * @return string The version of the extension.
+ */
+ public function getVersion () {}
+
+ /**
+ * Gets extension functions
+ * @link http://www.php.net/manual/en/reflectionextension.getfunctions.php
+ * @return array An associative array of ReflectionFunction objects,
+ * for each function defined in the extension with the keys being the function
+ * names. If no function are defined, an empty array is returned.
+ */
+ public function getFunctions () {}
+
+ /**
+ * Gets constants
+ * @link http://www.php.net/manual/en/reflectionextension.getconstants.php
+ * @return array An associative array with constant names as keys.
+ */
+ public function getConstants () {}
+
+ /**
+ * Gets extension ini entries
+ * @link http://www.php.net/manual/en/reflectionextension.getinientries.php
+ * @return array An associative array with the ini entries as keys,
+ * with their defined values as values.
+ */
+ public function getINIEntries () {}
+
+ /**
+ * Gets classes
+ * @link http://www.php.net/manual/en/reflectionextension.getclasses.php
+ * @return array An array of ReflectionClass objects, one
+ * for each class within the extension. If no classes are defined,
+ * an empty array is returned.
+ */
+ public function getClasses () {}
+
+ /**
+ * Gets class names
+ * @link http://www.php.net/manual/en/reflectionextension.getclassnames.php
+ * @return array An array of class names, as defined in the extension.
+ * If no classes are defined, an empty array is returned.
+ */
+ public function getClassNames () {}
+
+ /**
+ * Gets dependencies
+ * @link http://www.php.net/manual/en/reflectionextension.getdependencies.php
+ * @return array An associative array with dependencies as keys and
+ * either Required, Optional
+ * or Conflicts as the values.
+ */
+ public function getDependencies () {}
+
+ /**
+ * Print extension info
+ * @link http://www.php.net/manual/en/reflectionextension.info.php
+ * @return void Information about the extension.
+ */
+ public function info () {}
+
+ /**
+ * Returns whether this extension is persistent
+ * @link http://www.php.net/manual/en/reflectionextension.ispersistent.php
+ * @return void true for extensions loaded by extension, false
+ * otherwise.
+ */
+ public function isPersistent () {}
+
+ /**
+ * Returns whether this extension is temporary
+ * @link http://www.php.net/manual/en/reflectionextension.istemporary.php
+ * @return void true for extensions loaded by dl,
+ * false otherwise.
+ */
+ public function isTemporary () {}
+
+}
+
+class ReflectionZendExtension implements Reflector {
+ public $name;
+
+
+ /**
+ * Clone handler
+ * @link http://www.php.net/manual/en/reflectionzendextension.clone.php
+ * @return void
+ */
+ final private function __clone () {}
+
+ /**
+ * Export
+ * @link http://www.php.net/manual/en/reflectionzendextension.export.php
+ * @param name string <p>
+ * </p>
+ * @param return string[optional] <p>
+ * </p>
+ * @return string
+ */
+ public static function export ($name, $return = null) {}
+
+ /**
+ * Constructor
+ * @link http://www.php.net/manual/en/reflectionzendextension.construct.php
+ * @param name
+ */
+ public function __construct ($name) {}
+
+ /**
+ * To string handler
+ * @link http://www.php.net/manual/en/reflectionzendextension.tostring.php
+ * @return string
+ */
+ public function __toString () {}
+
+ /**
+ * Gets name
+ * @link http://www.php.net/manual/en/reflectionzendextension.getname.php
+ * @return string
+ */
+ public function getName () {}
+
+ /**
+ * Gets version
+ * @link http://www.php.net/manual/en/reflectionzendextension.getversion.php
+ * @return string
+ */
+ public function getVersion () {}
+
+ /**
+ * Gets author
+ * @link http://www.php.net/manual/en/reflectionzendextension.getauthor.php
+ * @return string
+ */
+ public function getAuthor () {}
+
+ /**
+ * Gets URL
+ * @link http://www.php.net/manual/en/reflectionzendextension.geturl.php
+ * @return string
+ */
+ public function getURL () {}
+
+ /**
+ * Gets copyright
+ * @link http://www.php.net/manual/en/reflectionzendextension.getcopyright.php
+ * @return string
+ */
+ public function getCopyright () {}
+
+}
+// End of Reflection v.$Id: b1f7484f243ca1baeb64560b43b1927e7279dc80 $
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/SPL.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/SPL.php
new file mode 100644
index 0000000..98c89bc
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/SPL.php
@@ -0,0 +1,7324 @@
+<?php
+
+// Start of SPL v.0.2
+
+class LogicException extends Exception {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 BadFunctionCallException extends LogicException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 BadMethodCallException extends BadFunctionCallException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 DomainException extends LogicException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 InvalidArgumentException extends LogicException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 LengthException extends LogicException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 OutOfRangeException extends LogicException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 RuntimeException extends Exception {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 OutOfBoundsException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 OverflowException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 RangeException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 UnderflowException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 UnexpectedValueException extends RuntimeException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 () {}
+
+}
+
+interface RecursiveIterator extends Iterator, Traversable {
+
+ /**
+ * Returns if an iterator can be created fot the current entry.
+ * @link http://www.php.net/manual/en/recursiveiterator.haschildren.php
+ * @return bool true if the current entry can be iterated over, otherwise returns false.
+ */
+ abstract public function hasChildren () {}
+
+ /**
+ * Returns an iterator for the current entry.
+ * @link http://www.php.net/manual/en/recursiveiterator.getchildren.php
+ * @return RecursiveIterator An iterator for the current entry.
+ */
+ abstract public function getChildren () {}
+
+ abstract public function current () {}
+
+ abstract public function next () {}
+
+ abstract public function key () {}
+
+ abstract public function valid () {}
+
+ abstract public function rewind () {}
+
+}
+
+class RecursiveIteratorIterator implements Iterator, Traversable, OuterIterator {
+ const LEAVES_ONLY = 0;
+ const SELF_FIRST = 1;
+ const CHILD_FIRST = 2;
+ const CATCH_GET_CHILD = 16;
+
+
+ /**
+ * Construct a RecursiveIteratorIterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.construct.php
+ * @param iterator Traversable
+ * @param mode[optional]
+ * @param flags[optional]
+ */
+ public function __construct (Traversable $iterator, $mode, $flags) {}
+
+ /**
+ * Rewind the iterator to the first element of the top level inner iterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current position is valid
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.valid.php
+ * @return bool true if the current position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Access the current key
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Access the current element value
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.current.php
+ * @return mixed The current elements value.
+ */
+ public function current () {}
+
+ /**
+ * Move forward to the next element
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the current depth of the recursive iteration
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getdepth.php
+ * @return int The current depth of the recursive iteration.
+ */
+ public function getDepth () {}
+
+ /**
+ * The current active sub iterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getsubiterator.php
+ * @param level int[optional] <p>
+ * </p>
+ * @return RecursiveIterator The current active sub iterator.
+ */
+ public function getSubIterator ($level = null) {}
+
+ /**
+ * Get inner iterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getinneriterator.php
+ * @return iterator The current active sub iterator.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Begin Iteration
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.beginiteration.php
+ * @return void
+ */
+ public function beginIteration () {}
+
+ /**
+ * End Iteration
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.enditeration.php
+ * @return void
+ */
+ public function endIteration () {}
+
+ /**
+ * Has children
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.callhaschildren.php
+ * @return bool true if the element has children, otherwise false
+ */
+ public function callHasChildren () {}
+
+ /**
+ * Get children
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.callgetchildren.php
+ * @return RecursiveIterator A RecursiveIterator.
+ */
+ public function callGetChildren () {}
+
+ /**
+ * Begin children
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.beginchildren.php
+ * @return void
+ */
+ public function beginChildren () {}
+
+ /**
+ * End children
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.endchildren.php
+ * @return void
+ */
+ public function endChildren () {}
+
+ /**
+ * Next element
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.nextelement.php
+ * @return void
+ */
+ public function nextElement () {}
+
+ /**
+ * Set max depth
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.setmaxdepth.php
+ * @param max_depth string[optional] <p>
+ * The maximum allowed depth. -1 is used
+ * for any depth.
+ * </p>
+ * @return void
+ */
+ public function setMaxDepth ($max_depth = null) {}
+
+ /**
+ * Get max depth
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getmaxdepth.php
+ * @return mixed The maximum accepted depth, or false if any depth is allowed.
+ */
+ public function getMaxDepth () {}
+
+}
+
+interface OuterIterator extends Iterator, Traversable {
+
+ /**
+ * Returns the inner iterator for the current entry.
+ * @link http://www.php.net/manual/en/outeriterator.getinneriterator.php
+ * @return Iterator The inner iterator for the current entry.
+ */
+ abstract public function getInnerIterator () {}
+
+ abstract public function current () {}
+
+ abstract public function next () {}
+
+ abstract public function key () {}
+
+ abstract public function valid () {}
+
+ abstract public function rewind () {}
+
+}
+
+class IteratorIterator implements Iterator, Traversable, OuterIterator {
+
+ /**
+ * Create an iterator from anything that is traversable
+ * @link http://www.php.net/manual/en/iteratoriterator.construct.php
+ * @param iterator Traversable
+ */
+ public function __construct (Traversable $iterator) {}
+
+ /**
+ * Rewind to the first element
+ * @link http://www.php.net/manual/en/iteratoriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Checks if the iterator is valid
+ * @link http://www.php.net/manual/en/iteratoriterator.valid.php
+ * @return bool true if the iterator is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the key of the current element
+ * @link http://www.php.net/manual/en/iteratoriterator.key.php
+ * @return scalar The key of the current element.
+ */
+ public function key () {}
+
+ /**
+ * Get the current value
+ * @link http://www.php.net/manual/en/iteratoriterator.current.php
+ * @return mixed The value of the current element.
+ */
+ public function current () {}
+
+ /**
+ * Forward to the next element
+ * @link http://www.php.net/manual/en/iteratoriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/iteratoriterator.getinneriterator.php
+ * @return Traversable The inner iterator as passed to IteratorIterator::__construct.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class FilterIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator {
+
+ /**
+ * Construct a filterIterator
+ * @link http://www.php.net/manual/en/filteriterator.construct.php
+ * @param iterator Iterator
+ */
+ public function __construct (Iterator $iterator) {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Check whether the current element of the iterator is acceptable
+ * @link http://www.php.net/manual/en/filteriterator.accept.php
+ * @return bool true if the current element is acceptable, otherwise false.
+ */
+ abstract public function accept () {}
+
+}
+
+class RecursiveFilterIterator extends FilterIterator implements Iterator, Traversable, OuterIterator, RecursiveIterator {
+
+ /**
+ * Create a RecursiveFilterIterator from a RecursiveIterator
+ * @link http://www.php.net/manual/en/recursivefilteriterator.construct.php
+ * @param iterator RecursiveIterator
+ */
+ public function __construct (RecursiveIterator $iterator) {}
+
+ /**
+ * Check whether the inner iterator's current element has children
+ * @link http://www.php.net/manual/en/recursivefilteriterator.haschildren.php
+ * @return void true if the inner iterator has children, otherwise false
+ */
+ public function hasChildren () {}
+
+ /**
+ * Return the inner iterator's children contained in a RecursiveFilterIterator
+ * @link http://www.php.net/manual/en/recursivefilteriterator.getchildren.php
+ * @return void a RecursiveFilterIterator containing the inner iterator's children.
+ */
+ public function getChildren () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Check whether the current element of the iterator is acceptable
+ * @link http://www.php.net/manual/en/filteriterator.accept.php
+ * @return bool true if the current element is acceptable, otherwise false.
+ */
+ abstract public function accept () {}
+
+}
+
+class CallbackFilterIterator extends FilterIterator implements Iterator, Traversable, OuterIterator {
+
+ /**
+ * Create a filtered iterator from another iterator
+ * @link http://www.php.net/manual/en/callbackfilteriterator.construct.php
+ * @param iterator Iterator
+ * @param callback
+ */
+ public function __construct (Iterator $iterator, $callback) {}
+
+ /**
+ * Calls the callback with the current value, the current key and the inner iterator as arguments
+ * @link http://www.php.net/manual/en/callbackfilteriterator.accept.php
+ * @return string true to accept the current item, or false otherwise.
+ */
+ public function accept () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements OuterIterator, Traversable, Iterator, RecursiveIterator {
+
+ /**
+ * Create a RecursiveCallbackFilterIterator from a RecursiveIterator
+ * @link http://www.php.net/manual/en/recursivecallbackfilteriterator.construct.php
+ * @param iterator RecursiveIterator
+ * @param callback
+ */
+ public function __construct (RecursiveIterator $iterator, $callback) {}
+
+ /**
+ * Check whether the inner iterator's current element has children
+ * @link http://www.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php
+ * @return void true if the current element has children, false otherwise.
+ */
+ public function hasChildren () {}
+
+ /**
+ * Return the inner iterator's children contained in a RecursiveCallbackFilterIterator
+ * @link http://www.php.net/manual/en/recursivecallbackfilteriterator.getchildren.php
+ * @return RecursiveCallbackFilterIterator a RecursiveCallbackFilterIterator containing
+ * the children.
+ */
+ public function getChildren () {}
+
+ /**
+ * Calls the callback with the current value, the current key and the inner iterator as arguments
+ * @link http://www.php.net/manual/en/callbackfilteriterator.accept.php
+ * @return string true to accept the current item, or false otherwise.
+ */
+ public function accept () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class ParentIterator extends RecursiveFilterIterator implements RecursiveIterator, OuterIterator, Traversable, Iterator {
+
+ /**
+ * Constructs a ParentIterator
+ * @link http://www.php.net/manual/en/parentiterator.construct.php
+ * @param iterator RecursiveIterator
+ */
+ public function __construct (RecursiveIterator $iterator) {}
+
+ /**
+ * Determines acceptability
+ * @link http://www.php.net/manual/en/parentiterator.accept.php
+ * @return bool true if the current element is acceptable, otherwise false.
+ */
+ public function accept () {}
+
+ /**
+ * Check whether the inner iterator's current element has children
+ * @link http://www.php.net/manual/en/recursivefilteriterator.haschildren.php
+ * @return void true if the inner iterator has children, otherwise false
+ */
+ public function hasChildren () {}
+
+ /**
+ * Return the inner iterator's children contained in a RecursiveFilterIterator
+ * @link http://www.php.net/manual/en/recursivefilteriterator.getchildren.php
+ * @return void a RecursiveFilterIterator containing the inner iterator's children.
+ */
+ public function getChildren () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+}
+
+interface Countable {
+
+ /**
+ * Count elements of an object
+ * @link http://www.php.net/manual/en/countable.count.php
+ * @return int The custom count as an integer.
+ * </p>
+ * <p>
+ * The return value is cast to an integer.
+ */
+ abstract public function count () {}
+
+}
+
+interface SeekableIterator extends Iterator, Traversable {
+
+ /**
+ * Seeks to a position
+ * @link http://www.php.net/manual/en/seekableiterator.seek.php
+ * @param position int <p>
+ * The position to seek to.
+ * </p>
+ * @return void
+ */
+ abstract public function seek ($position) {}
+
+ abstract public function current () {}
+
+ abstract public function next () {}
+
+ abstract public function key () {}
+
+ abstract public function valid () {}
+
+ abstract public function rewind () {}
+
+}
+
+class LimitIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator {
+
+ /**
+ * Construct a LimitIterator
+ * @link http://www.php.net/manual/en/limititerator.construct.php
+ * @param iterator Iterator
+ * @param offset[optional]
+ * @param count[optional]
+ */
+ public function __construct (Iterator $iterator, $offset, $count) {}
+
+ /**
+ * Rewind the iterator to the specified starting offset
+ * @link http://www.php.net/manual/en/limititerator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/limititerator.valid.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function valid () {}
+
+ /**
+ * Get current key
+ * @link http://www.php.net/manual/en/limititerator.key.php
+ * @return mixed the key for the current item.
+ */
+ public function key () {}
+
+ /**
+ * Get current element
+ * @link http://www.php.net/manual/en/limititerator.current.php
+ * @return mixed the current element or &null; if there is none.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/limititerator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Seek to the given position
+ * @link http://www.php.net/manual/en/limititerator.seek.php
+ * @param position int <p>
+ * The position to seek to.
+ * </p>
+ * @return int the offset position after seeking.
+ */
+ public function seek ($position) {}
+
+ /**
+ * Return the current position
+ * @link http://www.php.net/manual/en/limititerator.getposition.php
+ * @return int The current position.
+ */
+ public function getPosition () {}
+
+ /**
+ * Get inner iterator
+ * @link http://www.php.net/manual/en/limititerator.getinneriterator.php
+ * @return Iterator The inner iterator passed to LimitIterator::__construct.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class CachingIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator, ArrayAccess, Countable {
+ const CALL_TOSTRING = 1;
+ const CATCH_GET_CHILD = 16;
+ const TOSTRING_USE_KEY = 2;
+ const TOSTRING_USE_CURRENT = 4;
+ const TOSTRING_USE_INNER = 8;
+ const FULL_CACHE = 256;
+
+
+ /**
+ * Construct a new CachingIterator object for the iterator.
+ * @link http://www.php.net/manual/en/cachingiterator.construct.php
+ * @param iterator Iterator
+ * @param flags[optional]
+ */
+ public function __construct (Iterator $iterator, $flags) {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/cachingiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/cachingiterator.valid.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function valid () {}
+
+ /**
+ * Return the key for the current element
+ * @link http://www.php.net/manual/en/cachingiterator.key.php
+ * @return scalar
+ */
+ public function key () {}
+
+ /**
+ * Return the current element
+ * @link http://www.php.net/manual/en/cachingiterator.current.php
+ * @return void Mixed
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/cachingiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the inner iterator has a valid next element
+ * @link http://www.php.net/manual/en/cachingiterator.hasnext.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function hasNext () {}
+
+ /**
+ * Return the string representation of the current element
+ * @link http://www.php.net/manual/en/cachingiterator.tostring.php
+ * @return void The string representation of the current element.
+ */
+ public function __toString () {}
+
+ /**
+ * Returns the inner iterator
+ * @link http://www.php.net/manual/en/cachingiterator.getinneriterator.php
+ * @return Iterator an object implementing the Iterator interface.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Get flags used
+ * @link http://www.php.net/manual/en/cachingiterator.getflags.php
+ * @return void Description...
+ */
+ public function getFlags () {}
+
+ /**
+ * The setFlags purpose
+ * @link http://www.php.net/manual/en/cachingiterator.setflags.php
+ * @param flags bitmask <p>
+ * Bitmask of the flags to set.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * The offsetGet purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetget.php
+ * @param index string <p>
+ * Description...
+ * </p>
+ * @return void Description...
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * The offsetSet purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetset.php
+ * @param index string <p>
+ * The index of the element to be set.
+ * </p>
+ * @param newval string <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * The offsetUnset purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetunset.php
+ * @param index string <p>
+ * The index of the element to be unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * The offsetExists purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetexists.php
+ * @param index string <p>
+ * The index being checked.
+ * </p>
+ * @return void true if an entry referenced by the offset exists, false otherwise.
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * The getCache purpose
+ * @link http://www.php.net/manual/en/cachingiterator.getcache.php
+ * @return void Description...
+ */
+ public function getCache () {}
+
+ /**
+ * The number of elements in the iterator
+ * @link http://www.php.net/manual/en/cachingiterator.count.php
+ * @return int The count of the elements iterated over.
+ */
+ public function count () {}
+
+}
+
+class RecursiveCachingIterator extends CachingIterator implements Countable, ArrayAccess, Iterator, Traversable, OuterIterator, RecursiveIterator {
+ const CALL_TOSTRING = 1;
+ const CATCH_GET_CHILD = 16;
+ const TOSTRING_USE_KEY = 2;
+ const TOSTRING_USE_CURRENT = 4;
+ const TOSTRING_USE_INNER = 8;
+ const FULL_CACHE = 256;
+
+
+ /**
+ * Construct
+ * @link http://www.php.net/manual/en/recursivecachingiterator.construct.php
+ * @param iterator Iterator
+ * @param flags[optional]
+ */
+ public function __construct (Iterator $iterator, $flags) {}
+
+ /**
+ * Check whether the current element of the inner iterator has children
+ * @link http://www.php.net/manual/en/recursivecachingiterator.haschildren.php
+ * @return bool true if the inner iterator has children, otherwise false
+ */
+ public function hasChildren () {}
+
+ /**
+ * Return the inner iterator's children as a RecursiveCachingIterator
+ * @link http://www.php.net/manual/en/recursivecachingiterator.getchildren.php
+ * @return RecursiveCachingIterator The inner iterator's children, as a RecursiveCachingIterator.
+ */
+ public function getChildren () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/cachingiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/cachingiterator.valid.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function valid () {}
+
+ /**
+ * Return the key for the current element
+ * @link http://www.php.net/manual/en/cachingiterator.key.php
+ * @return scalar
+ */
+ public function key () {}
+
+ /**
+ * Return the current element
+ * @link http://www.php.net/manual/en/cachingiterator.current.php
+ * @return void Mixed
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/cachingiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the inner iterator has a valid next element
+ * @link http://www.php.net/manual/en/cachingiterator.hasnext.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function hasNext () {}
+
+ /**
+ * Return the string representation of the current element
+ * @link http://www.php.net/manual/en/cachingiterator.tostring.php
+ * @return void The string representation of the current element.
+ */
+ public function __toString () {}
+
+ /**
+ * Returns the inner iterator
+ * @link http://www.php.net/manual/en/cachingiterator.getinneriterator.php
+ * @return Iterator an object implementing the Iterator interface.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Get flags used
+ * @link http://www.php.net/manual/en/cachingiterator.getflags.php
+ * @return void Description...
+ */
+ public function getFlags () {}
+
+ /**
+ * The setFlags purpose
+ * @link http://www.php.net/manual/en/cachingiterator.setflags.php
+ * @param flags bitmask <p>
+ * Bitmask of the flags to set.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * The offsetGet purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetget.php
+ * @param index string <p>
+ * Description...
+ * </p>
+ * @return void Description...
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * The offsetSet purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetset.php
+ * @param index string <p>
+ * The index of the element to be set.
+ * </p>
+ * @param newval string <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * The offsetUnset purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetunset.php
+ * @param index string <p>
+ * The index of the element to be unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * The offsetExists purpose
+ * @link http://www.php.net/manual/en/cachingiterator.offsetexists.php
+ * @param index string <p>
+ * The index being checked.
+ * </p>
+ * @return void true if an entry referenced by the offset exists, false otherwise.
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * The getCache purpose
+ * @link http://www.php.net/manual/en/cachingiterator.getcache.php
+ * @return void Description...
+ */
+ public function getCache () {}
+
+ /**
+ * The number of elements in the iterator
+ * @link http://www.php.net/manual/en/cachingiterator.count.php
+ * @return int The count of the elements iterated over.
+ */
+ public function count () {}
+
+}
+
+class NoRewindIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator {
+
+ /**
+ * Construct a NoRewindIterator
+ * @link http://www.php.net/manual/en/norewinditerator.construct.php
+ * @param iterator Iterator
+ */
+ public function __construct (Iterator $iterator) {}
+
+ /**
+ * Prevents the rewind operation on the inner iterator.
+ * @link http://www.php.net/manual/en/norewinditerator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Validates the iterator
+ * @link http://www.php.net/manual/en/norewinditerator.valid.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/norewinditerator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current value
+ * @link http://www.php.net/manual/en/norewinditerator.current.php
+ * @return mixed The current value.
+ */
+ public function current () {}
+
+ /**
+ * Forward to the next element
+ * @link http://www.php.net/manual/en/norewinditerator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/norewinditerator.getinneriterator.php
+ * @return iterator The inner iterator, as passed to NoRewindIterator::__construct.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class AppendIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator {
+
+ /**
+ * Constructs an AppendIterator
+ * @link http://www.php.net/manual/en/appenditerator.construct.php
+ */
+ public function __construct () {}
+
+ /**
+ * Appends an iterator
+ * @link http://www.php.net/manual/en/appenditerator.append.php
+ * @param iterator Iterator <p>
+ * The iterator to append.
+ * </p>
+ * @return void
+ */
+ public function append ($iterator) {}
+
+ /**
+ * Rewinds the Iterator
+ * @link http://www.php.net/manual/en/appenditerator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Checks validity of the current element
+ * @link http://www.php.net/manual/en/appenditerator.valid.php
+ * @return bool true if the current iteration is valid, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Gets the current key
+ * @link http://www.php.net/manual/en/appenditerator.key.php
+ * @return scalar The current key if it is valid or &null; otherwise.
+ */
+ public function key () {}
+
+ /**
+ * Gets the current value
+ * @link http://www.php.net/manual/en/appenditerator.current.php
+ * @return mixed The current value if it is valid or &null; otherwise.
+ */
+ public function current () {}
+
+ /**
+ * Moves to the next element
+ * @link http://www.php.net/manual/en/appenditerator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Gets the inner iterator
+ * @link http://www.php.net/manual/en/appenditerator.getinneriterator.php
+ * @return Iterator The current inner iterator, or &null; if there is not one.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Gets an index of iterators
+ * @link http://www.php.net/manual/en/appenditerator.getiteratorindex.php
+ * @return int an integer, which is the zero-based index
+ * of the current inner iterator.
+ */
+ public function getIteratorIndex () {}
+
+ /**
+ * Gets the ArrayIterator
+ * @link http://www.php.net/manual/en/appenditerator.getarrayiterator.php
+ * @return void an ArrayIterator containing
+ * the appended iterators.
+ */
+ public function getArrayIterator () {}
+
+}
+
+class InfiniteIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator {
+
+ /**
+ * Constructs an InfiniteIterator
+ * @link http://www.php.net/manual/en/infiniteiterator.construct.php
+ * @param iterator Iterator
+ */
+ public function __construct (Iterator $iterator) {}
+
+ /**
+ * Moves the inner Iterator forward or rewinds it
+ * @link http://www.php.net/manual/en/infiniteiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Rewind to the first element
+ * @link http://www.php.net/manual/en/iteratoriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Checks if the iterator is valid
+ * @link http://www.php.net/manual/en/iteratoriterator.valid.php
+ * @return bool true if the iterator is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the key of the current element
+ * @link http://www.php.net/manual/en/iteratoriterator.key.php
+ * @return scalar The key of the current element.
+ */
+ public function key () {}
+
+ /**
+ * Get the current value
+ * @link http://www.php.net/manual/en/iteratoriterator.current.php
+ * @return mixed The value of the current element.
+ */
+ public function current () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/iteratoriterator.getinneriterator.php
+ * @return Traversable The inner iterator as passed to IteratorIterator::__construct.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class RegexIterator extends FilterIterator implements Iterator, Traversable, OuterIterator {
+ const USE_KEY = 1;
+ const MATCH = 0;
+ const GET_MATCH = 1;
+ const ALL_MATCHES = 2;
+ const SPLIT = 3;
+ const REPLACE = 4;
+
+ public $replacement;
+
+
+ /**
+ * Create a new RegexIterator
+ * @link http://www.php.net/manual/en/regexiterator.construct.php
+ * @param iterator Iterator
+ * @param regex
+ * @param mode[optional]
+ * @param flags[optional]
+ * @param preg_flags[optional]
+ */
+ public function __construct (Iterator $iterator, $regex, $mode, $flags, $preg_flags) {}
+
+ /**
+ * Get accept status
+ * @link http://www.php.net/manual/en/regexiterator.accept.php
+ * @return bool true if a match, false otherwise.
+ */
+ public function accept () {}
+
+ /**
+ * Returns operation mode.
+ * @link http://www.php.net/manual/en/regexiterator.getmode.php
+ * @return int the operation mode.
+ */
+ public function getMode () {}
+
+ /**
+ * Sets the operation mode.
+ * @link http://www.php.net/manual/en/regexiterator.setmode.php
+ * @param mode int <p>
+ * The operation mode.
+ * </p>
+ * <p>
+ * The available modes are listed below. The actual
+ * meanings of these modes are described in the
+ * predefined constants.
+ * <table>
+ * RegexIterator modes
+ * <tr valign="top">
+ * <td>value</td>
+ * <td>constant</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>0</td>
+ * <td>
+ * RegexIterator::MATCH
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>
+ * RegexIterator::GET_MATCH
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>2</td>
+ * <td>
+ * RegexIterator::ALL_MATCHES
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>3</td>
+ * <td>
+ * RegexIterator::SPLIT
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>4</td>
+ * <td>
+ * RegexIterator::REPLACE
+ * </td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return void
+ */
+ public function setMode ($mode) {}
+
+ /**
+ * Get flags
+ * @link http://www.php.net/manual/en/regexiterator.getflags.php
+ * @return int the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets the flags.
+ * @link http://www.php.net/manual/en/regexiterator.setflags.php
+ * @param flags int <p>
+ * The flags to set, a bitmask of class constants.
+ * </p>
+ * <p>
+ * The available flags are listed below. The actual
+ * meanings of these flags are described in the
+ * predefined constants.
+ * <table>
+ * RegexIterator flags
+ * <tr valign="top">
+ * <td>value</td>
+ * <td>constant</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>
+ * RegexIterator::USE_KEY
+ * </td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Returns the regular expression flags.
+ * @link http://www.php.net/manual/en/regexiterator.getpregflags.php
+ * @return int a bitmask of the regular expression flags.
+ */
+ public function getPregFlags () {}
+
+ /**
+ * Sets the regular expression flags.
+ * @link http://www.php.net/manual/en/regexiterator.setpregflags.php
+ * @param preg_flags int <p>
+ * The regular expression flags. See RegexIterator::__construct
+ * for an overview of available flags.
+ * </p>
+ * @return void
+ */
+ public function setPregFlags ($preg_flags) {}
+
+ /**
+ * Returns current regular expression
+ * @link http://www.php.net/manual/en/regexiterator.getregex.php
+ * @return string
+ */
+ public function getRegex () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class RecursiveRegexIterator extends RegexIterator implements OuterIterator, Traversable, Iterator, RecursiveIterator {
+ const USE_KEY = 1;
+ const MATCH = 0;
+ const GET_MATCH = 1;
+ const ALL_MATCHES = 2;
+ const SPLIT = 3;
+ const REPLACE = 4;
+
+ public $replacement;
+
+
+ /**
+ * Creates a new RecursiveRegexIterator.
+ * @link http://www.php.net/manual/en/recursiveregexiterator.construct.php
+ * @param iterator RecursiveIterator
+ * @param regex
+ * @param mode[optional]
+ * @param flags[optional]
+ * @param preg_flags[optional]
+ */
+ public function __construct (RecursiveIterator $iterator, $regex, $mode, $flags, $preg_flags) {}
+
+ /**
+ * Returns whether an iterator can be obtained for the current entry.
+ * @link http://www.php.net/manual/en/recursiveregexiterator.haschildren.php
+ * @return bool true if an iterator can be obtained for the current entry, otherwise returns false.
+ */
+ public function hasChildren () {}
+
+ /**
+ * Returns an iterator for the current entry.
+ * @link http://www.php.net/manual/en/recursiveregexiterator.getchildren.php
+ * @return RecursiveRegexIterator An iterator for the current entry, if it can be iterated over by the inner iterator.
+ */
+ public function getChildren () {}
+
+ /**
+ * Get accept status
+ * @link http://www.php.net/manual/en/regexiterator.accept.php
+ * @return bool true if a match, false otherwise.
+ */
+ public function accept () {}
+
+ /**
+ * Returns operation mode.
+ * @link http://www.php.net/manual/en/regexiterator.getmode.php
+ * @return int the operation mode.
+ */
+ public function getMode () {}
+
+ /**
+ * Sets the operation mode.
+ * @link http://www.php.net/manual/en/regexiterator.setmode.php
+ * @param mode int <p>
+ * The operation mode.
+ * </p>
+ * <p>
+ * The available modes are listed below. The actual
+ * meanings of these modes are described in the
+ * predefined constants.
+ * <table>
+ * RegexIterator modes
+ * <tr valign="top">
+ * <td>value</td>
+ * <td>constant</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>0</td>
+ * <td>
+ * RegexIterator::MATCH
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>
+ * RegexIterator::GET_MATCH
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>2</td>
+ * <td>
+ * RegexIterator::ALL_MATCHES
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>3</td>
+ * <td>
+ * RegexIterator::SPLIT
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>4</td>
+ * <td>
+ * RegexIterator::REPLACE
+ * </td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return void
+ */
+ public function setMode ($mode) {}
+
+ /**
+ * Get flags
+ * @link http://www.php.net/manual/en/regexiterator.getflags.php
+ * @return int the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets the flags.
+ * @link http://www.php.net/manual/en/regexiterator.setflags.php
+ * @param flags int <p>
+ * The flags to set, a bitmask of class constants.
+ * </p>
+ * <p>
+ * The available flags are listed below. The actual
+ * meanings of these flags are described in the
+ * predefined constants.
+ * <table>
+ * RegexIterator flags
+ * <tr valign="top">
+ * <td>value</td>
+ * <td>constant</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>
+ * RegexIterator::USE_KEY
+ * </td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Returns the regular expression flags.
+ * @link http://www.php.net/manual/en/regexiterator.getpregflags.php
+ * @return int a bitmask of the regular expression flags.
+ */
+ public function getPregFlags () {}
+
+ /**
+ * Sets the regular expression flags.
+ * @link http://www.php.net/manual/en/regexiterator.setpregflags.php
+ * @param preg_flags int <p>
+ * The regular expression flags. See RegexIterator::__construct
+ * for an overview of available flags.
+ * </p>
+ * @return void
+ */
+ public function setPregFlags ($preg_flags) {}
+
+ /**
+ * Returns current regular expression
+ * @link http://www.php.net/manual/en/regexiterator.getregex.php
+ * @return string
+ */
+ public function getRegex () {}
+
+ /**
+ * Rewind the iterator
+ * @link http://www.php.net/manual/en/filteriterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/filteriterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the current key
+ * @link http://www.php.net/manual/en/filteriterator.key.php
+ * @return mixed The current key.
+ */
+ public function key () {}
+
+ /**
+ * Get the current element value
+ * @link http://www.php.net/manual/en/filteriterator.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Move the iterator forward
+ * @link http://www.php.net/manual/en/filteriterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Get the inner iterator
+ * @link http://www.php.net/manual/en/filteriterator.getinneriterator.php
+ * @return Iterator The inner iterator.
+ */
+ public function getInnerIterator () {}
+
+}
+
+class EmptyIterator implements Iterator, Traversable {
+
+ /**
+ * The rewind() method
+ * @link http://www.php.net/manual/en/emptyiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * The valid() method
+ * @link http://www.php.net/manual/en/emptyiterator.valid.php
+ * @return void false
+ */
+ public function valid () {}
+
+ /**
+ * The key() method
+ * @link http://www.php.net/manual/en/emptyiterator.key.php
+ * @return void
+ */
+ public function key () {}
+
+ /**
+ * The current() method
+ * @link http://www.php.net/manual/en/emptyiterator.current.php
+ * @return void
+ */
+ public function current () {}
+
+ /**
+ * The next() method
+ * @link http://www.php.net/manual/en/emptyiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+}
+
+class RecursiveTreeIterator extends RecursiveIteratorIterator implements OuterIterator, Traversable, Iterator {
+ const LEAVES_ONLY = 0;
+ const SELF_FIRST = 1;
+ const CHILD_FIRST = 2;
+ const CATCH_GET_CHILD = 16;
+ const BYPASS_CURRENT = 4;
+ const BYPASS_KEY = 8;
+ const PREFIX_LEFT = 0;
+ const PREFIX_MID_HAS_NEXT = 1;
+ const PREFIX_MID_LAST = 2;
+ const PREFIX_END_HAS_NEXT = 3;
+ const PREFIX_END_LAST = 4;
+ const PREFIX_RIGHT = 5;
+
+
+ /**
+ * Construct a RecursiveTreeIterator
+ * @link http://www.php.net/manual/en/recursivetreeiterator.construct.php
+ * @param iterator Traversable
+ * @param flags[optional]
+ * @param caching_it_flags[optional]
+ * @param mode[optional]
+ */
+ public function __construct (Traversable $iterator, $flags, $caching_it_flags, $mode) {}
+
+ /**
+ * Rewind iterator
+ * @link http://www.php.net/manual/en/recursivetreeiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check validity
+ * @link http://www.php.net/manual/en/recursivetreeiterator.valid.php
+ * @return bool true if the current position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Get the key of the current element
+ * @link http://www.php.net/manual/en/recursivetreeiterator.key.php
+ * @return string the current key prefixed and postfixed.
+ */
+ public function key () {}
+
+ /**
+ * Get current element
+ * @link http://www.php.net/manual/en/recursivetreeiterator.current.php
+ * @return string the current element prefixed and postfixed.
+ */
+ public function current () {}
+
+ /**
+ * Move to next element
+ * @link http://www.php.net/manual/en/recursivetreeiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Begin iteration
+ * @link http://www.php.net/manual/en/recursivetreeiterator.beginiteration.php
+ * @return RecursiveIterator A RecursiveIterator.
+ */
+ public function beginIteration () {}
+
+ /**
+ * End iteration
+ * @link http://www.php.net/manual/en/recursivetreeiterator.enditeration.php
+ * @return void
+ */
+ public function endIteration () {}
+
+ /**
+ * Has children
+ * @link http://www.php.net/manual/en/recursivetreeiterator.callhaschildren.php
+ * @return bool true if there are children, otherwise false
+ */
+ public function callHasChildren () {}
+
+ /**
+ * Get children
+ * @link http://www.php.net/manual/en/recursivetreeiterator.callgetchildren.php
+ * @return RecursiveIterator A RecursiveIterator.
+ */
+ public function callGetChildren () {}
+
+ /**
+ * Begin children
+ * @link http://www.php.net/manual/en/recursivetreeiterator.beginchildren.php
+ * @return void
+ */
+ public function beginChildren () {}
+
+ /**
+ * End children
+ * @link http://www.php.net/manual/en/recursivetreeiterator.endchildren.php
+ * @return void
+ */
+ public function endChildren () {}
+
+ /**
+ * Next element
+ * @link http://www.php.net/manual/en/recursivetreeiterator.nextelement.php
+ * @return void
+ */
+ public function nextElement () {}
+
+ /**
+ * Get the prefix
+ * @link http://www.php.net/manual/en/recursivetreeiterator.getprefix.php
+ * @return string the string to place in front of current element
+ */
+ public function getPrefix () {}
+
+ /**
+ * Set a part of the prefix
+ * @link http://www.php.net/manual/en/recursivetreeiterator.setprefixpart.php
+ * @param part int <p>
+ * One of the RecursiveTreeIterator::PREFIX_* constants.
+ * </p>
+ * @param value string <p>
+ * The value to assign to the part of the prefix specified in part.
+ * </p>
+ * @return void
+ */
+ public function setPrefixPart ($part, $value) {}
+
+ /**
+ * Get current entry
+ * @link http://www.php.net/manual/en/recursivetreeiterator.getentry.php
+ * @return string the part of the tree built for the current element.
+ */
+ public function getEntry () {}
+
+ public function setPostfix () {}
+
+ /**
+ * Get the postfix
+ * @link http://www.php.net/manual/en/recursivetreeiterator.getpostfix.php
+ * @return void the string to place after the current element.
+ */
+ public function getPostfix () {}
+
+ /**
+ * Get the current depth of the recursive iteration
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getdepth.php
+ * @return int The current depth of the recursive iteration.
+ */
+ public function getDepth () {}
+
+ /**
+ * The current active sub iterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getsubiterator.php
+ * @param level int[optional] <p>
+ * </p>
+ * @return RecursiveIterator The current active sub iterator.
+ */
+ public function getSubIterator ($level = null) {}
+
+ /**
+ * Get inner iterator
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getinneriterator.php
+ * @return iterator The current active sub iterator.
+ */
+ public function getInnerIterator () {}
+
+ /**
+ * Set max depth
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.setmaxdepth.php
+ * @param max_depth string[optional] <p>
+ * The maximum allowed depth. -1 is used
+ * for any depth.
+ * </p>
+ * @return void
+ */
+ public function setMaxDepth ($max_depth = null) {}
+
+ /**
+ * Get max depth
+ * @link http://www.php.net/manual/en/recursiveiteratoriterator.getmaxdepth.php
+ * @return mixed The maximum accepted depth, or false if any depth is allowed.
+ */
+ public function getMaxDepth () {}
+
+}
+
+class ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable {
+ const STD_PROP_LIST = 1;
+ const ARRAY_AS_PROPS = 2;
+
+
+ /**
+ * Construct a new array object
+ * @link http://www.php.net/manual/en/arrayobject.construct.php
+ * @param array
+ */
+ public function __construct ($array) {}
+
+ /**
+ * Returns whether the requested index exists
+ * @link http://www.php.net/manual/en/arrayobject.offsetexists.php
+ * @param index mixed <p>
+ * The index being checked.
+ * </p>
+ * @return bool true if the requested index exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Returns the value at the specified index
+ * @link http://www.php.net/manual/en/arrayobject.offsetget.php
+ * @param index mixed <p>
+ * The index with the value.
+ * </p>
+ * @return mixed The value at the specified index or &null;.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Sets the value at the specified index to newval
+ * @link http://www.php.net/manual/en/arrayobject.offsetset.php
+ * @param index mixed <p>
+ * The index being set.
+ * </p>
+ * @param newval mixed <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unsets the value at the specified index
+ * @link http://www.php.net/manual/en/arrayobject.offsetunset.php
+ * @param index mixed <p>
+ * The index being unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * Appends the value
+ * @link http://www.php.net/manual/en/arrayobject.append.php
+ * @param value mixed <p>
+ * The value being appended.
+ * </p>
+ * @return void
+ */
+ public function append ($value) {}
+
+ /**
+ * Creates a copy of the ArrayObject.
+ * @link http://www.php.net/manual/en/arrayobject.getarraycopy.php
+ * @return array a copy of the array. When the ArrayObject refers to an object
+ * an array of the public properties of that object will be returned.
+ */
+ public function getArrayCopy () {}
+
+ /**
+ * Get the number of public properties in the ArrayObject
+ * @link http://www.php.net/manual/en/arrayobject.count.php
+ * @return int The number of public properties in the ArrayObject.
+ * </p>
+ * <p>
+ * When the ArrayObject is constructed from an array all properties are public.
+ */
+ public function count () {}
+
+ /**
+ * Gets the behavior flags.
+ * @link http://www.php.net/manual/en/arrayobject.getflags.php
+ * @return int the behavior flags of the ArrayObject.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets the behavior flags.
+ * @link http://www.php.net/manual/en/arrayobject.setflags.php
+ * @param flags int <p>
+ * The new ArrayObject behavior.
+ * It takes on either a bitmask, or named constants. Using named
+ * constants is strongly encouraged to ensure compatibility for future
+ * versions.
+ * </p>
+ * <p>
+ * The available behavior flags are listed below. The actual
+ * meanings of these flags are described in the
+ * predefined constants.
+ * <table>
+ * ArrayObject behavior flags
+ * <tr valign="top">
+ * <td>value</td>
+ * <td>constant</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>1</td>
+ * <td>
+ * ArrayObject::STD_PROP_LIST
+ * </td>
+ * </tr>
+ * <tr valign="top">
+ * <td>2</td>
+ * <td>
+ * ArrayObject::ARRAY_AS_PROPS
+ * </td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Sort the entries by value
+ * @link http://www.php.net/manual/en/arrayobject.asort.php
+ * @return void
+ */
+ public function asort () {}
+
+ /**
+ * Sort the entries by key
+ * @link http://www.php.net/manual/en/arrayobject.ksort.php
+ * @return void
+ */
+ public function ksort () {}
+
+ /**
+ * Sort the entries with a user-defined comparison function and maintain key association
+ * @link http://www.php.net/manual/en/arrayobject.uasort.php
+ * @param cmp_function callable <p>
+ * Function cmp_function should accept two
+ * parameters which will be filled by pairs of entries.
+ * The comparison function must return an integer less than, equal
+ * to, or greater than zero if the first argument is considered to
+ * be respectively less than, equal to, or greater than the
+ * second.
+ * </p>
+ * @return void
+ */
+ public function uasort ($cmp_function) {}
+
+ /**
+ * Sort the entries by keys using a user-defined comparison function
+ * @link http://www.php.net/manual/en/arrayobject.uksort.php
+ * @param cmp_function callable <p>
+ * The callback comparison function.
+ * </p>
+ * <p>
+ * Function cmp_function should accept two
+ * parameters which will be filled by pairs of entry keys.
+ * The comparison function must return an integer less than, equal
+ * to, or greater than zero if the first argument is considered to
+ * be respectively less than, equal to, or greater than the
+ * second.
+ * </p>
+ * @return void
+ */
+ public function uksort ($cmp_function) {}
+
+ /**
+ * Sort entries using a "natural order" algorithm
+ * @link http://www.php.net/manual/en/arrayobject.natsort.php
+ * @return void
+ */
+ public function natsort () {}
+
+ /**
+ * Sort an array using a case insensitive "natural order" algorithm
+ * @link http://www.php.net/manual/en/arrayobject.natcasesort.php
+ * @return void
+ */
+ public function natcasesort () {}
+
+ /**
+ * Unserialize an ArrayObject
+ * @link http://www.php.net/manual/en/arrayobject.unserialize.php
+ * @param serialized string <p>
+ * The serialized ArrayObject.
+ * </p>
+ * @return void The unserialized ArrayObject.
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serialize an ArrayObject
+ * @link http://www.php.net/manual/en/arrayobject.serialize.php
+ * @return void The serialized representation of the ArrayObject.
+ */
+ public function serialize () {}
+
+ /**
+ * Create a new iterator from an ArrayObject instance
+ * @link http://www.php.net/manual/en/arrayobject.getiterator.php
+ * @return ArrayIterator An iterator from an ArrayObject.
+ */
+ public function getIterator () {}
+
+ /**
+ * Exchange the array for another one.
+ * @link http://www.php.net/manual/en/arrayobject.exchangearray.php
+ * @param input mixed <p>
+ * The new array or object to exchange with the current array.
+ * </p>
+ * @return array the old array.
+ */
+ public function exchangeArray ($input) {}
+
+ /**
+ * Sets the iterator classname for the ArrayObject.
+ * @link http://www.php.net/manual/en/arrayobject.setiteratorclass.php
+ * @param iterator_class string <p>
+ * The classname of the array iterator to use when iterating over this object.
+ * </p>
+ * @return void
+ */
+ public function setIteratorClass ($iterator_class) {}
+
+ /**
+ * Gets the iterator classname for the ArrayObject.
+ * @link http://www.php.net/manual/en/arrayobject.getiteratorclass.php
+ * @return string the iterator class name that is used to iterate over this object.
+ */
+ public function getIteratorClass () {}
+
+}
+
+class ArrayIterator implements Iterator, Traversable, ArrayAccess, SeekableIterator, Serializable, Countable {
+ const STD_PROP_LIST = 1;
+ const ARRAY_AS_PROPS = 2;
+
+
+ /**
+ * Construct an ArrayIterator
+ * @link http://www.php.net/manual/en/arrayiterator.construct.php
+ * @param array
+ */
+ public function __construct ($array) {}
+
+ /**
+ * Check if offset exists
+ * @link http://www.php.net/manual/en/arrayiterator.offsetexists.php
+ * @param index string <p>
+ * The offset being checked.
+ * </p>
+ * @return void true if the offset exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Get value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetget.php
+ * @param index string <p>
+ * The offset to get the value from.
+ * </p>
+ * @return mixed The value at offset index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Set value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetset.php
+ * @param index string <p>
+ * The index to set for.
+ * </p>
+ * @param newval string <p>
+ * The new value to store at the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unset value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetunset.php
+ * @param index string <p>
+ * The offset to unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * Append an element
+ * @link http://www.php.net/manual/en/arrayiterator.append.php
+ * @param value mixed <p>
+ * The value to append.
+ * </p>
+ * @return void
+ */
+ public function append ($value) {}
+
+ /**
+ * Get array copy
+ * @link http://www.php.net/manual/en/arrayiterator.getarraycopy.php
+ * @return array A copy of the array, or array of public properties
+ * if ArrayIterator refers to an object.
+ */
+ public function getArrayCopy () {}
+
+ /**
+ * Count elements
+ * @link http://www.php.net/manual/en/arrayiterator.count.php
+ * @return int The number of elements or public properties in the associated
+ * array or object, respectively.
+ */
+ public function count () {}
+
+ /**
+ * Get flags
+ * @link http://www.php.net/manual/en/arrayiterator.getflags.php
+ * @return void The current flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set behaviour flags
+ * @link http://www.php.net/manual/en/arrayiterator.setflags.php
+ * @param flags string <p>
+ * A bitmask as follows:
+ * 0 = Properties of the object have their normal functionality
+ * when accessed as list (var_dump, foreach, etc.).
+ * 1 = Array indices can be accessed as properties in read/write.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Sort array by values
+ * @link http://www.php.net/manual/en/arrayiterator.asort.php
+ * @return void
+ */
+ public function asort () {}
+
+ /**
+ * Sort array by keys
+ * @link http://www.php.net/manual/en/arrayiterator.ksort.php
+ * @return void
+ */
+ public function ksort () {}
+
+ /**
+ * User defined sort
+ * @link http://www.php.net/manual/en/arrayiterator.uasort.php
+ * @param cmp_function string <p>
+ * The compare function used for the sort.
+ * </p>
+ * @return void
+ */
+ public function uasort ($cmp_function) {}
+
+ /**
+ * User defined sort
+ * @link http://www.php.net/manual/en/arrayiterator.uksort.php
+ * @param cmp_function string <p>
+ * The compare function used for the sort.
+ * </p>
+ * @return void
+ */
+ public function uksort ($cmp_function) {}
+
+ /**
+ * Sort an array naturally
+ * @link http://www.php.net/manual/en/arrayiterator.natsort.php
+ * @return void
+ */
+ public function natsort () {}
+
+ /**
+ * Sort an array naturally, case insensitive
+ * @link http://www.php.net/manual/en/arrayiterator.natcasesort.php
+ * @return void
+ */
+ public function natcasesort () {}
+
+ /**
+ * Unserialize
+ * @link http://www.php.net/manual/en/arrayiterator.unserialize.php
+ * @param serialized string <p>
+ * The serialized ArrayIterator object to be unserialized.
+ * </p>
+ * @return string The ArrayIterator.
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serialize
+ * @link http://www.php.net/manual/en/arrayiterator.serialize.php
+ * @return string The serialized ArrayIterator.
+ */
+ public function serialize () {}
+
+ /**
+ * Rewind array back to the start
+ * @link http://www.php.net/manual/en/arrayiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/arrayiterator.current.php
+ * @return mixed The current array entry.
+ */
+ public function current () {}
+
+ /**
+ * Return current array key
+ * @link http://www.php.net/manual/en/arrayiterator.key.php
+ * @return mixed The current array key.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/arrayiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether array contains more entries
+ * @link http://www.php.net/manual/en/arrayiterator.valid.php
+ * @return bool
+ */
+ public function valid () {}
+
+ /**
+ * Seek to position
+ * @link http://www.php.net/manual/en/arrayiterator.seek.php
+ * @param position int <p>
+ * The position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+}
+
+class RecursiveArrayIterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator, RecursiveIterator {
+ const CHILD_ARRAYS_ONLY = 4;
+
+
+ /**
+ * Returns whether current entry is an array or an object.
+ * @link http://www.php.net/manual/en/recursivearrayiterator.haschildren.php
+ * @return bool true if the current entry is an array or an object,
+ * otherwise false is returned.
+ */
+ public function hasChildren () {}
+
+ /**
+ * Returns an iterator for the current entry if it is an <type>array</type> or an <type>object</type>.
+ * @link http://www.php.net/manual/en/recursivearrayiterator.getchildren.php
+ * @return RecursiveArrayIterator An iterator for the current entry, if it is an array or object.
+ */
+ public function getChildren () {}
+
+ /**
+ * Construct an ArrayIterator
+ * @link http://www.php.net/manual/en/arrayiterator.construct.php
+ * @param array
+ */
+ public function __construct ($array) {}
+
+ /**
+ * Check if offset exists
+ * @link http://www.php.net/manual/en/arrayiterator.offsetexists.php
+ * @param index string <p>
+ * The offset being checked.
+ * </p>
+ * @return void true if the offset exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Get value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetget.php
+ * @param index string <p>
+ * The offset to get the value from.
+ * </p>
+ * @return mixed The value at offset index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Set value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetset.php
+ * @param index string <p>
+ * The index to set for.
+ * </p>
+ * @param newval string <p>
+ * The new value to store at the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unset value for an offset
+ * @link http://www.php.net/manual/en/arrayiterator.offsetunset.php
+ * @param index string <p>
+ * The offset to unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * Append an element
+ * @link http://www.php.net/manual/en/arrayiterator.append.php
+ * @param value mixed <p>
+ * The value to append.
+ * </p>
+ * @return void
+ */
+ public function append ($value) {}
+
+ /**
+ * Get array copy
+ * @link http://www.php.net/manual/en/arrayiterator.getarraycopy.php
+ * @return array A copy of the array, or array of public properties
+ * if ArrayIterator refers to an object.
+ */
+ public function getArrayCopy () {}
+
+ /**
+ * Count elements
+ * @link http://www.php.net/manual/en/arrayiterator.count.php
+ * @return int The number of elements or public properties in the associated
+ * array or object, respectively.
+ */
+ public function count () {}
+
+ /**
+ * Get flags
+ * @link http://www.php.net/manual/en/arrayiterator.getflags.php
+ * @return void The current flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set behaviour flags
+ * @link http://www.php.net/manual/en/arrayiterator.setflags.php
+ * @param flags string <p>
+ * A bitmask as follows:
+ * 0 = Properties of the object have their normal functionality
+ * when accessed as list (var_dump, foreach, etc.).
+ * 1 = Array indices can be accessed as properties in read/write.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Sort array by values
+ * @link http://www.php.net/manual/en/arrayiterator.asort.php
+ * @return void
+ */
+ public function asort () {}
+
+ /**
+ * Sort array by keys
+ * @link http://www.php.net/manual/en/arrayiterator.ksort.php
+ * @return void
+ */
+ public function ksort () {}
+
+ /**
+ * User defined sort
+ * @link http://www.php.net/manual/en/arrayiterator.uasort.php
+ * @param cmp_function string <p>
+ * The compare function used for the sort.
+ * </p>
+ * @return void
+ */
+ public function uasort ($cmp_function) {}
+
+ /**
+ * User defined sort
+ * @link http://www.php.net/manual/en/arrayiterator.uksort.php
+ * @param cmp_function string <p>
+ * The compare function used for the sort.
+ * </p>
+ * @return void
+ */
+ public function uksort ($cmp_function) {}
+
+ /**
+ * Sort an array naturally
+ * @link http://www.php.net/manual/en/arrayiterator.natsort.php
+ * @return void
+ */
+ public function natsort () {}
+
+ /**
+ * Sort an array naturally, case insensitive
+ * @link http://www.php.net/manual/en/arrayiterator.natcasesort.php
+ * @return void
+ */
+ public function natcasesort () {}
+
+ /**
+ * Unserialize
+ * @link http://www.php.net/manual/en/arrayiterator.unserialize.php
+ * @param serialized string <p>
+ * The serialized ArrayIterator object to be unserialized.
+ * </p>
+ * @return string The ArrayIterator.
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serialize
+ * @link http://www.php.net/manual/en/arrayiterator.serialize.php
+ * @return string The serialized ArrayIterator.
+ */
+ public function serialize () {}
+
+ /**
+ * Rewind array back to the start
+ * @link http://www.php.net/manual/en/arrayiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/arrayiterator.current.php
+ * @return mixed The current array entry.
+ */
+ public function current () {}
+
+ /**
+ * Return current array key
+ * @link http://www.php.net/manual/en/arrayiterator.key.php
+ * @return mixed The current array key.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/arrayiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether array contains more entries
+ * @link http://www.php.net/manual/en/arrayiterator.valid.php
+ * @return bool
+ */
+ public function valid () {}
+
+ /**
+ * Seek to position
+ * @link http://www.php.net/manual/en/arrayiterator.seek.php
+ * @param position int <p>
+ * The position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+}
+
+class SplFileInfo {
+
+ /**
+ * Construct a new SplFileInfo object
+ * @link http://www.php.net/manual/en/splfileinfo.construct.php
+ * @param file_name
+ */
+ public function __construct ($file_name) {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the filename
+ * @link http://www.php.net/manual/en/splfileinfo.getfilename.php
+ * @return string The filename.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/splfileinfo.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the base name of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getbasename.php
+ * @param suffix string[optional] <p>
+ * Optional suffix to omit from the base name returned.
+ * </p>
+ * @return string the base name without path information.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+ /**
+ * Returns the path to the file as a string
+ * @link http://www.php.net/manual/en/splfileinfo.tostring.php
+ * @return void the path to the file.
+ */
+ public function __toString () {}
+
+}
+
+class DirectoryIterator extends SplFileInfo implements Iterator, Traversable, SeekableIterator {
+
+ /**
+ * Constructs a new directory iterator from a path
+ * @link http://www.php.net/manual/en/directoryiterator.construct.php
+ * @param path
+ */
+ public function __construct ($path) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Rewind the DirectoryIterator back to the start
+ * @link http://www.php.net/manual/en/directoryiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Return the key for the current DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.key.php
+ * @return string The key for the current DirectoryIterator item.
+ */
+ public function key () {}
+
+ /**
+ * Return the current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.current.php
+ * @return DirectoryIterator The current DirectoryIterator item.
+ */
+ public function current () {}
+
+ /**
+ * Move forward to next DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class FilesystemIterator extends DirectoryIterator implements SeekableIterator, Traversable, Iterator {
+ const CURRENT_MODE_MASK = 240;
+ const CURRENT_AS_PATHNAME = 32;
+ const CURRENT_AS_FILEINFO = 0;
+ const CURRENT_AS_SELF = 16;
+ const KEY_MODE_MASK = 3840;
+ const KEY_AS_PATHNAME = 0;
+ const FOLLOW_SYMLINKS = 512;
+ const KEY_AS_FILENAME = 256;
+ const NEW_CURRENT_AND_KEY = 256;
+ const OTHER_MODE_MASK = 12288;
+ const SKIP_DOTS = 4096;
+ const UNIX_PATHS = 8192;
+
+
+ /**
+ * Constructs a new filesystem iterator
+ * @link http://www.php.net/manual/en/filesystemiterator.construct.php
+ * @param path
+ * @param flags[optional]
+ */
+ public function __construct ($path, $flags) {}
+
+ /**
+ * Rewinds back to the beginning
+ * @link http://www.php.net/manual/en/filesystemiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Move to the next file
+ * @link http://www.php.net/manual/en/filesystemiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Retrieve the key for the current file
+ * @link http://www.php.net/manual/en/filesystemiterator.key.php
+ * @return string the pathname or filename depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function key () {}
+
+ /**
+ * The current file
+ * @link http://www.php.net/manual/en/filesystemiterator.current.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function current () {}
+
+ /**
+ * Get the handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.getflags.php
+ * @return int The integer value of the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.setflags.php
+ * @param flags int[optional] <p>
+ * The handling flags to set.
+ * See the FilesystemIterator constants.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags = null) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class RecursiveDirectoryIterator extends FilesystemIterator implements Iterator, Traversable, SeekableIterator, RecursiveIterator {
+ const CURRENT_MODE_MASK = 240;
+ const CURRENT_AS_PATHNAME = 32;
+ const CURRENT_AS_FILEINFO = 0;
+ const CURRENT_AS_SELF = 16;
+ const KEY_MODE_MASK = 3840;
+ const KEY_AS_PATHNAME = 0;
+ const FOLLOW_SYMLINKS = 512;
+ const KEY_AS_FILENAME = 256;
+ const NEW_CURRENT_AND_KEY = 256;
+ const OTHER_MODE_MASK = 12288;
+ const SKIP_DOTS = 4096;
+ const UNIX_PATHS = 8192;
+
+
+ /**
+ * Constructs a RecursiveDirectoryIterator
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.construct.php
+ * @param path
+ * @param flags[optional]
+ */
+ public function __construct ($path, $flags) {}
+
+ /**
+ * Returns whether current entry is a directory and not '.' or '..'
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.haschildren.php
+ * @param allow_links bool[optional] <p>
+ * </p>
+ * @return bool whether the current entry is a directory, but not '.' or '..'
+ */
+ public function hasChildren ($allow_links = null) {}
+
+ /**
+ * Returns an iterator for the current entry if it is a directory
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getchildren.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator
+ * constants.
+ */
+ public function getChildren () {}
+
+ /**
+ * Get sub path
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpath.php
+ * @return string The sub path (sub directory).
+ */
+ public function getSubPath () {}
+
+ /**
+ * Get sub path and name
+ * @link http://www.php.net/manual/en/recursivedirectoryiterator.getsubpathname.php
+ * @return string The sub path (sub directory) and filename.
+ */
+ public function getSubPathname () {}
+
+ /**
+ * Rewinds back to the beginning
+ * @link http://www.php.net/manual/en/filesystemiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Move to the next file
+ * @link http://www.php.net/manual/en/filesystemiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Retrieve the key for the current file
+ * @link http://www.php.net/manual/en/filesystemiterator.key.php
+ * @return string the pathname or filename depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function key () {}
+
+ /**
+ * The current file
+ * @link http://www.php.net/manual/en/filesystemiterator.current.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function current () {}
+
+ /**
+ * Get the handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.getflags.php
+ * @return int The integer value of the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.setflags.php
+ * @param flags int[optional] <p>
+ * The handling flags to set.
+ * See the FilesystemIterator constants.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags = null) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class GlobIterator extends FilesystemIterator implements Iterator, Traversable, SeekableIterator, Countable {
+ const CURRENT_MODE_MASK = 240;
+ const CURRENT_AS_PATHNAME = 32;
+ const CURRENT_AS_FILEINFO = 0;
+ const CURRENT_AS_SELF = 16;
+ const KEY_MODE_MASK = 3840;
+ const KEY_AS_PATHNAME = 0;
+ const FOLLOW_SYMLINKS = 512;
+ const KEY_AS_FILENAME = 256;
+ const NEW_CURRENT_AND_KEY = 256;
+ const OTHER_MODE_MASK = 12288;
+ const SKIP_DOTS = 4096;
+ const UNIX_PATHS = 8192;
+
+
+ /**
+ * Construct a directory using glob
+ * @link http://www.php.net/manual/en/globiterator.construct.php
+ * @param path
+ * @param flags[optional]
+ */
+ public function __construct ($path, $flags) {}
+
+ /**
+ * Get the number of directories and files
+ * @link http://www.php.net/manual/en/globiterator.count.php
+ * @return int The number of returned directories and files, as an
+ * integer.
+ */
+ public function count () {}
+
+ /**
+ * Rewinds back to the beginning
+ * @link http://www.php.net/manual/en/filesystemiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Move to the next file
+ * @link http://www.php.net/manual/en/filesystemiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Retrieve the key for the current file
+ * @link http://www.php.net/manual/en/filesystemiterator.key.php
+ * @return string the pathname or filename depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function key () {}
+
+ /**
+ * The current file
+ * @link http://www.php.net/manual/en/filesystemiterator.current.php
+ * @return mixed The filename, file information, or $this depending on the set flags.
+ * See the FilesystemIterator constants.
+ */
+ public function current () {}
+
+ /**
+ * Get the handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.getflags.php
+ * @return int The integer value of the set flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets handling flags
+ * @link http://www.php.net/manual/en/filesystemiterator.setflags.php
+ * @param flags int[optional] <p>
+ * The handling flags to set.
+ * See the FilesystemIterator constants.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags = null) {}
+
+ /**
+ * Return file name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getfilename.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/directoryiterator.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Get base name of current DirectoryIterator item.
+ * @link http://www.php.net/manual/en/directoryiterator.getbasename.php
+ * @param suffix string[optional] <p>
+ * If the base name ends in suffix,
+ * this will be cut.
+ * </p>
+ * @return string The base name of the current DirectoryIterator item.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Determine if current DirectoryIterator item is '.' or '..'
+ * @link http://www.php.net/manual/en/directoryiterator.isdot.php
+ * @return bool true if the entry is . or ..,
+ * otherwise false
+ */
+ public function isDot () {}
+
+ /**
+ * Check whether current DirectoryIterator position is a valid file
+ * @link http://www.php.net/manual/en/directoryiterator.valid.php
+ * @return bool true if the position is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Seek to a DirectoryIterator item
+ * @link http://www.php.net/manual/en/directoryiterator.seek.php
+ * @param position int <p>
+ * The zero-based numeric position to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($position) {}
+
+ /**
+ * Get file name as a string
+ * @link http://www.php.net/manual/en/directoryiterator.tostring.php
+ * @return string the file name of the current DirectoryIterator item.
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class SplFileObject extends SplFileInfo implements RecursiveIterator, Traversable, Iterator, SeekableIterator {
+ const DROP_NEW_LINE = 1;
+ const READ_AHEAD = 2;
+ const SKIP_EMPTY = 4;
+ const READ_CSV = 8;
+
+
+ /**
+ * Construct a new file object.
+ * @link http://www.php.net/manual/en/splfileobject.construct.php
+ * @param file_name
+ * @param open_mode[optional]
+ * @param use_include_path[optional]
+ * @param context[optional]
+ */
+ public function __construct ($file_name, $open_mode, $use_include_path, $context) {}
+
+ /**
+ * Rewind the file to the first line
+ * @link http://www.php.net/manual/en/splfileobject.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Reached end of file
+ * @link http://www.php.net/manual/en/splfileobject.eof.php
+ * @return bool true if file is at EOF, false otherwise.
+ */
+ public function eof () {}
+
+ /**
+ * Not at EOF
+ * @link http://www.php.net/manual/en/splfileobject.valid.php
+ * @return bool true if not reached EOF, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Gets line from file
+ * @link http://www.php.net/manual/en/splfileobject.fgets.php
+ * @return string a string containing the next line from the file, or false on error.
+ */
+ public function fgets () {}
+
+ /**
+ * Gets line from file and parse as CSV fields
+ * @link http://www.php.net/manual/en/splfileobject.fgetcsv.php
+ * @param delimiter string[optional] <p>
+ * The field delimiter (one character only). Defaults as a comma or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @param escape string[optional] <p>
+ * The escape character (one character only). Defaults as a backslash (\) or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @return array an indexed array containing the fields read, or false on error.
+ * </p>
+ * <p>
+ * A blank line in a CSV file will be returned as an array
+ * comprising a single &null; field unless using SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE,
+ * in which case empty lines are skipped.
+ */
+ public function fgetcsv ($delimiter = null, $enclosure = null, $escape = null) {}
+
+ /**
+ * Write a field array as a CSV line
+ * @link http://www.php.net/manual/en/splfileobject.fputcsv.php
+ * @param fields array <p>
+ * An array of values.
+ * </p>
+ * @param delimiter string[optional] <p>
+ * The optional delimiter parameter sets the field
+ * delimiter (one character only).
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The optional enclosure parameter sets the field
+ * enclosure (one character only).
+ * </p>
+ * @return int the length of the written string&return.falseforfailure;.
+ * </p>
+ * <p>
+ * Returns false, and does not write the CSV line to the file, if the
+ * delimiter or enclosure
+ * parameter is not a single character.
+ */
+ public function fputcsv (array $fields, $delimiter = null, $enclosure = null) {}
+
+ /**
+ * Set the delimiter and enclosure character for CSV
+ * @link http://www.php.net/manual/en/splfileobject.setcsvcontrol.php
+ * @param delimiter string[optional] <p>
+ * The field delimiter (one character only).
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The field enclosure character (one character only).
+ * </p>
+ * @param escape string[optional] <p>
+ * The field escape character (one character only).
+ * </p>
+ * @return void
+ */
+ public function setCsvControl ($delimiter = null, $enclosure = null, $escape = null) {}
+
+ /**
+ * Get the delimiter and enclosure character for CSV
+ * @link http://www.php.net/manual/en/splfileobject.getcsvcontrol.php
+ * @return array an indexed array containing the delimiter and enclosure character.
+ */
+ public function getCsvControl () {}
+
+ /**
+ * Portable file locking
+ * @link http://www.php.net/manual/en/splfileobject.flock.php
+ * @param operation int <p>
+ * operation is one of the following:
+ * LOCK_SH to acquire a shared lock (reader).
+ * @param wouldblock int[optional] <p>
+ * Set to true if the lock would block (EWOULDBLOCK errno condition).
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function flock ($operation, &$wouldblock = null) {}
+
+ /**
+ * Flushes the output to the file
+ * @link http://www.php.net/manual/en/splfileobject.fflush.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function fflush () {}
+
+ /**
+ * Return current file position
+ * @link http://www.php.net/manual/en/splfileobject.ftell.php
+ * @return int the position of the file pointer as an integer, or false on error.
+ */
+ public function ftell () {}
+
+ /**
+ * Seek to a position
+ * @link http://www.php.net/manual/en/splfileobject.fseek.php
+ * @param offset int <p>
+ * The offset. A negative value can be used to move backwards through the file which
+ * is useful when SEEK_END is used as the whence value.
+ * </p>
+ * @param whence int[optional] <p>
+ * whence values are:
+ * SEEK_SET - Set position equal to offset bytes.
+ * SEEK_CUR - Set position to current location plus offset.
+ * SEEK_END - Set position to end-of-file plus offset.
+ * </p>
+ * <p>
+ * If whence is not specified, it is assumed to be SEEK_SET.
+ * </p>
+ * @return int 0 if the seek was successful, -1 otherwise. Note that seeking
+ * past EOF is not considered an error.
+ */
+ public function fseek ($offset, $whence = null) {}
+
+ /**
+ * Gets character from file
+ * @link http://www.php.net/manual/en/splfileobject.fgetc.php
+ * @return string a string containing a single character read from the file or false on EOF.
+ */
+ public function fgetc () {}
+
+ /**
+ * Output all remaining data on a file pointer
+ * @link http://www.php.net/manual/en/splfileobject.fpassthru.php
+ * @return int the number of characters read from handle
+ * and passed through to the output.
+ */
+ public function fpassthru () {}
+
+ /**
+ * Gets line from file and strip HTML tags
+ * @link http://www.php.net/manual/en/splfileobject.fgetss.php
+ * @param allowable_tags string[optional] <p>
+ * Optional parameter to specify tags which should not be stripped.
+ * </p>
+ * @return string a string containing the next line of the file with HTML and PHP
+ * code stripped, or false on error.
+ */
+ public function fgetss ($allowable_tags = null) {}
+
+ /**
+ * Parses input from file according to a format
+ * @link http://www.php.net/manual/en/splfileobject.fscanf.php
+ * @param format string <p>
+ * The specified format as described in the sprintf documentation.
+ * </p>
+ * @param _ mixed[optional]
+ * @return mixed If only one parameter is passed to this method, the values parsed will be
+ * returned as an array. Otherwise, if optional parameters are passed, the
+ * function will return the number of assigned values. The optional
+ * parameters must be passed by reference.
+ */
+ public function fscanf ($format, &$_ = null) {}
+
+ /**
+ * Write to file
+ * @link http://www.php.net/manual/en/splfileobject.fwrite.php
+ * @param str string <p>
+ * The string to be written to the file.
+ * </p>
+ * @param length int[optional] <p>
+ * If the length argument is given, writing will
+ * stop after length bytes have been written or
+ * the end of string is reached, whichever comes
+ * first.
+ * </p>
+ * @return int the number of bytes written, or &null; on error.
+ */
+ public function fwrite ($str, $length = null) {}
+
+ /**
+ * Gets information about the file
+ * @link http://www.php.net/manual/en/splfileobject.fstat.php
+ * @return array an array with the statistics of the file; the format of the array
+ * is described in detail on the stat manual page.
+ */
+ public function fstat () {}
+
+ /**
+ * Truncates the file to a given length
+ * @link http://www.php.net/manual/en/splfileobject.ftruncate.php
+ * @param size int <p>
+ * The size to truncate to.
+ * </p>
+ * <p>
+ * If size is larger than the file it is extended with null bytes.
+ * </p>
+ * <p>
+ * If size is smaller than the file, the extra data will be lost.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function ftruncate ($size) {}
+
+ /**
+ * Retrieve current line of file
+ * @link http://www.php.net/manual/en/splfileobject.current.php
+ * @return string|array Retrieves the current line of the file. If the SplFileObject::READ_CSV flag is set, this method returns an array containing the current line parsed as CSV data.
+ */
+ public function current () {}
+
+ /**
+ * Get line number
+ * @link http://www.php.net/manual/en/splfileobject.key.php
+ * @return int the current line number.
+ */
+ public function key () {}
+
+ /**
+ * Read next line
+ * @link http://www.php.net/manual/en/splfileobject.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Sets flags for the SplFileObject
+ * @link http://www.php.net/manual/en/splfileobject.setflags.php
+ * @param flags int <p>
+ * Bit mask of the flags to set. See
+ * SplFileObject constants
+ * for the available flags.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Gets flags for the SplFileObject
+ * @link http://www.php.net/manual/en/splfileobject.getflags.php
+ * @return int an integer representing the flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set maximum line length
+ * @link http://www.php.net/manual/en/splfileobject.setmaxlinelen.php
+ * @param max_len int <p>
+ * The maximum length of a line.
+ * </p>
+ * @return void
+ */
+ public function setMaxLineLen ($max_len) {}
+
+ /**
+ * Get maximum line length
+ * @link http://www.php.net/manual/en/splfileobject.getmaxlinelen.php
+ * @return int the maximum line length if one has been set with
+ * SplFileObject::setMaxLineLen, default is 0.
+ */
+ public function getMaxLineLen () {}
+
+ /**
+ * SplFileObject does not have children
+ * @link http://www.php.net/manual/en/splfileobject.haschildren.php
+ * @return bool false
+ */
+ public function hasChildren () {}
+
+ /**
+ * No purpose
+ * @link http://www.php.net/manual/en/splfileobject.getchildren.php
+ * @return void
+ */
+ public function getChildren () {}
+
+ /**
+ * Seek to specified line
+ * @link http://www.php.net/manual/en/splfileobject.seek.php
+ * @param line_pos int <p>
+ * The zero-based line number to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($line_pos) {}
+
+ /**
+ * Alias of <methodname>SplFileObject::fgets</methodname>
+ * @link http://www.php.net/manual/en/splfileobject.getcurrentline.php
+ */
+ public function getCurrentLine () {}
+
+ /**
+ * Alias of <methodname>SplFileObject::current</methodname>
+ * @link http://www.php.net/manual/en/splfileobject.tostring.php
+ * @return void
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the filename
+ * @link http://www.php.net/manual/en/splfileinfo.getfilename.php
+ * @return string The filename.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/splfileinfo.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the base name of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getbasename.php
+ * @param suffix string[optional] <p>
+ * Optional suffix to omit from the base name returned.
+ * </p>
+ * @return string the base name without path information.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class SplTempFileObject extends SplFileObject implements SeekableIterator, Iterator, Traversable, RecursiveIterator {
+ const DROP_NEW_LINE = 1;
+ const READ_AHEAD = 2;
+ const SKIP_EMPTY = 4;
+ const READ_CSV = 8;
+
+
+ /**
+ * Construct a new temporary file object
+ * @link http://www.php.net/manual/en/spltempfileobject.construct.php
+ * @param max_memory[optional]
+ */
+ public function __construct ($max_memory) {}
+
+ /**
+ * Rewind the file to the first line
+ * @link http://www.php.net/manual/en/splfileobject.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Reached end of file
+ * @link http://www.php.net/manual/en/splfileobject.eof.php
+ * @return bool true if file is at EOF, false otherwise.
+ */
+ public function eof () {}
+
+ /**
+ * Not at EOF
+ * @link http://www.php.net/manual/en/splfileobject.valid.php
+ * @return bool true if not reached EOF, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Gets line from file
+ * @link http://www.php.net/manual/en/splfileobject.fgets.php
+ * @return string a string containing the next line from the file, or false on error.
+ */
+ public function fgets () {}
+
+ /**
+ * Gets line from file and parse as CSV fields
+ * @link http://www.php.net/manual/en/splfileobject.fgetcsv.php
+ * @param delimiter string[optional] <p>
+ * The field delimiter (one character only). Defaults as a comma or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The field enclosure character (one character only). Defaults as a double quotation mark or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @param escape string[optional] <p>
+ * The escape character (one character only). Defaults as a backslash (\) or the value set using SplFileObject::setCsvControl.
+ * </p>
+ * @return array an indexed array containing the fields read, or false on error.
+ * </p>
+ * <p>
+ * A blank line in a CSV file will be returned as an array
+ * comprising a single &null; field unless using SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE,
+ * in which case empty lines are skipped.
+ */
+ public function fgetcsv ($delimiter = null, $enclosure = null, $escape = null) {}
+
+ /**
+ * Write a field array as a CSV line
+ * @link http://www.php.net/manual/en/splfileobject.fputcsv.php
+ * @param fields array <p>
+ * An array of values.
+ * </p>
+ * @param delimiter string[optional] <p>
+ * The optional delimiter parameter sets the field
+ * delimiter (one character only).
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The optional enclosure parameter sets the field
+ * enclosure (one character only).
+ * </p>
+ * @return int the length of the written string&return.falseforfailure;.
+ * </p>
+ * <p>
+ * Returns false, and does not write the CSV line to the file, if the
+ * delimiter or enclosure
+ * parameter is not a single character.
+ */
+ public function fputcsv (array $fields, $delimiter = null, $enclosure = null) {}
+
+ /**
+ * Set the delimiter and enclosure character for CSV
+ * @link http://www.php.net/manual/en/splfileobject.setcsvcontrol.php
+ * @param delimiter string[optional] <p>
+ * The field delimiter (one character only).
+ * </p>
+ * @param enclosure string[optional] <p>
+ * The field enclosure character (one character only).
+ * </p>
+ * @param escape string[optional] <p>
+ * The field escape character (one character only).
+ * </p>
+ * @return void
+ */
+ public function setCsvControl ($delimiter = null, $enclosure = null, $escape = null) {}
+
+ /**
+ * Get the delimiter and enclosure character for CSV
+ * @link http://www.php.net/manual/en/splfileobject.getcsvcontrol.php
+ * @return array an indexed array containing the delimiter and enclosure character.
+ */
+ public function getCsvControl () {}
+
+ /**
+ * Portable file locking
+ * @link http://www.php.net/manual/en/splfileobject.flock.php
+ * @param operation int <p>
+ * operation is one of the following:
+ * LOCK_SH to acquire a shared lock (reader).
+ * @param wouldblock int[optional] <p>
+ * Set to true if the lock would block (EWOULDBLOCK errno condition).
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function flock ($operation, &$wouldblock = null) {}
+
+ /**
+ * Flushes the output to the file
+ * @link http://www.php.net/manual/en/splfileobject.fflush.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function fflush () {}
+
+ /**
+ * Return current file position
+ * @link http://www.php.net/manual/en/splfileobject.ftell.php
+ * @return int the position of the file pointer as an integer, or false on error.
+ */
+ public function ftell () {}
+
+ /**
+ * Seek to a position
+ * @link http://www.php.net/manual/en/splfileobject.fseek.php
+ * @param offset int <p>
+ * The offset. A negative value can be used to move backwards through the file which
+ * is useful when SEEK_END is used as the whence value.
+ * </p>
+ * @param whence int[optional] <p>
+ * whence values are:
+ * SEEK_SET - Set position equal to offset bytes.
+ * SEEK_CUR - Set position to current location plus offset.
+ * SEEK_END - Set position to end-of-file plus offset.
+ * </p>
+ * <p>
+ * If whence is not specified, it is assumed to be SEEK_SET.
+ * </p>
+ * @return int 0 if the seek was successful, -1 otherwise. Note that seeking
+ * past EOF is not considered an error.
+ */
+ public function fseek ($offset, $whence = null) {}
+
+ /**
+ * Gets character from file
+ * @link http://www.php.net/manual/en/splfileobject.fgetc.php
+ * @return string a string containing a single character read from the file or false on EOF.
+ */
+ public function fgetc () {}
+
+ /**
+ * Output all remaining data on a file pointer
+ * @link http://www.php.net/manual/en/splfileobject.fpassthru.php
+ * @return int the number of characters read from handle
+ * and passed through to the output.
+ */
+ public function fpassthru () {}
+
+ /**
+ * Gets line from file and strip HTML tags
+ * @link http://www.php.net/manual/en/splfileobject.fgetss.php
+ * @param allowable_tags string[optional] <p>
+ * Optional parameter to specify tags which should not be stripped.
+ * </p>
+ * @return string a string containing the next line of the file with HTML and PHP
+ * code stripped, or false on error.
+ */
+ public function fgetss ($allowable_tags = null) {}
+
+ /**
+ * Parses input from file according to a format
+ * @link http://www.php.net/manual/en/splfileobject.fscanf.php
+ * @param format string <p>
+ * The specified format as described in the sprintf documentation.
+ * </p>
+ * @param _ mixed[optional]
+ * @return mixed If only one parameter is passed to this method, the values parsed will be
+ * returned as an array. Otherwise, if optional parameters are passed, the
+ * function will return the number of assigned values. The optional
+ * parameters must be passed by reference.
+ */
+ public function fscanf ($format, &$_ = null) {}
+
+ /**
+ * Write to file
+ * @link http://www.php.net/manual/en/splfileobject.fwrite.php
+ * @param str string <p>
+ * The string to be written to the file.
+ * </p>
+ * @param length int[optional] <p>
+ * If the length argument is given, writing will
+ * stop after length bytes have been written or
+ * the end of string is reached, whichever comes
+ * first.
+ * </p>
+ * @return int the number of bytes written, or &null; on error.
+ */
+ public function fwrite ($str, $length = null) {}
+
+ /**
+ * Gets information about the file
+ * @link http://www.php.net/manual/en/splfileobject.fstat.php
+ * @return array an array with the statistics of the file; the format of the array
+ * is described in detail on the stat manual page.
+ */
+ public function fstat () {}
+
+ /**
+ * Truncates the file to a given length
+ * @link http://www.php.net/manual/en/splfileobject.ftruncate.php
+ * @param size int <p>
+ * The size to truncate to.
+ * </p>
+ * <p>
+ * If size is larger than the file it is extended with null bytes.
+ * </p>
+ * <p>
+ * If size is smaller than the file, the extra data will be lost.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function ftruncate ($size) {}
+
+ /**
+ * Retrieve current line of file
+ * @link http://www.php.net/manual/en/splfileobject.current.php
+ * @return string|array Retrieves the current line of the file. If the SplFileObject::READ_CSV flag is set, this method returns an array containing the current line parsed as CSV data.
+ */
+ public function current () {}
+
+ /**
+ * Get line number
+ * @link http://www.php.net/manual/en/splfileobject.key.php
+ * @return int the current line number.
+ */
+ public function key () {}
+
+ /**
+ * Read next line
+ * @link http://www.php.net/manual/en/splfileobject.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Sets flags for the SplFileObject
+ * @link http://www.php.net/manual/en/splfileobject.setflags.php
+ * @param flags int <p>
+ * Bit mask of the flags to set. See
+ * SplFileObject constants
+ * for the available flags.
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Gets flags for the SplFileObject
+ * @link http://www.php.net/manual/en/splfileobject.getflags.php
+ * @return int an integer representing the flags.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set maximum line length
+ * @link http://www.php.net/manual/en/splfileobject.setmaxlinelen.php
+ * @param max_len int <p>
+ * The maximum length of a line.
+ * </p>
+ * @return void
+ */
+ public function setMaxLineLen ($max_len) {}
+
+ /**
+ * Get maximum line length
+ * @link http://www.php.net/manual/en/splfileobject.getmaxlinelen.php
+ * @return int the maximum line length if one has been set with
+ * SplFileObject::setMaxLineLen, default is 0.
+ */
+ public function getMaxLineLen () {}
+
+ /**
+ * SplFileObject does not have children
+ * @link http://www.php.net/manual/en/splfileobject.haschildren.php
+ * @return bool false
+ */
+ public function hasChildren () {}
+
+ /**
+ * No purpose
+ * @link http://www.php.net/manual/en/splfileobject.getchildren.php
+ * @return void
+ */
+ public function getChildren () {}
+
+ /**
+ * Seek to specified line
+ * @link http://www.php.net/manual/en/splfileobject.seek.php
+ * @param line_pos int <p>
+ * The zero-based line number to seek to.
+ * </p>
+ * @return void
+ */
+ public function seek ($line_pos) {}
+
+ /**
+ * Alias of <methodname>SplFileObject::fgets</methodname>
+ * @link http://www.php.net/manual/en/splfileobject.getcurrentline.php
+ */
+ public function getCurrentLine () {}
+
+ /**
+ * Alias of <methodname>SplFileObject::current</methodname>
+ * @link http://www.php.net/manual/en/splfileobject.tostring.php
+ * @return void
+ */
+ public function __toString () {}
+
+ /**
+ * Gets the path without filename
+ * @link http://www.php.net/manual/en/splfileinfo.getpath.php
+ * @return string the path to the file.
+ */
+ public function getPath () {}
+
+ /**
+ * Gets the filename
+ * @link http://www.php.net/manual/en/splfileinfo.getfilename.php
+ * @return string The filename.
+ */
+ public function getFilename () {}
+
+ /**
+ * Gets the file extension
+ * @link http://www.php.net/manual/en/splfileinfo.getextension.php
+ * @return string a string containing the file extension, or an
+ * empty string if the file has no extension.
+ */
+ public function getExtension () {}
+
+ /**
+ * Gets the base name of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getbasename.php
+ * @param suffix string[optional] <p>
+ * Optional suffix to omit from the base name returned.
+ * </p>
+ * @return string the base name without path information.
+ */
+ public function getBasename ($suffix = null) {}
+
+ /**
+ * Gets the path to the file
+ * @link http://www.php.net/manual/en/splfileinfo.getpathname.php
+ * @return string The path to the file.
+ */
+ public function getPathname () {}
+
+ /**
+ * Gets file permissions
+ * @link http://www.php.net/manual/en/splfileinfo.getperms.php
+ * @return int the file permissions.
+ */
+ public function getPerms () {}
+
+ /**
+ * Gets the inode for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getinode.php
+ * @return int the inode number for the filesystem object.
+ */
+ public function getInode () {}
+
+ /**
+ * Gets file size
+ * @link http://www.php.net/manual/en/splfileinfo.getsize.php
+ * @return int The filesize in bytes.
+ */
+ public function getSize () {}
+
+ /**
+ * Gets the owner of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getowner.php
+ * @return int The owner id in numerical format.
+ */
+ public function getOwner () {}
+
+ /**
+ * Gets the file group
+ * @link http://www.php.net/manual/en/splfileinfo.getgroup.php
+ * @return int The group id in numerical format.
+ */
+ public function getGroup () {}
+
+ /**
+ * Gets last access time of the file
+ * @link http://www.php.net/manual/en/splfileinfo.getatime.php
+ * @return int the time the file was last accessed.
+ */
+ public function getATime () {}
+
+ /**
+ * Gets the last modified time
+ * @link http://www.php.net/manual/en/splfileinfo.getmtime.php
+ * @return int the last modified time for the file, in a Unix timestamp.
+ */
+ public function getMTime () {}
+
+ /**
+ * Gets the inode change time
+ * @link http://www.php.net/manual/en/splfileinfo.getctime.php
+ * @return int The last change time, in a Unix timestamp.
+ */
+ public function getCTime () {}
+
+ /**
+ * Gets file type
+ * @link http://www.php.net/manual/en/splfileinfo.gettype.php
+ * @return string A string representing the type of the entry.
+ * May be one of file, link,
+ * or dir
+ */
+ public function getType () {}
+
+ /**
+ * Tells if the entry is writable
+ * @link http://www.php.net/manual/en/splfileinfo.iswritable.php
+ * @return bool true if writable, false otherwise;
+ */
+ public function isWritable () {}
+
+ /**
+ * Tells if file is readable
+ * @link http://www.php.net/manual/en/splfileinfo.isreadable.php
+ * @return bool true if readable, false otherwise.
+ */
+ public function isReadable () {}
+
+ /**
+ * Tells if the file is executable
+ * @link http://www.php.net/manual/en/splfileinfo.isexecutable.php
+ * @return bool true if executable, false otherwise.
+ */
+ public function isExecutable () {}
+
+ /**
+ * Tells if the object references a regular file
+ * @link http://www.php.net/manual/en/splfileinfo.isfile.php
+ * @return bool true if the file exists and is a regular file (not a link), false otherwise.
+ */
+ public function isFile () {}
+
+ /**
+ * Tells if the file is a directory
+ * @link http://www.php.net/manual/en/splfileinfo.isdir.php
+ * @return bool true if a directory, false otherwise.
+ */
+ public function isDir () {}
+
+ /**
+ * Tells if the file is a link
+ * @link http://www.php.net/manual/en/splfileinfo.islink.php
+ * @return bool true if the file is a link, false otherwise.
+ */
+ public function isLink () {}
+
+ /**
+ * Gets the target of a link
+ * @link http://www.php.net/manual/en/splfileinfo.getlinktarget.php
+ * @return string the target of the filesystem link.
+ */
+ public function getLinkTarget () {}
+
+ /**
+ * Gets absolute path to file
+ * @link http://www.php.net/manual/en/splfileinfo.getrealpath.php
+ * @return string the path to the file.
+ */
+ public function getRealPath () {}
+
+ /**
+ * Gets an SplFileInfo object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.getfileinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo An SplFileInfo object created for the file.
+ */
+ public function getFileInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileInfo object for the path
+ * @link http://www.php.net/manual/en/splfileinfo.getpathinfo.php
+ * @param class_name string[optional] <p>
+ * Name of an SplFileInfo derived class to use.
+ * </p>
+ * @return SplFileInfo an SplFileInfo object for the parent path of the file.
+ */
+ public function getPathInfo ($class_name = null) {}
+
+ /**
+ * Gets an SplFileObject object for the file
+ * @link http://www.php.net/manual/en/splfileinfo.openfile.php
+ * @param open_mode string[optional] <p>
+ * The mode for opening the file. See the fopen
+ * documentation for descriptions of possible modes. The default
+ * is read only.
+ * </p>
+ * @param use_include_path bool[optional] <p>
+ * &parameter.use_include_path;
+ * </p>
+ * @param context resource[optional] <p>
+ * &parameter.context;
+ * </p>
+ * @return SplFileObject The opened file as an SplFileObject object.
+ */
+ public function openFile ($open_mode = null, $use_include_path = null, $context = null) {}
+
+ /**
+ * Sets the class name used with <methodname>SplFileInfo::openFile</methodname>
+ * @link http://www.php.net/manual/en/splfileinfo.setfileclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use when openFile() is called.
+ * </p>
+ * @return void
+ */
+ public function setFileClass ($class_name = null) {}
+
+ /**
+ * Sets the class used with getFileInfo and getPathInfo
+ * @link http://www.php.net/manual/en/splfileinfo.setinfoclass.php
+ * @param class_name string[optional] <p>
+ * The class name to use.
+ * </p>
+ * @return void
+ */
+ public function setInfoClass ($class_name = null) {}
+
+ final public function _bad_state_ex () {}
+
+}
+
+class SplDoublyLinkedList implements Iterator, Traversable, Countable, ArrayAccess, Serializable {
+ const IT_MODE_LIFO = 2;
+ const IT_MODE_FIFO = 0;
+ const IT_MODE_DELETE = 1;
+ const IT_MODE_KEEP = 0;
+
+
+ /**
+ * Pops a node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.pop.php
+ * @return mixed The value of the popped node.
+ */
+ public function pop () {}
+
+ /**
+ * Shifts a node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.shift.php
+ * @return mixed The value of the shifted node.
+ */
+ public function shift () {}
+
+ /**
+ * Pushes an element at the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.push.php
+ * @param value mixed <p>
+ * The value to push.
+ * </p>
+ * @return void
+ */
+ public function push ($value) {}
+
+ /**
+ * Prepends the doubly linked list with an element
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unshift.php
+ * @param value mixed <p>
+ * The value to unshift.
+ * </p>
+ * @return void
+ */
+ public function unshift ($value) {}
+
+ /**
+ * Peeks at the node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.top.php
+ * @return mixed The value of the last node.
+ */
+ public function top () {}
+
+ /**
+ * Peeks at the node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.bottom.php
+ * @return mixed The value of the first node.
+ */
+ public function bottom () {}
+
+ /**
+ * Checks whether the doubly linked list is empty.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.isempty.php
+ * @return bool whether the doubly linked list is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Sets the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.setiteratormode.php
+ * @param mode int <p>
+ * There are two orthogonal sets of modes that can be set:
+ * </p>
+ * The direction of the iteration (either one or the other):
+ * SplDoublyLinkedList::IT_MODE_LIFO (Stack style)
+ * @return void
+ */
+ public function setIteratorMode ($mode) {}
+
+ /**
+ * Returns the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.getiteratormode.php
+ * @return int the different modes and flags that affect the iteration.
+ */
+ public function getIteratorMode () {}
+
+ /**
+ * Counts the number of elements in the doubly linked list.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.count.php
+ * @return int the number of elements in the doubly linked list.
+ */
+ public function count () {}
+
+ /**
+ * Returns whether the requested $index exists
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetexists.php
+ * @param index mixed <p>
+ * The index being checked.
+ * </p>
+ * @return bool true if the requested index exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Returns the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetget.php
+ * @param index mixed <p>
+ * The index with the value.
+ * </p>
+ * @return mixed The value at the specified index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Sets the value at the specified $index to $newval
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetset.php
+ * @param index mixed <p>
+ * The index being set.
+ * </p>
+ * @param newval mixed <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unsets the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetunset.php
+ * @param index mixed <p>
+ * The index being unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * @param index
+ * @param newval
+ */
+ public function add ($index, $newval) {}
+
+ /**
+ * Rewind iterator back to the start
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Move to previous entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.prev.php
+ * @return void
+ */
+ public function prev () {}
+
+ /**
+ * Check whether the doubly linked list contains more nodes
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.valid.php
+ * @return bool true if the doubly linked list contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Unserializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unserialize.php
+ * @param serialized string <p>
+ * The serialized string.
+ * </p>
+ * @return void
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.serialize.php
+ * @return string The serialized string.
+ */
+ public function serialize () {}
+
+}
+
+class SplQueue extends SplDoublyLinkedList implements Serializable, ArrayAccess, Countable, Traversable, Iterator {
+ const IT_MODE_LIFO = 2;
+ const IT_MODE_FIFO = 0;
+ const IT_MODE_DELETE = 1;
+ const IT_MODE_KEEP = 0;
+
+
+ /**
+ * Adds an element to the queue.
+ * @link http://www.php.net/manual/en/splqueue.enqueue.php
+ * @param value mixed <p>
+ * The value to enqueue.
+ * </p>
+ * @return void
+ */
+ public function enqueue ($value) {}
+
+ /**
+ * Dequeues a node from the queue
+ * @link http://www.php.net/manual/en/splqueue.dequeue.php
+ * @return mixed The value of the dequeued node.
+ */
+ public function dequeue () {}
+
+ /**
+ * Pops a node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.pop.php
+ * @return mixed The value of the popped node.
+ */
+ public function pop () {}
+
+ /**
+ * Shifts a node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.shift.php
+ * @return mixed The value of the shifted node.
+ */
+ public function shift () {}
+
+ /**
+ * Pushes an element at the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.push.php
+ * @param value mixed <p>
+ * The value to push.
+ * </p>
+ * @return void
+ */
+ public function push ($value) {}
+
+ /**
+ * Prepends the doubly linked list with an element
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unshift.php
+ * @param value mixed <p>
+ * The value to unshift.
+ * </p>
+ * @return void
+ */
+ public function unshift ($value) {}
+
+ /**
+ * Peeks at the node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.top.php
+ * @return mixed The value of the last node.
+ */
+ public function top () {}
+
+ /**
+ * Peeks at the node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.bottom.php
+ * @return mixed The value of the first node.
+ */
+ public function bottom () {}
+
+ /**
+ * Checks whether the doubly linked list is empty.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.isempty.php
+ * @return bool whether the doubly linked list is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Sets the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.setiteratormode.php
+ * @param mode int <p>
+ * There are two orthogonal sets of modes that can be set:
+ * </p>
+ * The direction of the iteration (either one or the other):
+ * SplDoublyLinkedList::IT_MODE_LIFO (Stack style)
+ * @return void
+ */
+ public function setIteratorMode ($mode) {}
+
+ /**
+ * Returns the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.getiteratormode.php
+ * @return int the different modes and flags that affect the iteration.
+ */
+ public function getIteratorMode () {}
+
+ /**
+ * Counts the number of elements in the doubly linked list.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.count.php
+ * @return int the number of elements in the doubly linked list.
+ */
+ public function count () {}
+
+ /**
+ * Returns whether the requested $index exists
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetexists.php
+ * @param index mixed <p>
+ * The index being checked.
+ * </p>
+ * @return bool true if the requested index exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Returns the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetget.php
+ * @param index mixed <p>
+ * The index with the value.
+ * </p>
+ * @return mixed The value at the specified index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Sets the value at the specified $index to $newval
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetset.php
+ * @param index mixed <p>
+ * The index being set.
+ * </p>
+ * @param newval mixed <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unsets the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetunset.php
+ * @param index mixed <p>
+ * The index being unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * @param index
+ * @param newval
+ */
+ public function add ($index, $newval) {}
+
+ /**
+ * Rewind iterator back to the start
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Move to previous entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.prev.php
+ * @return void
+ */
+ public function prev () {}
+
+ /**
+ * Check whether the doubly linked list contains more nodes
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.valid.php
+ * @return bool true if the doubly linked list contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Unserializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unserialize.php
+ * @param serialized string <p>
+ * The serialized string.
+ * </p>
+ * @return void
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.serialize.php
+ * @return string The serialized string.
+ */
+ public function serialize () {}
+
+}
+
+class SplStack extends SplDoublyLinkedList implements Serializable, ArrayAccess, Countable, Traversable, Iterator {
+ const IT_MODE_LIFO = 2;
+ const IT_MODE_FIFO = 0;
+ const IT_MODE_DELETE = 1;
+ const IT_MODE_KEEP = 0;
+
+
+ /**
+ * Pops a node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.pop.php
+ * @return mixed The value of the popped node.
+ */
+ public function pop () {}
+
+ /**
+ * Shifts a node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.shift.php
+ * @return mixed The value of the shifted node.
+ */
+ public function shift () {}
+
+ /**
+ * Pushes an element at the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.push.php
+ * @param value mixed <p>
+ * The value to push.
+ * </p>
+ * @return void
+ */
+ public function push ($value) {}
+
+ /**
+ * Prepends the doubly linked list with an element
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unshift.php
+ * @param value mixed <p>
+ * The value to unshift.
+ * </p>
+ * @return void
+ */
+ public function unshift ($value) {}
+
+ /**
+ * Peeks at the node from the end of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.top.php
+ * @return mixed The value of the last node.
+ */
+ public function top () {}
+
+ /**
+ * Peeks at the node from the beginning of the doubly linked list
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.bottom.php
+ * @return mixed The value of the first node.
+ */
+ public function bottom () {}
+
+ /**
+ * Checks whether the doubly linked list is empty.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.isempty.php
+ * @return bool whether the doubly linked list is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Sets the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.setiteratormode.php
+ * @param mode int <p>
+ * There are two orthogonal sets of modes that can be set:
+ * </p>
+ * The direction of the iteration (either one or the other):
+ * SplDoublyLinkedList::IT_MODE_LIFO (Stack style)
+ * @return void
+ */
+ public function setIteratorMode ($mode) {}
+
+ /**
+ * Returns the mode of iteration
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.getiteratormode.php
+ * @return int the different modes and flags that affect the iteration.
+ */
+ public function getIteratorMode () {}
+
+ /**
+ * Counts the number of elements in the doubly linked list.
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.count.php
+ * @return int the number of elements in the doubly linked list.
+ */
+ public function count () {}
+
+ /**
+ * Returns whether the requested $index exists
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetexists.php
+ * @param index mixed <p>
+ * The index being checked.
+ * </p>
+ * @return bool true if the requested index exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Returns the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetget.php
+ * @param index mixed <p>
+ * The index with the value.
+ * </p>
+ * @return mixed The value at the specified index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Sets the value at the specified $index to $newval
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetset.php
+ * @param index mixed <p>
+ * The index being set.
+ * </p>
+ * @param newval mixed <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unsets the value at the specified $index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.offsetunset.php
+ * @param index mixed <p>
+ * The index being unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * @param index
+ * @param newval
+ */
+ public function add ($index, $newval) {}
+
+ /**
+ * Rewind iterator back to the start
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Move to previous entry
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.prev.php
+ * @return void
+ */
+ public function prev () {}
+
+ /**
+ * Check whether the doubly linked list contains more nodes
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.valid.php
+ * @return bool true if the doubly linked list contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Unserializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.unserialize.php
+ * @param serialized string <p>
+ * The serialized string.
+ * </p>
+ * @return void
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serializes the storage
+ * @link http://www.php.net/manual/en/spldoublylinkedlist.serialize.php
+ * @return string The serialized string.
+ */
+ public function serialize () {}
+
+}
+
+class SplHeap implements Iterator, Traversable, Countable {
+
+ /**
+ * Extracts a node from top of the heap and sift up.
+ * @link http://www.php.net/manual/en/splheap.extract.php
+ * @return mixed The value of the extracted node.
+ */
+ public function extract () {}
+
+ /**
+ * Inserts an element in the heap by sifting it up.
+ * @link http://www.php.net/manual/en/splheap.insert.php
+ * @param value mixed <p>
+ * The value to insert.
+ * </p>
+ * @return void
+ */
+ public function insert ($value) {}
+
+ /**
+ * Peeks at the node from the top of the heap
+ * @link http://www.php.net/manual/en/splheap.top.php
+ * @return mixed The value of the node on the top.
+ */
+ public function top () {}
+
+ /**
+ * Counts the number of elements in the heap.
+ * @link http://www.php.net/manual/en/splheap.count.php
+ * @return int the number of elements in the heap.
+ */
+ public function count () {}
+
+ /**
+ * Checks whether the heap is empty.
+ * @link http://www.php.net/manual/en/splheap.isempty.php
+ * @return bool whether the heap is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Rewind iterator back to the start (no-op)
+ * @link http://www.php.net/manual/en/splheap.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current node pointed by the iterator
+ * @link http://www.php.net/manual/en/splheap.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/splheap.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to the next node
+ * @link http://www.php.net/manual/en/splheap.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the heap contains more nodes
+ * @link http://www.php.net/manual/en/splheap.valid.php
+ * @return bool true if the heap contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Recover from the corrupted state and allow further actions on the heap.
+ * @link http://www.php.net/manual/en/splheap.recoverfromcorruption.php
+ * @return void
+ */
+ public function recoverFromCorruption () {}
+
+ /**
+ * Compare elements in order to place them correctly in the heap while sifting up.
+ * @link http://www.php.net/manual/en/splheap.compare.php
+ * @param value1 mixed <p>
+ * The value of the first node being compared.
+ * </p>
+ * @param value2 mixed <p>
+ * The value of the second node being compared.
+ * </p>
+ * @return int Result of the comparison, positive integer if value1 is greater than value2, 0 if they are equal, negative integer otherwise.
+ * </p>
+ * <p>
+ * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
+ */
+ abstract protected function compare ($value1, $value2) {}
+
+}
+
+class SplMinHeap extends SplHeap implements Countable, Traversable, Iterator {
+
+ /**
+ * Compare elements in order to place them correctly in the heap while sifting up.
+ * @link http://www.php.net/manual/en/splminheap.compare.php
+ * @param value1 mixed <p>
+ * The value of the first node being compared.
+ * </p>
+ * @param value2 mixed <p>
+ * The value of the second node being compared.
+ * </p>
+ * @return int Result of the comparison, positive integer if value1 is lower than value2, 0 if they are equal, negative integer otherwise.
+ * </p>
+ * <p>
+ * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
+ */
+ protected function compare ($value1, $value2) {}
+
+ /**
+ * Extracts a node from top of the heap and sift up.
+ * @link http://www.php.net/manual/en/splheap.extract.php
+ * @return mixed The value of the extracted node.
+ */
+ public function extract () {}
+
+ /**
+ * Inserts an element in the heap by sifting it up.
+ * @link http://www.php.net/manual/en/splheap.insert.php
+ * @param value mixed <p>
+ * The value to insert.
+ * </p>
+ * @return void
+ */
+ public function insert ($value) {}
+
+ /**
+ * Peeks at the node from the top of the heap
+ * @link http://www.php.net/manual/en/splheap.top.php
+ * @return mixed The value of the node on the top.
+ */
+ public function top () {}
+
+ /**
+ * Counts the number of elements in the heap.
+ * @link http://www.php.net/manual/en/splheap.count.php
+ * @return int the number of elements in the heap.
+ */
+ public function count () {}
+
+ /**
+ * Checks whether the heap is empty.
+ * @link http://www.php.net/manual/en/splheap.isempty.php
+ * @return bool whether the heap is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Rewind iterator back to the start (no-op)
+ * @link http://www.php.net/manual/en/splheap.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current node pointed by the iterator
+ * @link http://www.php.net/manual/en/splheap.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/splheap.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to the next node
+ * @link http://www.php.net/manual/en/splheap.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the heap contains more nodes
+ * @link http://www.php.net/manual/en/splheap.valid.php
+ * @return bool true if the heap contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Recover from the corrupted state and allow further actions on the heap.
+ * @link http://www.php.net/manual/en/splheap.recoverfromcorruption.php
+ * @return void
+ */
+ public function recoverFromCorruption () {}
+
+}
+
+class SplMaxHeap extends SplHeap implements Countable, Traversable, Iterator {
+
+ /**
+ * Compare elements in order to place them correctly in the heap while sifting up.
+ * @link http://www.php.net/manual/en/splmaxheap.compare.php
+ * @param value1 mixed <p>
+ * The value of the first node being compared.
+ * </p>
+ * @param value2 mixed <p>
+ * The value of the second node being compared.
+ * </p>
+ * @return int Result of the comparison, positive integer if value1 is greater than value2, 0 if they are equal, negative integer otherwise.
+ * </p>
+ * <p>
+ * Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
+ */
+ protected function compare ($value1, $value2) {}
+
+ /**
+ * Extracts a node from top of the heap and sift up.
+ * @link http://www.php.net/manual/en/splheap.extract.php
+ * @return mixed The value of the extracted node.
+ */
+ public function extract () {}
+
+ /**
+ * Inserts an element in the heap by sifting it up.
+ * @link http://www.php.net/manual/en/splheap.insert.php
+ * @param value mixed <p>
+ * The value to insert.
+ * </p>
+ * @return void
+ */
+ public function insert ($value) {}
+
+ /**
+ * Peeks at the node from the top of the heap
+ * @link http://www.php.net/manual/en/splheap.top.php
+ * @return mixed The value of the node on the top.
+ */
+ public function top () {}
+
+ /**
+ * Counts the number of elements in the heap.
+ * @link http://www.php.net/manual/en/splheap.count.php
+ * @return int the number of elements in the heap.
+ */
+ public function count () {}
+
+ /**
+ * Checks whether the heap is empty.
+ * @link http://www.php.net/manual/en/splheap.isempty.php
+ * @return bool whether the heap is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Rewind iterator back to the start (no-op)
+ * @link http://www.php.net/manual/en/splheap.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current node pointed by the iterator
+ * @link http://www.php.net/manual/en/splheap.current.php
+ * @return mixed The current node value.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/splheap.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to the next node
+ * @link http://www.php.net/manual/en/splheap.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the heap contains more nodes
+ * @link http://www.php.net/manual/en/splheap.valid.php
+ * @return bool true if the heap contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Recover from the corrupted state and allow further actions on the heap.
+ * @link http://www.php.net/manual/en/splheap.recoverfromcorruption.php
+ * @return void
+ */
+ public function recoverFromCorruption () {}
+
+}
+
+class SplPriorityQueue implements Iterator, Traversable, Countable {
+ const EXTR_BOTH = 3;
+ const EXTR_PRIORITY = 2;
+ const EXTR_DATA = 1;
+
+
+ /**
+ * Compare priorities in order to place elements correctly in the heap while sifting up.
+ * @link http://www.php.net/manual/en/splpriorityqueue.compare.php
+ * @param priority1 mixed <p>
+ * The priority of the first node being compared.
+ * </p>
+ * @param priority2 mixed <p>
+ * The priority of the second node being compared.
+ * </p>
+ * @return int Result of the comparison, positive integer if priority1 is greater than priority2, 0 if they are equal, negative integer otherwise.
+ * </p>
+ * <p>
+ * Multiple elements with the same priority will get dequeued in no particular order.
+ */
+ public function compare ($priority1, $priority2) {}
+
+ /**
+ * Inserts an element in the queue by sifting it up.
+ * @link http://www.php.net/manual/en/splpriorityqueue.insert.php
+ * @param value mixed <p>
+ * The value to insert.
+ * </p>
+ * @param priority mixed <p>
+ * The associated priority.
+ * </p>
+ * @return void
+ */
+ public function insert ($value, $priority) {}
+
+ /**
+ * Sets the mode of extraction
+ * @link http://www.php.net/manual/en/splpriorityqueue.setextractflags.php
+ * @param flags int <p>
+ * Defines what is extracted by SplPriorityQueue::current,
+ * SplPriorityQueue::top and
+ * SplPriorityQueue::extract.
+ * </p>
+ * SplPriorityQueue::EXTR_DATA (0x00000001): Extract the data
+ * @return void
+ */
+ public function setExtractFlags ($flags) {}
+
+ /**
+ * Peeks at the node from the top of the queue
+ * @link http://www.php.net/manual/en/splpriorityqueue.top.php
+ * @return mixed The value or priority (or both) of the top node, depending on the extract flag.
+ */
+ public function top () {}
+
+ /**
+ * Extracts a node from top of the heap and sift up.
+ * @link http://www.php.net/manual/en/splpriorityqueue.extract.php
+ * @return mixed The value or priority (or both) of the extracted node, depending on the extract flag.
+ */
+ public function extract () {}
+
+ /**
+ * Counts the number of elements in the queue.
+ * @link http://www.php.net/manual/en/splpriorityqueue.count.php
+ * @return int the number of elements in the queue.
+ */
+ public function count () {}
+
+ /**
+ * Checks whether the queue is empty.
+ * @link http://www.php.net/manual/en/splpriorityqueue.isempty.php
+ * @return bool whether the queue is empty.
+ */
+ public function isEmpty () {}
+
+ /**
+ * Rewind iterator back to the start (no-op)
+ * @link http://www.php.net/manual/en/splpriorityqueue.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current node pointed by the iterator
+ * @link http://www.php.net/manual/en/splpriorityqueue.current.php
+ * @return mixed The value or priority (or both) of the current node, depending on the extract flag.
+ */
+ public function current () {}
+
+ /**
+ * Return current node index
+ * @link http://www.php.net/manual/en/splpriorityqueue.key.php
+ * @return mixed The current node index.
+ */
+ public function key () {}
+
+ /**
+ * Move to the next node
+ * @link http://www.php.net/manual/en/splpriorityqueue.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the queue contains more nodes
+ * @link http://www.php.net/manual/en/splpriorityqueue.valid.php
+ * @return bool true if the queue contains any more nodes, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Recover from the corrupted state and allow further actions on the queue.
+ * @link http://www.php.net/manual/en/splpriorityqueue.recoverfromcorruption.php
+ * @return void
+ */
+ public function recoverFromCorruption () {}
+
+}
+
+class SplFixedArray implements Iterator, Traversable, ArrayAccess, Countable {
+
+ /**
+ * Constructs a new fixed array
+ * @link http://www.php.net/manual/en/splfixedarray.construct.php
+ * @param size[optional]
+ */
+ public function __construct ($size) {}
+
+ /**
+ * Reinitialises the array after being unserialised
+ * @link http://www.php.net/manual/en/splfixedarray.wakeup.php
+ * @return void
+ */
+ public function __wakeup () {}
+
+ /**
+ * Returns the size of the array
+ * @link http://www.php.net/manual/en/splfixedarray.count.php
+ * @return int the size of the array.
+ */
+ public function count () {}
+
+ /**
+ * Returns a PHP array from the fixed array
+ * @link http://www.php.net/manual/en/splfixedarray.toarray.php
+ * @return array a PHP array, similar to the fixed array.
+ */
+ public function toArray () {}
+
+ /**
+ * Import a PHP array in a <classname>SplFixedArray</classname> instance
+ * @link http://www.php.net/manual/en/splfixedarray.fromarray.php
+ * @param array array <p>
+ * The array to import.
+ * </p>
+ * @param save_indexes bool[optional] <p>
+ * Try to save the numeric indexes used in the original array.
+ * </p>
+ * @return SplFixedArray an instance of SplFixedArray
+ * containing the array content.
+ */
+ public static function fromArray (array $array, $save_indexes = null) {}
+
+ /**
+ * Gets the size of the array
+ * @link http://www.php.net/manual/en/splfixedarray.getsize.php
+ * @return int the size of the array, as an integer.
+ */
+ public function getSize () {}
+
+ /**
+ * Change the size of an array
+ * @link http://www.php.net/manual/en/splfixedarray.setsize.php
+ * @param size int <p>
+ * The new array size. This should be a value between 0 and PHP_INT_MAX.
+ * </p>
+ * @return int
+ */
+ public function setSize ($size) {}
+
+ /**
+ * Returns whether the requested index exists
+ * @link http://www.php.net/manual/en/splfixedarray.offsetexists.php
+ * @param index int <p>
+ * The index being checked.
+ * </p>
+ * @return bool true if the requested index exists, otherwise false
+ */
+ public function offsetExists ($index) {}
+
+ /**
+ * Returns the value at the specified index
+ * @link http://www.php.net/manual/en/splfixedarray.offsetget.php
+ * @param index int <p>
+ * The index with the value.
+ * </p>
+ * @return mixed The value at the specified index.
+ */
+ public function offsetGet ($index) {}
+
+ /**
+ * Sets a new value at a specified index
+ * @link http://www.php.net/manual/en/splfixedarray.offsetset.php
+ * @param index int <p>
+ * The index being set.
+ * </p>
+ * @param newval mixed <p>
+ * The new value for the index.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($index, $newval) {}
+
+ /**
+ * Unsets the value at the specified $index
+ * @link http://www.php.net/manual/en/splfixedarray.offsetunset.php
+ * @param index int <p>
+ * The index being unset.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($index) {}
+
+ /**
+ * Rewind iterator back to the start
+ * @link http://www.php.net/manual/en/splfixedarray.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Return current array entry
+ * @link http://www.php.net/manual/en/splfixedarray.current.php
+ * @return mixed The current element value.
+ */
+ public function current () {}
+
+ /**
+ * Return current array index
+ * @link http://www.php.net/manual/en/splfixedarray.key.php
+ * @return int The current array index.
+ */
+ public function key () {}
+
+ /**
+ * Move to next entry
+ * @link http://www.php.net/manual/en/splfixedarray.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Check whether the array contains more elements
+ * @link http://www.php.net/manual/en/splfixedarray.valid.php
+ * @return bool true if the array contains any more elements, false otherwise.
+ */
+ public function valid () {}
+
+}
+
+interface SplObserver {
+
+ /**
+ * Receive update from subject
+ * @link http://www.php.net/manual/en/splobserver.update.php
+ * @param subject SplSubject <p>
+ * The SplSubject notifying the observer of an update.
+ * </p>
+ * @return void
+ */
+ abstract public function update ($subject) {}
+
+}
+
+interface SplSubject {
+
+ /**
+ * Attach an SplObserver
+ * @link http://www.php.net/manual/en/splsubject.attach.php
+ * @param observer SplObserver <p>
+ * The SplObserver to attach.
+ * </p>
+ * @return void
+ */
+ abstract public function attach ($observer) {}
+
+ /**
+ * Detach an observer
+ * @link http://www.php.net/manual/en/splsubject.detach.php
+ * @param observer SplObserver <p>
+ * The SplObserver to detach.
+ * </p>
+ * @return void
+ */
+ abstract public function detach ($observer) {}
+
+ /**
+ * Notify an observer
+ * @link http://www.php.net/manual/en/splsubject.notify.php
+ * @return void
+ */
+ abstract public function notify () {}
+
+}
+
+class SplObjectStorage implements Countable, Iterator, Traversable, Serializable, ArrayAccess {
+
+ /**
+ * Adds an object in the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.attach.php
+ * @param object object <p>
+ * The object to add.
+ * </p>
+ * @param data mixed[optional] <p>
+ * The data to associate with the object.
+ * </p>
+ * @return void
+ */
+ public function attach ($object, $data = null) {}
+
+ /**
+ * Removes an <type>object</type> from the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.detach.php
+ * @param object object <p>
+ * The object to remove.
+ * </p>
+ * @return void
+ */
+ public function detach ($object) {}
+
+ /**
+ * Checks if the storage contains a specific object
+ * @link http://www.php.net/manual/en/splobjectstorage.contains.php
+ * @param object object <p>
+ * The object to look for.
+ * </p>
+ * @return bool true if the object is in the storage, false otherwise.
+ */
+ public function contains ($object) {}
+
+ /**
+ * Adds all objects from another storage
+ * @link http://www.php.net/manual/en/splobjectstorage.addall.php
+ * @param storage SplObjectStorage <p>
+ * The storage you want to import.
+ * </p>
+ * @return void
+ */
+ public function addAll (SplObjectStorage $storage) {}
+
+ /**
+ * Removes objects contained in another storage from the current storage
+ * @link http://www.php.net/manual/en/splobjectstorage.removeall.php
+ * @param storage SplObjectStorage <p>
+ * The storage containing the elements to remove.
+ * </p>
+ * @return void
+ */
+ public function removeAll (SplObjectStorage $storage) {}
+
+ /**
+ * Removes all objects except for those contained in another storage from the current storage
+ * @link http://www.php.net/manual/en/splobjectstorage.removeallexcept.php
+ * @param storage SplObjectStorage <p>
+ * The storage containing the elements to retain in the current storage.
+ * </p>
+ * @return void
+ */
+ public function removeAllExcept (SplObjectStorage $storage) {}
+
+ /**
+ * Returns the data associated with the current iterator entry
+ * @link http://www.php.net/manual/en/splobjectstorage.getinfo.php
+ * @return mixed The data associated with the current iterator position.
+ */
+ public function getInfo () {}
+
+ /**
+ * Sets the data associated with the current iterator entry
+ * @link http://www.php.net/manual/en/splobjectstorage.setinfo.php
+ * @param data mixed <p>
+ * The data to associate with the current iterator entry.
+ * </p>
+ * @return void
+ */
+ public function setInfo ($data) {}
+
+ /**
+ * Calculate a unique identifier for the contained objects
+ * @link http://www.php.net/manual/en/splobjectstorage.gethash.php
+ * @param object object <p>
+ * The object whose identifier is to be calculated.
+ * </p>
+ * @return string A string with the calculated identifier.
+ */
+ public function getHash ($object) {}
+
+ /**
+ * Returns the number of objects in the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.count.php
+ * @return int The number of objects in the storage.
+ */
+ public function count () {}
+
+ /**
+ * Rewind the iterator to the first storage element
+ * @link http://www.php.net/manual/en/splobjectstorage.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Returns if the current iterator entry is valid
+ * @link http://www.php.net/manual/en/splobjectstorage.valid.php
+ * @return bool true if the iterator entry is valid, false otherwise.
+ */
+ public function valid () {}
+
+ /**
+ * Returns the index at which the iterator currently is
+ * @link http://www.php.net/manual/en/splobjectstorage.key.php
+ * @return int The index corresponding to the position of the iterator.
+ */
+ public function key () {}
+
+ /**
+ * Returns the current storage entry
+ * @link http://www.php.net/manual/en/splobjectstorage.current.php
+ * @return object The object at the current iterator position.
+ */
+ public function current () {}
+
+ /**
+ * Move to the next entry
+ * @link http://www.php.net/manual/en/splobjectstorage.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Unserializes a storage from its string representation
+ * @link http://www.php.net/manual/en/splobjectstorage.unserialize.php
+ * @param serialized string <p>
+ * The serialized representation of a storage.
+ * </p>
+ * @return void
+ */
+ public function unserialize ($serialized) {}
+
+ /**
+ * Serializes the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.serialize.php
+ * @return string A string representing the storage.
+ */
+ public function serialize () {}
+
+ /**
+ * Checks whether an object exists in the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.offsetexists.php
+ * @param object object <p>
+ * The object to look for.
+ * </p>
+ * @return bool true if the object exists in the storage,
+ * and false otherwise.
+ */
+ public function offsetExists ($object) {}
+
+ /**
+ * Associates data to an object in the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.offsetset.php
+ * @param object object <p>
+ * The object to associate data with.
+ * </p>
+ * @param data mixed[optional] <p>
+ * The data to associate with the object.
+ * </p>
+ * @return void
+ */
+ public function offsetSet ($object, $data = null) {}
+
+ /**
+ * Removes an object from the storage
+ * @link http://www.php.net/manual/en/splobjectstorage.offsetunset.php
+ * @param object object <p>
+ * The object to remove.
+ * </p>
+ * @return void
+ */
+ public function offsetUnset ($object) {}
+
+ /**
+ * Returns the data associated with an <type>object</type>
+ * @link http://www.php.net/manual/en/splobjectstorage.offsetget.php
+ * @param object object <p>
+ * The object to look for.
+ * </p>
+ * @return mixed The data previously associated with the object in the storage.
+ */
+ public function offsetGet ($object) {}
+
+}
+
+class MultipleIterator implements Iterator, Traversable {
+ const MIT_NEED_ANY = 0;
+ const MIT_NEED_ALL = 1;
+ const MIT_KEYS_NUMERIC = 0;
+ const MIT_KEYS_ASSOC = 2;
+
+
+ /**
+ * Constructs a new MultipleIterator
+ * @link http://www.php.net/manual/en/multipleiterator.construct.php
+ * @param flags
+ */
+ public function __construct ($flags) {}
+
+ /**
+ * Gets the flag information
+ * @link http://www.php.net/manual/en/multipleiterator.getflags.php
+ * @return void Information about the flags, as an integer.
+ */
+ public function getFlags () {}
+
+ /**
+ * Sets flags
+ * @link http://www.php.net/manual/en/multipleiterator.setflags.php
+ * @param flags int <p>
+ * The flags to set, according to the
+ * Flag Constants
+ * </p>
+ * @return void
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Attaches iterator information
+ * @link http://www.php.net/manual/en/multipleiterator.attachiterator.php
+ * @param iterator Iterator <p>
+ * The new iterator to attach.
+ * </p>
+ * @param infos string[optional] <p>
+ * The associative information for the Iterator, which must be an
+ * integer, a string, or &null;.
+ * </p>
+ * @return void Description...
+ */
+ public function attachIterator ($iterator, $infos = null) {}
+
+ /**
+ * Detaches an iterator
+ * @link http://www.php.net/manual/en/multipleiterator.detachiterator.php
+ * @param iterator Iterator <p>
+ * The iterator to detach.
+ * </p>
+ * @return void
+ */
+ public function detachIterator ($iterator) {}
+
+ /**
+ * Checks if an iterator is attached
+ * @link http://www.php.net/manual/en/multipleiterator.containsiterator.php
+ * @param iterator Iterator <p>
+ * The iterator to check.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function containsIterator ($iterator) {}
+
+ /**
+ * Gets the number of attached iterator instances
+ * @link http://www.php.net/manual/en/multipleiterator.countiterators.php
+ * @return void The number of attached iterator instances (as an integer).
+ */
+ public function countIterators () {}
+
+ /**
+ * Rewinds all attached iterator instances
+ * @link http://www.php.net/manual/en/multipleiterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Checks the validity of sub iterators
+ * @link http://www.php.net/manual/en/multipleiterator.valid.php
+ * @return void true if one or all sub iterators are valid depending on flags,
+ * otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Gets the registered iterator instances
+ * @link http://www.php.net/manual/en/multipleiterator.key.php
+ * @return array An array of all registered iterator instances,
+ * or false if no sub iterator is attached.
+ */
+ public function key () {}
+
+ /**
+ * Gets the registered iterator instances
+ * @link http://www.php.net/manual/en/multipleiterator.current.php
+ * @return array An array containing the current values of each attached iterator,
+ * or false if no iterators are attached.
+ */
+ public function current () {}
+
+ /**
+ * Moves all attached iterator instances forward
+ * @link http://www.php.net/manual/en/multipleiterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+}
+
+/**
+ * Return available SPL classes
+ * @link http://www.php.net/manual/en/function.spl-classes.php
+ * @return array an array containing the currently available SPL classes.
+ */
+function spl_classes () {}
+
+/**
+ * Default implementation for __autoload()
+ * @link http://www.php.net/manual/en/function.spl-autoload.php
+ * @param class_name string <p>
+ * The lowercased name of the class (and namespace) being instantiated.
+ * </p>
+ * @param file_extensions string[optional] <p>
+ * By default it checks all include paths to
+ * contain filenames built up by the lowercase class name appended by the
+ * filename extensions .inc and .php.
+ * </p>
+ * @return void
+ */
+function spl_autoload ($class_name, $file_extensions = null) {}
+
+/**
+ * Register and return default file extensions for spl_autoload
+ * @link http://www.php.net/manual/en/function.spl-autoload-extensions.php
+ * @param file_extensions string[optional] <p>
+ * When calling without an argument, it simply returns the current list
+ * of extensions each separated by comma. To modify the list of file
+ * extensions, simply invoke the functions with the new list of file
+ * extensions to use in a single string with each extensions separated
+ * by comma.
+ * </p>
+ * @return string A comma delimited list of default file extensions for
+ * spl_autoload.
+ */
+function spl_autoload_extensions ($file_extensions = null) {}
+
+/**
+ * Register given function as __autoload() implementation
+ * @link http://www.php.net/manual/en/function.spl-autoload-register.php
+ * @param autoload_function callable[optional] <p>
+ * The autoload function being registered.
+ * If no parameter is provided, then the default implementation of
+ * spl_autoload will be registered.
+ * </p>
+ * @param throw bool[optional] <p>
+ * This parameter specifies whether
+ * spl_autoload_register should throw
+ * exceptions when the autoload_function
+ * cannot be registered.
+ * </p>
+ * @param prepend bool[optional] <p>
+ * If true, spl_autoload_register will prepend
+ * the autoloader on the autoload stack instead of appending it.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function spl_autoload_register ($autoload_function = null, $throw = null, $prepend = null) {}
+
+/**
+ * Unregister given function as __autoload() implementation
+ * @link http://www.php.net/manual/en/function.spl-autoload-unregister.php
+ * @param autoload_function mixed <p>
+ * The autoload function being unregistered.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function spl_autoload_unregister ($autoload_function) {}
+
+/**
+ * Return all registered __autoload() functions
+ * @link http://www.php.net/manual/en/function.spl-autoload-functions.php
+ * @return array An array of all registered __autoload functions.
+ * If the autoload stack is not activated then the return value is false.
+ * If no function is registered the return value will be an empty array.
+ */
+function spl_autoload_functions () {}
+
+/**
+ * Try all registered __autoload() function to load the requested class
+ * @link http://www.php.net/manual/en/function.spl-autoload-call.php
+ * @param class_name string <p>
+ * The class name being searched.
+ * </p>
+ * @return void
+ */
+function spl_autoload_call ($class_name) {}
+
+/**
+ * Return the parent classes of the given class
+ * @link http://www.php.net/manual/en/function.class-parents.php
+ * @param class mixed <p>
+ * An object (class instance) or a string (class name).
+ * </p>
+ * @param autoload bool[optional] <p>
+ * Whether to allow this function to load the class automatically through
+ * the __autoload magic method.
+ * </p>
+ * @return array An array on success, or false on error.
+ */
+function class_parents ($class, $autoload = null) {}
+
+/**
+ * Return the interfaces which are implemented by the given class
+ * @link http://www.php.net/manual/en/function.class-implements.php
+ * @param class mixed <p>
+ * An object (class instance) or a string (class name).
+ * </p>
+ * @param autoload bool[optional] <p>
+ * Whether to allow this function to load the class automatically through
+ * the __autoload magic method.
+ * </p>
+ * @return array An array on success, or false on error.
+ */
+function class_implements ($class, $autoload = null) {}
+
+/**
+ * Return the traits used by the given class
+ * @link http://www.php.net/manual/en/function.class-uses.php
+ * @param class mixed <p>
+ * An object (class instance) or a string (class name).
+ * </p>
+ * @param autoload bool[optional] <p>
+ * Whether to allow this function to load the class automatically through
+ * the __autoload magic method.
+ * </p>
+ * @return array An array on success, or false on error.
+ */
+function class_uses ($class, $autoload = null) {}
+
+/**
+ * Return hash id for given object
+ * @link http://www.php.net/manual/en/function.spl-object-hash.php
+ * @param obj object
+ * @return string A string that is unique for each currently existing object and is always
+ * the same for each object.
+ */
+function spl_object_hash ($obj) {}
+
+/**
+ * Copy the iterator into an array
+ * @link http://www.php.net/manual/en/function.iterator-to-array.php
+ * @param iterator Traversable <p>
+ * The iterator being copied.
+ * </p>
+ * @param use_keys bool[optional] <p>
+ * Whether to use the iterator element keys as index.
+ * </p>
+ * <p>
+ * In PHP 5.5 and later, if a key is an array or
+ * object, a warning will be generated. &null; keys will be
+ * converted to an empty string, double keys will be
+ * truncated to their integer counterpart,
+ * resource keys will generate a warning and be converted to
+ * their resource ID, and boolean keys will be converted to
+ * integers.
+ * </p>
+ * @return array An array containing the elements of the iterator.
+ */
+function iterator_to_array ($iterator, $use_keys = null) {}
+
+/**
+ * Count the elements in an iterator
+ * @link http://www.php.net/manual/en/function.iterator-count.php
+ * @param iterator Traversable <p>
+ * The iterator being counted.
+ * </p>
+ * @return int The number of elements in iterator.
+ */
+function iterator_count ($iterator) {}
+
+/**
+ * Call a function for every element in an iterator
+ * @link http://www.php.net/manual/en/function.iterator-apply.php
+ * @param iterator Traversable <p>
+ * The class to iterate over.
+ * </p>
+ * @param function callable <p>
+ * The callback function to call on every element.
+ * The function must return true in order to
+ * continue iterating over the iterator.
+ * </p>
+ * @param args array[optional] <p>
+ * Arguments to pass to the callback function.
+ * </p>
+ * @return int the iteration count.
+ */
+function iterator_apply ($iterator, $function, array $args = null) {}
+
+// End of SPL v.0.2
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/SimpleXML.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/SimpleXML.php
new file mode 100644
index 0000000..0597e4f
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/SimpleXML.php
@@ -0,0 +1,487 @@
+<?php
+
+// Start of SimpleXML v.0.1
+
+class SimpleXMLElement implements Traversable {
+
+ /**
+ * Creates a new SimpleXMLElement object
+ * @link http://www.php.net/manual/en/simplexmlelement.construct.php
+ * @param data
+ * @param options[optional]
+ * @param data_is_url[optional]
+ * @param ns[optional]
+ * @param is_prefix[optional]
+ */
+ final public function __construct ($data, $options, $data_is_url, $ns, $is_prefix) {}
+
+ /**
+ * Return a well-formed XML string based on SimpleXML element
+ * @link http://www.php.net/manual/en/simplexmlelement.asxml.php
+ * @param filename string[optional] <p>
+ * If specified, the function writes the data to the file rather than
+ * returning it.
+ * </p>
+ * @return mixed If the filename isn't specified, this function
+ * returns a string on success and false on error. If the
+ * parameter is specified, it returns true if the file was written
+ * successfully and false otherwise.
+ */
+ public function asXML ($filename = null) {}
+
+ /**
+ * &Alias; <methodname>SimpleXMLElement::asXML</methodname>
+ * @link http://www.php.net/manual/en/simplexmlelement.savexml.php
+ * @param filename[optional]
+ */
+ public function saveXML ($filename) {}
+
+ /**
+ * Runs XPath query on XML data
+ * @link http://www.php.net/manual/en/simplexmlelement.xpath.php
+ * @param path string <p>
+ * An XPath path
+ * </p>
+ * @return array an array of SimpleXMLElement objects or false in
+ * case of an error.
+ */
+ public function xpath ($path) {}
+
+ /**
+ * Creates a prefix/ns context for the next XPath query
+ * @link http://www.php.net/manual/en/simplexmlelement.registerxpathnamespace.php
+ * @param prefix string <p>
+ * The namespace prefix to use in the XPath query for the namespace given in
+ * ns.
+ * </p>
+ * @param ns string <p>
+ * The namespace to use for the XPath query. This must match a namespace in
+ * use by the XML document or the XPath query using
+ * prefix will not return any results.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function registerXPathNamespace ($prefix, $ns) {}
+
+ /**
+ * Identifies an element's attributes
+ * @link http://www.php.net/manual/en/simplexmlelement.attributes.php
+ * @param ns string[optional] <p>
+ * An optional namespace for the retrieved attributes
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * Default to false
+ * </p>
+ * @return SimpleXMLElement a SimpleXMLElement object that can be
+ * iterated over to loop through the attributes on the tag.
+ * </p>
+ * <p>
+ * Returns &null; if called on a SimpleXMLElement
+ * object that already represents an attribute and not a tag.
+ */
+ public function attributes ($ns = null, $is_prefix = null) {}
+
+ /**
+ * Finds children of given node
+ * @link http://www.php.net/manual/en/simplexmlelement.children.php
+ * @param ns string[optional] <p>
+ * An XML namespace.
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * If is_prefix is true,
+ * ns will be regarded as a prefix. If false,
+ * ns will be regarded as a namespace
+ * URL.
+ * </p>
+ * @return SimpleXMLElement a SimpleXMLElement element, whether the node
+ * has children or not.
+ */
+ public function children ($ns = null, $is_prefix = null) {}
+
+ /**
+ * Returns namespaces used in document
+ * @link http://www.php.net/manual/en/simplexmlelement.getnamespaces.php
+ * @param recursive bool[optional] <p>
+ * If specified, returns all namespaces used in parent and child nodes.
+ * Otherwise, returns only namespaces used in root node.
+ * </p>
+ * @return array The getNamespaces method returns an array of
+ * namespace names with their associated URIs.
+ */
+ public function getNamespaces ($recursive = null) {}
+
+ /**
+ * Returns namespaces declared in document
+ * @link http://www.php.net/manual/en/simplexmlelement.getdocnamespaces.php
+ * @param recursive bool[optional] <p>
+ * If specified, returns all namespaces declared in parent and child nodes.
+ * Otherwise, returns only namespaces declared in root node.
+ * </p>
+ * @param from_root bool[optional] <p>
+ * Allows you to recursively check namespaces under a child node instead of
+ * from the root of the XML doc.
+ * </p>
+ * @return array The getDocNamespaces method returns an array
+ * of namespace names with their associated URIs.
+ */
+ public function getDocNamespaces ($recursive = null, $from_root = null) {}
+
+ /**
+ * Gets the name of the XML element
+ * @link http://www.php.net/manual/en/simplexmlelement.getname.php
+ * @return string The getName method returns as a string the
+ * name of the XML tag referenced by the SimpleXMLElement object.
+ */
+ public function getName () {}
+
+ /**
+ * Adds a child element to the XML node
+ * @link http://www.php.net/manual/en/simplexmlelement.addchild.php
+ * @param name string <p>
+ * The name of the child element to add.
+ * </p>
+ * @param value string[optional] <p>
+ * If specified, the value of the child element.
+ * </p>
+ * @param namespace string[optional] <p>
+ * If specified, the namespace to which the child element belongs.
+ * </p>
+ * @return SimpleXMLElement The addChild method returns a SimpleXMLElement
+ * object representing the child added to the XML node.
+ */
+ public function addChild ($name, $value = null, $namespace = null) {}
+
+ /**
+ * Adds an attribute to the SimpleXML element
+ * @link http://www.php.net/manual/en/simplexmlelement.addattribute.php
+ * @param name string <p>
+ * The name of the attribute to add.
+ * </p>
+ * @param value string[optional] <p>
+ * The value of the attribute.
+ * </p>
+ * @param namespace string[optional] <p>
+ * If specified, the namespace to which the attribute belongs.
+ * </p>
+ * @return void
+ */
+ public function addAttribute ($name, $value = null, $namespace = null) {}
+
+ public function __toString () {}
+
+ /**
+ * Counts the children of an element
+ * @link http://www.php.net/manual/en/simplexmlelement.count.php
+ * @return int the number of elements of an element.
+ */
+ public function count () {}
+
+}
+
+class SimpleXMLIterator extends SimpleXMLElement implements Traversable, RecursiveIterator, Iterator, Countable {
+
+ /**
+ * Rewind to the first element
+ * @link http://www.php.net/manual/en/simplexmliterator.rewind.php
+ * @return void
+ */
+ public function rewind () {}
+
+ /**
+ * Check whether the current element is valid
+ * @link http://www.php.net/manual/en/simplexmliterator.valid.php
+ * @return bool true if the current element is valid, otherwise false
+ */
+ public function valid () {}
+
+ /**
+ * Returns the current element
+ * @link http://www.php.net/manual/en/simplexmliterator.current.php
+ * @return mixed the current element as a SimpleXMLIterator object or &null; on failure.
+ */
+ public function current () {}
+
+ /**
+ * Return current key
+ * @link http://www.php.net/manual/en/simplexmliterator.key.php
+ * @return mixed the XML tag name of the element referenced by the current SimpleXMLIterator object or false
+ */
+ public function key () {}
+
+ /**
+ * Move to next element
+ * @link http://www.php.net/manual/en/simplexmliterator.next.php
+ * @return void
+ */
+ public function next () {}
+
+ /**
+ * Checks whether the current element has sub elements.
+ * @link http://www.php.net/manual/en/simplexmliterator.haschildren.php
+ * @return bool true if the current element has sub-elements, otherwise false
+ */
+ public function hasChildren () {}
+
+ /**
+ * Returns the sub-elements of the current element
+ * @link http://www.php.net/manual/en/simplexmliterator.getchildren.php
+ * @return SimpleXMLIterator a SimpleXMLIterator object containing
+ * the sub-elements of the current element.
+ */
+ public function getChildren () {}
+
+ /**
+ * Creates a new SimpleXMLElement object
+ * @link http://www.php.net/manual/en/simplexmlelement.construct.php
+ * @param data
+ * @param options[optional]
+ * @param data_is_url[optional]
+ * @param ns[optional]
+ * @param is_prefix[optional]
+ */
+ final public function __construct ($data, $options, $data_is_url, $ns, $is_prefix) {}
+
+ /**
+ * Return a well-formed XML string based on SimpleXML element
+ * @link http://www.php.net/manual/en/simplexmlelement.asxml.php
+ * @param filename string[optional] <p>
+ * If specified, the function writes the data to the file rather than
+ * returning it.
+ * </p>
+ * @return mixed If the filename isn't specified, this function
+ * returns a string on success and false on error. If the
+ * parameter is specified, it returns true if the file was written
+ * successfully and false otherwise.
+ */
+ public function asXML ($filename = null) {}
+
+ /**
+ * &Alias; <methodname>SimpleXMLElement::asXML</methodname>
+ * @link http://www.php.net/manual/en/simplexmlelement.savexml.php
+ * @param filename[optional]
+ */
+ public function saveXML ($filename) {}
+
+ /**
+ * Runs XPath query on XML data
+ * @link http://www.php.net/manual/en/simplexmlelement.xpath.php
+ * @param path string <p>
+ * An XPath path
+ * </p>
+ * @return array an array of SimpleXMLElement objects or false in
+ * case of an error.
+ */
+ public function xpath ($path) {}
+
+ /**
+ * Creates a prefix/ns context for the next XPath query
+ * @link http://www.php.net/manual/en/simplexmlelement.registerxpathnamespace.php
+ * @param prefix string <p>
+ * The namespace prefix to use in the XPath query for the namespace given in
+ * ns.
+ * </p>
+ * @param ns string <p>
+ * The namespace to use for the XPath query. This must match a namespace in
+ * use by the XML document or the XPath query using
+ * prefix will not return any results.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function registerXPathNamespace ($prefix, $ns) {}
+
+ /**
+ * Identifies an element's attributes
+ * @link http://www.php.net/manual/en/simplexmlelement.attributes.php
+ * @param ns string[optional] <p>
+ * An optional namespace for the retrieved attributes
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * Default to false
+ * </p>
+ * @return SimpleXMLElement a SimpleXMLElement object that can be
+ * iterated over to loop through the attributes on the tag.
+ * </p>
+ * <p>
+ * Returns &null; if called on a SimpleXMLElement
+ * object that already represents an attribute and not a tag.
+ */
+ public function attributes ($ns = null, $is_prefix = null) {}
+
+ /**
+ * Finds children of given node
+ * @link http://www.php.net/manual/en/simplexmlelement.children.php
+ * @param ns string[optional] <p>
+ * An XML namespace.
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * If is_prefix is true,
+ * ns will be regarded as a prefix. If false,
+ * ns will be regarded as a namespace
+ * URL.
+ * </p>
+ * @return SimpleXMLElement a SimpleXMLElement element, whether the node
+ * has children or not.
+ */
+ public function children ($ns = null, $is_prefix = null) {}
+
+ /**
+ * Returns namespaces used in document
+ * @link http://www.php.net/manual/en/simplexmlelement.getnamespaces.php
+ * @param recursive bool[optional] <p>
+ * If specified, returns all namespaces used in parent and child nodes.
+ * Otherwise, returns only namespaces used in root node.
+ * </p>
+ * @return array The getNamespaces method returns an array of
+ * namespace names with their associated URIs.
+ */
+ public function getNamespaces ($recursive = null) {}
+
+ /**
+ * Returns namespaces declared in document
+ * @link http://www.php.net/manual/en/simplexmlelement.getdocnamespaces.php
+ * @param recursive bool[optional] <p>
+ * If specified, returns all namespaces declared in parent and child nodes.
+ * Otherwise, returns only namespaces declared in root node.
+ * </p>
+ * @param from_root bool[optional] <p>
+ * Allows you to recursively check namespaces under a child node instead of
+ * from the root of the XML doc.
+ * </p>
+ * @return array The getDocNamespaces method returns an array
+ * of namespace names with their associated URIs.
+ */
+ public function getDocNamespaces ($recursive = null, $from_root = null) {}
+
+ /**
+ * Gets the name of the XML element
+ * @link http://www.php.net/manual/en/simplexmlelement.getname.php
+ * @return string The getName method returns as a string the
+ * name of the XML tag referenced by the SimpleXMLElement object.
+ */
+ public function getName () {}
+
+ /**
+ * Adds a child element to the XML node
+ * @link http://www.php.net/manual/en/simplexmlelement.addchild.php
+ * @param name string <p>
+ * The name of the child element to add.
+ * </p>
+ * @param value string[optional] <p>
+ * If specified, the value of the child element.
+ * </p>
+ * @param namespace string[optional] <p>
+ * If specified, the namespace to which the child element belongs.
+ * </p>
+ * @return SimpleXMLElement The addChild method returns a SimpleXMLElement
+ * object representing the child added to the XML node.
+ */
+ public function addChild ($name, $value = null, $namespace = null) {}
+
+ /**
+ * Adds an attribute to the SimpleXML element
+ * @link http://www.php.net/manual/en/simplexmlelement.addattribute.php
+ * @param name string <p>
+ * The name of the attribute to add.
+ * </p>
+ * @param value string[optional] <p>
+ * The value of the attribute.
+ * </p>
+ * @param namespace string[optional] <p>
+ * If specified, the namespace to which the attribute belongs.
+ * </p>
+ * @return void
+ */
+ public function addAttribute ($name, $value = null, $namespace = null) {}
+
+ public function __toString () {}
+
+ /**
+ * Counts the children of an element
+ * @link http://www.php.net/manual/en/simplexmlelement.count.php
+ * @return int the number of elements of an element.
+ */
+ public function count () {}
+
+}
+
+/**
+ * Interprets an XML file into an object
+ * @link http://www.php.net/manual/en/function.simplexml-load-file.php
+ * @param filename string <p>
+ * Path to the XML file
+ * </p>
+ * <p>
+ * Libxml 2 unescapes the URI, so if you want to pass e.g.
+ * b&amp;c as the URI parameter a,
+ * you have to call
+ * simplexml_load_file(rawurlencode('http://example.com/?a=' .
+ * urlencode('b&amp;c'))). Since PHP 5.1.0 you don't need to do
+ * this because PHP will do it for you.
+ * </p>
+ * @param class_name string[optional] <p>
+ * You may use this optional parameter so that
+ * simplexml_load_file will return an object of
+ * the specified class. That class should extend the
+ * SimpleXMLElement class.
+ * </p>
+ * @param options int[optional] <p>
+ * Since PHP 5.1.0 and Libxml 2.6.0, you may also use the
+ * options parameter to specify additional Libxml parameters.
+ * </p>
+ * @param ns string[optional] <p>
+ * Namespace prefix or URI.
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * true if ns is a prefix, false if it's a URI;
+ * defaults to false.
+ * </p>
+ * @return SimpleXMLElement an object of class SimpleXMLElement with
+ * properties containing the data held within the XML document,&return.falseforfailure;.
+ */
+function simplexml_load_file ($filename, $class_name = null, $options = null, $ns = null, $is_prefix = null) {}
+
+/**
+ * Interprets a string of XML into an object
+ * @link http://www.php.net/manual/en/function.simplexml-load-string.php
+ * @param data string <p>
+ * A well-formed XML string
+ * </p>
+ * @param class_name string[optional] <p>
+ * You may use this optional parameter so that
+ * simplexml_load_string will return an object of
+ * the specified class. That class should extend the
+ * SimpleXMLElement class.
+ * </p>
+ * @param options int[optional] <p>
+ * Since PHP 5.1.0 and Libxml 2.6.0, you may also use the
+ * options parameter to specify additional Libxml parameters.
+ * </p>
+ * @param ns string[optional] <p>
+ * Namespace prefix or URI.
+ * </p>
+ * @param is_prefix bool[optional] <p>
+ * true if ns is a prefix, false if it's a URI;
+ * defaults to false.
+ * </p>
+ * @return SimpleXMLElement an object of class SimpleXMLElement with
+ * properties containing the data held within the xml document,&return.falseforfailure;.
+ */
+function simplexml_load_string ($data, $class_name = null, $options = null, $ns = null, $is_prefix = null) {}
+
+/**
+ * Get a <literal>SimpleXMLElement</literal> object from a DOM node.
+ * @link http://www.php.net/manual/en/function.simplexml-import-dom.php
+ * @param node DOMNode <p>
+ * A DOM Element node
+ * </p>
+ * @param class_name string[optional] <p>
+ * You may use this optional parameter so that
+ * simplexml_import_dom will return an object of
+ * the specified class. That class should extend the
+ * SimpleXMLElement class.
+ * </p>
+ * @return SimpleXMLElement a SimpleXMLElement&return.falseforfailure;.
+ */
+function simplexml_import_dom (DOMNode $node, $class_name = null) {}
+
+// End of SimpleXML v.0.1
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/Zend OPcache.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/Zend OPcache.php
new file mode 100644
index 0000000..18125f3
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/Zend OPcache.php
@@ -0,0 +1,47 @@
+<?php
+
+// Start of Zend OPcache v.7.0.3-devFE
+
+/**
+ * Resets the contents of the opcode cache
+ * @link http://www.php.net/manual/en/function.opcache-reset.php
+ * @return boolean true if the opcode cache was reset, or false if the opcode
+ * cache is disabled.
+ */
+function opcache_reset () {}
+
+/**
+ * Invalidates a cached script
+ * @link http://www.php.net/manual/en/function.opcache-invalidate.php
+ * @param script string <p>
+ * The path to the script being invalidated.
+ * </p>
+ * @param force boolean[optional] <p>
+ * If set to true, the script will be invalidated regardless of whether
+ * invalidation is necessary.
+ * </p>
+ * @return boolean true if the opcode cache for script was
+ * invalidated or if there was nothing to invalidate, or false if the opcode
+ * cache is disabled.
+ */
+function opcache_invalidate ($script, $force = null) {}
+
+/**
+ * Compiles and caches a PHP script without executing it
+ * @link http://www.php.net/manual/en/function.opcache-compile-file.php
+ * @param file string <p>
+ * The path to the PHP script to be compiled.
+ * </p>
+ * @return boolean true if file was compiled successfully
+ * &return.falseforfailure;.
+ */
+function opcache_compile_file ($file) {}
+
+function opcache_get_configuration () {}
+
+/**
+ * @param fetch_scripts[optional]
+ */
+function opcache_get_status ($fetch_scripts) {}
+
+// End of Zend OPcache v.7.0.3-devFE
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/amf.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/amf.php
new file mode 100644
index 0000000..aee69ae
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/amf.php
@@ -0,0 +1,29 @@
+<?php
+
+// Start of amf v.0.9.2-dev
+
+function amf_encode () {}
+
+function amf_decode () {}
+
+function amf_join_test () {}
+
+function amf_sb_new () {}
+
+function amf_sb_append () {}
+
+function amf_sb_append_move () {}
+
+function amf_sb_length () {}
+
+function amf_sb_as_string () {}
+
+function amf_sb_write () {}
+
+function amf_sb_memusage () {}
+
+function amf_sb_flat () {}
+
+function amf_sb_echo () {}
+
+// End of amf v.0.9.2-dev
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/amqp.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/amqp.php
new file mode 100644
index 0000000..061dcab
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/amqp.php
@@ -0,0 +1,1086 @@
+<?php
+
+// Start of amqp v.1.2.0
+
+class AMQPConnection {
+
+ /**
+ * Create an instance of AMQPConnection
+ * @link http://www.php.net/manual/en/amqpconnection.construct.php
+ * @param credentials[optional]
+ */
+ public function __construct (array $credentials) {}
+
+ /**
+ * Determine if the AMQPConnection object is connected to the broker.
+ * @link http://www.php.net/manual/en/amqpconnection.isconnected.php
+ * @return bool true if connected, false otherwise
+ */
+ public function isConnected () {}
+
+ /**
+ * Establish a connection with the AMQP broker.
+ * @link http://www.php.net/manual/en/amqpconnection.connect.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function connect () {}
+
+ public function pconnect () {}
+
+ public function pdisconnect () {}
+
+ /**
+ * Closes the connection with the AMQP broker.
+ * @link http://www.php.net/manual/en/amqpconnection.disconnect.php
+ * @return bool true if connection was successfully closed, false otherwise.
+ */
+ public function disconnect () {}
+
+ /**
+ * Closes any open connection and creates a new connection with the AMQP broker.
+ * @link http://www.php.net/manual/en/amqpconnection.reconnect.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function reconnect () {}
+
+ /**
+ * Get the configured login
+ * @link http://www.php.net/manual/en/amqpconnection.getlogin.php
+ * @return string The configured login as a string.
+ */
+ public function getLogin () {}
+
+ /**
+ * Set the login.
+ * @link http://www.php.net/manual/en/amqpconnection.setlogin.php
+ * @param login string <p>
+ * The login string used to authenticate with the AMQP broker.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setLogin ($login) {}
+
+ /**
+ * Get the configured password
+ * @link http://www.php.net/manual/en/amqpconnection.getpassword.php
+ * @return string The configured password as a string.
+ */
+ public function getPassword () {}
+
+ /**
+ * Set the password.
+ * @link http://www.php.net/manual/en/amqpconnection.setpassword.php
+ * @param password string <p>
+ * The password string used to authenticate with the AMQP broker.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setPassword ($password) {}
+
+ /**
+ * Get the configured host
+ * @link http://www.php.net/manual/en/amqpconnection.gethost.php
+ * @return string The configured host as a string.
+ */
+ public function getHost () {}
+
+ /**
+ * Set the amqp host.
+ * @link http://www.php.net/manual/en/amqpconnection.sethost.php
+ * @param host string <p>
+ * The hostname of the AMQP broker.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setHost ($host) {}
+
+ /**
+ * Get the configured port
+ * @link http://www.php.net/manual/en/amqpconnection.getport.php
+ * @return int The configured port as an integer.
+ */
+ public function getPort () {}
+
+ /**
+ * Set the port.
+ * @link http://www.php.net/manual/en/amqpconnection.setport.php
+ * @param port int <p>
+ * The port used to connect to the AMQP broker.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setPort ($port) {}
+
+ /**
+ * Get the configured vhost
+ * @link http://www.php.net/manual/en/amqpconnection.getvhost.php
+ * @return string The configured virtual host as a string.
+ */
+ public function getVhost () {}
+
+ /**
+ * Set the amqp virtual host
+ * @link http://www.php.net/manual/en/amqpconnection.setvhost.php
+ * @param vhost string
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setVhost ($vhost) {}
+
+ /**
+ * Get the configured timeout
+ * @link http://www.php.net/manual/en/amqpconnection.gettimeout.php
+ * @return int The configured timeout as an integer.
+ */
+ public function getTimeout () {}
+
+ /**
+ * Set the timeout.
+ * @link http://www.php.net/manual/en/amqpconnection.settimeout.php
+ * @param timeout float <p>
+ * The timeout used to connect to the AMQP broker.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function setTimeout ($timeout) {}
+
+ public function getReadTimeout () {}
+
+ /**
+ * @param timeout
+ */
+ public function setReadTimeout ($timeout) {}
+
+ public function getWriteTimeout () {}
+
+ /**
+ * @param timeout
+ */
+ public function setWriteTimeout ($timeout) {}
+
+}
+
+class AMQPChannel {
+
+ /**
+ * Create an instance of an AMQPChannel object
+ * @link http://www.php.net/manual/en/amqpchannel.construct.php
+ * @param amqp_connection
+ */
+ public function __construct ($amqp_connection) {}
+
+ /**
+ * Check the channel connection
+ * @link http://www.php.net/manual/en/amqpchannel.isconnected.php
+ * @return void
+ */
+ public function isConnected () {}
+
+ public function getChannelId () {}
+
+ /**
+ * Set the window size to prefetch from the broker
+ * @link http://www.php.net/manual/en/amqpchannel.setprefetchsize.php
+ * @param size int <p>
+ * The window size, in octets, to prefetch.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setPrefetchSize ($size) {}
+
+ public function getPrefetchSize () {}
+
+ /**
+ * Set the number of messages to prefetch from the broker
+ * @link http://www.php.net/manual/en/amqpchannel.setprefetchcount.php
+ * @param count int <p>
+ * The number of messages to prefetch.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setPrefetchCount ($count) {}
+
+ public function getPrefetchCount () {}
+
+ /**
+ * Set the Quality Of Service settings for the given channel
+ * @link http://www.php.net/manual/en/amqpchannel.qos.php
+ * @param size int <p>
+ * The window size, in octets, to prefetch.
+ * </p>
+ * @param count int <p>
+ * The number of messages to prefetch.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function qos ($size, $count) {}
+
+ /**
+ * Start a transaction
+ * @link http://www.php.net/manual/en/amqpchannel.starttransaction.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function startTransaction () {}
+
+ /**
+ * Commit a pending transaction
+ * @link http://www.php.net/manual/en/amqpchannel.committransaction.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function commitTransaction () {}
+
+ /**
+ * Rollback a transaction
+ * @link http://www.php.net/manual/en/amqpchannel.rollbacktransaction.php
+ * @return void Returns true on success or false on failure.
+ */
+ public function rollbackTransaction () {}
+
+}
+
+class AMQPQueue {
+
+ /**
+ * Create an instance of an AMQPQueue object
+ * @link http://www.php.net/manual/en/amqpqueue.construct.php
+ * @param amqp_channel
+ */
+ public function __construct ($amqp_channel) {}
+
+ /**
+ * Get the configured name
+ * @link http://www.php.net/manual/en/amqpqueue.getname.php
+ * @return string The configured name as a string.
+ */
+ public function getName () {}
+
+ /**
+ * Set the queue name
+ * @link http://www.php.net/manual/en/amqpqueue.setname.php
+ * @param queue_name string <p>
+ * The name of the queue as a string.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setName ($queue_name) {}
+
+ /**
+ * Get the flag bitmask
+ * @link http://www.php.net/manual/en/amqpqueue.getflags.php
+ * @return int An integer bitmask of all the flags currently set on this exchange object.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set the queue flags
+ * @link http://www.php.net/manual/en/amqpqueue.setflags.php
+ * @param flags int <p>
+ * A bitmask of flags. This call currently only supports a bitmask of the following flags: AMQP_DURABLE, AMQP_PASSIVE, AMQP_EXCLUSIVE, AMQP_AUTODELETE.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Get the argument associated with the given key
+ * @link http://www.php.net/manual/en/amqpqueue.getargument.php
+ * @param key string <p>
+ * The key to look up.
+ * </p>
+ * @return mixed The string or integer value associated with the given key, or false if the key is not set.
+ */
+ public function getArgument ($key) {}
+
+ /**
+ * Get all arguments set on the given queue
+ * @link http://www.php.net/manual/en/amqpqueue.getarguments.php
+ * @return array An array containing all of the set key/value pairs.
+ */
+ public function getArguments () {}
+
+ /**
+ * Set the value for the given key
+ * @link http://www.php.net/manual/en/amqpqueue.setargument.php
+ * @param key string <p>
+ * The key to set.
+ * </p>
+ * @param value mixed <p>
+ * The value to set.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setArgument ($key, $value) {}
+
+ /**
+ * Set all arguments on the queue
+ * @link http://www.php.net/manual/en/amqpqueue.setarguments.php
+ * @param arguments array <p>
+ * An array of key/value pairs of arguments.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setArguments (array $arguments) {}
+
+ public function declareQueue () {}
+
+ /**
+ * Bind the given queue to a routing key on an exchange.
+ * @link http://www.php.net/manual/en/amqpqueue.bind.php
+ * @param exchange_name string <p>
+ * The exchange name on which to bind.
+ * </p>
+ * @param routing_key string <p>
+ * The routing key to which to bind.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function bind ($exchange_name, $routing_key) {}
+
+ /**
+ * Retrieve the next message from the queue.
+ * @link http://www.php.net/manual/en/amqpqueue.get.php
+ * @param flags int[optional] <p>
+ * A bitmask of supported flags for the method call. Currently, the only the supported flag is AMQP_AUTOACK. If this value is not provided, it will use the value of amqp.auto_ack.
+ * </p>
+ * @return mixed An instance of AMQPEnvelope representing the message pulled from the queue, or false.
+ */
+ public function get ($flags = null) {}
+
+ /**
+ * Consume messages from a queue
+ * @link http://www.php.net/manual/en/amqpqueue.consume.php
+ * @param callback callable <p>
+ * A callback function to which the consumed message will be passed. The function must accept at a minimum one parameter, an AMQPEnvelope object,
+ * and an optional second parameter the AMQPQueue from which the message was consumed.
+ * </p>
+ * <p>
+ * The AMQPQueue::consume will not return the processing thread back to the PHP script until the callback function returns false.
+ * </p>
+ * @param flags int[optional] <p>
+ * A bitmask of any of the flags: AMQP_NOACK.
+ * </p>
+ * @return void
+ */
+ public function consume ($callback, $flags = null) {}
+
+ /**
+ * Acknowledge the receipt of a message
+ * @link http://www.php.net/manual/en/amqpqueue.ack.php
+ * @param delivery_tag int <p>
+ * The message delivery tag of which to acknowledge receipt.
+ * </p>
+ * @param flags int[optional] <p>
+ * The only valid flag that can be passed is AMQP_MULTIPLE.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function ack ($delivery_tag, $flags = null) {}
+
+ /**
+ * Mark a message as explicitly not acknowledged.
+ * @link http://www.php.net/manual/en/amqpqueue.nack.php
+ * @param delivery_tag string <p>
+ * The delivery tag by which to identify the message.
+ * </p>
+ * @param flags string[optional] <p>
+ * A bitmask of flags.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function nack ($delivery_tag, $flags = null) {}
+
+ /**
+ * @param delivery_tag
+ * @param flags[optional]
+ */
+ public function reject ($delivery_tag, $flags) {}
+
+ /**
+ * Purge the contents of a queue
+ * @link http://www.php.net/manual/en/amqpqueue.purge.php
+ * @return bool Returns true on success or false on failure.
+ */
+ public function purge () {}
+
+ /**
+ * Cancel a queue binding.
+ * @link http://www.php.net/manual/en/amqpqueue.cancel.php
+ * @param consumer_tag string[optional] <p>
+ * The queue name to cancel, if the queue object is not already representative of a queue.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function cancel ($consumer_tag = null) {}
+
+ /**
+ * Delete a queue and its contents.
+ * @link http://www.php.net/manual/en/amqpqueue.delete.php
+ * @param flags[optional]
+ * @return bool Returns true on success or false on failure.
+ */
+ public function delete ($flags) {}
+
+ /**
+ * Unbind the queue from a routing key.
+ * @link http://www.php.net/manual/en/amqpqueue.unbind.php
+ * @param exchange_name string <p>
+ * The name of the exchange on which the queue is bound.
+ * </p>
+ * @param routing_key string <p>
+ * The binding routing key used by the queue.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function unbind ($exchange_name, $routing_key) {}
+
+ /**
+ * Declare a new queue
+ * @link http://www.php.net/manual/en/amqpqueue.declare.php
+ * @return int the message count.
+ * @deprecated
+ */
+ public function declare () {}
+
+}
+
+class AMQPExchange {
+
+ /**
+ * Create an instance of AMQPExchange
+ * @link http://www.php.net/manual/en/amqpexchange.construct.php
+ * @param amqp_channel
+ */
+ public function __construct ($amqp_channel) {}
+
+ /**
+ * Get the configured name
+ * @link http://www.php.net/manual/en/amqpexchange.getname.php
+ * @return string The configured name as a string.
+ */
+ public function getName () {}
+
+ /**
+ * Set the name of the exchange
+ * @link http://www.php.net/manual/en/amqpexchange.setname.php
+ * @param exchange_name string <p>
+ * The name of the exchange to set as string.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setName ($exchange_name) {}
+
+ /**
+ * Get the flag bitmask
+ * @link http://www.php.net/manual/en/amqpexchange.getflags.php
+ * @return int An integer bitmask of all the flags currently set on this exchange object.
+ */
+ public function getFlags () {}
+
+ /**
+ * Set the flags on an exchange
+ * @link http://www.php.net/manual/en/amqpexchange.setflags.php
+ * @param flags int <p>
+ * A bitmask of flags. This call currently only considers the following
+ * flags: AMQP_DURABLE,
+ * AMQP_PASSIVE.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setFlags ($flags) {}
+
+ /**
+ * Get the configured type
+ * @link http://www.php.net/manual/en/amqpexchange.gettype.php
+ * @return string The configured type as a string.
+ */
+ public function getType () {}
+
+ /**
+ * Set the type of the exchange
+ * @link http://www.php.net/manual/en/amqpexchange.settype.php
+ * @param exchange_type string <p>
+ * The type of exchange as a string.
+ * </p>
+ * @return string Returns true on success or false on failure.
+ */
+ public function setType ($exchange_type) {}
+
+ /**
+ * Get the argument associated with the given key
+ * @link http://www.php.net/manual/en/amqpexchange.getargument.php
+ * @param key string <p>
+ * The key to look up.
+ * </p>
+ * @return mixed The string or integer value associated with the given key, or false if the key is not set.
+ */
+ public function getArgument ($key) {}
+
+ /**
+ * Get all arguments set on the given exchange
+ * @link http://www.php.net/manual/en/amqpexchange.getarguments.php
+ * @return array An array containing all of the set key/value pairs.
+ */
+ public function getArguments () {}
+
+ /**
+ * Set the value for the given key
+ * @link http://www.php.net/manual/en/amqpexchange.setargument.php
+ * @param key string <p>
+ * The key to set.
+ * </p>
+ * @param value mixed <p>
+ * The value to set.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setArgument ($key, $value) {}
+
+ /**
+ * Set all arguments on the exchange
+ * @link http://www.php.net/manual/en/amqpexchange.setarguments.php
+ * @param arguments array <p>
+ * An array of key/value pairs of arguments.
+ * </p>
+ * @return void Returns true on success or false on failure.
+ */
+ public function setArguments (array $arguments) {}
+
+ public function declareExchange () {}
+
+ /**
+ * Bind to another exchange
+ * @link http://www.php.net/manual/en/amqpexchange.bind.php
+ * @param destination_exchange_name string <p>
+ * The name of the destination exchange in the binding.
+ * </p>
+ * @param source_exchange_name string <p>
+ * The name of the source exchange in the binding.
+ * </p>
+ * @param routing_key string <p>
+ * The routing key to use as a binding.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function bind ($destination_exchange_name, $source_exchange_name, $routing_key) {}
+
+ /**
+ * Delete the exchange from the broker.
+ * @link http://www.php.net/manual/en/amqpexchange.delete.php
+ * @param flags int[optional] <p>
+ * Optionally AMQP_IFUNUSED can be specified to indicate the exchange
+ * should not be deleted until no clients are connected to it.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function delete ($flags = null) {}
+
+ /**
+ * Publish a message to an exchange.
+ * @link http://www.php.net/manual/en/amqpexchange.publish.php
+ * @param message string <p>
+ * The message to publish.
+ * </p>
+ * @param routing_key string <p>
+ * The routing key to which to publish.
+ * </p>
+ * @param flags int[optional] <p>
+ * One or more of AMQP_MANDATORY and
+ * AMQP_IMMEDIATE.
+ * </p>
+ * @param attributes array[optional] <p>
+ * <table>
+ * Supported indexes
+ * <tr valign="top">
+ * <td>key</td>
+ * <td>Description</td>
+ * <td>Default value</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>content_type</td>
+ * <td></td>
+ * <td>text/plain</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>content_encoding</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>message_id</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>user_id</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>app_id</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>delivery_mode</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>priority</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>timestamp</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>expiration</td>
+ * <td>time in milliseconds</td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>type</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>reply_to</td>
+ * <td></td>
+ * <td>NULL</td>
+ * </tr>
+ * <tr valign="top">
+ * <td>headers</td>
+ * <td>custom attributes to pass along with message</td>
+ * <td>array</td>
+ * </tr>
+ * </table>
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+ public function publish ($message, $routing_key, $flags = null, array $attributes = null) {}
+
+ /**
+ * Declare a new exchange on the broker.
+ * @link http://www.php.net/manual/en/amqpexchange.declare.php
+ * @return int Returns true on success or false on failure.
+ * @deprecated
+ */
+ public function declare () {}
+
+}
+
+class AMQPEnvelope {
+
+ public function __construct () {}
+
+ /**
+ * Get the message body
+ * @link http://www.php.net/manual/en/amqpenvelope.getbody.php
+ * @return string The contents of the message body.
+ */
+ public function getBody () {}
+
+ /**
+ * Get the message routing key
+ * @link http://www.php.net/manual/en/amqpenvelope.getroutingkey.php
+ * @return string The message routing key.
+ */
+ public function getRoutingKey () {}
+
+ /**
+ * Get the message delivery tag
+ * @link http://www.php.net/manual/en/amqpenvelope.getdeliverytag.php
+ * @return string The delivery tag of the message.
+ */
+ public function getDeliveryTag () {}
+
+ public function getDeliveryMode () {}
+
+ public function getExchangeName () {}
+
+ /**
+ * Whether this is a redelivery of the message
+ * @link http://www.php.net/manual/en/amqpenvelope.isredelivery.php
+ * @return bool true if this is a redelivery, false otherwise.
+ */
+ public function isRedelivery () {}
+
+ /**
+ * Get the message contenttype
+ * @link http://www.php.net/manual/en/amqpenvelope.getcontenttype.php
+ * @return string The content type of the message.
+ */
+ public function getContentType () {}
+
+ /**
+ * Get the message contentencoding
+ * @link http://www.php.net/manual/en/amqpenvelope.getcontentencoding.php
+ * @return string The content encoding of the message.
+ */
+ public function getContentEncoding () {}
+
+ /**
+ * Get the message type
+ * @link http://www.php.net/manual/en/amqpenvelope.gettype.php
+ * @return string The message type.
+ */
+ public function getType () {}
+
+ /**
+ * Get the message timestamp
+ * @link http://www.php.net/manual/en/amqpenvelope.gettimestamp.php
+ * @return string The message timestamp.
+ */
+ public function getTimestamp () {}
+
+ /**
+ * Get the message priority
+ * @link http://www.php.net/manual/en/amqpenvelope.getpriority.php
+ * @return string The message priority.
+ */
+ public function getPriority () {}
+
+ /**
+ * Get the message expiration
+ * @link http://www.php.net/manual/en/amqpenvelope.getexpiration.php
+ * @return string The message expiration.
+ */
+ public function getExpiration () {}
+
+ /**
+ * Get the message user id
+ * @link http://www.php.net/manual/en/amqpenvelope.getuserid.php
+ * @return string The message user id.
+ */
+ public function getUserId () {}
+
+ /**
+ * Get the message appid
+ * @link http://www.php.net/manual/en/amqpenvelope.getappid.php
+ * @return string The application id of the message.
+ */
+ public function getAppId () {}
+
+ /**
+ * Get the message id
+ * @link http://www.php.net/manual/en/amqpenvelope.getmessageid.php
+ * @return string The message id.
+ */
+ public function getMessageId () {}
+
+ /**
+ * Get the message replyto
+ * @link http://www.php.net/manual/en/amqpenvelope.getreplyto.php
+ * @return string The contents of the reply to field.
+ */
+ public function getReplyTo () {}
+
+ /**
+ * Get the message correlation id
+ * @link http://www.php.net/manual/en/amqpenvelope.getcorrelationid.php
+ * @return string The correlation id of the message.
+ */
+ public function getCorrelationId () {}
+
+ /**
+ * Get the message headers
+ * @link http://www.php.net/manual/en/amqpenvelope.getheaders.php
+ * @return array An array of key value pairs associated with the message.
+ */
+ public function getHeaders () {}
+
+ /**
+ * Get a specific message header
+ * @link http://www.php.net/manual/en/amqpenvelope.getheader.php
+ * @param header_key string
+ * @return string The contents of the specified header or false if not set.
+ */
+ public function getHeader ($header_key) {}
+
+}
+
+class AMQPException extends Exception {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 AMQPConnectionException extends AMQPException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 AMQPChannelException extends AMQPException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 AMQPQueueException extends AMQPException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 AMQPExchangeException extends AMQPException {
+ protected $message;
+ protected $code;
+ protected $file;
+ protected $line;
+
+
+ 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 () {}
+
+}
+
+/**
+ * Passing in this constant as a flag will forcefully disable all other flags. Use this if you want to temporarily disable the amqp.auto_ack ini setting.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_NOPARAM', 0);
+
+/**
+ * Durable exchanges and queues will survive a broker restart, complete with all of their data.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_DURABLE', 2);
+
+/**
+ * Passive exchanges are queues will not be redeclared, but the broker will throw an error if the exchange or queue does not exist.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_PASSIVE', 4);
+
+/**
+ * Valid for queues only, this flag indicates that only one client can be listening to and consuming from this queue.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_EXCLUSIVE', 8);
+
+/**
+ * For exchanges, the auto delete flag indicates that the exchange will be deleted as soon as no more queues are bound to it.
+ * If no queues were ever bound the exchange, the exchange will never be deleted.
+ * For queues, the auto delete flag indicates that the queue will be deleted as soon as there are no more listeners subscribed to it.
+ * If no subscription has ever been active, the queue will never be deleted.
+ * Note: Exclusive queues will always be automatically deleted with the client disconnects.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_AUTODELETE', 16);
+
+/**
+ * Clients are not allowed to make specific queue bindings to exchanges defined with this flag.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_INTERNAL', 32);
+
+/**
+ * When passed to the consume method for a clustered environment, do not consume from the local node.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_NOLOCAL', 64);
+
+/**
+ * When passed to the AMQPQueue::get and
+ * AMQPQueue::consume methods as a flag, the
+ * messages will be immediately marked as acknowledged by the server
+ * upon delivery.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_AUTOACK', 128);
+
+/**
+ * Passed on queue creation, this flag indicates that the queue should be deleted if it becomes empty.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_IFEMPTY', 256);
+
+/**
+ * Passed on queue or exchange creation, this flag indicates that the queue or exchange should be deleted when no clients are connected
+ * to the given queue or exchange.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_IFUNUSED', 512);
+
+/**
+ * When publishing a message, the message must be routed to a valid queue. If it is not, an error will be returned.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_MANDATORY', 1024);
+
+/**
+ * When publishing a message, mark this message for immediate processing by the broker. (High priority message.)
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_IMMEDIATE', 2048);
+
+/**
+ * If set during a call to AMQPQueue::ack, the delivery tag is treated as "up to and including", so that multiple messages can be acknowledged with a single method. If set to zero, the delivery tag refers to a single message. If the AMQP_MULTIPLE flag is set, and the delivery tag is zero, this indicates acknowledgement of all outstanding messages.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_MULTIPLE', 4096);
+
+/**
+ * If set during a call to AMQPExchange::bind, the server will not respond to the method. The client should not wait for a reply method. If the server could not complete the method it will raise a channel or connection exception.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_NOWAIT', 8192);
+define ('AMQP_REQUEUE', 16384);
+
+/**
+ * A direct exchange type.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_EX_TYPE_DIRECT', "direct");
+
+/**
+ * A fanout exchange type.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_EX_TYPE_FANOUT', "fanout");
+
+/**
+ * A topic exchange type.
+ * @link http://www.php.net/manual/en/amqp.constants.php
+ */
+define ('AMQP_EX_TYPE_TOPIC', "topic");
+define ('AMQP_EX_TYPE_HEADERS', "headers");
+define ('AMQP_OS_SOCKET_TIMEOUT_ERRNO', 536870947);
+
+// End of amqp v.1.2.0
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/apc.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/apc.php
new file mode 100644
index 0000000..b3ea3c0
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/apc.php
@@ -0,0 +1,284 @@
+<?php
+
+// Start of apc v.4.0.2
+
+/**
+ * Retrieves cached information from APC's data store
+ * @link http://www.php.net/manual/en/function.apc-cache-info.php
+ * @param cache_type string[optional] <p>
+ * If cache_type is "user",
+ * information about the user cache will be returned.
+ * </p>
+ * <p>
+ * If cache_type is "filehits",
+ * information about which files have been served from the bytecode cache
+ * for the current request will be returned. This feature must be enabled at
+ * compile time using --enable-filehits.
+ * </p>
+ * <p>
+ * If an invalid or no cache_type is specified, information about
+ * the system cache (cached files) will be returned.
+ * </p>
+ * @param limited bool[optional] <p>
+ * If limited is true, the
+ * return value will exclude the individual list of cache entries. This
+ * is useful when trying to optimize calls for statistics gathering.
+ * </p>
+ * @return array Array of cached data (and meta-data)&return.falseforfailure;
+ */
+function apc_cache_info ($cache_type = null, $limited = null) {}
+
+/**
+ * Clears the APC cache
+ * @link http://www.php.net/manual/en/function.apc-clear-cache.php
+ * @param cache_type string[optional] <p>
+ * If cache_type is "user", the
+ * user cache will be cleared; otherwise, the system cache (cached files)
+ * will be cleared.
+ * </p>
+ * @return bool true always
+ */
+function apc_clear_cache ($cache_type = null) {}
+
+/**
+ * Retrieves APC's Shared Memory Allocation information
+ * @link http://www.php.net/manual/en/function.apc-sma-info.php
+ * @param limited bool[optional] <p>
+ * When set to false (default) apc_sma_info will
+ * return a detailed information about each segment.
+ * </p>
+ * @return array Array of Shared Memory Allocation data; false on failure.
+ */
+function apc_sma_info ($limited = null) {}
+
+/**
+ * Cache a variable in the data store
+ * @link http://www.php.net/manual/en/function.apc-store.php
+ * @param key string <p>
+ * Store the variable using this name. keys are
+ * cache-unique, so storing a second value with the same
+ * key will overwrite the original value.
+ * </p>
+ * @param var mixed <p>
+ * The variable to store
+ * </p>
+ * @param ttl int[optional] <p>
+ * Time To Live; store var in the cache for
+ * ttl seconds. After the
+ * ttl has passed, the stored variable will be
+ * expunged from the cache (on the next request). If no ttl
+ * is supplied (or if the ttl is
+ * 0), the value will persist until it is removed from
+ * the cache manually, or otherwise fails to exist in the cache (clear,
+ * restart, etc.).
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ * Second syntax returns array with error keys.
+ */
+function apc_store ($key, $var, $ttl = null) {}
+
+/**
+ * Fetch a stored variable from the cache
+ * @link http://www.php.net/manual/en/function.apc-fetch.php
+ * @param key mixed <p>
+ * The key used to store the value (with
+ * apc_store). If an array is passed then each
+ * element is fetched and returned.
+ * </p>
+ * @param success bool[optional] <p>
+ * Set to true in success and false in failure.
+ * </p>
+ * @return mixed The stored variable or array of variables on success; false on failure
+ */
+function apc_fetch ($key, &$success = null) {}
+
+/**
+ * Removes a stored variable from the cache
+ * @link http://www.php.net/manual/en/function.apc-delete.php
+ * @param key string <p>
+ * The key used to store the value (with
+ * apc_store).
+ * </p>
+ * @return mixed Returns true on success or false on failure.
+ */
+function apc_delete ($key) {}
+
+/**
+ * Cache a new variable in the data store
+ * @link http://www.php.net/manual/en/function.apc-add.php
+ * @param key string <p>
+ * Store the variable using this name. keys are
+ * cache-unique, so attempting to use apc_add to
+ * store data with a key that already exists will not overwrite the
+ * existing data, and will instead return false. (This is the only
+ * difference between apc_add and
+ * apc_store.)
+ * </p>
+ * @param var mixed <p>
+ * The variable to store
+ * </p>
+ * @param ttl int[optional] <p>
+ * Time To Live; store var in the cache for
+ * ttl seconds. After the
+ * ttl has passed, the stored variable will be
+ * expunged from the cache (on the next request). If no ttl
+ * is supplied (or if the ttl is
+ * 0), the value will persist until it is removed from
+ * the cache manually, or otherwise fails to exist in the cache (clear,
+ * restart, etc.).
+ * </p>
+ * @return bool TRUE if something has effectively been added into the cache, FALSE otherwise.
+ * Second syntax returns array with error keys.
+ */
+function apc_add ($key, $var, $ttl = null) {}
+
+/**
+ * Increase a stored number
+ * @link http://www.php.net/manual/en/function.apc-inc.php
+ * @param key string <p>
+ * The key of the value being increased.
+ * </p>
+ * @param step int[optional] <p>
+ * The step, or value to increase.
+ * </p>
+ * @param success bool[optional] <p>
+ * Optionally pass the success or fail boolean value to
+ * this referenced variable.
+ * </p>
+ * @return int the current value of key's value on success,
+ * &return.falseforfailure;
+ */
+function apc_inc ($key, $step = null, &$success = null) {}
+
+/**
+ * Decrease a stored number
+ * @link http://www.php.net/manual/en/function.apc-dec.php
+ * @param key string <p>
+ * The key of the value being decreased.
+ * </p>
+ * @param step int[optional] <p>
+ * The step, or value to decrease.
+ * </p>
+ * @param success bool[optional] <p>
+ * Optionally pass the success or fail boolean value to
+ * this referenced variable.
+ * </p>
+ * @return int the current value of key's value on success,
+ * &return.falseforfailure;
+ */
+function apc_dec ($key, $step = null, &$success = null) {}
+
+/**
+ * Updates an old value with a new value
+ * @link http://www.php.net/manual/en/function.apc-cas.php
+ * @param key string <p>
+ * The key of the value being updated.
+ * </p>
+ * @param old int <p>
+ * The old value (the value currently stored).
+ * </p>
+ * @param new int <p>
+ * The new value to update to.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function apc_cas ($key, $old, $new) {}
+
+/**
+ * Checks if APC key exists
+ * @link http://www.php.net/manual/en/function.apc-exists.php
+ * @param keys mixed <p>
+ * A string, or an array of strings, that
+ * contain keys.
+ * </p>
+ * @return mixed true if the key exists, otherwise false Or if an
+ * array was passed to keys, then
+ * an array is returned that contains all existing keys, or an empty
+ * array if none exist.
+ */
+function apc_exists ($keys) {}
+
+/**
+ * Get a binary dump of the given files and user variables
+ * @link http://www.php.net/manual/en/function.apc-bin-dump.php
+ * @param files array[optional] <p>
+ * The files. Passing in &null; signals a dump of every entry, while
+ * passing in array will dump nothing.
+ * </p>
+ * @param user_vars array[optional] <p>
+ * The user vars. Passing in &null; signals a dump of every entry, while
+ * passing in array will dump nothing.
+ * </p>
+ * @return string a binary dump of the given files and user variables from the APC cache,
+ * false if APC is not enabled, or &null; if an unknown error is encountered.
+ */
+function apc_bin_dump (array $files = null, array $user_vars = null) {}
+
+/**
+ * Output a binary dump of cached files and user variables to a file
+ * @link http://www.php.net/manual/en/function.apc-bin-dumpfile.php
+ * @param files array <p>
+ * The file names being dumped.
+ * </p>
+ * @param user_vars array <p>
+ * The user variables being dumped.
+ * </p>
+ * @param filename string <p>
+ * The filename where the dump is being saved.
+ * </p>
+ * @param flags int[optional] <p>
+ * Flags passed to the filename stream. See the
+ * file_put_contents documentation for details.
+ * </p>
+ * @param context resource[optional] <p>
+ * The context passed to the filename stream. See the
+ * file_put_contents documentation for details.
+ * </p>
+ * @return int The number of bytes written to the file, otherwise
+ * false if APC is not enabled, filename is an invalid file name,
+ * filename can't be opened, the file dump can't be completed
+ * (e.g., the hard drive is out of disk space), or an unknown error was encountered.
+ */
+function apc_bin_dumpfile (array $files, array $user_vars, $filename, $flags = null, $context = null) {}
+
+/**
+ * Load a binary dump into the APC file/user cache
+ * @link http://www.php.net/manual/en/function.apc-bin-load.php
+ * @param data string <p>
+ * The binary dump being loaded, likely from
+ * apc_bin_dump.
+ * </p>
+ * @param flags int[optional] <p>
+ * Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5,
+ * or both.
+ * </p>
+ * @return bool true if the binary dump data was loaded
+ * with success, otherwise false is returned. false is returned if APC
+ * is not enabled, or if the data is not a valid APC
+ * binary dump (e.g., unexpected size).
+ */
+function apc_bin_load ($data, $flags = null) {}
+
+/**
+ * Load a binary dump from a file into the APC file/user cache
+ * @link http://www.php.net/manual/en/function.apc-bin-loadfile.php
+ * @param filename string <p>
+ * The file name containing the dump, likely from
+ * apc_bin_dumpfile.
+ * </p>
+ * @param context resource[optional] <p>
+ * The files context.
+ * </p>
+ * @param flags int[optional] <p>
+ * Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5,
+ * or both.
+ * </p>
+ * @return bool true on success, otherwise false Reasons it may return false include
+ * APC is not enabled, filename is an invalid file name or empty,
+ * filename can't be opened, the file dump can't be completed, or
+ * if the data is not a valid APC binary dump (e.g., unexpected
+ * size).
+ */
+function apc_bin_loadfile ($filename, $context = null, $flags = null) {}
+
+// End of apc v.4.0.2
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/apcu.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/apcu.php
new file mode 100644
index 0000000..30c7df5
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/apcu.php
@@ -0,0 +1,105 @@
+<?php
+
+// Start of apcu v.4.0.2
+
+/**
+ * @param type[optional]
+ * @param limited[optional]
+ */
+function apcu_cache_info ($type, $limited) {}
+
+/**
+ * @param cache[optional]
+ */
+function apcu_clear_cache ($cache) {}
+
+/**
+ * @param limited[optional]
+ */
+function apcu_sma_info ($limited) {}
+
+/**
+ * @param key
+ */
+function apcu_key_info ($key) {}
+
+/**
+ * @param key
+ * @param var
+ * @param ttl[optional]
+ */
+function apcu_store ($key, $var, $ttl) {}
+
+/**
+ * @param key
+ * @param success[optional]
+ */
+function apcu_fetch ($key, &$success) {}
+
+/**
+ * @param keys
+ */
+function apcu_delete ($keys) {}
+
+/**
+ * @param key
+ * @param var
+ * @param ttl[optional]
+ */
+function apcu_add ($key, $var, $ttl) {}
+
+/**
+ * @param key
+ * @param step[optional]
+ * @param success[optional]
+ */
+function apcu_inc ($key, $step, &$success) {}
+
+/**
+ * @param key
+ * @param step[optional]
+ * @param success[optional]
+ */
+function apcu_dec ($key, $step, &$success) {}
+
+/**
+ * @param key
+ * @param old
+ * @param new
+ */
+function apcu_cas ($key, $old, $new) {}
+
+/**
+ * @param keys
+ */
+function apcu_exists ($keys) {}
+
+/**
+ * @param user_vars[optional]
+ */
+function apcu_bin_dump ($user_vars) {}
+
+/**
+ * @param data
+ * @param flags[optional]
+ */
+function apcu_bin_load ($data, $flags) {}
+
+/**
+ * @param user_vars
+ * @param filename
+ * @param flags[optional]
+ * @param context[optional]
+ */
+function apcu_bin_dumpfile ($user_vars, $filename, $flags, $context) {}
+
+/**
+ * @param filename
+ * @param context[optional]
+ * @param flags[optional]
+ */
+function apcu_bin_loadfile ($filename, $context, $flags) {}
+
+define ('APCU_APC_FULL_BC', true);
+
+// End of apcu v.4.0.2
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/basic.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/basic.php
new file mode 100644
index 0000000..9c48eb3
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/basic.php
@@ -0,0 +1,114 @@
+<?php
+
+/**
+ * Loads a PHP extension at runtime
+ * @link http://www.php.net/manual/en/function.dl.php
+ * @param library string <p>
+ * This parameter is only the filename of the
+ * extension to load which also depends on your platform. For example,
+ * the sockets extension (if compiled
+ * as a shared module, not the default!) would be called
+ * sockets.so on Unix platforms whereas it is called
+ * php_sockets.dll on the Windows platform.
+ * </p>
+ * <p>
+ * The directory where the extension is loaded from depends on your
+ * platform:
+ * </p>
+ * <p>
+ * Windows - If not explicitly set in the &php.ini;, the extension is
+ * loaded from C:\php4\extensions\ (PHP 4) or
+ * C:\php5\ (PHP 5) by default.
+ * </p>
+ * <p>
+ * Unix - If not explicitly set in the &php.ini;, the default extension
+ * directory depends on
+ * whether PHP has been built with --enable-debug
+ * or not
+ * @return bool Returns true on success or false on failure. If the functionality of loading modules is not available
+ * or has been disabled (either by setting
+ * enable_dl off or by enabling &safemode;
+ * in &php.ini;) an E_ERROR is emitted
+ * and execution is stopped. If dl fails because the
+ * specified library couldn't be loaded, in addition to false an
+ * E_WARNING message is emitted.
+ */
+function dl ($library) {}
+
+/**
+ * Sets the process title
+ * @link http://www.php.net/manual/en/function.cli-set-process-title.php
+ * @param title string <p>
+ * The new title.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function cli_set_process_title ($title) {}
+
+/**
+ * Returns the current process title
+ * @link http://www.php.net/manual/en/function.cli-get-process-title.php
+ * @return string Return a string with the current process title or &null; on error.
+ */
+function cli_get_process_title () {}
+
+
+/**
+ * The full path and filename of the file. If used inside an include,
+ * the name of the included file is returned.
+ * Since PHP 4.0.2, __FILE__ always contains an
+ * absolute path with symlinks resolved whereas in older versions it contained relative path
+ * under some circumstances.
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__FILE__', null);
+
+/**
+ * The current line number of the file.
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__LINE__', null);
+
+/**
+ * The class name. (Added in PHP 4.3.0) As of PHP 5 this constant
+ * returns the class name as it was declared (case-sensitive). In PHP
+ * 4 its value is always lowercased. The class name includes the namespace
+ * it was declared in (e.g. Foo\Bar).
+ * Note that as of PHP 5.4 __CLASS__ works also in traits. When used
+ * in a trait method, __CLASS__ is the name of the class the trait
+ * is used in.
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__CLASS__', "");
+
+/**
+ * The function name. (Added in PHP 4.3.0) As of PHP 5 this constant
+ * returns the function name as it was declared (case-sensitive). In
+ * PHP 4 its value is always lowercased.
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__FUNCTION__', null);
+
+/**
+ * The class method name. (Added in PHP 5.0.0) The method name is
+ * returned as it was declared (case-sensitive).
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__METHOD__', null);
+
+/**
+ * The directory of the file. If used inside an include,
+ * the directory of the included file is returned. This is equivalent
+ * to dirname(__FILE__). This directory name
+ * does not have a trailing slash unless it is the root directory.
+ * (Added in PHP 5.3.0.)
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__DIR__', null);
+
+/**
+ * The name of the current namespace (case-sensitive). This constant
+ * is defined in compile-time (Added in PHP 5.3.0).
+ * @link http://www.php.net/manual/en/language.constants.php
+ */
+define ('__NAMESPACE__', null);
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/bbcode.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/bbcode.php
new file mode 100644
index 0000000..17a42bd
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/bbcode.php
@@ -0,0 +1,285 @@
+<?php
+
+// Start of bbcode v.1.1.0-dev
+
+/**
+ * Create a BBCode Resource
+ * @link http://www.php.net/manual/en/function.bbcode-create.php
+ * @param bbcode_initial_tags array[optional] <p>
+ * An associative array containing the tag names as keys and parameters
+ * required to correctly parse BBCode as their value. The following key/value
+ * pairs are supported:
+ * flags optional - a flag
+ * set based on the BBCODE_FLAGS_* constants.
+ * @return resource a BBCode_Container
+ */
+function bbcode_create (array $bbcode_initial_tags = null) {}
+
+/**
+ * Adds a bbcode element
+ * @link http://www.php.net/manual/en/function.bbcode-add-element.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource, returned by bbcode_create.
+ * </p>
+ * @param tag_name string <p>
+ * The new tag to add to the BBCode_Container tag_set.
+ * </p>
+ * @param tag_rules array <p>
+ * An associative array containing the parsing rules; see
+ * bbcode_create for the available keys.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bbcode_add_element ($bbcode_container, $tag_name, array $tag_rules) {}
+
+/**
+ * Close BBCode_container resource
+ * @link http://www.php.net/manual/en/function.bbcode-destroy.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource returned by bbcode_create.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bbcode_destroy ($bbcode_container) {}
+
+/**
+ * Parse a string following a given rule set
+ * @link http://www.php.net/manual/en/function.bbcode-parse.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource returned by bbcode_create.
+ * </p>
+ * @param to_parse string <p>
+ * The string we need to parse.
+ * </p>
+ * @return string the parsed string, &return.falseforfailure;.
+ */
+function bbcode_parse ($bbcode_container, $to_parse) {}
+
+/**
+ * Adds a smiley to the parser
+ * @link http://www.php.net/manual/en/function.bbcode-add-smiley.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource, returned by bbcode_create.
+ * </p>
+ * @param smiley string <p>
+ * The string that will be replaced when found.
+ * </p>
+ * @param replace_by string <p>
+ * The string that replace smiley when found.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bbcode_add_smiley ($bbcode_container, $smiley, $replace_by) {}
+
+/**
+ * Set or alter parser options
+ * @link http://www.php.net/manual/en/function.bbcode-set-flags.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource, returned by bbcode_create.
+ * </p>
+ * @param flags int <p>
+ * The flag set that must be applied to the bbcode_container options
+ * </p>
+ * @param mode int[optional] <p>
+ * One of the BBCODE_SET_FLAGS_* constant to set, unset
+ * a specific flag set or to replace the flag set by flags.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bbcode_set_flags ($bbcode_container, $flags, $mode = null) {}
+
+/**
+ * Attach another parser in order to use another rule set for argument parsing
+ * @link http://www.php.net/manual/en/function.bbcode-set-arg-parser.php
+ * @param bbcode_container resource <p>
+ * BBCode_Container resource, returned by bbcode_create.
+ * </p>
+ * @param bbcode_arg_parser resource <p>
+ * BBCode_Container resource, returned by bbcode_create.
+ * It will be used only for parsed arguments
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bbcode_set_arg_parser ($bbcode_container, $bbcode_arg_parser) {}
+
+
+/**
+ * This BBCode tag does not accept any arguments.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_TYPE_NOARG', 1);
+
+/**
+ * This BBCode tag does not have a corresponding close tag.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_TYPE_SINGLE', 2);
+
+/**
+ * This BBCode tag need an argument.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_TYPE_ARG', 3);
+
+/**
+ * This BBCode tag accept an optional argument.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_TYPE_OPTARG', 4);
+
+/**
+ * This BBCode tag is the special tag root (nesting level 0).
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_TYPE_ROOT', 5);
+
+/**
+ * This BBCode tag require argument sub-parsing (the argument is also parsed by
+ * the BBCode extension). As Of 0.10.2 another parser can be used as argument parser.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_ARG_PARSING', 1);
+
+/**
+ * This BBCode Tag does not accept content (it voids it automatically).
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_CDATA_NOT_ALLOWED', 2);
+
+/**
+ * This BBCode Tag accepts smileys.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_SMILEYS_ON', 4);
+
+/**
+ * This BBCode Tag does not accept smileys.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_SMILEYS_OFF', 8);
+
+/**
+ * This BBCode Tag automatically closes if another tag of
+ * the same type is found at the same nesting level.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_ONE_OPEN_PER_LEVEL', 16);
+
+/**
+ * This BBCode Tag is automatically removed
+ * if content is empty it allows to produce lighter HTML.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_REMOVE_IF_EMPTY', 32);
+
+/**
+ * This BBCode Tag does not allow unclosed children to
+ * reopen when automatically closed.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FLAGS_DENY_REOPEN_CHILD', 64);
+
+/**
+ * This is a parser option allowing argument quoting with
+ * double quotes (")
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_ARG_DOUBLE_QUOTE', 1);
+
+/**
+ * This is a parser option allowing argument quoting with
+ * single quotes (')
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_ARG_SINGLE_QUOTE', 2);
+
+/**
+ * This is a parser option allowing argument quoting with
+ * HTML version of double quotes (&amp;quot;)
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_ARG_HTML_QUOTE', 4);
+
+/**
+ * This is a parser option allowing argument quotes to be
+ * escaped this permit the quote delimiter to be found in
+ * the string escaping character is \ it can escape any
+ * quoting character or itself, if found in front of a non
+ * escapable character, it will be dropped.
+ * Default behaviour is not to use escaping.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_ARG_QUOTE_ESCAPING', 16);
+
+/**
+ * This is a parser option changing the way errors are
+ * treated. It automatically closes tag in the order they
+ * are opened. And treat tags with only an open tag as if
+ * there were a close tag present.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_AUTO_CORRECT', 256);
+
+/**
+ * This is a parser option changing the way errors are
+ * treated. It automatically reopens tag if close tags are
+ * not in the good order.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_CORRECT_REOPEN_TAGS', 512);
+
+/**
+ * This is a parser option disabling the BBCode parsing
+ * it can be useful if only the "smiley" replacement must
+ * be used.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_DISABLE_TREE_BUILD', 8192);
+
+/**
+ * This is a parser option setting smileys to ON if no
+ * flag is given at tag level.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_DEFAULT_SMILEYS_ON', 1024);
+
+/**
+ * This is a parser option setting smileys to OFF if no
+ * flag is given at tag level.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_DEFAULT_SMILEYS_OFF', 2048);
+
+/**
+ * This is a parser option disabling completely the
+ * smileys parsing.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_FORCE_SMILEYS_OFF', 4096);
+
+/**
+ * Use a case insensitive Detection for smileys
+ * instead of a simple binary search.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_SMILEYS_CASE_INSENSITIVE', 16384);
+
+/**
+ * This permits to SET the complete flag set on a parser.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_SET_FLAGS_SET', 0);
+
+/**
+ * This permits to switch a flag set ON on a parser.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_SET_FLAGS_ADD', 1);
+
+/**
+ * This permits to switch a flag set OFF on a parser.
+ * @link http://www.php.net/manual/en/bbcode.constants.php
+ */
+define ('BBCODE_SET_FLAGS_REMOVE', 2);
+
+// End of bbcode v.1.1.0-dev
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/bcmath.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/bcmath.php
new file mode 100644
index 0000000..df4d5d5
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/bcmath.php
@@ -0,0 +1,150 @@
+<?php
+
+// Start of bcmath v.
+
+/**
+ * Add two arbitrary precision numbers
+ * @link http://www.php.net/manual/en/function.bcadd.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string The sum of the two operands, as a string.
+ */
+function bcadd ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Subtract one arbitrary precision number from another
+ * @link http://www.php.net/manual/en/function.bcsub.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string The result of the subtraction, as a string.
+ */
+function bcsub ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Multiply two arbitrary precision numbers
+ * @link http://www.php.net/manual/en/function.bcmul.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string the result as a string.
+ */
+function bcmul ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Divide two arbitrary precision numbers
+ * @link http://www.php.net/manual/en/function.bcdiv.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string the result of the division as a string, or &null; if
+ * right_operand is 0.
+ */
+function bcdiv ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Get modulus of an arbitrary precision number
+ * @link http://www.php.net/manual/en/function.bcmod.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param modulus string <p>
+ * The modulus, as a string.
+ * </p>
+ * @return string the modulus as a string, or &null; if
+ * modulus is 0.
+ */
+function bcmod ($left_operand, $modulus) {}
+
+/**
+ * Raise an arbitrary precision number to another
+ * @link http://www.php.net/manual/en/function.bcpow.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string the result as a string.
+ */
+function bcpow ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Get the square root of an arbitrary precision number
+ * @link http://www.php.net/manual/en/function.bcsqrt.php
+ * @param operand string <p>
+ * The operand, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string the square root as a string, or &null; if
+ * operand is negative.
+ */
+function bcsqrt ($operand, $scale = null) {}
+
+/**
+ * Set default scale parameter for all bc math functions
+ * @link http://www.php.net/manual/en/function.bcscale.php
+ * @param scale int <p>
+ * The scale factor.
+ * </p>
+ * @return bool Returns true on success or false on failure.
+ */
+function bcscale ($scale) {}
+
+/**
+ * Compare two arbitrary precision numbers
+ * @link http://www.php.net/manual/en/function.bccomp.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param scale int[optional] <p>
+ * The optional scale parameter is used to set the
+ * number of digits after the decimal place which will be used in the
+ * comparison.
+ * </p>
+ * @return int 0 if the two operands are equal, 1 if the
+ * left_operand is larger than the
+ * right_operand, -1 otherwise.
+ */
+function bccomp ($left_operand, $right_operand, $scale = null) {}
+
+/**
+ * Raise an arbitrary precision number to another, reduced by a specified modulus
+ * @link http://www.php.net/manual/en/function.bcpowmod.php
+ * @param left_operand string <p>
+ * The left operand, as a string.
+ * </p>
+ * @param right_operand string <p>
+ * The right operand, as a string.
+ * </p>
+ * @param modulus string <p>
+ * The modulus, as a string.
+ * </p>
+ * @param scale int[optional]
+ * @return string the result as a string, or &null; if modulus
+ * is 0.
+ */
+function bcpowmod ($left_operand, $right_operand, $modulus, $scale = null) {}
+
+// End of bcmath v.
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/big_int.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/big_int.php
new file mode 100644
index 0000000..2020250
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/big_int.php
@@ -0,0 +1,125 @@
+<?php
+
+// Start of big_int v.1.0.7
+
+function bi_from_str () {}
+
+function bi_to_str () {}
+
+function bi_base_convert () {}
+
+function bi_add () {}
+
+function bi_sub () {}
+
+function bi_mul () {}
+
+function bi_div () {}
+
+function bi_mod () {}
+
+function bi_cmp () {}
+
+function bi_cmp_abs () {}
+
+function bi_or () {}
+
+function bi_xor () {}
+
+function bi_and () {}
+
+function bi_andnot () {}
+
+function bi_is_zero () {}
+
+function bi_is_one () {}
+
+function bi_abs () {}
+
+function bi_neg () {}
+
+function bi_inc () {}
+
+function bi_dec () {}
+
+function bi_sqr () {}
+
+function bi_sqrt () {}
+
+function bi_sqrt_rem () {}
+
+function bi_muladd () {}
+
+function bi_bit_len () {}
+
+function bi_bit1_cnt () {}
+
+function bi_addmod () {}
+
+function bi_submod () {}
+
+function bi_mulmod () {}
+
+function bi_divmod () {}
+
+function bi_powmod () {}
+
+function bi_factmod () {}
+
+function bi_absmod () {}
+
+function bi_invmod () {}
+
+function bi_sqrmod () {}
+
+function bi_gcd () {}
+
+function bi_next_prime () {}
+
+function bi_div_extended () {}
+
+function bi_sign () {}
+
+function bi_rand () {}
+
+function bi_lshift () {}
+
+function bi_rshift () {}
+
+function bi_set_bit () {}
+
+function bi_clr_bit () {}
+
+function bi_inv_bit () {}
+
+function bi_test_bit () {}
+
+function bi_scan0_bit () {}
+
+function bi_scan1_bit () {}
+
+function bi_hamming_distance () {}
+
+function bi_subint () {}
+
+function bi_cmpmod () {}
+
+function bi_miller_test () {}
+
+function bi_is_prime () {}
+
+function bi_jacobi () {}
+
+function bi_fact () {}
+
+function bi_pow () {}
+
+function bi_serialize () {}
+
+function bi_unserialize () {}
+
+function bi_gcd_extended () {}
+
+function bi_info () {}
+
+// End of big_int v.1.0.7
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.5/bz2.php b/plugins/org.eclipse.php.core/Resources/language/php5.5/bz2.php
new file mode 100644
index 0000000..ddf4c75
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.5/bz2.php
@@ -0,0 +1,156 @@
+<?php
+
+// Start of bz2 v.
+
+/**
+ * Opens a bzip2 compressed file
+ * @link http://www.php.net/manual/en/function.bzopen.php
+ * @param filename string <p>
+ * The name of the file to open.
+ * </p>
+ * @param mode string <p>
+ * Similar to the fopen function, only 'r' (read)
+ * and 'w' (write) are supported. Everything else will cause bzopen
+ * to return false.
+ * </p>
+ * @return resource If the open fails, bzopen returns false, otherwise
+ * it returns a pointer to the newly opened file.
+ */
+function bzopen ($filename, $mode) {}
+
+/**
+ * Binary safe bzip2 file read
+ * @link http://www.php.net/manual/en/function.bzread.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @param length int[optional] <p>
+ * If not specified, bzread will read 1024
+ * (uncompressed) bytes at a time. A maximum of 8192
+ * uncompressed bytes will be read at a time.
+ * </p>
+ * @return string the uncompressed data, or false on error.
+ */
+function bzread ($bz, $length = null) {}
+
+/**
+ * Binary safe bzip2 file write
+ * @link http://www.php.net/manual/en/function.bzwrite.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @param data string <p>
+ * The written data.
+ * </p>
+ * @param length int[optional] <p>
+ * If supplied, writing will stop after length
+ * (uncompressed) bytes have been written or the end of
+ * data is reached, whichever comes first.
+ * </p>
+ * @return int the number of bytes written, or false on error.
+ */
+function bzwrite ($bz, $data, $length = null) {}
+
+/**
+ * Force a write of all buffered data
+ * @link http://www.php.net/manual/en/function.bzflush.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @return int Returns true on success or false on failure.
+ */
+function bzflush ($bz) {}
+
+/**
+ * Close a bzip2 file
+ * @link http://www.php.net/manual/en/function.bzclose.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @return int Returns true on success or false on failure.
+ */
+function bzclose ($bz) {}
+
+/**
+ * Returns a bzip2 error number
+ * @link http://www.php.net/manual/en/function.bzerrno.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @return int the error number as an integer.
+ */
+function bzerrno ($bz) {}
+
+/**
+ * Returns a bzip2 error string
+ * @link http://www.php.net/manual/en/function.bzerrstr.php
+ * @param bz resource <p>
+ * The file pointer. It must be valid and must point to a file
+ * successfully opened by bzopen.
+ * </p>
+ * @return string a string containing the error message.
+ */
+function bzerrstr ($bz) {}
+