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 namespace Dompdf\Css\Content; final class Url extends ContentPart { /** * ..
Decoded Output download
<?php
namespace Dompdf\Css\Content;
final class Url extends ContentPart
{
/**
* @var string
*/
public $url;
public function __construct(string $url)
{
$this->url = $url;
}
public function equals(ContentPart $other): bool
{
return $other instanceof self
&& $other->url === $this->url;
}
public function __toString(): string
{
return "url(\"" . str_replace("\"", "\\"", $this->url) . "\")";
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Dompdf\Css\Content;
final class Url extends ContentPart
{
/**
* @var string
*/
public $url;
public function __construct(string $url)
{
$this->url = $url;
}
public function equals(ContentPart $other): bool
{
return $other instanceof self
&& $other->url === $this->url;
}
public function __toString(): string
{
return "url(\"" . str_replace("\"", "\\\"", $this->url) . "\")";
}
}
Function Calls
None |
Stats
MD5 | d29f7b58dc36e3c2d44ad8e1b05c17e4 |
Eval Count | 0 |
Decode Time | 103 ms |