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 escapeshellarg() string with \0 bytes --FILE-- <?php escapeshellarg("hello\0..

Decoded Output download

--TEST--
Test escapeshellarg() string with  bytes
--FILE--
<?php
escapeshellarg("helloworld");

?>
===DONE===
--EXPECTF--
Fatal error: Uncaught ValueError: escapeshellarg(): Argument #1 ($arg) must not contain any null bytes in %s:%d
Stack trace:
#0 %s(%d): escapeshellarg('helloworld')
#1 {main}
  thrown in %s on line %d

Did this file decode correctly?

Original Code

--TEST--
Test escapeshellarg() string with \0 bytes
--FILE--
<?php
escapeshellarg("hello\0world");

?>
===DONE===
--EXPECTF--
Fatal error: Uncaught ValueError: escapeshellarg(): Argument #1 ($arg) must not contain any null bytes in %s:%d
Stack trace:
#0 %s(%d): escapeshellarg('hello\x00world')
#1 {main}
  thrown in %s on line %d

Function Calls

escapeshellarg 1

Variables

None

Stats

MD5 9a42275b25494d8915f60f411d939371
Eval Count 0
Decode Time 113 ms