note 93405 added to language.oop5.typehinting

From: Date: Tue, 08 Sep 2009 15:36:24 +0000
Subject: note 93405 added to language.oop5.typehinting
Groups: php.notes 
Request: Send a blank email to php-notes+get-160304@lists.php.net to get a copy of this message
Daniel, thank you for the type hinting class. Very useful. For anyone having a problem where php isn't setting Daniel's error handler, as was the case for me, try changing initializeHandler function to the following: <?php public static function initializeHandler() { set_error_handler(array('Typehint','handleTypehint')); return TRUE; } ?> Hope this helps, --Dmitriy ---- Server IP: 209.41.74.194 Probable Submitter: 64.206.87.86 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.typehinting.php Edit -- https://master.php.net/note/edit/93405 Del: integrated -- https://master.php.net/note/delete/93405/integrated Del: useless -- https://master.php.net/note/delete/93405/useless Del: bad code -- https://master.php.net/note/delete/93405/bad+code Del: spam -- https://master.php.net/note/delete/93405/spam Del: non-english -- https://master.php.net/note/delete/93405/non-english Del: in docs -- https://master.php.net/note/delete/93405/in+docs Del: other reasons-- https://master.php.net/note/delete/93405 Reject -- https://master.php.net/note/reject/93405 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160304) next »