Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed error for "${" appear in closure body. #107

Closed
wants to merge 2 commits into from

Conversation

zcodes
Copy link

@zcodes zcodes commented Apr 9, 2018

when a closure like this

<?php
$hello = function ($name = 'world') {
    echo "${name}";
}

it will be unserialize failed.

@GrahamCampbell
Copy link
Contributor

Thanks for the PR. Is there any chance you could add a test for this too please?

@zcodes
Copy link
Author

zcodes commented Apr 10, 2018

@GrahamCampbell a test case was add in the TokenAnalyzerTest.php

@jeremeamia
Copy link
Owner

This software is no longer maintained. Consider using opis/closure instead.

@jeremeamia jeremeamia closed this Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants