Skip to content

Namespace declaration statement has to be the very first statement or after any declare call in the script #4

@shukla-rohit

Description

@shukla-rohit

Hello,

I am facing one issue, in my file I have namespace, and after encryption with bolt, having line on top.
bolt_decrypt( FILE , PHP_BOLT_KEY); return 0;

and later have encrypted code.

so when I am running file, getting compile error.

Description:Namespace declaration statement has to be the very first statement or after any declare call in the script
Backtrace-------------------

So problem is that after encryption we are adding bolt_decrypt, and that is creating problem, if having namespace in file. Can you please suggest anything or any solution for this.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions