FAQ

The PHP FAQ is your first stop for general information and those questions that seem to be on most people\'s minds.

More Information

The PHP Function Table has an overview about which pages are translated to the different languages and in which versions of PHP the functions are available.

If you have license questions, see the License FAQ

Books

Books are convenient resources to begin exploring PHP. The titles listed here will help you to start learning PHP, as well as extending your existing knowledge.

Sample Code

Looking for some more sample PHP scripts? Our links page page lists some archives of sample PHP code - great places to find many example scripts and useful functions, organized for your searching pleasure!

'; commonHeader("Documentation"); $man_languages = array('en', 'pt_BR', 'cs', 'nl', 'fr', 'de', 'hu', 'it', 'ja', 'kr', 'es'); # array structure: (header, link text, show_size_in_link) $formats = array( "" => array("View Online", "view", false), "html/" => array("View Online (plain)", "view", false), "bigmanual.html.gz" => array("Single HTML", "html.gz", true), "manual.txt.gz" => array("Plain text", "txt.gz", true), "manual.tar.gz" => array("Many HTML files", "tar.gz", true), "manual.tar.bz2" => array("Many HTML files", "tar.bz2", true), "manual.zip" => array("Many HTML files", "zip", true), "manual.pdf" => array("PDF", "pdf", false), "manual_doc.pdb" => array("PalmPilot DOC", "doc.pdb", true), "manual_isilo.pdb" => array("PalmPilot iSilo", "isilo.pdb", true), "manual.chm" => array("Windows HTML Help", "chm", true) ); ?>

PHP Manual

The PHP manual is available in a selection of languages and formats. Pick a language and format from the table below. Tip: If you are using a capable browser, the file size and date will show up when you move the mouse above the link. If you use another browser, or would like to see all the information, you can click here to see all the file sizes and dates.

Note that the packaged versions of the manual (tar.gz, tar.bz2 and zip) don't contain any directories, so all of the files will be dumped into your current working directory when you expand the archive unless the tool you use does otherwise.

$v[0]\n"; }?> \n\n"; reset($formats); while (list($fn,$details) = each($formats)) { echo "\n"; } }?>
 
$language"; # temporary hacks until pdf and chm are auto-generated if ($fn == "manual.pdf") { # $link_to = "http://snaps.php.net/~jah/pdf/manual-$langcode.pdf"; $link_to = 'down'; } elseif ($fn == "manual.chm") { $link_to = "distributions/manual_$langcode.chm"; } else { $link_to = "manual/$langcode/$fn"; } # if no size required [pdf, online], then just print, else # decide what to do according to the $size of the file if (!$details[2]) { if ($link_to == 'down') echo "PDF Format Unavailable Temporarily"; else echo "$details[1]"; } else { $size = @filesize($link_to); $changed = @filemtime($link_to); $date_format = "j M Y"; // Part of the RFC date type (to be short) if ($size) { echo "$details[1]"; if ($sizes) { echo "
Size: " . (int) ($size/1024) . "Kb
Date: " . date ($date_format, $changed) . "
"; } } else { echo " "; } } echo "

Annotated PHP Manual

French PHP Manual

The French PHP manual is also available on an external site, in differents formats. Documentation is the official flavor, while formating and localization has been worked some more (function and examples indexes, short version, search engine..). Besides, those are compressed for faster download.

La documentation Française est disponible sur un site secondaire, dans différents formats. C'est la version officielle, complètement francisée et retravaillée. De plus, ces docs sont compressées.

CVS Account

Old/Unsupported Information