z7zmey / php-parser

PHP parser written in Go

Home Page:https://php-parser.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while parsing single quoted string with NUL (\0).

ganlvtech opened this issue · comments

commented
<?php
$a = ' ';
var_dump($a);

The space above between quotes is a 0x00 byte. You can download the attachment test.zip.

Related links:

This issue already fixed in new lexer #80