Fatal error: Uncaught TypeError: readdir(): Argument #1 ($dir_handle) must be of type resource or null, string given in /in/Ws50W:2
Stack trace:
#0 /in/Ws50W(2): readdir('.')
#1 {main}
thrown in /in/Ws50W on line 2
Process exited with code 255.
Warning: readdir() expects parameter 1 to be resource, string given in /in/Ws50W on line 2
Warning: system(): Unable to fork [ls] in /in/Ws50W on line 4
Warning: passthru(): Unable to fork [ls] in /in/Ws50W on line 5
Warning: exec(): Unable to fork [ls] in /in/Ws50W on line 6
Output for 5.2.3 - 5.2.17
Warning: readdir(): supplied argument is not a valid Directory resource in /in/Ws50W on line 2
Warning: system(): Unable to fork [ls] in /in/Ws50W on line 4
Warning: passthru(): Unable to fork [ls] in /in/Ws50W on line 5
Warning: exec(): Unable to fork [ls] in /in/Ws50W on line 6
<br />
<b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/in/Ws50W</b> on line <b>2</b><br />
<br />
<b>Warning</b>: system() [<a href='function.system'>function.system</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>4</b><br />
<br />
<b>Warning</b>: passthru() [<a href='function.passthru'>function.passthru</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>5</b><br />
<br />
<b>Warning</b>: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>6</b><br />
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.2
<br />
<b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/in/Ws50W</b> on line <b>2</b><br />
<br />
<b>Warning</b>: system(): Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>4</b><br />
<br />
<b>Warning</b>: passthru(): Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>5</b><br />
<br />
<b>Warning</b>: exec(): Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>6</b><br />
Output for 4.3.0 - 4.3.1
<br />
<b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/in/Ws50W</b> on line <b>2</b><br />
<br />
<b>Warning</b>: system() [<a href='http://www.php.net/function.system'>function.system</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>4</b><br />
<br />
<b>Warning</b>: passthru() [<a href='http://www.php.net/function.passthru'>function.passthru</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>5</b><br />
<br />
<b>Warning</b>: exec() [<a href='http://www.php.net/function.exec'>function.exec</a>]: Unable to fork [ls] in <b>/in/Ws50W</b> on line <b>6</b><br />