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 /** * This file is part of the reliforp/reli-prof package. * * (c) sji <sji@sj-i..
Decoded Output download
<?php
/**
* This file is part of the reliforp/reli-prof package.
*
* (c) sji <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Reli\Lib\String;
final class LineFetcher
{
/** @return iterable<string> */
public function createIterable(string $string): iterable
{
$line = strtok($string, "
");
if ($line === false) {
assert($string === "
");
yield '';
return;
}
while ($line !== false) {
yield $line;
$line = strtok("
");
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is part of the reliforp/reli-prof package.
*
* (c) sji <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Reli\Lib\String;
final class LineFetcher
{
/** @return iterable<string> */
public function createIterable(string $string): iterable
{
$line = strtok($string, "\n");
if ($line === false) {
assert($string === "\n");
yield '';
return;
}
while ($line !== false) {
yield $line;
$line = strtok("\n");
}
}
}
Function Calls
None |
Stats
MD5 | c1d68ec4dd560d1f0f8f9a902659e3fe |
Eval Count | 0 |
Decode Time | 85 ms |