PHP 5.3 compatibility
This commit is contained in:
@ -82,7 +82,7 @@ $GLOBALS['_PEAR_error_handler_stack'] = array();
|
||||
* destructor, use error_log(), syslog() or something similar.
|
||||
*
|
||||
* IMPORTANT! To use the emulated destructors you need to create the
|
||||
* objects by reference: $obj =& new PEAR_child;
|
||||
* objects by reference: $obj = new PEAR_child;
|
||||
*
|
||||
* @since PHP 4.0.2
|
||||
* @author Stig Bakken <ssb@php.net>
|
||||
|
@ -1092,7 +1092,7 @@ class Text_Wiki {
|
||||
}
|
||||
}
|
||||
|
||||
$this->parseObj[$rule] =& new $class($this);
|
||||
$this->parseObj[$rule] = new $class($this);
|
||||
|
||||
}
|
||||
|
||||
@ -1126,7 +1126,7 @@ class Text_Wiki {
|
||||
}
|
||||
}
|
||||
|
||||
$this->renderObj[$rule] =& new $class($this);
|
||||
$this->renderObj[$rule] = new $class($this);
|
||||
}
|
||||
|
||||
|
||||
@ -1157,7 +1157,7 @@ class Text_Wiki {
|
||||
}
|
||||
}
|
||||
|
||||
$this->formatObj[$format] =& new $class($this);
|
||||
$this->formatObj[$format] = new $class($this);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user