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-- Testing CnnFaceDetection constructor with model that do not exist --SKIPIF-- <?ph..

Decoded Output download

--TEST--
Testing CnnFaceDetection constructor with model that do not exist
--SKIPIF--
<?php if (!extension_loaded("pdlib")) print "skip"; ?>
--FILE--
<?php
try {
	new CnnFaceDetection("foo");
} catch (Exception $e) {
	var_dump($e->getMessage());
}
?>
--EXPECT--
string(31) "Unable to open foo for reading."

Did this file decode correctly?

Original Code

--TEST--
Testing CnnFaceDetection constructor with model that do not exist
--SKIPIF--
<?php if (!extension_loaded("pdlib")) print "skip"; ?>
--FILE--
<?php
try {
	new CnnFaceDetection("foo");
} catch (Exception $e) {
	var_dump($e->getMessage());
}
?>
--EXPECT--
string(31) "Unable to open foo for reading."

Function Calls

extension_loaded 1

Variables

None

Stats

MD5 08f7b50bf27cc15bf0ca4047ae93be2a
Eval Count 0
Decode Time 89 ms