28 if ( !isset( $GLOBALS[$this->name] ) ) {
29 if ( is_callable( $callback ) ) {
30 $callback(
"No global named {$this->name}" );
35 if ( $GLOBALS[$this->name] != $this->value ) {
36 if ( is_callable( $callback ) ) {
39 $old = @var_export( $this->value,
true );
40 $new = @var_export( $GLOBALS[$this->name],
true );
42 $callback(
"Value of global {$this->name} changed from {$old} to {$new}" );