|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-07 21:52 UTC] iliaa@php.net
[2002-10-23 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
Description: virtual() changes current working directory. Setup: Apache 1.3.26 + PHP 4.2.2 To replicate: chdir('/home/heavengames.com/php/'); echo getcwd(); // prints "/home/heavengames.com/php/" virtual('/includes/html_top.shtml'); echo getcwd(); // prints "/home/heavengames.com/includes/html_top.shtml" Expected Behavior: The second getcwd call should still report "/home/heavengames.com/php" as the current directory.