false. The only exception being when using smart get and a non-divergent path, where false will still be returned.$..[?(@.author == "Nigel Rees")]$.2i and x modifiers in regex expressions
(https://github.com/Galbar/JsonPath-PHP/pull/59)Until now (except for version 1.3, sorry, you should go to 1.3.1 if this affects you) .length operator always behaved in the smartGet manner.
Starting with this version, .length will behave as any other operator. That is, it will always return an array of results, even if there is just one, unless smartGet is enabled, then it'll work in the same way smartGet works for every other operation: return the result directly, if the path does not diverge, or return an array of results, if the path diverges.
Also, fix regex so that array interval selector of the type [:3] work.
! as synonym of not&& as synonym of and|| as synonym of orDocumentation now properly defines what a variable name is. Dependencies are now properly defined for older PHP versions.
How can I help you explore Laravel packages today?