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-- xmlwriter_open_uri with PHP_MAXPATHLEN + 1 --EXTENSIONS-- xmlwriter --FILE-- <?ph..

Decoded Output download

--TEST--
xmlwriter_open_uri with PHP_MAXPATHLEN + 1
--EXTENSIONS--
xmlwriter
--FILE--
<?php
$path = str_repeat('a', PHP_MAXPATHLEN + 1);
var_dump(xmlwriter_open_uri('file:///' . $path));
?>
--CREDITS--
Koen Kuipers [email protected]
Theo van der Zee
#Test Fest Utrecht 09-05-2009
--EXPECTF--
Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
bool(false)

Did this file decode correctly?

Original Code

--TEST--
xmlwriter_open_uri with PHP_MAXPATHLEN + 1
--EXTENSIONS--
xmlwriter
--FILE--
<?php
$path = str_repeat('a', PHP_MAXPATHLEN + 1);
var_dump(xmlwriter_open_uri('file:///' . $path));
?>
--CREDITS--
Koen Kuipers [email protected]
Theo van der Zee
#Test Fest Utrecht 09-05-2009
--EXPECTF--
Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
bool(false)

Function Calls

None

Variables

None

Stats

MD5 28250a316b4168695481656feb6ea8d9
Eval Count 0
Decode Time 85 ms