Skip to content

Commit db4c4fc

Browse files
bgrgicakadamziel
andauthored
Exif support for PHP-wasm (#72)
## Motivation for the change, related issues Add `exif` support to PHP-wasm to bring Playground closer to feature parity with PHP. ## Implementation details To enable Exif, this PR passes a `--enable-exif` argument when configuring PHP during PHP-wasm build. Because Exif requires Mbstring, it will be enabled if Exif is enabled. ## Testing Instructions (or ideally a Blueprint) - CI --------- Co-authored-by: Adam Zieliński <[email protected]>
1 parent 5593848 commit db4c4fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+469
-276
lines changed

packages/php-wasm/compile/build.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change

packages/php-wasm/compile/php/Dockerfile

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/php-wasm/node/asyncify/php_7_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_7_3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_7_4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_8_0.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_8_1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_8_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_8_3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/asyncify/php_8_4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
41.6 KB
Binary file not shown.
42.3 KB
Binary file not shown.
42.7 KB
Binary file not shown.
42.9 KB
Binary file not shown.
43.2 KB
Binary file not shown.
43.4 KB
Binary file not shown.
Binary file not shown.
42.8 KB
Binary file not shown.

packages/php-wasm/node/jspi/php_7_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_7_3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_7_4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_8_0.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_8_1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_8_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_8_3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/jspi/php_8_4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/src/test/php-asyncify.spec.ts

Lines changed: 299 additions & 238 deletions
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/src/test/php.spec.ts

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/src/test/test-data/cert.pem

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change

packages/php-wasm/node/src/test/test-data/key.pem

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/php-wasm/web/public/php/asyncify/php_7_2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_7_3.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_7_4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_8_0.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_8_1.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_8_2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_8_3.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/asyncify/php_8_4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/php-wasm/web/public/php/jspi/php_7_2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_7_3.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_7_4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_8_0.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_8_1.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_8_2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_8_3.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/php-wasm/web/public/php/jspi/php_8_4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)