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 RdKafka; class TopicPartition { /** * @param string $topic ..

Decoded Output download

<?php

namespace RdKafka;

class TopicPartition
{
    /**
     * @param string $topic
     * @param int    $partition
     * @param int    $offset
     */
    public function __construct($topic, $partition, $offset = null)
    {
    }

    /**
     * @return int
     */
    public function getOffset()
    {
    }

    /**
     * @return int
     */
    public function getPartition()
    {
    }

    /**
     * @return string
     */
    public function getTopic()
    {
    }

    /**
     * @param int $offset
     *
     * @return void
     */
    public function setOffset($offset)
    {
    }

    /**
     * @param int $partition
     *
     * @return void
     */
    public function setPartition($partition)
    {
    }

    /**
     * @param string $topic_name
     *
     * @return void
     */
    public function setTopic($topic_name)
    {
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace RdKafka;

class TopicPartition
{
    /**
     * @param string $topic
     * @param int    $partition
     * @param int    $offset
     */
    public function __construct($topic, $partition, $offset = null)
    {
    }

    /**
     * @return int
     */
    public function getOffset()
    {
    }

    /**
     * @return int
     */
    public function getPartition()
    {
    }

    /**
     * @return string
     */
    public function getTopic()
    {
    }

    /**
     * @param int $offset
     *
     * @return void
     */
    public function setOffset($offset)
    {
    }

    /**
     * @param int $partition
     *
     * @return void
     */
    public function setPartition($partition)
    {
    }

    /**
     * @param string $topic_name
     *
     * @return void
     */
    public function setTopic($topic_name)
    {
    }
}

Function Calls

None

Variables

None

Stats

MD5 63faa39afa3399adc4e2f53cf5fd4b3d
Eval Count 0
Decode Time 114 ms