@@ -255,15 +255,15 @@ function parseBetweenTags($betweenTagText) {
255255 * @param Array The start element attributes
256256 */
257257 function fireStartElementEvent ($ tagName , $ attributes ) {
258- call_user_func ($ this ->startElementHandler , &$ this , $ tagName , $ attributes );
258+ call_user_func ($ this ->startElementHandler , array ( &$ this ) , $ tagName , $ attributes );
259259 } //fireStartElementEvent
260260
261261 /**
262262 * Fires an end element event
263263 * @param string The end element tag name
264264 */
265265 function fireEndElementEvent ($ tagName ) {
266- call_user_func ($ this ->endElementHandler , &$ this , $ tagName );
266+ call_user_func ($ this ->endElementHandler , array ( &$ this ) , $ tagName );
267267 } //fireEndElementEvent
268268
269269 /**
@@ -276,15 +276,15 @@ function fireCharacterDataEvent($data) {
276276 $ data = strtr ($ data , $ this ->definedEntities );
277277 }
278278
279- call_user_func ($ this ->characterDataHandler , &$ this , $ data );
279+ call_user_func ($ this ->characterDataHandler , array ( &$ this ) , $ data );
280280 } //fireCharacterDataEvent
281281
282282 /**
283283 * Fires a CDATA Section event
284284 * @param string The CDATA Section data
285285 */
286286 function fireCDataSectionEvent ($ data ) {
287- call_user_func ($ this ->cDataSectionHandler , &$ this , $ data );
287+ call_user_func ($ this ->cDataSectionHandler , array ( &$ this ) , $ data );
288288 } //fireCDataSectionEvent
289289} //SAXY_Parser_Base
290290
0 commit comments