mirror of
https://github.com/php/web-pres2.git
synced 2026-03-23 23:12:07 +01:00
Fixed PHP-4ism where it was common (but still wrong) to pass arrays by reference
This commit is contained in:
@@ -106,7 +106,7 @@ class XML_Presentation extends XML_Parser
|
||||
* @param array Attributes of XML tag
|
||||
* @return void
|
||||
*/
|
||||
function startHandler($parser, $element, &$attribs)
|
||||
function startHandler($parser, $element, $attribs)
|
||||
{
|
||||
switch ($element) {
|
||||
/* These tags can have other tags inside */
|
||||
|
||||
@@ -98,7 +98,7 @@ class XML_Slide extends XML_Parser
|
||||
* @param array Attributes of XML tag
|
||||
* @return void
|
||||
*/
|
||||
function startHandler($parser, $element, &$attribs)
|
||||
function startHandler($parser, $element, $attribs)
|
||||
{
|
||||
switch ($element) {
|
||||
/* These tags can have other tags inside */
|
||||
|
||||
Reference in New Issue
Block a user