Method MasterObject()->runtime_warning()
- Method
runtime_warning
void
runtime_warning(string
subsystem
,string
msg
,mixed
|void
data
)- Description
Called by the Pike runtime to warn about data inconsistencies.
- Parameter
subsystem
Runtime subsystem where the warning was generated. Currently the following subsystems may call this function:
"gc"
The garbage collector.
"runtime"
The runtime itself.
- Parameter
msg
Warning message.
- Parameter
data
Optional data that further describes the warning specified by msg.
Currently the following subsystems and messages are defined:
subsystem message data "gc"
"bad_cycle"
array cycle
A cycle where the destruction order isn't deterministic was detected by the garbage collector.
cycle is an array of the elements in the cycle.
"runtime"
"unsupported_compat"
Version requested_version
Compatibility with a version older than the oldest supported version was requested.
requested_version is the requested version.
- Method
runtime_warning
void
runtime_warning(string
where
,string
what
,mixed
...args
)- Description
Called for every runtime warning. The first argument identifies where the warning comes from, the second identifies the specific message, and the rest depends on that. See code below for currently implemented warnings.