php-net-tutorial
php-net-tutorial copied to clipboard
Proposal for a new php.net tutorial / getting started guide
Introduce strict type checks and return types as per Php7. Modifications will most likely affect data-types and functions
http://stackoverflow.com/questions/11591135/php-unable-to-recall-session/11591403#11591403
- It's important to write code - not copy paste it. Tell that upfront. - Enable the user how to write and execute code: - Show how to execute on...
The include language construct is used in nearly all code yet can be complicated/confusing to use. What is include_path? And how do the likes of include 'foo.php' and './foo.php' differ...
Convert and expand the error_reporting topic to a basic debugging topic
Add topic at start about installation on: - Windows - OSX - Ubuntu
Add NULL as special datatype
Scope is difficult for beginners to understand. It is important to: 1. Recognise Local, Global, Static, Namespace scopes 2. Know when a variable is "in scope" and accessible. 3. Understand...