National Library of New Zealand
Harvested by the National Library of New Zealand on: Nov 25 2010 at 6:59:58 GMT
Search boxes and external links may not function. Having trouble viewing this page? Click here
Close Minimize Help
Wayback Machine
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

What is PHP?

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.

Ever wondered how popular PHP is? see the Netcraft Survey.

Thanks To

Related sites

Community

Syndication

You can grab our news as an Atom feed.

Upcoming Events [add]

November

Conferences

29. PHP SUMMIT Düsseldorf

User Group Events

24. Irish PHP Users Group meeting
24. Colorado Springs - FRPUG
24. Edinburgh PHP Users Group
25. Arabic PHP Group Meeting
25. Malaysia PHP User Group Meet Up
25. Sandy PHP Group
25. Memphis PHP
27. Sacramento PHP Group
27. Miami Linux Meetup
27. PHP RIO Meetup
27. PHP User Group Hong Kong
29. Long Island PHP Users Group
30. Malaysia PHP Meetup
30. PHP Usergroup Karlsruhe
30. PHPUG Wuerzburg

December

Conferences

01. PHP SUMMIT Düsseldorf

User Group Events

01. Meeting PHP Usergroup OWL
01. BostonPHP
01. Pittsburgh PHP Meetup Group
02. SDPHP (San Diego, CA)
02. Hannover
02. Meetup Day
02. Omaha PHP Users Group Meetup
02. PHP London
02. The Houston PHP Users Group
02. Boston PHP Meetup
02. Atlanta PHP User Group
02. Sydney PHP Group meetings
02. PHP UG Meetup Auckland
02. Seattle PHP Meetup Group
02. The Copenhagen PHP Meetup Group
02. SF PHP Meetup
02. Knoxville Python & PHP UG
02. Minnesota PHP User Group
02. OrlandoPHP User Group
02. PHP Cardiff Meetup
03. Köln/Bonn
03. Iran PHP developer's meetup
05. PHP meeting online in China
05. meeting de LAMPistas en La Paz
07. SW Florida Linux Users Group
07. PDXPHP monthly meeting
07. Jacksonville User Group
07. Berlin PHP Usergroup Meeting
07. PHPNW: PHP North West user group
08. Wash DC PHP Developers Group
08. PHP User Group Stuttgart
08. Denver - FRPUG
09. Meeting usergroup Dortmund
09. PHP Usergroup Frankfurt/Main
09. Edinburgh PHP Users Group
09. PHP/Web Developer's Group
11. PHP User Group Nanaimo, BC/CA
11. PEA meeting from phpchina
11. Nagpur PHP Meetup
11. Nezahualcoyotl PHP Ramptors
12. Los Angeles PHP Developers Group
13. Queen City (Charlotte) PHP
14. Hamburg
14. Dallas PHP/MySQL Users Group
14. Dallas PHP Users Group (DPUG)
14. Austin PHP Meetup
14. OKC PHP Meetup
14. Nashville PHP User Group
14. Oklahoma City PHP User Group
14. Buffalo PHP Meetup
14. South Florida PHP Users Group
14. MKEPUG PHP vs Rails / Open Conve
15. Miami PHP User Group
15. Broward Php Usergroup
15. Chicago PHP User Group Brunch
15. Baltimore PHP User Group
16. TriPUG
16. OINK-PUG (Cincinnati, Ohio)
16. Utah PHP Users Group Meeting
18. Kansas City
18. Miami Linux Users Group
18. Twin Cities PHP
18. Los Angeles LAMPsig
21. PHP Brisbane Meetup Group
21. Nashville Enterprise LAMP UG
21. Chattanooga PHP Developers
22. Colorado Springs - FRPUG
23. Memphis PHP
25. Sacramento PHP Group
25. Miami Linux Meetup
25. PHP RIO Meetup
25. PHP User Group Hong Kong
27. Long Island PHP Users Group
28. New York
28. AzPHP
28. Malaysia PHP Meetup
28. PHP Usergroup Karlsruhe
28. PHPUG Wuerzburg
28. DCPHP Beverage Subgroup
28. Brisbane PHP User Group
29. Irish PHP Users Group meeting
30. Arabic PHP Group Meeting
30. Malaysia PHP User Group Meet Up
30. Sandy PHP Group

Training

01. PHP Training - Chennai - India
01. Zend Certification
01. PHP Programmierung Grundlagen
01. PHP Fortgeschrittene Seminar
01. ZEND: PHP Security On-line
01. ZEND: PHP I: Foundations On-line
01. ZEND:PHP II On-line
01. ZEND: Studio On-line class
01. ZEND: Server On-line Class
01. Treinamento PHP & AJAX
01. Advanced PHP Course
01. PHP hands-on course
01. Разработка web - са�
01. PHP Training in Kolkata
02. Curso de PHP Avanzado en Bilbao
03. PHP Zend Framework Workshop
04. PHP & AJAX -Construindo Websites
04. Core and Advanced PHP Workshop
05. Ahmedabad PHP Group Training
05. php training
06. MySQL Spain
06. Curso PHP Madrid
06. PHP E-Learning/Germany
06. Curso on-line ActionScript / PHP
06. PHP & MySQL Training in Kassel
06. PHP & MySQL com Dreamweaver MX
06. Curso on-line de PHP
06. PHP & MYSQL-Construindo WebSites
06. PHP Training Heilbronn
06. ZEND:Test Prep PHP5 Cert On-line
06. ZEND:PHP for Experienced Prog
06. ZEND: Framework Fundations
06. ZEND: Framework Advanced On-line
06. ZEND: Test Prep Framework Cert
06. ZEND:PHPI:Foundations (IBMi)
06. ZEND: Sécurité en PHP - en lig
06. ZEND:Framework:Les fondamentaux
06. Основы создания с
07. Curso on-line de PHP-MySQL
07. PHP Class at CalTek
07. Austin PHP Security Training
07. PHP Programming - Des Moines, IA
07. PHP Programming - Chicago,IL
08. UK Object Orientation Workshop
09. UK Smarty Templating Workshop
10. Columbus, OH PHP Training
13. PHP para Expertos Curso on-line
13. Curso PHP y MySQL
13. Schulung PHP & mySQL
14. PHP Training - Seattle,WA
14. WEBINAR Zend Certified Engineer
14. Разработка на PHP 5
16. Chennai PHP Training
17. Разр-ка сложных п�
20. PHP & MySQL Training / Gießen
20. PHP Intro Course South Africa
21. Cursos de PHP en Bilbao
23. PHP Brasil - Training
27. Basic PHP Course
28. UK PHP Training
31. PHP Training
Calling for papers:

PHP 5.3.3 Released!

[22-Jul-2010]

The PHP development team would like to announce the immediate availability of PHP 5.3.3. This release focuses on improving the stability and security of the PHP 5.3.x branch with over 100 bug fixes, some of which are security related. All users are encouraged to upgrade to this release.

Backwards incompatible change:

  • Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn't affect non-namespaced classes.

    <?php
    namespace Foo;
    class Bar {
        public function Bar() {
            // treated as constructor in PHP 5.3.0-5.3.2
            // treated as regular method in PHP 5.3.3
        }
    }
    ?>

    There is no impact on migration from 5.2.x because namespaces were only introduced in PHP 5.3.

Security Enhancements and Fixes in PHP 5.3.3:

  • Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs (CVE-2010-2531).
  • Fixed a possible resource destruction issues in shm_put_var().
  • Fixed a possible information leak because of interruption of XOR operator.
  • Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks.
  • Fixed a possible memory corruption in ArrayObject::uasort().
  • Fixed a possible memory corruption in parse_str().
  • Fixed a possible memory corruption in pack().
  • Fixed a possible memory corruption in substr_replace().
  • Fixed a possible memory corruption in addcslashes().
  • Fixed a possible stack exhaustion inside fnmatch().
  • Fixed a possible dechunking filter buffer overflow.
  • Fixed a possible arbitrary memory access inside sqlite extension.
  • Fixed string format validation inside phar extension.
  • Fixed handling of session variable serialization on certain prefix characters.
  • Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug #51288).
  • Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
  • Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user.
  • Fixed possible buffer overflows when handling error packets in mysqlnd.

Key enhancements in PHP 5.3.3 include:

  • Upgraded bundled sqlite to version 3.6.23.1.
  • Upgraded bundled PCRE to version 8.02.
  • Added FastCGI Process Manager (FPM) SAPI.
  • Added stream filter support to mcrypt extension.
  • Added full_special_chars filter to ext/filter.
  • Fixed a possible crash because of recursive GC invocation.
  • Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).
  • Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function).
  • Fixed bug #52060 (Memory leak when passing a closure to method_exists()).
  • Fixed bug #52001 (Memory allocation problems after using variable variables).
  • Fixed bug #51723 (Content-length header is limited to 32bit integer with Apache2 on Windows).
  • Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3).

For users upgrading from PHP 5.2 there is a migration guide available on http://php.net/migration53, detailing the changes between those releases and PHP 5.3.

For a full list of changes in PHP 5.3.3, see the ChangeLog.


PHP 5.2.14 Released!

[22-Jul-2010]

The PHP development team would like to announce the immediate availability of PHP 5.2.14. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which are security related.

This release marks the end of the active support for PHP 5.2. Following this release the PHP 5.2 series will receive no further active bug maintenance. Security fixes for PHP 5.2 might be published on a case by cases basis. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.

Security Enhancements and Fixes in PHP 5.2.14:

  • Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs.
  • Fixed a possible interruption array leak in strrchr().(CVE-2010-2484)
  • Fixed a possible interruption array leak in strchr(), strstr(), substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), trim().
  • Fixed a possible memory corruption in substr_replace().
  • Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
  • Fixed a possible stack exaustion inside fnmatch().
  • Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug #51288).
  • Fixed handling of session variable serialization on certain prefix characters.
  • Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski.

Key enhancements in PHP 5.2.14 include:

  • Upgraded bundled PCRE to version 8.02.
  • Updated timezone database to version 2010.5.
  • Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).
  • Fixed bug #52237 (Crash when passing the reference of the property of a non-object).
  • Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function).
  • Fixed bug #51822 (Segfault with strange __destruct() for static class variables).
  • Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues).
  • Fixed bug #49267 (Linking fails for iconv on MacOS: "Undefined symbols: _libiconv").

To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a migration guide available on http://php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.

For a full list of changes in PHP 5.2.14 see the ChangeLog at http://www.php.net/ChangeLog-5.php#5.2.14.


TestFest 2010

[23-Jun-2010]

PHP is proud to announce TestFest 2010. TestFest is PHP's annual campaign to increase the overall code coverage of PHP through PHPT tests. During TestFest, PHP User Groups and individuals around the world organize local events where new tests are written and new contributors are introduced to PHP's testing suite.

Last year was very successful with 887 tests submitted and a code coverage increase of 2.5%. This year we hope to do better.

TestFest's own SVN repository and reporting tools are back online for this year's event. New to TestFest this year are automated test environment build tools as well as screencasts showing those build tools in action.

Please visit the TestFest 2010 wiki page for all the details on events being organized in your area, or find out how you can organize your own event.


PHP 5.3.2 Released!

[04-Mar-2010]

The PHP development team is proud to announce the immediate release of PHP 5.3.2. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes.

Security Enhancements and Fixes in PHP 5.3.2:

  • Improved LCG entropy. (Rasmus, Samy Kamkar)
  • Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)
  • Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)

Key Bug Fixes in PHP 5.3.2 include:

  • Added support for SHA-256 and SHA-512 to php's crypt.
  • Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check.
  • Fixed bug #51059 (crypt crashes when invalid salt are given).
  • Fixed bug #50940 Custom content-length set incorrectly in Apache sapis.
  • Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long).
  • Fixed bug #50723 (Bug in garbage collector causes crash).
  • Fixed bug #50661 (DOMDocument::loadXML does not allow UTF-16).
  • Fixed bug #50632 (filter_input() does not return default value if the variable does not exist).
  • Fixed bug #50540 (Crash while running ldap_next_reference test cases).
  • Fixed bug #49851 (http wrapper breaks on 1024 char long headers).
  • Over 60 other bug fixes.

For users upgrading from PHP 5.2 there is a migration guide available here, detailing the changes between those releases and PHP 5.3.

Further information and downloads:

For a full list of changes in PHP 5.3.2, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.


PHP 5.2.13 Released!

[25-Feb-2010]

The PHP development team would like to announce the immediate availability of PHP 5.2.13. This release focuses on improving the stability of the PHP 5.2.x branch with over 40 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.

Security Enhancements and Fixes in PHP 5.2.13:

  • Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)
  • Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. (Ilia)
  • Improved LCG entropy. (Rasmus, Samy Kamkar)

Further details about the PHP 5.2.13 release can be found in the release announcement, and the full list of changes are available in the ChangeLog.


News Archive

 
Atom | show source | credits | stats | sitemap | contact | advertising | mirror sites