Lines Matching +full:pure +full:- +full:c
2 pure PHP package and a native c extension. The pure PHP package is intended to
3 provide usability to wider range of PHP platforms, while the c extension is
5 runtime APIs and share the same generated code. Users don’t need to re-generate
19 [Supported PHP versions](https://cloud.google.com/php/getting-started/supported-php-versions).
23 ### C Extension
27 To install the c extension, the following tools are needed:
36 sudo apt-get install -y php-pear php-dev libtool make gcc
43 To build the c extension, run the following command:
47 sudo pecl install protobuf-{VERSION}.tgz
53 [PECL](https://pecl.php.net/). To use this pre-packaged extension, simply
57 sudo pecl install protobuf-{VERSION}
67 To use the pure PHP implementation, you need to install bcmath.
74 version of `protoc` included in the latest release supports the `--php_out`
77 protoc --php_out=out_dir test.proto
83 https://developers.google.com/protocol-buffers/docs/reference/php-generated
86 ------------
92 * Map fields may not be garbage-collected if there is cycle reference.
93 * No debug information for messages in c extension.
95 * C extension not tested on windows, mac, php 7.0.
104 apt-get install bazel composer php-dev
119 ### Test C Extension
121 After you have finished testing the native php, you can test the c extension:
125 … # We provide 5.5, 5.5-zts, 5.6, 5.6-zts, 7.0, 7.0-zts, 7.1, 7.1-zts, 7.2, 7.2-zts, 7.3 and 7.3-zts
129 If you want to use gdb to debug the c extension, you can do: