Function __global->chdir
Definitions
sources_custom/phpstub.php
- Change directory.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $directory | PATH | No | No | required parameter | N/A | N/A | Path to change to |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Change directory.
*
* @param PATH $directory Path to change to
* @return boolean Success status
*/
function chdir(string $directory) : bool
* Change directory.
*
* @param PATH $directory Path to change to
* @return boolean Success status
*/
function chdir(string $directory) : bool
