11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.it-ebooks.info• CONTENTSObject Cloning................................................................................................................160Cloning Example................................................................................................................................... 160The __clone() Method........................................................................................................................... 162Inheritance.....................................................................................................................163Class Inheritance.................................................................................................................................. 163Inheritance and Constructors ............................................................................................................... 165Inheritance and Late Static Binding ..................................................................................................... 167Interfaces.......................................................................................................................168Implementing a Single Interface .......................................................................................................... 169Implementing Multiple Interfaces......................................................................................................... 170Abstract Classes ............................................................................................................171Introducing Namespaces...............................................................................................172Summary .......................................................................................................................174• Chapter 8: Error and Exception Handling............................................................175Configuration Directives ................................................................................................175Error Logging .................................................................................................................179Exception Handling........................................................................................................182Why Exception Handling Is Handy ........................................................................................................ 182<strong>PHP</strong>’s Exception-Handling Implementation .......................................................................................... 183SPL’s Exceptions .................................................................................................................................. 189Summary .......................................................................................................................191• Chapter 9: Strings and Regular Expressions ......................................................191Regular Expressions ......................................................................................................191Regular Expression Syntax (POSIX) ...................................................................................................... 192<strong>PHP</strong>’s Regular Expression Functions (POSIX Extended) ....................................................................... 194Regular Expression Syntax (Perl).......................................................................................................... 198Other String-Specific Functions.....................................................................................205xi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!