PHP Pocket Reference by Rasmus Lerdorf This errata page lists errors outstanding in the most recent printing. If you have any error reports or technical questions, you can send them to booktech@oreilly.com. (Please specify the printing date of your copy.) This page was last modified on July 20, 2001. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: {11} Before the "All arrays in PHP..." paragraph, add the following: Values can be assigned quickly to an array with the array() function. Each argument to the funtion becomes an array element. If an index is not specified using the => syntax, PHP automatically assigns the indices sequentially starting from 0: $arr = array('Hello', 'World', 1=>'Jan', 2=>'Feb'); [100] Near bottom of page; An error was made while reprinting. The text should read: int eregi(string pattern, string string [, array registers] Case-insensitive POSIX-style regular expression match string eregi_replace(string pattern, string replacement, string string) Case insensitive POSIX-style replace regular expression [101] middle: The entry for "implode" has the arguments reversed. Instead of: string implode(array src, string glue) It should read: string implode(string glue, array src) (106) top half: The functions bool is_real and bool is_string are listed twice. The second occurrences of "bool is_real" and "bool is_string" should be cut.