-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[1.3.2] Volt Compiler addFunction as closure #2574
Comments
Do you have Xdebug running? |
Yes, i tried setting a breakpoint inside closure at |
Disabling xdebug extension solved the issue, thank you! |
Yes, it's not very pretty I guess.. Regarding the docs; the core team is small, and the project for a large part depends on contributions from others. Perhaps I could add something to the docs and create a PR for that. |
Adding and later using a Volt function using closure results in script termination during compilation.
Example:
Volt template:
It seems that execution is terminated while trying to compile Volt template to PHP file.
Ubuntu 12.04 x64
PHP 5.5.13-2
Phalcon 1.3.2
The text was updated successfully, but these errors were encountered: