php_error() 와 php_error_noreturn() 함수를 검색해서 추출한 메세지.
당연하게도 일부 문자열이 치환되는 printf 형태다.
추후 PHP 에러메세지 번역 프로젝트같은 거 할 때 쓰려고 저장함.
단순히 %s 만 덜렁 있는 메세지같은 건 제외했음.




PHP error messages from source (PHP 5.2.9)

%s cannot implement %s - it is not an interface 
 
%s function %s::%s() cannot be declared private 
 
%s function %s::%s() cannot contain body 
 
%s%s%s() expects %s %d parameter% 
 
%s%s%s() expects parameter %d to be % 
 
%s%s%s() expects parameter %d to be a class name derived from % 
 
%s%s%s() expects parameter %d to be a valid class nam 
 
%s%s%s(): %d is not a valid %s resource 
 
%s%s%s(): bad type specifier while parsing parameters 
 
%s%s%s(): no %s resource supplied 
 
%s%s%s(): supplied argument is not a valid %s resource 
 
%s%s%s(): supplied resource is not a valid %s resource 
 
%s() cannot be called statically 
 
%s() expects the argument (%s) to be a valid callback 
 
%s() has been disabled for security reasons 
 
%s() must take exactly 1 argument 
 
%s(): could not obtain parameters for parsing 
 
%s:  Unable to register function 
 
%s::%s() must be derived from %s::%s 
 
%s::__toString() did not return anything 
 
%s::__toString() must return a string 
 
A non well formed numeric value encountered 
 
Access level to %s::$%s must be %s (as in class %s)%s 
 
Access level to %s::%s() must be %s (as in class %s)%s 
 
Access to undeclared static property: %s::$%s 
 
Access type for interface method %s::%s() must be omitted 
 
Accessing static property %s::$%s as non static 
 
An iterator cannot be used with foreach by reference 
 
Argument %d passed to %s%s%s() must %s% 
 
Array to string conversion 
 
Arrays are not allowed in class constants 
 
Arrived at end of main loop which shouldn't happen 
 
Assigning the return value of new by reference is deprecated 
 
Attempt to assign property of non-object 
 
Attempt to increment/decrement property of non-object 
 
Attempt to unset static property %s::$%s 
 
Balloc() allocation exceeds list boundary 
 
Balloc() failed to allocate memory 
 
Call to %s method %s::%s() from context '%s' 
 
Call to a member function %s() on a non-object 
 
Call to private %s::%s() from context '%s' 
 
Call to private %s::%s() from invalid context 
 
Call to private %s::__clone() from context '%s' 
 
Call to protected %s::%s() from context '%s' 
 
Call to protected %s::%s() from invalid context 
 
Call to protected %s::__clone() from context '%s' 
 
Call to undefined function %s() 
 
Call to undefined method %s::%s() 
 
Call-time pass-by-reference has been deprecated 
 
Can not call constructor 
 
Can only throw objects 
 
Can't inherit abstract function %s::%s() (previously declared abstract in %s) 
 
Can't use function return value in write context 
 
Can't use method return value in write context 
 
Cannot access %s property %s::$%s 
 
Cannot access empty property 
 
Cannot access parent:: when current class scope has no parent 
 
Cannot access parent:: when no class scope is active 
 
Cannot access property started with '\\0' 
 
Cannot access self:: when no class scope is active 
 
Cannot access undefined property for object with overloaded property access 
 
Cannot add element to the array as the next element is already occupied 
 
Cannot add internal functions to return value from get_defined_functions() 
 
Cannot add user functions to return value from get_defined_functions() 
 
Cannot assign by reference to overloaded object 
 
Cannot break/continue %d level%s 
 
Cannot call __clone() method on objects - use 'clone $obj' instead 
 
Cannot call abstract method %s::%s() 
 
Cannot call method %s() of class %s which is not a derived from %s 
 
Cannot call method %s() or method does not exist 
 
Cannot call method %s::%s() or method does not exist 
 
Cannot call overloaded function for non-object 
 
Cannot call private %s::__construct() 
 
Cannot convert to ordinal value 
 
Cannot convert to real value (type=%d) 
 
Cannot create references to elements of a temporary array expression 
 
Cannot create references to/from string offsets nor overloaded objects 
 
Cannot declare self-referencing constant '%s' 
 
Cannot get arguments for __call 
 
Cannot increment/decrement overloaded objects nor string offsets 
 
Cannot inherit previously-inherited or override constant %s from interface %s 
 
Cannot instantiate %s %s 
 
Cannot load module '%s' because conflicting module '%s' is already loaded 
 
Cannot load module '%s' because required module '%s' is not loaded 
 
Cannot make non abstract method %s::%s() abstract in class %s 
 
Cannot make non static method %s::%s() static in class %s 
 
Cannot make static method %s::%s() non static in class %s 
 
Cannot open '%s' for reading 
 
Cannot override final %s::%s() with %s::%s() 
 
Cannot override final method %s::%s() 
 
Cannot pass parameter %d by reference 
 
Cannot re-assign $this 
 
Cannot read property of object - no read handler defined 
 
Cannot redeclare %s() 
 
Cannot redeclare %s() (previously declared in %s:%d) 
 
Cannot redeclare %s::$%s 
 
Cannot redeclare %s::%s() 
 
Cannot redeclare class %s 
 
Cannot redefine class constant %s::%s 
 
Cannot return string offsets by reference 
 
Cannot unset offset in a non-array variable 
 
Cannot unset string offsets 
 
Cannot use '%s' as class name as it is reserved 
 
Cannot use 'parent' as class name as it is reserved 
 
Cannot use 'parent' as interface name as it is reserved 
 
Cannot use 'self' as class name as it is reserved 
 
Cannot use 'self' as interface name as it is reserved 
 
Cannot use [] for reading 
 
Cannot use [] for unsetting 
 
Cannot use a NULL value as an array 
 
Cannot use a scalar value as an array 
 
Cannot use assign-op operators with overloaded objects nor string offsets 
 
Cannot use call_user_function on objects without a class entry 
 
Cannot use constants as encoding 
 
Cannot use object as array 
 
Cannot use object of type %s as array 
 
Cannot use string offset as an array 
 
Cannot use string offset as an object 
 
Cannot use the final modifier on an abstract class member 
 
Cannot write property of object - no write handler defined 
 
Class %s cannot extend from interface %s 
 
Class %s cannot implement previously implemented interface %s 
 
Class %s contains %d abstract method%s and must therefore be declared abstract or implement the remaining methods (" MAX_ABSTRACT_INFO_FMT MAX_ABSTRACT_INFO_FMT MAX_ABSTRACT_INFO_FMT ") 
 
Class %s could not implement interface %s 
 
Class %s has no unserializer 
 
Class %s may not inherit from final class (%s) 
 
Class '%s' not found 
 
Class constants cannot be defined or redefined 
 
Class declarations may not be nested 
 
Class entry requested for an object without PHP class 
 
Class name must be a valid object or a string 
 
Clone method %s::%s() cannot be static 
 
Clone method does not require arguments 
 
Compression failed 
 
Constant %s already defined 
 
Constants may only evaluate to scalar values 
 
Constructor %s::%s() cannot be static 
 
Cookie names can not contain any of the following ' 
 
Cookie values can not contain any of the following  
 
Corrupt member variable name 
 
Corrupted fcall_info provided to zend_call_function() 
 
Couldn't execute method %s%s%s 
 
Couldn't find implementation for method %s%s%s 
 
Creating default object from empty value 
 
Declaration of %s::%s() must be compatible with that of %s::%s() 
 
Declaration of %s::%s() should be compatible with that of %s::%s() 
 
Default value for parameters with a class type hint can only be NULL 
 
Default value for parameters with array type hint can only be an array or NULL 
 
Destructor %s::%s() cannot be static 
 
Destructor %s::%s() cannot take arguments 
 
Division by zero 
 
Exception thrown without a stack frame 
 
Exceptions must be derived from the Exception base class 
 
Exceptions must be valid objects derived from the Exception base class 
 
Expiry date cannot have a year greater then 9999 
 
Failure installing Tidy output buffering. 
 
Field width %d is too long 
 
First parameter must either be an object or the name of an existing class 
 
Function %s%s%s() is deprecated 
 
Function %s(%s) threw an exception of type '%s' 
 
Function name must be a string 
 
Function registration failed - duplicate name - %s%s%s 
 
Ignoring exception from %s::__destruct() while an exception is already active (Uncaught %s in %s on line %ld) 
 
Illegal member variable name 
 
Illegal offset type 
 
Illegal offset type in isset or empty 
 
Illegal offset type in unset 
 
Illegal string offset:  %d 
 
Illegal type returned from %s::key() 
 
Implicit cloning object of class '%s' because of 'zend.ze1_compatibility_mode' 
 
Indirect modification of overloaded element of %s has no effect 
 
Indirect modification of overloaded property %s::$%s has no effect 
 
Insufficient data for unserializing - %ld require 
 
Interface %s cannot contain non abstract method %s() 
 
Interface %s cannot implement itself 
 
Interface %s may not inherit from class (%s) 
 
Interface '%s' not found 
 
Interfaces may not include member variables 
 
Internal Zend error - Missing class information for %s 
 
Internal compiler error.  Please report! 
 
Internal error: Cannot find extension function %s in global function table 
 
Internal error: Could not find the property %s::%s 
 
Internal error: Failed to retrieve the argument's reflection object 
 
Internal error: Failed to retrieve the reflection object 
 
Internal zval's can't be array 
 
Invalid access level for %s%s%s() - access must be exactly one of publi 
 
Invalid argument supplied for foreach() 
 
Invalid binding type 
 
Invalid error type specified 
 
Invalid opcode %d/%d/%d. 
 
Invalid opcode %d/%d/%d.\" 
 
Invocation of %s's constructor failed 
 
Invoke() expects at least one paramete 
 
It is not yet possible to assign complex types to %s 
 
Key element cannot be a reference 
 
Length must be greater than or equal to 0 
 
Method %s%s%s() cannot be a NULL function 
 
Method %s::%s() cannot accept any arguments 
 
Method %s::%s() cannot be static 
 
Method %s::%s() cannot take arguments by reference 
 
Method %s::%s() must take exactly 1 argument 
 
Method %s::%s() must take exactly 2 arguments 
 
Method %s::__toString() must not throw an exception 
 
Method %s::__toString() must return a string value 
 
Method name must be a string 
 
Missing argument %ld for %s%s%s( 
 
Missing argument %ld for %s%s%s() 
 
Module '%s' already loaded 
 
Multiple access type modifiers are not allowed 
 
Need to supply an object when throwing an exception 
 
Nesting level too deep - recursive dependency? 
 
Non-abstract method %s::%s() must contain body 
 
Non-callable array passed to zend_call_function() 
 
Non-static method %s::%s() %s be called staticall 
 
Non-static method %s::%s() %s be called statically 
 
Non-static method %s::%s() cannot be called staticall 
 
Non-static method %s::%s() cannot be called statically 
 
Nothing returned from %s::key() 
 
Object does not support method calls 
 
Object of class %s could not be converted to double 
 
Object of class %s could not be converted to int 
 
Object of class %s could not be converted to string 
 
Object of class %s to string conversion 
 
Only variable references should be returned by reference 
 
Only variables can be passed by reference 
 
Only variables should be assigned by reference 
 
Only variables should be passed by reference 
 
Parameter wasn't passed by reference 
 
Possible integer overflow in memory allocation (%zu * %zu + %zu) 
 
Properties cannot be declared abstract 
 
Property %s of class %s cannot be read 
 
Property %s of class %s cannot be updated 
 
Redefining already defined constructor for class %s 
 
Resource ID#%ld used as offse 
 
Static function %s%s%s() cannot be abstract 
 
Static function %s%s%s() should not be abstract 
 
String is not zero-terminated (%s) 
 
String is not zero-terminated (%s) (source: %s:%d) 
 
String size overflow 
 
Supplied argument is not a valid resource handle 
 
That's not a dispatchable interface!! type kind = %08x 
 
This object doesn't support property references 
 
Trying to clone an uncloneable object 
 
Trying to clone an uncloneable object of class %s 
 
Trying to clone uncloneable object of class %s 
 
Trying to get property of non-object 
 
Unable to cast node to string 
 
Unable to find typeinfo using the parameters supplied 
 
Unable to start %s module 
 
Uncaught exception '%s' 
 
Undefined class constant '%s' 
 
Undefined index:  %s 
 
Undefined offset for object of type %s used as array 
 
Undefined offset:  %ld 
 
Undefined property: %s 
 
Undefined property: %s::$%s 
 
Undefined variable: %s 
 
Unexpected character in input:  '%c' (ASCII=%d) state=%d 
 
Unexpected inconsistency in create_function() 
 
Uninitialized string offset: %ld 
 
Unknown class passed as parameter 
 
Unknown list entry type in request shutdown (%d) 
 
Unknown persistent list entry type in module shutdown (%d) 
 
Unsupported encoding [%s] 
 
Unsupported operand types 
 
Unterminated comment starting line %d 
 
Usage of {} to access string offsets is deprecated and will be removed in PHP 6 
 
Use of undefined constant %s - assumed '%s' 
 
Using $this when not in object context 
 
Variable passed to each() is not an array or object 
 
Wrong parameter count for %s%s%s() 
 
Wrong parameters for ErrorException([string $exception  
 
Wrong parameters for Exception([string $exception  
 
You MUST load PDO before loading any PDO drivers 
 
[] operator not supported for strings 
 
[json] (php_json_encode) double %.9g does not conform to the JSON spe 
 
[json] (php_json_encode) type is unsupporte 
 
__HALT_COMPILER() can only be used from the outermost scope 
 
__clone method called on non-object 
 
add_assoc_function() is no longer supported 
 
foreach() can not iterate over objects without PHP class 
 
func_get_arg():  Argument %ld not passed to function 
 
func_get_arg():  Called from the global scope - no function context 
 
func_get_arg():  The argument number should be >= 0 
 
func_get_arg(): Can't be used as a function parameter 
 
func_get_args():  Called from the global scope - no function context 
 
func_get_args(): Can't be used as a function parameter 
 
func_num_args():  Called from the global scope - no function context 
 
func_num_args(): Can't be used as a function parameter 
 
get_class() called without object from outside a class 
 
instanceof expects an object instanc 
 
invalid type '%s' passed to xmlrpc_set_type() 
 
is_a(): Deprecated. Please use the instanceof operator 
 
onst char *forma 
 
options should have the form [\"wrappername\"][\"optionname\"] = $value 
 
request_startup() for %s module failed 
 
use: Not yet supported. Please use include_once() or require_once() 
 
 
 

 




Posted by bloodguy
,