13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduction<br />

7<br />

installing it for mass use for quite some time. However, some of the key features planned<br />

in <strong>PHP</strong> 6 have been back-ported to <strong>PHP</strong> 5.3, which is a minor version release <strong>and</strong> closer<br />

to passing acceptance testing <strong>and</strong> thus installation by hosting providers (of course, if<br />

you are your own server’s administrator, you can install any version you like).<br />

Some of the new features in <strong>PHP</strong> 5.3 are listed below; additional information also<br />

appears throughout this book as appropriate:<br />

n The addition of namespaces; for more information see http://www.php.net/<br />

language.namespaces<br />

n The addition of the intl extension for application internationalization; for more<br />

information see http://www.php.net/manual/en/intro.intl.php<br />

n The addition of the phar extension for creating self-contained <strong>PHP</strong> application<br />

archives; for more information see http://www.php.net/book.phar<br />

n The addition of the fileinfo extension for enhanced ability to work with files;<br />

for more information see http://www.php.net/manual/en/book.fileinfo.php<br />

n The addition of the sqlite3 extension for working with the SQLite Embeddable<br />

SQL Database Engine; for more information see http://www.php.net/manual/en/<br />

class.sqlite3.php<br />

n The inclusion of support for the <strong>MySQL</strong>nd driver, a replacement for libmysql; for<br />

more information see http://forge.mysql.com/wiki/<strong>PHP</strong>_MYSQLND<br />

While the list above contains some of the highly-touted features of <strong>PHP</strong> 5.3, the release<br />

also includes a significant number of bug fixes <strong>and</strong> maintenance performed on existing<br />

functionality, such as:<br />

n Removing support for any version of Windows older than Windows 2000 (such as<br />

Windows 98 <strong>and</strong> NT4)<br />

n Ensuring the PCRE, Reflection, <strong>and</strong> SPL extensions are always enabled<br />

n Adding a few date <strong>and</strong> time functions for ease of date calculation <strong>and</strong> manipulation<br />

n Improving the crypt(), hash(), <strong>and</strong> md5() functionality, as well as improving the<br />

OpenSSL extension<br />

n Improving php.ini administration <strong>and</strong> h<strong>and</strong>ling, including better error reporting<br />

n Continuing to fine-tune the Zend engine for better <strong>PHP</strong> runtime speed <strong>and</strong><br />

memory usage<br />

Some of <strong>MySQL</strong>s Strengths<br />

<strong>MySQL</strong>s main competitors are PostgreSQL, Microsoft SQL Server, <strong>and</strong> Oracle.<br />

<strong>MySQL</strong> has many strengths, including the following:<br />

n<br />

n<br />

High performance<br />

Low cost

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

Saved successfully!

Ooh no, something went wrong!