peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

Eval() syntax errors can not be handled (will crash the app)

Open kripper opened this issue 2 years ago • 0 comments

In this test case, both eval()'s should be ignored / catched.

    @eval("<");

    try {
        eval("<");
    } catch(Exception $e) {
        die("Cached");
    }

See also: https://github.com/peachpiecompiler/peachpie/issues/502

kripper avatar Nov 08 '22 06:11 kripper