aboutsummaryrefslogtreecommitdiff
path: root/php/tests/memory_leak_test.php
Commit message (Collapse)AuthorAgeFilesLines
* Add json encode/decode for php. (#3226)Paul Yang2017-06-301-1/+1
| | | | | | | | | | * Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
* Add new file option php_namespace. (#3162)Paul Yang2017-06-051-0/+5
| | | | | | | | | | | | | | | | * Add new file option php_namespace. Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace. * Uncomment commented tests * Revert gdb test change * Update csharp descriptor. * Add test for empty php_namespace.
* Add ARRAY for reserved name (#3150)Paul Yang2017-05-291-0/+1
|
* Prepend "PB" to generated classes whose name are reserved words. (#2990)Paul Yang2017-04-201-0/+3
|
* Add test for nested enum for php (#2989)Paul Yang2017-04-191-0/+2
|
* Enum defined without package have incorrect class name. (#2988)Paul Yang2017-04-191-0/+3
| | | | Fix the bug by sharing the code for generating class name for both message and enum.
* Make PHP c extension work with PHP7 (#2951)Paul Yang2017-04-191-4/+5
|
* Add file option php_class_prefix (#2849)Paul Yang2017-03-171-0/+3
| | | | This option will be prepended to generated classes of all messages in the containing file.
* Rename encode/decode to serializeToString/mergeFromString (#2795)Paul Yang2017-03-081-10/+10
| | | | | This better shows the semantic of the API. For already setted fields, mergeFromString do replacement for singular fields and appending for repeated fields.
* Add mergeFrom method on Message (#2766)Paul Yang2017-03-011-0/+5
| | | | | | | | This method merges the contents of the specified message into the current message. Singular fields that are set in the specified message overwrite the corresponding fields in the current message. Repeated fields are appended. Map fields key-value pairs are overritten. Singular/Oneof sub-messages are recursively merged. All overritten sub-messages are deep-copied.
* Make php generated code conform to PSR-4. (#2435)Paul Yang2016-12-081-1/+9
| | | | 1. Generate single file for each message. 2. Lazily initiate metadata.
* Check in php implementation. (#2052)Paul Yang2016-09-151-0/+73
This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.