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]

September

User Group Events

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
28. Milwaukee PHP User Group
29. Irish PHP Users Group meeting
29. Learn to use API's like Google
30. Arabic PHP Group Meeting
30. Malaysia PHP User Group Meet Up
30. Sandy PHP Group

October

Conferences

09. PHPNW10: Conference Manchester
11. International PHP Conference

User Group Events

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

Training

01. ZEND:PHP I:Foundations online
01. ZEND:PHPII Higher Structures
01. ZEND:PHP I:Foundations (i5)
01. PHP Zend Certified Engineer
02. PHP & AJAX -Construindo Websites
02. Core and Advanced PHP Workshop
03. Ahmedabad PHP Group Training
03. php training
04. MySQL Spain
04. Curso PHP Madrid
04. PHP E-Learning/Germany
04. Curso on-line ActionScript / PHP
04. PHP & MySQL Training in Kassel
04. PHP & MySQL com Dreamweaver MX
04. Curso on-line de PHP
04. PHP & MYSQL-Construindo WebSites
04. PHP Training Heilbronn
04. PHP Fortgeschrittene Seminar
04. ZEND:PHP for Experienced Prog
04. ZEND: Studio On-line class
04. ZEND: Framework Fundamentals
04. NEW!! Zend: Framework Advanced
04. ZEND: Server On-line Class
04. ZEND:PHPI:Foundations (IBMi)
05. Curso on-line de PHP-MySQL
05. PHP Class at CalTek
06. PHP Training - Chennai - India
06. Zend Certification
06. ZEND: PHP II (Roma)
07. Curso de PHP Avanzado en Bilbao
11. PHP para Expertos Curso on-line
11. Curso PHP y MySQL
11. ZEND: PHP I: Foundations On-line
11. Formation PHP niveau 1 a Paris
11. ZEND:PHP II On-line
11. ZEND: PHP I (IBMi) - Paris
12. LAMP Training in Quebec City
13. UK Object Orientation Workshop
13. ZEND:Framework Fundamentals (IT)
14. UK Smarty Templating Workshop
18. PHP & MySQL Training / Gießen
18. PHP Intro Course South Africa
18. Italian:PHP I: Fondamenti
18. ZEND:Test Prep PHP5 Cert On-line
19. Cursos de PHP en Bilbao
21. Chennai PHP Training
25. Basic PHP Course
26. UK PHP Training
26. ZEND: PHP Security On-line
28. PHP Brasil - Training
29. PHP Training
31. Learning to Program in PHP

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