aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/src/Google/Protobuf/Internal/MapField.php
Commit message (Collapse)AuthorAge
* Use legacy name in php runtime (#4741)Gravatar Paul Yang2018-06-07
| | | | | | | | | * Use legacy name in php runtime Old generated code cannot work with new runtime, because the new runtime assumes new class name for nested message. For details see #4738. * Remove unused method
* Add json encode/decode for php. (#3226)Gravatar Paul Yang2017-06-30
| | | | | | | | | | * Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
* Follows proper autoloading standards (#3123)Gravatar Brent Shaffer2017-06-14
| | | | | | | | | | | | | | * Follows proper autoloading standards - Splits PHP classes in descriptor.php into separate files - Splits MapFieldIter and RepeatedFieldIter into separate files - Moves descriptor.php to Internal/functions.php - Moves all namespaced functions into Iternal/functions.php * fixes Makefile.am for added php files * [PHP] moves all functions to GPBUtil * removes description.php from the makefile
* Allow proto files to import descriptor.proto (#2995)Gravatar Paul Yang2017-04-20
| | | | | | | | | descriptor.proto uses proto2 syntax, which is not ready for external usage. However, some proto3 files import descriptor.proto and cannot be used. In this PR, all references (We cheated by only removing extensions, which is enough for now. User should avoid using messages defined in descriptor.proto as field type.) to content in descriptor.proto are removed from generated files. Those that import descriptor.proto can be used like other proto files.
* Make PHP c extension work with PHP7 (#2951)Gravatar Paul Yang2017-04-19
|
* Repeated/Map field setter should accept a regular PHP array (#2817)Gravatar Paul Yang2017-03-10
| | | | | | | | Accept regular PHP array for repeated/map setter. Existing map/repeated field will be swapped by a clean map/repeated field. Then, elements in the array will be added to the map/repeated field. All elements will be type checked before adding. See #2686 for detail.
* Check in php implementation. (#2052)Gravatar Paul Yang2016-09-15
This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.