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-- Test ctype_print() function : basic functionality --EXTENSIONS-- ctype --FILE-- <..

Decoded Output download

*** Testing ctype_print() : basic functionality ***

Did this file decode correctly?

Original Code

--TEST--
Test ctype_print() function : basic functionality
--EXTENSIONS--
ctype
--FILE--
<?php
echo "*** Testing ctype_print() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");

$c1 = "Hello, World!";
$c2 = null;

var_dump(ctype_print($c1));
var_dump(ctype_print($c2));

setlocale(LC_CTYPE, $orig);
?>
--EXPECTF--
*** Testing ctype_print() : basic functionality ***
bool(true)

Deprecated: ctype_print(): Argument of type null will be interpreted as string in the future in %s on line %d
bool(false)

Function Calls

None

Variables

None

Stats

MD5 a335cf3f4ff9959829f635b7ee591d02
Eval Count 0
Decode Time 113 ms