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 dot notation with wildcard on empty object --SKIPIF-- <?php if (!extension_l..
Decoded Output download
--TEST--
Test dot notation with wildcard on empty object
--SKIPIF--
<?php if (!extension_loaded("jsonpath")) print "skip"; ?>
--FILE--
<?php
$data = [];
$jsonPath = new \JsonPath\JsonPath();
$result = $jsonPath->find($data, "$.*");
var_dump($result);
?>
--EXPECT--
bool(false)
Did this file decode correctly?
Original Code
--TEST--
Test dot notation with wildcard on empty object
--SKIPIF--
<?php if (!extension_loaded("jsonpath")) print "skip"; ?>
--FILE--
<?php
$data = [];
$jsonPath = new \JsonPath\JsonPath();
$result = $jsonPath->find($data, "$.*");
var_dump($result);
?>
--EXPECT--
bool(false)
Function Calls
None |
Stats
MD5 | 3ac42504eeec524bb7f5a579dbfbd1c1 |
Eval Count | 0 |
Decode Time | 104 ms |