Increase PHP memory limit

Php tips & tricks

Sometimes you might get “Fatal error: Allowed memory size of …” PHP error. Usually this means that you run out of memory. It is recommended to double check your code and profile your app with xDebug. It should tell you which function is called how often and how much memory it eats. However, the code […]

read more

Comment php code with one keypress

Php tips & tricks

Debugging takes 90% of php developement time. You often need to comment out a piece code. In case of single line it is pretty simple. But if you need to comment large block it could take time. Do you want to comment php code with one keypress ? There is pretty simple method to achieve […]

read more