Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Mobi | Page Kindle Locations 7472-7476 In the TIP section aliases |
Hello there, Note from the Author or Editor: |
David Robillard | Apr 23, 2015 | Feb 26, 2016 |
Page 16 Example 2-10 descriptor |
The descriptor of the example reads: Note from the Author or Editor: |
Eric Blount | Mar 14, 2015 | Feb 26, 2016 | |
Page 24 4th paragraph |
The line "However, generators greatly simply certain tasks while using less memory." should read "However, generators greatly simplify certain tasks while using less memory." Note from the Author or Editor: |
imaguidhir | Sep 09, 2015 | Feb 26, 2016 | |
Page 32 2nd paragraph in Start the Server |
"As you browse your application in your web browser, each HTTP Note from the Author or Editor: |
imaguidhir | Sep 09, 2015 | Feb 26, 2016 | |
Page 33 Last paragraph in "Router Scripts" |
There's an extra 'a' in the last sentence of this paragraph. Note from the Author or Editor: |
imaguidhir | Sep 09, 2015 | Feb 26, 2016 | |
Printed | Page 90 Example 5-13, 5-14 and especially 5-15 |
The code in these examples is actually valid but confusing because you are inconsistent with regards to global namespace. Note from the Author or Editor: |
Mike Reeves | Aug 10, 2015 | Feb 26, 2016 |
Printed | Page 94 2nd paragraph, example 5-18 |
Example 5-18 description says that the database name is acme, username is josh and password is sekrit but the example DSN and parameters use books, USERNAME and PASSWORD respectively. Note from the Author or Editor: |
Elias Coronado | May 25, 2015 | Feb 26, 2016 |
Printed | Page 95 1st paragraph |
I recommend changing "Never hard-code database credentials into PHP files, especially PHP files served to the public" to "Never hard-code database credentials into PHP files served to the public". The right way IS to hard-code into PHP files, but not public ones (as is shown lower on the page). Note from the Author or Editor: |
Rick Silva | Nov 01, 2015 | Feb 26, 2016 |
PDF, ePub, Mobi | Page 98 Example 5-22 |
the bindValue is used with string value and PDO::PARAM_INT data type. Note from the Author or Editor: |
harrijauri | Apr 10, 2015 | Feb 26, 2016 |
Printed | Page 100 Example 5-25 |
Inside the while loop, the code tries to echo the 'name' property of the object stored in $result. The property should be 'email'. Note from the Author or Editor: |
Anonymous | Mar 20, 2015 | Feb 26, 2016 |
Printed | Page 102 Under // Withdraw funds from account 1 code section |
$withDrawal should be $withdrawal in this line: Note from the Author or Editor: |
Mike Reeves | Aug 11, 2015 | Feb 26, 2016 |
Page 138 2nd paragraph |
The 2nd sentence of this paragraph reads: "The is the SSH server software’s configuration file". It should read "This is the SSH server software’s configuration file". Note from the Author or Editor: |
imaguidhir | Sep 16, 2015 | Feb 26, 2016 | |
Printed | Page 151 First note (2nd paragraph) |
The benchmarking utility Siege was called "Seige". Note from the Author or Editor: |
Carsten Dietzel | Dec 17, 2015 | Feb 26, 2016 |
Page 163 Roll Back Your Application |
"In the off chance" should read "On the off chance". Note from the Author or Editor: |
imaguidhir | Sep 18, 2015 | Feb 26, 2016 | |
Page 166 "After" paragraph |
"If you find a bug after your launch your application" should read "If you find a bug after you launch your application". Note from the Author or Editor: |
imaguidhir | Sep 18, 2015 | Feb 26, 2016 | |
Page 167 2nd paragraph of "Test-Driven Development (TDD)" |
"This does not meant" should read "This does not mean". Note from the Author or Editor: |
imaguidhir | Sep 18, 2015 | Feb 26, 2016 | |
Page 171 1st paragraph |
in this phrase, Note from the Author or Editor: |
Anonymous | Aug 30, 2015 | Feb 26, 2016 | |
Page 174 1st paragraph, last sentence |
"The second test that ensures the method throws an exception" should read "The second test ensures the method throws an exception". Note from the Author or Editor: |
imaguidhir | Sep 18, 2015 | Feb 26, 2016 | |
Page 197 2nd paragraph |
The last word in this paragraph is misspelled. It should be "inference". Note from the Author or Editor: |
Ivan Maguidhir | Sep 18, 2015 | Feb 26, 2016 | |
Printed | Page 197 1st paragraph after code example |
"The PHP interpreter enforces this expecation" should read "The PHP interpreter enforces this expectation". Note from the Author or Editor: |
Carsten Dietzel | Dec 22, 2015 | Feb 26, 2016 |
Page 245 Last paragraph in "About the Author" |
"You can at follow Josh on Twitter" should read "You can follow Josh on Twitter". Note from the Author or Editor: |
Ivan Maguidhir | Sep 19, 2015 | Feb 26, 2016 |