PHP error category

Legacy PHP

Removed and historical behavior.

Legacy PHP errors arise when removed and historical behavior affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.

The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.

Guides in this category

Title Pattern Severity
Call to undefined function create_function Fatal error: Uncaught Error: Call to undefined function create_function() in %s on line %d fatal
Call to undefined function each Fatal error: Uncaught Error: Call to undefined function each() in %s on line %d fatal
Call to undefined function mysql_connect Fatal error: Uncaught Error: Call to undefined function mysql_connect() in %s on line %d fatal
Unexpected T_STRING Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in %s on line %d parse
Unexpected T_VARIABLE Parse error: syntax error, unexpected T_VARIABLE in %s on line %d parse
Use of undefined constant assumed string Notice: Use of undefined constant status - assumed 'status' in %s on line %d notice

Helpful tools