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]

July

User Group Events

26. Long Island PHP Users Group
27. New York
27. AzPHP
27. Malaysia PHP Meetup
27. PHP Usergroup Karlsruhe
27. PHPUG Wuerzburg
27. DCPHP Beverage Subgroup
27. Brisbane PHP User Group
28. Irish PHP Users Group meeting
28. Colorado Springs - FRPUG
29. Arabic PHP Group Meeting
29. Malaysia PHP User Group Meet Up
29. Sandy PHP Group
31. Miami Linux Meetup
31. PHP RIO Meetup
31. PHP User Group Hong Kong

August

User Group Events

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

Training

01. Ahmedabad PHP Group Training
02. MySQL Spain
02. Curso PHP Madrid
02. PHP E-Learning/Germany
02. Curso on-line ActionScript / PHP
02. PHP & MySQL Training in Kassel
02. PHP & MySQL com Dreamweaver MX
02. Curso on-line de PHP
02. PHP & MYSQL-Construindo WebSites
02. PHP Training Heilbronn
02. PHP. Основы создани
02. ZEND:PHP I:Foundations online
02. ZEND:PHPII Higher Structures
02. ZEND: Studio on-line class
02. PHP Essentials
02. PHP & MySQL : Advanced Training
03. Curso on-line de PHP-MySQL
03. PHP Class at CalTek
04. PHP Training - Chennai - India
04. Zend Certification
05. Curso de PHP Avanzado en Bilbao
07. PHP & AJAX -Construindo Websites
07. Core and Advanced PHP Workshop
08. Learning to Program in PHP
09. PHP para Expertos Curso on-line
09. Curso PHP y MySQL
09. PHP Programming
09. Advanced PHP Training
09. LAMP Training in Montreal
09. PHP Training Philippines
11. UK Object Orientation Workshop
12. UK Smarty Templating Workshop
13. Object Oriented programming &PHP
16. PHP & MySQL Training / Gießen
16. ZEND:Test Prep: PHP 5 cert
16. ZEND: Framework Fundamentals
17. Cursos de PHP en Bilbao
19. Chennai PHP Training
23. PHP Intro Course South Africa
23. PHP Fortgeschrittene Seminar
23. LAMP Training in Quebec City
24. UK PHP Training
24. ZEND: PHP Security
25. PHP Techniques
26. PHP Brasil - Training
30. Basic PHP Course
30. GERMAN: Zend Studio on-line
31. Zend Framework Philippines

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 | sitemap | contact | advertising | mirror sites