Commit 43b829b8 authored by Charl's avatar Charl
Browse files

Fixed spelling and added dots to section headers

parent d189020c
......@@ -37,7 +37,7 @@ No whitespaces are permitted on empty lines.
Set your editor to use 4 space widths for tabs.
### 3.2.1 Continuation lines are indented twice
### 3.2.1. Continuation lines are indented twice
For example...
......@@ -50,7 +50,7 @@ echo "hi there ".
"joe soap\n";
```
### 3.2.2 Continuation lines in HTML are indented twice
### 3.2.2. Continuation lines in HTML are indented twice
Example...
......@@ -534,7 +534,7 @@ If the tags are on 1 line then indent with html
```
## 9. Namespaces with regards to Autoloading
### 9.1.1 Autoloading
### 9.1.1. Autoloading
- A fully-qualified namespace and class must have the following structure \<Vendor Name>\(<Namespace>\)*<Class Name>
- Each namespace must have a top-level namespace ("Vendor Name").
- Each namespace can have as many sub-namespaces as it wishes.
......@@ -549,7 +549,7 @@ Example...
- \Zend\Acl => /path/to/project/lib/vendor/Zend/Acl.php
- \Zend\Mail\Message => /path/to/project/lib/vendor/Zend/Mail/Message.php
### 9.1.2 Autoloading Underscors in Namespaces and Class Names
### 9.1.2. Autoloading Underscores in Namespaces and Class Names
- Each _ character in the CLASS NAME is converted to a DIRECTORY_SEPARATOR. The _ character has no special meaning in the
namespace.
......@@ -557,7 +557,7 @@ Example...
- \namespace\package\Class_Name => /path/to/project/lib/vendor/namespace/package/Class/Name.php
- \namespace\package_name\Class_Name => /path/to/project/lib/vendor/namespace/package_name/Class/Name.php
### 9.1.3 Autoloading Example Implementation
### 9.1.3. Autoloading Example Implementation
Below is an example function to demonstrate how the above proposed standards are autoloaded
```php
<?php
......@@ -579,7 +579,7 @@ function autoload($className)
```
## 9.2. Namespaces
### 9.2.1 Code written for PHP 5.3 and after MUST use formal namespaces.
### 9.2.1. Code written for PHP 5.3 and after MUST use formal namespaces.
Example...
```php
// PHP 5.3 and later:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment