PHP code example of tsufeki / php-lenient-parser
1. Go to this page and download the library: Download tsufeki/php-lenient-parser library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tsufeki / php-lenient-parser example snippets
$parser = (new LenientParserFactory())->create();
$parser = (new LenientParserFactory())->create(LenientParserFactory::ONLY_PHP7, $lexer, $options);