How can I use the mkdir function to create a directory in PHP? Example code: - Biz Tech

How can I use the mkdir function to create a directory in PHP? Example code:

Listen
$directory = "/path/to/directory";

mkdir($directory);