We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216c66e commit 15ce1adCopy full SHA for 15ce1ad
src/JSONPath.php
@@ -17,10 +17,10 @@
17
18
use function array_merge;
19
use function count;
20
+use function crc32;
21
use function current;
22
use function end;
23
use function key;
-use function md5;
24
use function next;
25
use function reset;
26
@@ -161,7 +161,7 @@ public function lastKey()
161
*/
162
public function parseTokens(string $expression): array
163
{
164
- $cacheKey = md5($expression);
+ $cacheKey = crc32($expression);
165
166
if (isset(static::$tokenCache[$cacheKey])) {
167
return static::$tokenCache[$cacheKey];
0 commit comments