bin2hex
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Convert binary data into hexadecimal representation
bin2hex
(
string $string
):
string
thephpleague/flysystem
public static function
setUpBeforeClass
():
void
{
static::
$adapterPrefix
=
'ci/'
.
bin2hex
(
random_bytes
(
10
));
}
protected function
tearDown
():
void
src/AsyncAwsS3/AsyncAwsS3AdapterTest.php
thephpleague/flysystem
public static function
setUpBeforeClass
():
void
{
static::
$adapterPrefix
=
getenv
(
'FLYSYSTEM_AWS_S3_PREFIX'
) ?:
'ci/'
.
bin2hex
(
random_bytes
(
10
));
}
protected function
tearDown
():
void
src/AwsS3V3/AwsS3V3AdapterTest.php
thephpleague/flysystem
public static function
setUpBeforeClass
():
void
{
static::
$adapterPrefix
=
'ci/'
.
bin2hex
(
random_bytes
(
10
));
}
protected static function
createFilesystemAdapter
():
FilesystemAdapter
src/GoogleCloudStorage/GoogleCloudStorageAdapterTest.php