| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2013-04-04 08:30 UTC] pollita@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: pollita
  [2013-04-04 08:30 UTC] pollita@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 06:00:01 2025 UTC | 
Description: ------------ Unlike the standard open_basedir, Runkit_Sandbox does not support multiple paths separated by the PATH_SEPARATOR (e.g. "/foo:/bar") Test script: --------------- <?php $sandbox = new Runkit_Sandbox( array( "open_basedir" => sys_get_temp_dir() . PATH_SEPARATOR .getcwd() ) ); $sandbox->eval('var_dump(ini_get("open_basedir"));'); // string(1) "" (== chr(1)) // vs. $sandbox = new Runkit_Sandbox( array( "open_basedir" => sys_get_temp_dir() ) ); $sandbox->eval('var_dump(ini_get("open_basedir"));'); // string(4) "/tmp" Expected result: ---------------- The same as with regular PHP, that both (any number of) paths is accessible, and any paths below them, but none above.