PHP 8.0: NewClasses: handle 3 new classes by jrfnl · Pull Request #1211 · PHPCompatibility/PHPCompatibility

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jrfnl

Copy link Copy Markdown

Member

@jrfnl jrfnl commented

Aug 17, 2020

The commits in this PR line up with the commits in PHP Core to add the classes.

Related to #809


PHP 8.0: NewClasses: account for new WeakMap class

Added WeakMap.

Refs:

PHP 8.0: NewClasses: account for new PhpToken class

The new PhpToken class adds an object-based interface to the tokenizer.
It provides a more uniform and ergonomic representation, while being more
memory efficient and faster.

Refs:

PHP 8.0: NewClasses: account for new ValueError exception class

Added ValueError class.

Refs:

jrfnl added 3 commits

August 17, 2020 02:01

@jrfnl jrfnl added Type: enhancement PR: quick merge

PR only contains relatively simple changes

PR: ready for review labels

Aug 17, 2020

@jrfnl jrfnl added this to the 10.0.0 milestone

Aug 17, 2020

@jrfnl jrfnl requested a review from wimg

August 17, 2020 00:31

@wimg wimg merged commit b6f9b08 into develop

Aug 18, 2020

@wimg wimg deleted the php-8.0/newclasses-x3 branch

August 18, 2020 15:50

@jrfnl jrfnl removed PR: quick merge

PR only contains relatively simple changes

PR: ready for review labels

Aug 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wimg wimg wimg approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

10.0.0-alpha1

Development

Successfully merging this pull request may close these issues.

2 participants

@jrfnl @wimg