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-- Constants exported by ext/mysqli - checking category - PHP bug not mysqli bug (ch..

Decoded Output download

--TEST--
Constants exported by ext/mysqli - checking category - PHP bug not mysqli bug (check from time to time)
--EXTENSIONS--
mysqli
--FILE--
<?php
    $constants = get_defined_constants(true);

    foreach ($constants as $group => $consts) {
        foreach ($consts as $name => $value) {
            if (stristr($name, 'mysqli')) {
                if ('mysqli' != $group)
                printf("found constant '%s' in group '%s'. expecting group 'mysqli'
", $name, $group);
            }
        }
    }

    print "done!";
?>
--EXPECT--
done!

Did this file decode correctly?

Original Code

--TEST--
Constants exported by ext/mysqli - checking category - PHP bug not mysqli bug (check from time to time)
--EXTENSIONS--
mysqli
--FILE--
<?php
    $constants = get_defined_constants(true);

    foreach ($constants as $group => $consts) {
        foreach ($consts as $name => $value) {
            if (stristr($name, 'mysqli')) {
                if ('mysqli' != $group)
                printf("found constant '%s' in group '%s'. expecting group 'mysqli'\n", $name, $group);
            }
        }
    }

    print "done!";
?>
--EXPECT--
done!

Function Calls

get_defined_constants 1

Variables

None

Stats

MD5 7f8aff370528fba04ab2196c322848c2
Eval Count 0
Decode Time 87 ms