Fix incorrect case of a few words

This commit is contained in:
Xymph
2022-08-23 22:17:07 +02:00
parent 6e0076e2c2
commit 389eb5c0c3
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ primarily of commonly needed datastructure classes (stack, queue, heap, and so o
over these datastructures or your own classes which implement SPL interfaces. over these datastructures or your own classes which implement SPL interfaces.
* [Read about the SPL][spl] * [Read about the SPL][spl]
* [SPL video course on Lynda.com(Paid)][spllynda] * [SPL video course on Lynda.com (paid)][spllynda]
[spl]: https://secure.php.net/book.spl [spl]: https://secure.php.net/book.spl

View File

@@ -21,7 +21,7 @@ for modern, secure, and fast cryptography.
* [Build APIs You Won't Hate](https://apisyouwonthate.com/) - Everyone and their dog wants an API, * [Build APIs You Won't Hate](https://apisyouwonthate.com/) - Everyone and their dog wants an API,
so you should probably learn how to build them. so you should probably learn how to build them.
* [Modern PHP](http://shop.oreilly.com/product/0636920033868.do) - covers modern PHP features, best practices, testing, tuning, deployment and setting up a dev environment. * [Modern PHP](http://shop.oreilly.com/product/0636920033868.do) - Covers modern PHP features, best practices, testing, tuning, deployment and setting up a dev environment.
* [Building Secure PHP Apps](https://leanpub.com/buildingsecurephpapps) - Learn the security basics that a senior * [Building Secure PHP Apps](https://leanpub.com/buildingsecurephpapps) - Learn the security basics that a senior
developer usually acquires over years of experience, all condensed down into one quick and easy handbook developer usually acquires over years of experience, all condensed down into one quick and easy handbook
* [Modernizing Legacy Applications In PHP](https://leanpub.com/mlaphp) - Get your code under control in a series of * [Modernizing Legacy Applications In PHP](https://leanpub.com/mlaphp) - Get your code under control in a series of

View File

@@ -80,7 +80,7 @@ function test($a)
Switch statements are a great way to avoid typing endless if's and elseif's, but there are a few things to be aware of: Switch statements are a great way to avoid typing endless if's and elseif's, but there are a few things to be aware of:
- Switch statements only compare values, and not the type (equivalent to '==') - Switch statements only compare values, and not the type (equivalent to '==')
- They Iterate case by case until a match is found. If no match is found, then the default is used (if defined) - They iterate case by case until a match is found. If no match is found, then the default is used (if defined)
- Without a 'break', they will continue to implement each case until reaching a break/return - Without a 'break', they will continue to implement each case until reaching a break/return
- Within a function, using 'return' alleviates the need for 'break' as it ends the function - Within a function, using 'return' alleviates the need for 'break' as it ends the function