Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP.wasm: yield 0 bytes read on fd_read failure to improve PHP's fread() and feof() behavior #1053

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
141 changes: 79 additions & 62 deletions packages/php-wasm/compile/php/phpwasm-emscripten-library.js
Binary file modified packages/php-wasm/node/public/7_0_33/php_7_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/7_1_30/php_7_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/7_2_34/php_7_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/7_3_33/php_7_3.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/7_4_33/php_7_4.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/8_0_30/php_8_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/8_1_23/php_8_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/8_2_10/php_8_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/node/public/8_3_0/php_8_3.wasm
Binary file not shown.
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_7_0.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_7_1.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_7_2.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_7_3.js
93 changes: 52 additions & 41 deletions packages/php-wasm/node/public/php_7_4.js
93 changes: 52 additions & 41 deletions packages/php-wasm/node/public/php_8_0.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_8_1.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_8_2.js
91 changes: 51 additions & 40 deletions packages/php-wasm/node/public/php_8_3.js
120 changes: 120 additions & 0 deletions packages/php-wasm/node/src/test/php.spec.ts
Binary file modified packages/php-wasm/web/public/kitchen-sink/7_0_33/php_7_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/7_1_30/php_7_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/7_2_34/php_7_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/7_3_33/php_7_3.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/7_4_33/php_7_4.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/8_0_30/php_8_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/8_1_23/php_8_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/8_2_10/php_8_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/kitchen-sink/8_3_0/php_8_3.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_7_0.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_7_1.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_7_2.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_7_3.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_7_4.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_8_0.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_8_1.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_8_2.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/kitchen-sink/php_8_3.js
Binary file modified packages/php-wasm/web/public/light/7_0_33/php_7_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/7_1_30/php_7_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/7_2_34/php_7_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/7_3_33/php_7_3.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/7_4_33/php_7_4.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/8_0_30/php_8_0.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/8_1_23/php_8_1.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/8_2_10/php_8_2.wasm
Binary file not shown.
Binary file modified packages/php-wasm/web/public/light/8_3_0/php_8_3.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_7_0.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_7_1.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_7_2.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_7_3.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_7_4.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_8_0.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_8_1.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_8_2.js
4 changes: 2 additions & 2 deletions packages/php-wasm/web/public/light/php_8_3.js