Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430532
Parser.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
629 B
Referenced Files
None
Subscribers
None
Parser.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser
;
interface
Parser
{
/**
* Parses PHP code into a node tree.
*
* @param string $code The source code to parse
* @param ErrorHandler|null $errorHandler Error handler to use for lexer/parser errors, defaults
* to ErrorHandler\Throwing.
*
* @return Node\Stmt[]|null Array of statements (or null non-throwing error handler is used and
* the parser was unable to recover from an error).
*/
public
function
parse
(
string
$code
,
?
ErrorHandler
$errorHandler
=
null
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 19:05 (5 h, 31 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
77/cc/9acf6cc32cf6940f1ff657c177c3
Default Alt Text
Parser.php (629 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment