PHP
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
- /arrays
- /CLI: using PHP from a command line interface
- /criticism: why PHP is bad
- /debugging
- /declare(): altering PHP behavior within a file, including strict typing
- /enums
- /file-handling
- /frameworks
- /function variable: a variable can be a reference to a function
- /GUI: graphical interface programming in PHP
- /installing
- /inheritance: rules
- /interface keyword
- /operators: there are some relatively obscure ones that aren't well-indexed in the official documentation
- /referencing: how variable references work
- /ReflectionClass
- /string functions
- /trait keyword/concept
- /trait/use: "use" in the context of traits (as opposed to /namespaces)
- /type declaration
- /use has 3 different meanings in PHP
- /XML libraries
Related Articles
- Apache and PHP: getting the two of them to work together nicely
- Perl vs. PHP: comparisons between the two languages
- register_globals
offsite
- wooz:2021/11/25/PHP documentation gripe: a misunderstanding about type-compatibility in method overrrides
Links
Reference
- Web
- Manual
- Language Reference
- Magic constants
- parameter types: Function arguments (aka type hinting)
- Predefined variables
- Language Reference
- Manual
- Wikipedia
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
- phpUnderControl - "Continuous Integration for PHP"