3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str =" "roots" => array( array( "driver" => "LocalFileSystem", // driver for accessing file system (REQUIRED) "path" => "../files/", // path to files (REQUIRED) //"URL" => dirname($_SERVER["PHP_SELF"]) . "/../files/", // URL to files (REQUIRED) "accessControl" => "access" , // disable and hide dot starting files (OPTIONAL) "alias" => "Root", //"uploadDeny" => array("all"), "attributes" => array( array( "pattern" => "/\manuali$/", //You can also set permissions for file types by adding, for example, <b>.jpg</b> inside pattern. // "pattern" =>"/\PROVA$/", "read" => true, "write" => false, "locked" => true, ), array( "pattern" => "/rapporti$/", //You can also set permissions for file types by adding, for example, <b>.jpg</b> inside pattern. // "pattern" =>"/\PROVA$/", "read" => true, "write" => true, "locked" => true, ) [...] "";
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'roots' (T_STRING) in /in/B4GLr on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/B4GLr on line 3
Process exited with code 255.