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-- assert() - basic - accept closures as callback. --INI-- assert.active = 1 assert...

Decoded Output download

--TEST--
assert() - basic - accept closures as callback.
--INI--
assert.active = 1
assert.warning = 1
assert.bail = 0
assert.exception=0
--FILE--
<?php
assert_options(ASSERT_CALLBACK, function () { echo "Hello World!
"; });
assert(0);
?>
--EXPECTF--
Hello World!

Warning: assert(): assert(0) failed in %s on line %d

Did this file decode correctly?

Original Code

--TEST--
assert() - basic - accept closures as callback.
--INI--
assert.active = 1
assert.warning = 1
assert.bail = 0
assert.exception=0
--FILE--
<?php
assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; });
assert(0);
?>
--EXPECTF--
Hello World!

Warning: assert(): assert(0) failed in %s on line %d

Function Calls

None

Variables

None

Stats

MD5 c3b851447873952bb02c84dee1c38227
Eval Count 0
Decode Time 110 ms