PHP: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 9: Line 9:
Note that much of the information on this page is somewhat outdated; PHP continues to be actively developed and improved.
Note that much of the information on this page is somewhat outdated; PHP continues to be actively developed and improved.
===subpages===
===subpages===
* [[/arrays]]
{| class="wikitable sortable"
* [[/CLI]]: using PHP from a [[command line interface]]
! subpage name || type || about
* [[/criticism]]: why PHP is bad
{{!-!}} [[/arrays/]] || concept
* [[/debugging]]
{{!-!}} [[/CLI/]] || how-to || using PHP from a [[command line interface]]
** [[/debugging/interactive|/interactive]]
{{!-!}} [[/criticism/]] || community || why PHP is bad
* [[/declare]](): altering PHP behavior within a file, including strict typing
{{!-!}} [[/debugging/]] || how-to || especially [[/debugging/interactive|/interactive]]
* [[/enum]]s
{{!-!}} <code>[[/declare/]]()</code>: altering PHP behavior within a file, including strict typing
* [[/file]]-handling
{{!-!}} <code>[[/enum/]]</code> || type/concept
* [[/frameworks]]
{{!-!}} [[/file/]]-handling || how-to
* [[/function variable]]: a variable can be a reference to a function
{{!-!}} [[/frameworks/]]
* [[/GUI]]: graphical interface programming in PHP
{{!-!}} [[/function variable/]]: a variable can be a reference to a function
* [[/installing]]
{{!-!}} [[/fx/]]: function documentation/notes
* [[/interface]] keyword
{{!-!}} [[/GUI/]]: graphical interface programming in PHP
* [[/referencing]]: how variable references work
{{!-!}} [[/installing/]]
* [[/ReflectionClass]]
{{!-!}} [[/inheritance/]] || syntax || rules
** [[/ReflectionClass/getParentClass|ReflectionClass::getParentClass]]
{{!-!}} <code>[[/interface/]]</code> || keyword
* [[/string]] functions
{{!-!}} [[/lib/]]raries || concept: collections of related functions that are provided as add-on modules
* [[/trait]] keyword/concept
{{!-!}} [[/namespace/]]s || keyword/concept
** [[/trait/use]]: "use" in the context of traits (as opposed to [[/namespace]]s)
{{!-!}} [[/operator/]]s || syntax || there are some relatively obscure ones that aren't well-indexed in the official documentation
* [[/type declaration]]
{{!-!}} [[/referencing/]]: how variable references work
{{!-!}} <code>[[/ReflectionClass/]]</code> || native class || especially <code>[[/ReflectionClass/getParentClass|ReflectionClass::getParentClass]]()</code>
{{!-!}} <code>[[/resource/]]</code> || syntax/concept
{{!-!}} {{l/pfx|/resource/|stream}} || a particular type of resource
{{!-!}} [[/string/]] || type/functions
{{!-!}} <code>[[/trait/]]</code> || keyword/concept || including "[[/trait/use|use]]" in the context of traits
{{!-!}} [[/type declaration/]]
{{!-!}} <code>[[/use/]]</code> || keyword || "use" has 3 different meanings in PHP
{{!-!}} [[/XML/]] || libraries
|}


==Related Articles==
==Related Articles==
Line 43: Line 52:
*** [http://php.net/manual/en/langref.php Language Reference]
*** [http://php.net/manual/en/langref.php Language Reference]
**** [http://php.net/manual/en/language.constants.predefined.php Magic constants]
**** [http://php.net/manual/en/language.constants.predefined.php Magic constants]
**** [https://www.php.net/manual/en/language.namespaces.rules.php Name resolution rules]
**** parameter types: [http://php.net/manual/en/functions.arguments.php Function arguments] (aka type hinting)
**** parameter types: [http://php.net/manual/en/functions.arguments.php Function arguments] (aka type hinting)
**** [https://www.php.net/manual/en/reserved.variables.php Predefined variables]
**** [https://www.php.net/manual/en/reserved.variables.php Predefined variables]

Latest revision as of 23:50, 26 March 2026

<hide> page type::article thing type::computer language language type::interpreted </hide>

About

PHP is an interpreted programming language most commonly used in web sites. It is the language in which the MediaWiki, WordPress, Drupal, and ZenCart web software packages, among many others, are written.

Note that much of the information on this page is somewhat outdated; PHP continues to be actively developed and improved.

subpages

subpage name type about
arrays concept
CLI how-to using PHP from a command line interface
criticism community why PHP is bad
debugging how-to especially /interactive
declare(): altering PHP behavior within a file, including strict typing
enum type/concept
file-handling how-to
frameworks
function variable: a variable can be a reference to a function
fx: function documentation/notes
GUI: graphical interface programming in PHP
installing
inheritance syntax rules
interface keyword
libraries concept: collections of related functions that are provided as add-on modules
namespaces keyword/concept
operators syntax there are some relatively obscure ones that aren't well-indexed in the official documentation
referencing: how variable references work
ReflectionClass native class especially ReflectionClass::getParentClass()
resource syntax/concept
stream a particular type of resource
string type/functions
trait keyword/concept including "use" in the context of traits
type declaration
use keyword "use" has 3 different meanings in PHP
XML libraries

offsite

Reference

Social

Projects

  • PHP The Right Way: good practices and patterns
  • Hardened PHP: patches to improve PHP security
  • 3v4l.org "is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use."

Development Tools

Users Groups

Coding Resources