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

Catch block class names are not scrambled #12

Closed
mologie opened this issue Dec 23, 2015 · 1 comment
Closed

Catch block class names are not scrambled #12

mologie opened this issue Dec 23, 2015 · 1 comment

Comments

@mologie
Copy link

mologie commented Dec 23, 2015

Test case:

<?php
class FooException extends Exception { }
try {
    echo "foo ";
    throw new FooException;
}
catch (FooException $foo) {
    echo "bar\n";
}

Example output:

<?php

class N0VHa extends Exception
{
}
try {
    echo "\146\157\157\x20";
    throw new N0vHa();
} catch (FooException $b0p6v) {
    echo "\142\x61\162\12";
}

FooException should have been replaced by N0VHa for the above example to work.

pk-fr added a commit that referenced this issue Dec 24, 2015
@pk-fr
Copy link
Owner

pk-fr commented Dec 25, 2015

fixed in 1.8.4.
I love those small examples..

@pk-fr pk-fr closed this as completed Dec 25, 2015
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

No branches or pull requests

2 participants