Webgrind Webgrind is an Xdebug profiling Web front end in PHP 5. It implements a subset of the features of kcachegrind, installs in seconds and works on all platforms. For quick ‘n’ dirty optimizations, it does the job.
Category Archives: Programming
PHP Declare Statement
Explanation The declare statement is used to set execution directive for a block of codes.
php implode keys with vars multidimensional array
Function to variation on implode_with_key:
php Alternative syntax for control structures
PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. (PHP 4, PHP 5)
PHP HTTP Headers
Modify HTTP Headers (Examples) Many examples that show how to use the header() function of PHP
What is PHP_EOL in PHP?
When you run PHP in a web server, "\n" and "\r\n" will not do anything (it literally just separates the code into different line breaks). <br> makes a new line in HTML (hence "line BReak"). Since you are viewing the PHP in a web browser, it parses the code in HTML. Therefore, "<br>" will make …