Lines Matching defs:PHP
2 === Dealing with JSON arrays and objects in PHP
5 objects, and how to specify them in PHP. In particular, problems are caused by
7 used in {es} JSON API and how to convert that to a PHP representation.
13 problems for PHP. Unlike other languages, PHP does not have a "short" notation
36 The problem is that PHP will automatically convert `"content" : {}` into
37 `"content" : []`, which is no longer valid {es} DSL. We need to tell PHP that
39 PHP, you would do:
57 <1> We use the generic PHP stdClass object to represent an empty object. The
62 solution is the only way to acomplish the goal in PHP... there is no "short"
85 This arrangement is very common, but the construction in PHP can be tricky since
86 it requires nesting arrays. The verbosity of PHP tends to obscure what is
109 If you are on PHP 5.4+, we strongly encourage you to use the short array syntax.
153 We can build it using the following PHP code: