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-- Ensure exception is thrown for missing closing bracket --SKIPIF-- <?php if (!exte..
Decoded Output download
--TEST--
Ensure exception is thrown for missing closing bracket
--SKIPIF--
<?php if (!extension_loaded("jsonpath")) print "skip"; ?>
--FILE--
<?php
$jsonPath = new \JsonPath\JsonPath();
$jsonPath->find([], '$.store.book[?(@.author == "Evelyn Waugh"');
--EXPECTF--
Fatal error: Uncaught JsonPath\JsonPathException: Missing closing paren `)` in %s
Stack trace:
%s
%s
%s ?>
Did this file decode correctly?
Original Code
--TEST--
Ensure exception is thrown for missing closing bracket
--SKIPIF--
<?php if (!extension_loaded("jsonpath")) print "skip"; ?>
--FILE--
<?php
$jsonPath = new \JsonPath\JsonPath();
$jsonPath->find([], '$.store.book[?(@.author == "Evelyn Waugh"');
--EXPECTF--
Fatal error: Uncaught JsonPath\JsonPathException: Missing closing paren `)` in %s
Stack trace:
%s
%s
%s
Function Calls
None |
Stats
MD5 | 0e765ba523f607969f3a2e8741cbe4ff |
Eval Count | 0 |
Decode Time | 91 ms |