PHP 7.2 버전용으로 올림!

This commit is contained in:
Hide_D committed 2018-06-21 02:17:31 +09:00
1 parent 2a872397f6
commit 1b6820664b
70 files changed
+377 -2115

No files matched your search

+15
View File
@@ -1302,6 +1302,21 @@ class Parser
{
$s = $this->seek();
if ($this->literal('url(') && $this->match('data:([a-z]+)\/([a-z0-9.+-]+);base64,', $m, false)) {
$len = strspn($this->buffer, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwyxz0123456789+/=', $this->count);
$this->count += $len;
if ($this->literal(')')) {
$content = substr($this->buffer, $s, $this->count - $s);
$out = [Type::T_KEYWORD, $content];
return true;
}
}
$this->seek($s);
if ($this->literal('not', false) && $this->whitespace() && $this->value($inner)) {
$out = [Type::T_UNARY, 'not', $inner, $this->inParens];