History log of /PHP-8.3/Zend/zend_language_scanner.l (Results 76 – 100 of 540)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 239e2dda 04-Oct-2019 Nikita Popov

Make sure T_ERROR is returned for all lexer exceptions

This originally manifested as a leak in oss-fuzz #18000. The following
is a reduced test case:

<?php
[

Make sure T_ERROR is returned for all lexer exceptions

This originally manifested as a leak in oss-fuzz #18000. The following
is a reduced test case:

<?php
[
5 => 1,
"foo" > 1,
" " => "" == 0
];
<<<BAR
$x
BAR;

Because this particular error condition did not return T_ERROR,
EG(exception) was set while performing binary operation constant
evaluation, which checks exceptions for cast failures.

Instead of adding this indirect test case, I'm adding an assertion
that the lexer has to return T_ERROR if EG(exception) is set.

show more ...

# d44cf9b5 02-Oct-2019 Nikita Popov

Replace "unexpected character" warning with ParseError

Closes GH-4767.

Revision tags: php-7.4.0RC3
# 7e776175 30-Sep-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 19e7e4b1 30-Sep-2019 Nikita Popov

Fixed bug #78604

<?php followed by EOF is valid since PHP 7.4.

# 38387d7c 28-Sep-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 1b08ab26 28-Sep-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 7df50ef1 28-Sep-2019 Nikita Popov

Don't throw warnings during heredoc scan-ahead

Otherwise these warnings will turn up twice (or more...)

Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2
# 3372a24b 14-Sep-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 3f76f941 14-Sep-2019 Nikita Popov

Fix double-free on invalid large octal with separators

To clean up the mess here a bit, check for invalid octal digits
with an explicit loop instead of mixing this into the string to

Fix double-free on invalid large octal with separators

To clean up the mess here a bit, check for invalid octal digits
with an explicit loop instead of mixing this into the string to
number conversion.

Also clean up some type usage.

show more ...

Revision tags: php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9
# c8ec166c 25-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #78454: Consecutive numeric separators cause OOM error


# 1a78bdab 25-Aug-2019 Theodore Brown

Fix #78454: Consecutive numeric separators cause OOM error

Resolves out of memory error when consecutive numeric separators follow a binary/hex literal.

# c53064fb 21-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #78441: Parse error due to heredoc identifier followed by digit


# 1eb75f29 21-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78441: Parse error due to heredoc identifier followed by digit


# 31070884 21-Aug-2019 Christoph M. Becker

Fix #78441: Parse error due to heredoc identifier followed by digit

Since digits are allowed for identifiers, we have to cater to them as
well.

Revision tags: php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# 173ebe4c 24-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# d9680272 24-Jul-2019 Nikita Popov

Revert "Drop free_filename field from zend_file_handle"

This reverts commit e0eca262852dba1a78afcde64a49126c81fead1a.

free_filename is used by the wincache extension, restore this

Revert "Drop free_filename field from zend_file_handle"

This reverts commit e0eca262852dba1a78afcde64a49126c81fead1a.

free_filename is used by the wincache extension, restore this
field for PHP 7.4.

show more ...

# 36db71df 22-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


Revision tags: php-7.2.21RC1, php-7.3.8RC1
# e41b7f6d 12-Jul-2019 Nikita Popov

Deprecate (real) cast

# c4a6998c 16-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# e0eca262 16-Jul-2019 Nikita Popov

Drop free_filename field from zend_file_handle

free_filename was always zero.

# 3faa903d 16-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 49bac9b7 16-Jul-2019 Nikita Popov

Introduce zend_stream_init_filename()

Avoid more ad-hoc initialization of zend_file_handle structures.

# ce972ba3 16-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# c9acc901 15-Jul-2019 Nikita Popov

Support <?php followed by EOF

This is an annoying edge-case for canonicalization.

# 90d5276e 15-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


12345678910>>...22