Skip to content
Discussion options

You must be logged in to vote

An unquoted heredoc lets your LOCAL shell expand $vars, backticks and backslashes before sending, so PHP variables get blanked or mangled and the file becomes subtly broken — and Laravel auto-discovery then silently skips the unparseable class with no boot error. Quote the delimiter (<<'EOF'), or transfer the file with scp/rsync instead of piping code, and always run php -l afterward.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kevinchamplin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant