Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- bug #71428.2: inheritance of ye olde dynamic interfaces --EXTENSIONS-- pdo --FILE..

Decoded Output download

--TEST--
bug #71428.2: inheritance of ye olde dynamic interfaces
--EXTENSIONS--
pdo
--FILE--
<?php
interface StatementInterface {
    public function fetch(int $first = PDO::FETCH_BOTH, int $second = PDO::FETCH_ORI_NEXT, int $third = 0);
}

class Statement extends PDOStatement implements StatementInterface {}

interface StatementInterface1 {
    public function fetch(int $first = PDO::FETCH_ASSOC, int $second = PDO::FETCH_ORI_PRIOR, int $third = 1);
}

class Statement1 extends PDOStatement implements StatementInterface1 {}

echo "ok";
?>
--EXPECT--
ok

Did this file decode correctly?

Original Code

--TEST--
bug #71428.2: inheritance of ye olde dynamic interfaces
--EXTENSIONS--
pdo
--FILE--
<?php
interface StatementInterface {
    public function fetch(int $first = PDO::FETCH_BOTH, int $second = PDO::FETCH_ORI_NEXT, int $third = 0);
}

class Statement extends PDOStatement implements StatementInterface {}

interface StatementInterface1 {
    public function fetch(int $first = PDO::FETCH_ASSOC, int $second = PDO::FETCH_ORI_PRIOR, int $third = 1);
}

class Statement1 extends PDOStatement implements StatementInterface1 {}

echo "ok";
?>
--EXPECT--
ok

Function Calls

None

Variables

None

Stats

MD5 7ded4ea61be0559bfced7800944fecbb
Eval Count 0
Decode Time 95 ms