Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); namespace Intervention\Image\Interfaces; use Interventio..
Decoded Output download
<?php
declare(strict_types=1);
namespace Intervention\Image\Interfaces;
use Intervention\Image\Exceptions\RuntimeException;
interface FileInterface
{
/**
* Save data in given path in file system
*
* @param string $filepath
* @throws RuntimeException
* @return void
*/
public function save(string $filepath): void;
/**
* Create file pointer from encoded data
*
* @return resource
*/
public function toFilePointer();
/**
* Return size in bytes
*
* @return int
*/
public function size(): int;
/**
* Turn encoded data into string
*
* @return string
*/
public function toString(): string;
/**
* Cast encoded data into string
*
* @return string
*/
public function __toString(): string;
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Intervention\Image\Interfaces;
use Intervention\Image\Exceptions\RuntimeException;
interface FileInterface
{
/**
* Save data in given path in file system
*
* @param string $filepath
* @throws RuntimeException
* @return void
*/
public function save(string $filepath): void;
/**
* Create file pointer from encoded data
*
* @return resource
*/
public function toFilePointer();
/**
* Return size in bytes
*
* @return int
*/
public function size(): int;
/**
* Turn encoded data into string
*
* @return string
*/
public function toString(): string;
/**
* Cast encoded data into string
*
* @return string
*/
public function __toString(): string;
}
Function Calls
None |
Stats
MD5 | f32a00235531d806fb4f671bb0048be7 |
Eval Count | 0 |
Decode Time | 118 ms |