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-- Uri::withFragment() error: invalid argument --FILE-- <?php try { (new HttpMes..
Decoded Output download
--TEST--
Uri::withFragment() error: invalid argument
--FILE--
<?php
try {
(new HttpMessage\Uri)->withFragment(['fragment' => 'foo']);
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECTF--
HttpMessage\Uri::withFragment()%s string, array given
Did this file decode correctly?
Original Code
--TEST--
Uri::withFragment() error: invalid argument
--FILE--
<?php
try {
(new HttpMessage\Uri)->withFragment(['fragment' => 'foo']);
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECTF--
HttpMessage\Uri::withFragment()%s string, array given
Function Calls
None |
Stats
MD5 | 51ee7309844bd71c88e5ee1a7a4c9947 |
Eval Count | 0 |
Decode Time | 83 ms |