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 Sculpin\Bundle\MarkdownBundle; use Michelf\Mar..

Decoded Output download

<?php

declare(strict_types=1);

namespace Sculpin\Bundle\MarkdownBundle;

use Michelf\MarkdownExtra;
use Sculpin\Core\Converter\ParserInterface;

/**
 * Provide Michelf\MarkdownExtra as Sculpin parser.
 */
class PhpMarkdownExtraParser extends MarkdownExtra implements ParserInterface
{
    /**
     * {@inheritdoc}
     */
    public function transform($content): string
    {
        return parent::transform($content);
    }

    /**
     * Casts $attr to String to ensure safe internal handling of preg_* calls
     *
     * @inheritDoc
     */
    public function doExtraAttributes($tag_name, $attr, $defaultIdValue = null, $classes = [])
    {
        return parent::doExtraAttributes(
            $tag_name,
            (string)$attr,
            $defaultIdValue,
            $classes
        );
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Sculpin\Bundle\MarkdownBundle;

use Michelf\MarkdownExtra;
use Sculpin\Core\Converter\ParserInterface;

/**
 * Provide Michelf\MarkdownExtra as Sculpin parser.
 */
class PhpMarkdownExtraParser extends MarkdownExtra implements ParserInterface
{
    /**
     * {@inheritdoc}
     */
    public function transform($content): string
    {
        return parent::transform($content);
    }

    /**
     * Casts $attr to String to ensure safe internal handling of preg_* calls
     *
     * @inheritDoc
     */
    public function doExtraAttributes($tag_name, $attr, $defaultIdValue = null, $classes = [])
    {
        return parent::doExtraAttributes(
            $tag_name,
            (string)$attr,
            $defaultIdValue,
            $classes
        );
    }
}

Function Calls

None

Variables

None

Stats

MD5 7933e1526d599ec06d515d67bebac51b
Eval Count 0
Decode Time 110 ms