Function Commandr_fs->print_working_directory
Definitions
sources/commandr_fs.php
- Return the current working directory of the virtual filesystem. Equivalent to Unix "pwd".
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $array_form | boolean | No | No | False | N/A | N/A | Return the pwd in array form? |
Returns
- The current working directory (array or string)
- Type: mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Return the current working directory of the virtual filesystem. Equivalent to Unix "pwd".
*
* @param boolean $array_form Return the pwd in array form?
* @return mixed The current working directory (array or string)
*/
public function print_working_directory(bool $array_form = false)
* Return the current working directory of the virtual filesystem. Equivalent to Unix "pwd".
*
* @param boolean $array_form Return the pwd in array form?
* @return mixed The current working directory (array or string)
*/
public function print_working_directory(bool $array_form = false)

