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 LoversOfBehat\TableExtension\Event; use Love..

Decoded Output download

<?php

declare(strict_types = 1);

namespace LoversOfBehat\TableExtension\Event;

use LoversOfBehat\TableExtension\HtmlContainer;

if (class_exists('Symfony\Component\EventDispatcher\Event')) {
    /**
     * Event that fires after fetching a table from the web page.
     */
    class AfterTableFetchEvent extends Symfony\Component\EventDispatcher\Event implements TableEventInterface
    {

        /**
         * An object containing the HTML of the fetched table.
         *
         * @var HtmlContainer
         */
        protected $htmlContainer;

        /**
         * Constructs a new AfterTableFetchEvent object.
         *
         * @param HtmlContainer $htmlContainer
         */
        public function __construct(HtmlContainer $htmlContainer)
        {
            $this->htmlContainer = $htmlContainer;
        }

        /**
         * {@inheritdoc}
         */
        public function getHtmlContainer(): HtmlContainer
        {
            return $this->htmlContainer;
        }
    }
}
else {
    /**
     * Event that fires after fetching a table from the web page.
     */
    class AfterTableFetchEvent extends \Symfony\Contracts\EventDispatcher\Event implements TableEventInterface
    {

        /**
         * An object containing the HTML of the fetched table.
         *
         * @var HtmlContainer
         */
        protected $htmlContainer;

        /**
         * Constructs a new AfterTableFetchEvent object.
         *
         * @param HtmlContainer $htmlContainer
         */
        public function __construct(HtmlContainer $htmlContainer)
        {
            $this->htmlContainer = $htmlContainer;
        }

        /**
         * {@inheritdoc}
         */
        public function getHtmlContainer(): HtmlContainer
        {
            return $this->htmlContainer;
        }
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types = 1);

namespace LoversOfBehat\TableExtension\Event;

use LoversOfBehat\TableExtension\HtmlContainer;

if (class_exists('Symfony\Component\EventDispatcher\Event')) {
    /**
     * Event that fires after fetching a table from the web page.
     */
    class AfterTableFetchEvent extends Symfony\Component\EventDispatcher\Event implements TableEventInterface
    {

        /**
         * An object containing the HTML of the fetched table.
         *
         * @var HtmlContainer
         */
        protected $htmlContainer;

        /**
         * Constructs a new AfterTableFetchEvent object.
         *
         * @param HtmlContainer $htmlContainer
         */
        public function __construct(HtmlContainer $htmlContainer)
        {
            $this->htmlContainer = $htmlContainer;
        }

        /**
         * {@inheritdoc}
         */
        public function getHtmlContainer(): HtmlContainer
        {
            return $this->htmlContainer;
        }
    }
}
else {
    /**
     * Event that fires after fetching a table from the web page.
     */
    class AfterTableFetchEvent extends \Symfony\Contracts\EventDispatcher\Event implements TableEventInterface
    {

        /**
         * An object containing the HTML of the fetched table.
         *
         * @var HtmlContainer
         */
        protected $htmlContainer;

        /**
         * Constructs a new AfterTableFetchEvent object.
         *
         * @param HtmlContainer $htmlContainer
         */
        public function __construct(HtmlContainer $htmlContainer)
        {
            $this->htmlContainer = $htmlContainer;
        }

        /**
         * {@inheritdoc}
         */
        public function getHtmlContainer(): HtmlContainer
        {
            return $this->htmlContainer;
        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 1219fc9a5540a8532e06eeffb3c31e55
Eval Count 0
Decode Time 94 ms