diff --git a/bundled-libs/PEAR.php b/bundled-libs/PEAR.php index 393d68cb..01981459 100644 --- a/bundled-libs/PEAR.php +++ b/bundled-libs/PEAR.php @@ -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 diff --git a/bundled-libs/Text/Wiki.php b/bundled-libs/Text/Wiki.php index 054224ff..ffc84733 100644 --- a/bundled-libs/Text/Wiki.php +++ b/bundled-libs/Text/Wiki.php @@ -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); } diff --git a/include/plugin_api.inc.php b/include/plugin_api.inc.php index 11e6a124..3cf8edc2 100644 --- a/include/plugin_api.inc.php +++ b/include/plugin_api.inc.php @@ -557,7 +557,7 @@ class serendipity_plugin_api } // $serendipity['debug']['pluginload'][] = "Returning new $class_name($instance_id)"; - $p =& new $class_name($instance_id); + $p = new $class_name($instance_id); if (!is_null($authorid)) { $p->serendipity_owner = $authorid; } else { diff --git a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php index e3b2e8c5..e2b5acc0 100644 --- a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php +++ b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php @@ -619,7 +619,7 @@ class serendipity_event_textwiki extends serendipity_event include_once S9Y_PEAR_PATH . 'Text/Wiki.php'; if (class_exists('Text_Wiki')) { - $this->wiki =& new Text_Wiki; + $this->wiki = new Text_Wiki; $this->wiki->setFormatConf('Xhtml', 'translate', null); $this->wiki->setFormatConf('Xhtml', 'charset', LANG_CHARSET); } else {