aboutsummaryrefslogtreecommitdiff
path: root/php/tests/array_test.php
Commit message (Collapse)AuthorAgeFilesLines
* PHP namespaces for nested messages and enums (#4536)Brent Shaffer2018-05-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * uses namespaces for nested messages and enums * fixes namespaces for PHP dist * fixes namespace for Descriptors, adds Cardinality and Kind * fixes nested namespaces for reserved words and adds tests * adds tests and generator fix for php class prefixes * fixes escaping of protobuf packages, enum comments, misc others * nice refactor of generated code * adds class files for backwards compatibility * simplifies code with templates * adds compatibility files to makefile * cleanup of generator and fixes nested namespace bug * regenerates proto types * remove internal BC classes * adds deprecated warning, adds methods back * simplifies if statement * fixes dist files * addresses review comments * adds back TYPE_URL_PREFIX constant * adds @deprecated to old nested class files * skips tests which require a separate process when protobuf.so is enabled * Adds tests for legacy nested classes that do not require separate processes to test * uses legacy names for GPBUtil message check * adds block for IDE @deprecated message * Namespace for nested message/enum in c extension * Remove unused code
* Fix cycle dependency for repeated field not collected by gc (#3399)Paul Yang2017-07-251-19/+30
|
* remove pass by reference for php setters (#3344)Brent Shaffer2017-07-171-17/+19
| | | | | | * remove pass by reference for php setters * comments out memory leak test
* Add json encode/decode for php. (#3226)Paul Yang2017-06-301-517/+108
| | | | | | | | | | * Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
* Make PHP c extension work with PHP7 (#2951)Paul Yang2017-04-191-14/+25
|
* Make php generated code conform to PSR-4. (#2435)Paul Yang2016-12-081-1/+0
| | | | 1. Generate single file for each message. 2. Lazily initiate metadata.
* Implement RepeatedFieldIter for c extension. (#2333)Paul Yang2016-11-081-0/+11
|
* Fix pure php implementation for 32-bit machine. (#2282)Paul Yang2016-10-251-35/+76
|
* Fix segmentation fault when ZTS is defined.Bo Yang2016-10-101-20/+20
|
* Check in php implementation. (#2052)Paul Yang2016-09-151-0/+888
This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.