|
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-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 23:00:01 2025 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