note 73104 added to language.pseudo-types

From: Date: Thu, 08 Feb 2007 22:44:42 +0000
Subject: note 73104 added to language.pseudo-types
Groups: php.notes 
Request: Send a blank email to php-notes+get-123158@lists.php.net to get a copy of this message
Parent methods for callbacks should be called 'parent::method', so if you wish to call a non-static parent method via a callback, you should use a callback of <? // always works $callback = array($this, 'parent::method') // works but gives an error in PHP5 with E_STRICT if the parent method is not static $callback array('parent', 'method'); ?> ---- Server IP: 203.16.234.90 Probable Submitter: 210.84.13.134 ---- Manual Page -- http://www.php.net/manual/en/language.pseudo-types.php Edit -- https://master.php.net/note/edit/73104 Del: integrated -- https://master.php.net/note/delete/73104/integrated Del: useless -- https://master.php.net/note/delete/73104/useless Del: bad code -- https://master.php.net/note/delete/73104/bad+code Del: spam -- https://master.php.net/note/delete/73104/spam Del: non-english -- https://master.php.net/note/delete/73104/non-english Del: in docs -- https://master.php.net/note/delete/73104/in+docs Del: other reasons-- https://master.php.net/note/delete/73104 Reject -- https://master.php.net/note/reject/73104 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123158) next »