|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-15 15:51 UTC] felipe@php.net
[2011-11-15 15:51 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
Description: ------------ Sometimes under undetermined conditions eval() does not see the local scope function variables. $returnTo = $_SERVER['REQUEST_URI']; eval('$this->content = "' . $this->application->getTemplate('/admin/user/login/login') . '";'); Assuming that I have $returnTo variable inside a '/admin/user/login/login', I see the "Notice: undefined variable $returnTo", while evaling it. But, If I create a dummy function moo() and eval somthing there the notice is gone. See whole listing for details. Test script: --------------- Whole listing: http://kinokapsula.artgorbunov.ru/bug.php