3v4l.org

run code in 300+ PHP versions simultaneously
<?php function permission($filename) { $perms = fileperms($filename); if (($perms & 0xC000) == 0xC000) { $info = 's'; } elseif (($perms & 0xA000) == 0xA000) { $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { $info = 'p'; } else { $info = 'u'; } // владелец $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); // группа $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); // все $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; } function dir_list($dir) { if ($dir[strlen($dir)-1] != '/') $dir .= '/'; if (!is_dir($dir)) return array(); $dir_handle = opendir($dir); $dir_objects = array(); while ($object = readdir($dir_handle)) if (!in_array($object, array('.','..'))) { $filename = $dir . $object; $file_object = array( 'name' => $object, 'size' => filesize($filename), 'perm' => permission($filename), 'type' => filetype($filename), 'time' => date("d F Y H:i:s", filemtime($filename)) ); $dir_objects[] = $file_object; } return $dir_objects; } ?> call: <?php print_r(dir_list('/')); ?>
Output for 7.4.26 - 7.4.32, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
call: Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Niaok on line 38 Array ( )
Output for 8.0.13
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 160 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 2082920 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 10014 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 10014 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 60 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.2 - 5.1.6, 5.2.0 - 5.2.17, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.13, 7.4.13 - 7.4.25, 8.0.0 - 8.0.12
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 100 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 55020 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 10 [perm] => drwxr-x--x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 7.4.33
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [2] => Array ( [name] => run [size] => 80 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 18:20:28 ) [3] => Array ( [name] => etc [size] => 408 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [4] => Array ( [name] => tmp [size] => 78900 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 18:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [8] => Array ( [name] => bin [size] => 10686 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 18:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 18:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 18:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 18:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 18:20:28 ) [16] => Array ( [name] => sbin [size] => 10686 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 18:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) [18] => Array ( [name] => in [size] => 60 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 18:20:28 ) )
Output for 7.2.14 - 7.2.34, 7.3.0 - 7.3.32, 7.4.0 - 7.4.12
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 100 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 55020 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 20 [perm] => drwxr-x--x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 7.3.33
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 80 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 66340 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 9994 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 9994 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 60 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
call: Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /in/Niaok on line 51 Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 100 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 55020 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 10 [perm] => drwxr-x--x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 5.3.0 - 5.3.29
call: Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /in/Niaok on line 51 Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [2] => Array ( [name] => run [size] => 100 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [4] => Array ( [name] => tmp [size] => 55020 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 16:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [8] => Array ( [name] => bin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 16:20:28 ) [16] => Array ( [name] => sbin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 16:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 16:20:28 ) [18] => Array ( [name] => in [size] => 10 [perm] => drwxr-x--x [type] => dir [time] => 18 October 2012 16:20:28 ) )
Output for 5.1.0 - 5.1.1
call: Array ( [0] => Array ( [name] => var [size] => 96 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [1] => Array ( [name] => dev [size] => 400 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [2] => Array ( [name] => run [size] => 100 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 17:20:28 ) [3] => Array ( [name] => etc [size] => 364 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [4] => Array ( [name] => tmp [size] => 55020 [perm] => drwxrwxrwt [type] => dir [time] => 18 October 2012 17:20:28 ) [5] => Array ( [name] => sys [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [6] => Array ( [name] => proc [size] => 0 [perm] => dr-xr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [7] => Array ( [name] => usr [size] => 70 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [8] => Array ( [name] => bin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 17:20:28 ) [9] => Array ( [name] => boot [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [10] => Array ( [name] => home [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 17:20:28 ) [11] => Array ( [name] => lib [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 17:20:28 ) [12] => Array ( [name] => lib64 [size] => 1294 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 17:20:28 ) [13] => Array ( [name] => mnt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [14] => Array ( [name] => opt [size] => 0 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [15] => Array ( [name] => root [size] => 40 [perm] => d--------- [type] => dir [time] => 18 October 2012 17:20:28 ) [16] => Array ( [name] => sbin [size] => 9954 [perm] => drwxr-x--x [type] => link [time] => 18 October 2012 17:20:28 ) [17] => Array ( [name] => srv [size] => 14 [perm] => drwxr-xr-x [type] => dir [time] => 18 October 2012 17:20:28 ) [18] => Array ( [name] => in [size] => 10 [perm] => drwxr-x--x [type] => dir [time] => 18 October 2012 17:20:28 ) )

preferences:
440.81 ms | 409 KiB | 468 Q