|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-03 14:50 UTC] sjoerd@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Feb 11 17:00:01 2026 UTC |
Description: ------------ When I execute this code, the first eval() works, but the second breaks. It's a bug? Reproduce code: --------------- eval('echo dirname(__FILE__);'); echo "<br>"; eval('echo basename(__FILE__);'); Expected result: ---------------- The second eval() works. Actual result: -------------- The second eval(): eval()'d code