php syntax - why does making my code a function stop it working?
27136
Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?
86226
calling php function from jquery?
129036
How do I silence PHP errors?
9173
What are the PHP operators "?" and ":" called and what do they do?
144284
How do filters and hooks really work in PHP
85438
In PHP, what is a closure and why does it use the "use" identifier?
80494
Simple PHP strpos function not working, why?
129989
How do you use PHPUnit to test a function if that function is supposed to kill PHP?
60295
Script breaking below MySQL queries, but no error being given?
21200
PHP script stops without error message (Which error type?)
157148
What are the valid characters in PHP variable, method, class, etc names?
29593
What is the "->" PHP operator called?
16088
How does the (function() {})() construct work and why do people use it?
73348
Parse PHP code to extract function names?
68351
Why can I use a function before it's defined in JavaScript?
74155
How do I get PHP errors to display?
77095
How do I make a redirect in PHP?