Lines Matching +full:php +full:- +full:image
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
9 Both implementations make use of generated PHP code that defines message and
10 enum types in PHP. We strongly recommend using protoc's PHP generation support
12 extension/package; you need to install protoc as well to have PHP code
17 To use PHP runtime library requires:
19 - C extension: PHP 7.x, 8.0
20 - [PHP package](http://php.net/downloads.php): PHP 5.5, 5.6, 7.x, or 8.0.
39 sudo apt-get install -y php-pear php5-dev autoconf automake libtool make gcc
50 sudo pecl install protobuf-{VERSION}.tgz
56 [PECL](https://pecl.php.net/). To use this pre-packaged extension, simply
60 sudo pecl install protobuf-{VERSION}
63 ### PHP Package
72 Once the extension or package is installed, if you wish to generate PHP code
75 version of `protoc` included in the latest release supports the `--php_out`
76 option to generate PHP code:
78 protoc --php_out=out_dir test.proto
84 https://developers.google.com/protocol-buffers/docs/reference/php-generated
87 ------------
93 * Map fields may not be garbage-collected if there is cycle reference.
96 * C extension not tested on windows, mac, php 7.0.
101 ### Docker Image
103 We provide a docker image for php development, which is also used in our automatic tests:
105 docker run --security-opt seccomp=unconfined -it protobuftesting/php_8dbe419c6df1a8b3af0ae3a267c112…
108 ### Test Native PHP
118 make -j4
120 # Test native php
121 cd php
128 After you have finished testing the native php, you can test the c extension:
131 ./test.sh 5.6 # The php runtime version.
132 … # 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