strval

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get string value of a variable
<?php strval(mixed $value): string
<?php         Sleep::fake();

        Carbon::setTestNow(now()->startOfDay());



        Sleep::until(strval(now()->addMinute()->timestamp));



        Sleep::assertSequence([

            Sleep::for(60)->seconds(),
<?php     public function testStringConversion()

    {

        $img = $this->manager()->make('tests/images/trim.png');

        $value = strval($img);

        $this->assertInternalType('string', $value);

    }
<?php     public function testStringConversion()

    {

        $img = $this->manager()->make('tests/images/trim.png');

        $value = strval($img);

        $this->assertInternalType('string', $value);

    }