PHP

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 15:08, 25 December 2025 by Woozle (talk | contribs) (subpages)

<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
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
enums type
file-handling how-to
frameworks
function variable: a variable can be a reference to a function
GUI: graphical interface programming in PHP
installing
inheritance syntax rules
interface keyword
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()
string type/functions
trait keyword/concept including "use" in the context of traits
type declaration
use syntax 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