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-- Bug #79467 (data:// wrappers are writable) --FILE-- <?php var_dump(file_put_conte..

Decoded Output download

--TEST--
Bug #79467 (data:// wrappers are writable)
--FILE--
<?php
var_dump(file_put_contents('data://text/plain,cccc', 'data'));
?>
--EXPECTF--
Notice: file_put_contents(): Stream is not writable in %s on line %d
bool(false)

Did this file decode correctly?

Original Code

--TEST--
Bug #79467 (data:// wrappers are writable)
--FILE--
<?php
var_dump(file_put_contents('data://text/plain,cccc', 'data'));
?>
--EXPECTF--
Notice: file_put_contents(): Stream is not writable in %s on line %d
bool(false)

Function Calls

file_put_contents 1

Variables

None

Stats

MD5 bd4c5d1cab51f63d61c7faf3cdad6fa4
Eval Count 0
Decode Time 107 ms