note 97251 added to language.oop5.overloading

From: Date: Sat, 10 Apr 2010 14:29:23 +0000
Subject: note 97251 added to language.oop5.overloading
Groups: php.notes 
Request: Send a blank email to php-notes+get-168102@lists.php.net to get a copy of this message
If you use debug_backtrace() in a __call method, there missing the line and file info. <?php class Sample { function __call($sMethod, $aArguments) { $aBacktrace = debug_backtrace(); print $aBacktrace[0]['file']; // missing print $aBacktrace[0]['line']; // missing } } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 84.156.63.85 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.overloading.php Edit -- https://master.php.net/note/edit/97251 Del: integrated -- https://master.php.net/note/delete/97251/integrated Del: useless -- https://master.php.net/note/delete/97251/useless Del: bad code -- https://master.php.net/note/delete/97251/bad+code Del: spam -- https://master.php.net/note/delete/97251/spam Del: non-english -- https://master.php.net/note/delete/97251/non-english Del: in docs -- https://master.php.net/note/delete/97251/in+docs Del: other reasons-- https://master.php.net/note/delete/97251 Reject -- https://master.php.net/note/reject/97251 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168102) next »