@php-wasm/node 3.0.15 → 3.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/asyncify/7_2_34/php_7_2.wasm +0 -0
  2. package/asyncify/7_3_33/php_7_3.wasm +0 -0
  3. package/asyncify/7_4_33/php_7_4.wasm +0 -0
  4. package/asyncify/8_0_30/php_8_0.wasm +0 -0
  5. package/asyncify/8_1_33/php_8_1.wasm +0 -0
  6. package/asyncify/8_2_29/php_8_2.wasm +0 -0
  7. package/asyncify/{8_3_26 → 8_3_27}/php_8_3.wasm +0 -0
  8. package/{jspi/8_3_26/php_8_3.wasm → asyncify/8_4_14/php_8_4.wasm} +0 -0
  9. package/asyncify/php_7_2.js +85 -9
  10. package/asyncify/php_7_3.js +71 -9
  11. package/asyncify/php_7_4.js +93 -18
  12. package/asyncify/php_8_0.js +80 -18
  13. package/asyncify/php_8_1.js +307 -14
  14. package/asyncify/php_8_2.js +307 -14
  15. package/asyncify/php_8_3.js +311 -18
  16. package/asyncify/php_8_4.js +322 -16
  17. package/index.cjs +9636 -2934
  18. package/index.js +9634 -2933
  19. package/jspi/7_2_34/php_7_2.wasm +0 -0
  20. package/jspi/7_3_33/php_7_3.wasm +0 -0
  21. package/jspi/7_4_33/php_7_4.wasm +0 -0
  22. package/jspi/8_0_30/php_8_0.wasm +0 -0
  23. package/jspi/8_1_33/php_8_1.wasm +0 -0
  24. package/jspi/8_2_29/php_8_2.wasm +0 -0
  25. package/{asyncify/8_4_13/php_8_4.wasm → jspi/8_3_27/php_8_3.wasm} +0 -0
  26. package/jspi/{8_4_13 → 8_4_14}/php_8_4.wasm +0 -0
  27. package/jspi/php_7_2.js +34369 -31555
  28. package/jspi/php_7_3.js +34369 -31555
  29. package/jspi/php_7_4.js +34369 -31556
  30. package/jspi/php_8_0.js +8 -8
  31. package/jspi/php_8_1.js +8 -8
  32. package/jspi/php_8_2.js +8 -8
  33. package/jspi/php_8_3.js +10 -10
  34. package/jspi/php_8_4.js +10 -10
  35. package/lib/index.d.ts +1 -0
  36. package/lib/load-runtime.d.ts +2 -0
  37. package/lib/xdebug/with-xdebug.d.ts +4 -1
  38. package/package.json +8 -8
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_2_34', 'php_7_2.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 22895236;
11
+ export const dependenciesTotalSize = 23187850;
12
12
  const phpVersionString = '7.2.34';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
831
831
  },
832
832
  };
833
833
 
834
- var ___heap_base = 11082368;
834
+ var ___heap_base = 11101504;
835
835
 
836
836
  var alignMemory = (size, alignment) => {
837
837
  return Math.ceil(size / alignment) * alignment;
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
995
995
 
996
996
  /** @type {WebAssembly.Table} */
997
997
  var wasmTable = new WebAssembly.Table({
998
- initial: 11367,
998
+ initial: 11514,
999
999
  element: 'anyfunc',
1000
1000
  });
1001
1001
  var getWasmTableEntry = (funcPtr) => {
@@ -1786,13 +1786,13 @@ export function init(RuntimeName, PHPLoader) {
1786
1786
  1024
1787
1787
  );
1788
1788
 
1789
- var ___stack_high = 11082368;
1789
+ var ___stack_high = 11101504;
1790
1790
 
1791
- var ___stack_low = 10033792;
1791
+ var ___stack_low = 10052928;
1792
1792
 
1793
1793
  var ___stack_pointer = new WebAssembly.Global(
1794
1794
  { value: 'i32', mutable: true },
1795
- 11082368
1795
+ 11101504
1796
1796
  );
1797
1797
 
1798
1798
  var PATH = {
@@ -18296,7 +18296,7 @@ export function init(RuntimeName, PHPLoader) {
18296
18296
  var Asyncify = {
18297
18297
  instrumentWasmImports(imports) {
18298
18298
  var importPattern =
18299
- /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18299
+ /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iiij|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|zend_hash_str_find|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18300
18300
 
18301
18301
  for (let [x, original] of Object.entries(imports)) {
18302
18302
  if (typeof original == 'function') {
@@ -32138,13 +32138,13 @@ export function init(RuntimeName, PHPLoader) {
32138
32138
  // End JS library code
32139
32139
 
32140
32140
  var ASM_CONSTS = {
32141
- 9805421: ($0) => {
32141
+ 9823997: ($0) => {
32142
32142
  if (!$0) {
32143
32143
  AL.alcErr = 0xa004;
32144
32144
  return 1;
32145
32145
  }
32146
32146
  },
32147
- 9805469: ($0) => {
32147
+ 9824045: ($0) => {
32148
32148
  if (!AL.currentCtx) {
32149
32149
  err('alGetProcAddress() called without a valid context');
32150
32150
  return 1;
@@ -34897,14 +34897,22 @@ export function init(RuntimeName, PHPLoader) {
34897
34897
  /** @export */
34898
34898
  invoke_iiiiiiii,
34899
34899
  /** @export */
34900
+ invoke_iiiiiiiii,
34901
+ /** @export */
34900
34902
  invoke_iiiiiiiiii,
34901
34903
  /** @export */
34904
+ invoke_iiiij,
34905
+ /** @export */
34906
+ invoke_iiij,
34907
+ /** @export */
34902
34908
  invoke_iiji,
34903
34909
  /** @export */
34904
34910
  invoke_iijii,
34905
34911
  /** @export */
34906
34912
  invoke_iijiji,
34907
34913
  /** @export */
34914
+ invoke_ji,
34915
+ /** @export */
34908
34916
  invoke_jii,
34909
34917
  /** @export */
34910
34918
  invoke_jiii,
@@ -34925,6 +34933,8 @@ export function init(RuntimeName, PHPLoader) {
34925
34933
  /** @export */
34926
34934
  invoke_viiiiii,
34927
34935
  /** @export */
34936
+ invoke_viiiiiii,
34937
+ /** @export */
34928
34938
  invoke_viiiiiiiii,
34929
34939
  /** @export */
34930
34940
  invoke_viijii,
@@ -35460,6 +35470,72 @@ export function init(RuntimeName, PHPLoader) {
35460
35470
  }
35461
35471
  }
35462
35472
 
35473
+ function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35474
+ var sp = stackSave();
35475
+ try {
35476
+ Module['dynCall_viiiiiii'](index, a1, a2, a3, a4, a5, a6, a7);
35477
+ } catch (e) {
35478
+ stackRestore(sp);
35479
+ if (e !== e + 0) throw e;
35480
+ _setThrew(1, 0);
35481
+ }
35482
+ }
35483
+
35484
+ function invoke_iiiij(index, a1, a2, a3, a4) {
35485
+ var sp = stackSave();
35486
+ try {
35487
+ return Module['dynCall_iiiij'](index, a1, a2, a3, a4);
35488
+ } catch (e) {
35489
+ stackRestore(sp);
35490
+ if (e !== e + 0) throw e;
35491
+ _setThrew(1, 0);
35492
+ }
35493
+ }
35494
+
35495
+ function invoke_ji(index, a1) {
35496
+ var sp = stackSave();
35497
+ try {
35498
+ return Module['dynCall_ji'](index, a1);
35499
+ } catch (e) {
35500
+ stackRestore(sp);
35501
+ if (e !== e + 0) throw e;
35502
+ _setThrew(1, 0);
35503
+ return 0n;
35504
+ }
35505
+ }
35506
+
35507
+ function invoke_iiij(index, a1, a2, a3) {
35508
+ var sp = stackSave();
35509
+ try {
35510
+ return Module['dynCall_iiij'](index, a1, a2, a3);
35511
+ } catch (e) {
35512
+ stackRestore(sp);
35513
+ if (e !== e + 0) throw e;
35514
+ _setThrew(1, 0);
35515
+ }
35516
+ }
35517
+
35518
+ function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
35519
+ var sp = stackSave();
35520
+ try {
35521
+ return Module['dynCall_iiiiiiiii'](
35522
+ index,
35523
+ a1,
35524
+ a2,
35525
+ a3,
35526
+ a4,
35527
+ a5,
35528
+ a6,
35529
+ a7,
35530
+ a8
35531
+ );
35532
+ } catch (e) {
35533
+ stackRestore(sp);
35534
+ if (e !== e + 0) throw e;
35535
+ _setThrew(1, 0);
35536
+ }
35537
+ }
35538
+
35463
35539
  function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35464
35540
  var sp = stackSave();
35465
35541
  try {
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_3_33', 'php_7_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 23218558;
11
+ export const dependenciesTotalSize = 23506166;
12
12
  const phpVersionString = '7.3.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
831
831
  },
832
832
  };
833
833
 
834
- var ___heap_base = 11417728;
834
+ var ___heap_base = 11436800;
835
835
 
836
836
  var alignMemory = (size, alignment) => {
837
837
  return Math.ceil(size / alignment) * alignment;
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
995
995
 
996
996
  /** @type {WebAssembly.Table} */
997
997
  var wasmTable = new WebAssembly.Table({
998
- initial: 11333,
998
+ initial: 11479,
999
999
  element: 'anyfunc',
1000
1000
  });
1001
1001
  var getWasmTableEntry = (funcPtr) => {
@@ -1786,13 +1786,13 @@ export function init(RuntimeName, PHPLoader) {
1786
1786
  1024
1787
1787
  );
1788
1788
 
1789
- var ___stack_high = 11417728;
1789
+ var ___stack_high = 11436800;
1790
1790
 
1791
- var ___stack_low = 10369152;
1791
+ var ___stack_low = 10388224;
1792
1792
 
1793
1793
  var ___stack_pointer = new WebAssembly.Global(
1794
1794
  { value: 'i32', mutable: true },
1795
- 11417728
1795
+ 11436800
1796
1796
  );
1797
1797
 
1798
1798
  var PATH = {
@@ -18296,7 +18296,7 @@ export function init(RuntimeName, PHPLoader) {
18296
18296
  var Asyncify = {
18297
18297
  instrumentWasmImports(imports) {
18298
18298
  var importPattern =
18299
- /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18299
+ /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iiij|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|zend_hash_str_find|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18300
18300
 
18301
18301
  for (let [x, original] of Object.entries(imports)) {
18302
18302
  if (typeof original == 'function') {
@@ -32138,13 +32138,13 @@ export function init(RuntimeName, PHPLoader) {
32138
32138
  // End JS library code
32139
32139
 
32140
32140
  var ASM_CONSTS = {
32141
- 10210557: ($0) => {
32141
+ 10229165: ($0) => {
32142
32142
  if (!$0) {
32143
32143
  AL.alcErr = 0xa004;
32144
32144
  return 1;
32145
32145
  }
32146
32146
  },
32147
- 10210605: ($0) => {
32147
+ 10229213: ($0) => {
32148
32148
  if (!AL.currentCtx) {
32149
32149
  err('alGetProcAddress() called without a valid context');
32150
32150
  return 1;
@@ -34897,8 +34897,14 @@ export function init(RuntimeName, PHPLoader) {
34897
34897
  /** @export */
34898
34898
  invoke_iiiiiiii,
34899
34899
  /** @export */
34900
+ invoke_iiiiiiiii,
34901
+ /** @export */
34900
34902
  invoke_iiiiiiiiii,
34901
34903
  /** @export */
34904
+ invoke_iiiij,
34905
+ /** @export */
34906
+ invoke_iiij,
34907
+ /** @export */
34902
34908
  invoke_iiji,
34903
34909
  /** @export */
34904
34910
  invoke_iijii,
@@ -34927,6 +34933,8 @@ export function init(RuntimeName, PHPLoader) {
34927
34933
  /** @export */
34928
34934
  invoke_viiiiii,
34929
34935
  /** @export */
34936
+ invoke_viiiiiii,
34937
+ /** @export */
34930
34938
  invoke_viiiiiiiii,
34931
34939
  /** @export */
34932
34940
  invoke_viijii,
@@ -35474,6 +35482,60 @@ export function init(RuntimeName, PHPLoader) {
35474
35482
  }
35475
35483
  }
35476
35484
 
35485
+ function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35486
+ var sp = stackSave();
35487
+ try {
35488
+ Module['dynCall_viiiiiii'](index, a1, a2, a3, a4, a5, a6, a7);
35489
+ } catch (e) {
35490
+ stackRestore(sp);
35491
+ if (e !== e + 0) throw e;
35492
+ _setThrew(1, 0);
35493
+ }
35494
+ }
35495
+
35496
+ function invoke_iiiij(index, a1, a2, a3, a4) {
35497
+ var sp = stackSave();
35498
+ try {
35499
+ return Module['dynCall_iiiij'](index, a1, a2, a3, a4);
35500
+ } catch (e) {
35501
+ stackRestore(sp);
35502
+ if (e !== e + 0) throw e;
35503
+ _setThrew(1, 0);
35504
+ }
35505
+ }
35506
+
35507
+ function invoke_iiij(index, a1, a2, a3) {
35508
+ var sp = stackSave();
35509
+ try {
35510
+ return Module['dynCall_iiij'](index, a1, a2, a3);
35511
+ } catch (e) {
35512
+ stackRestore(sp);
35513
+ if (e !== e + 0) throw e;
35514
+ _setThrew(1, 0);
35515
+ }
35516
+ }
35517
+
35518
+ function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
35519
+ var sp = stackSave();
35520
+ try {
35521
+ return Module['dynCall_iiiiiiiii'](
35522
+ index,
35523
+ a1,
35524
+ a2,
35525
+ a3,
35526
+ a4,
35527
+ a5,
35528
+ a6,
35529
+ a7,
35530
+ a8
35531
+ );
35532
+ } catch (e) {
35533
+ stackRestore(sp);
35534
+ if (e !== e + 0) throw e;
35535
+ _setThrew(1, 0);
35536
+ }
35537
+ }
35538
+
35477
35539
  function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35478
35540
  var sp = stackSave();
35479
35541
  try {
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 23627194;
11
+ export const dependenciesTotalSize = 23988201;
12
12
  const phpVersionString = '7.4.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
831
831
  },
832
832
  };
833
833
 
834
- var ___heap_base = 11742080;
834
+ var ___heap_base = 11761344;
835
835
 
836
836
  var alignMemory = (size, alignment) => {
837
837
  return Math.ceil(size / alignment) * alignment;
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
995
995
 
996
996
  /** @type {WebAssembly.Table} */
997
997
  var wasmTable = new WebAssembly.Table({
998
- initial: 11124,
998
+ initial: 11343,
999
999
  element: 'anyfunc',
1000
1000
  });
1001
1001
  var getWasmTableEntry = (funcPtr) => {
@@ -1786,13 +1786,13 @@ export function init(RuntimeName, PHPLoader) {
1786
1786
  1024
1787
1787
  );
1788
1788
 
1789
- var ___stack_high = 11742080;
1789
+ var ___stack_high = 11761344;
1790
1790
 
1791
- var ___stack_low = 10693504;
1791
+ var ___stack_low = 10712768;
1792
1792
 
1793
1793
  var ___stack_pointer = new WebAssembly.Global(
1794
1794
  { value: 'i32', mutable: true },
1795
- 11742080
1795
+ 11761344
1796
1796
  );
1797
1797
 
1798
1798
  var PATH = {
@@ -18300,7 +18300,7 @@ export function init(RuntimeName, PHPLoader) {
18300
18300
  var Asyncify = {
18301
18301
  instrumentWasmImports(imports) {
18302
18302
  var importPattern =
18303
- /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18303
+ /^(invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiii|invoke_iiiiiiiiii|invoke_v|invoke_vi|invoke_vii|invoke_viidii|invoke_viii|invoke_viiii|invoke_viiiii|invoke_viiiiii|invoke_viiiiiii|invoke_viiiiiiiii|invoke_i|invoke_ii|invoke_iii|invoke_iiii|invoke_iiiii|invoke_iiiiii|invoke_iiiiiii|invoke_iiiiiiii|invoke_iiiiiiiiii|invoke_iij|invoke_iiji|invoke_iiij|invoke_iijii|invoke_iijiji|invoke_jii|invoke_jiii|invoke_viijii|invoke_vji|js_open_process|_js_open_process|_asyncjs__js_open_process|js_popen_to_file|_js_popen_to_file|_asyncjs__js_popen_to_file|__syscall_fcntl64|___syscall_fcntl64|_asyncjs___syscall_fcntl64|js_release_file_locks|_js_release_file_locks|_async_js_release_file_locks|js_flock|_js_flock|_async_js_flock|js_fd_read|_js_fd_read|fd_close|_fd_close|_asyncjs__fd_close|close|_close|js_module_onMessage|zend_hash_str_find|_js_module_onMessage|_asyncjs__js_module_onMessage|js_waitpid|_js_waitpid|_asyncjs__js_waitpid|wasm_poll_socket|_wasm_poll_socket|_asyncjs__wasm_poll_socket|_wasm_shutdown|_asyncjs__wasm_shutdown|__asyncjs__.*)$/;
18304
18304
 
18305
18305
  for (let [x, original] of Object.entries(imports)) {
18306
18306
  if (typeof original == 'function') {
@@ -32138,13 +32138,13 @@ export function init(RuntimeName, PHPLoader) {
32138
32138
  // End JS library code
32139
32139
 
32140
32140
  var ASM_CONSTS = {
32141
- 10534365: ($0) => {
32141
+ 10553069: ($0) => {
32142
32142
  if (!$0) {
32143
32143
  AL.alcErr = 0xa004;
32144
32144
  return 1;
32145
32145
  }
32146
32146
  },
32147
- 10534413: ($0) => {
32147
+ 10553117: ($0) => {
32148
32148
  if (!AL.currentCtx) {
32149
32149
  err('alGetProcAddress() called without a valid context');
32150
32150
  return 1;
@@ -34897,8 +34897,16 @@ export function init(RuntimeName, PHPLoader) {
34897
34897
  /** @export */
34898
34898
  invoke_iiiiiiii,
34899
34899
  /** @export */
34900
+ invoke_iiiiiiiii,
34901
+ /** @export */
34900
34902
  invoke_iiiiiiiiii,
34901
34903
  /** @export */
34904
+ invoke_iiiij,
34905
+ /** @export */
34906
+ invoke_iiij,
34907
+ /** @export */
34908
+ invoke_iij,
34909
+ /** @export */
34902
34910
  invoke_iiji,
34903
34911
  /** @export */
34904
34912
  invoke_iijii,
@@ -34929,6 +34937,8 @@ export function init(RuntimeName, PHPLoader) {
34929
34937
  /** @export */
34930
34938
  invoke_viiiiii,
34931
34939
  /** @export */
34940
+ invoke_viiiiiii,
34941
+ /** @export */
34932
34942
  invoke_viiiiiiiii,
34933
34943
  /** @export */
34934
34944
  invoke_viijii,
@@ -35487,10 +35497,10 @@ export function init(RuntimeName, PHPLoader) {
35487
35497
  }
35488
35498
  }
35489
35499
 
35490
- function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35500
+ function invoke_iiiij(index, a1, a2, a3, a4) {
35491
35501
  var sp = stackSave();
35492
35502
  try {
35493
- Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35503
+ return Module['dynCall_iiiij'](index, a1, a2, a3, a4);
35494
35504
  } catch (e) {
35495
35505
  stackRestore(sp);
35496
35506
  if (e !== e + 0) throw e;
@@ -35498,21 +35508,32 @@ export function init(RuntimeName, PHPLoader) {
35498
35508
  }
35499
35509
  }
35500
35510
 
35501
- function invoke_viijii(index, a1, a2, a3, a4, a5) {
35511
+ function invoke_jiii(index, a1, a2, a3) {
35502
35512
  var sp = stackSave();
35503
35513
  try {
35504
- Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35514
+ return Module['dynCall_jiii'](index, a1, a2, a3);
35505
35515
  } catch (e) {
35506
35516
  stackRestore(sp);
35507
35517
  if (e !== e + 0) throw e;
35508
35518
  _setThrew(1, 0);
35519
+ return 0n;
35509
35520
  }
35510
35521
  }
35511
35522
 
35512
- function invoke_viidii(index, a1, a2, a3, a4, a5) {
35523
+ function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
35513
35524
  var sp = stackSave();
35514
35525
  try {
35515
- Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35526
+ return Module['dynCall_iiiiiiiii'](
35527
+ index,
35528
+ a1,
35529
+ a2,
35530
+ a3,
35531
+ a4,
35532
+ a5,
35533
+ a6,
35534
+ a7,
35535
+ a8
35536
+ );
35516
35537
  } catch (e) {
35517
35538
  stackRestore(sp);
35518
35539
  if (e !== e + 0) throw e;
@@ -35520,15 +35541,69 @@ export function init(RuntimeName, PHPLoader) {
35520
35541
  }
35521
35542
  }
35522
35543
 
35523
- function invoke_jiii(index, a1, a2, a3) {
35544
+ function invoke_iiij(index, a1, a2, a3) {
35524
35545
  var sp = stackSave();
35525
35546
  try {
35526
- return Module['dynCall_jiii'](index, a1, a2, a3);
35547
+ return Module['dynCall_iiij'](index, a1, a2, a3);
35548
+ } catch (e) {
35549
+ stackRestore(sp);
35550
+ if (e !== e + 0) throw e;
35551
+ _setThrew(1, 0);
35552
+ }
35553
+ }
35554
+
35555
+ function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35556
+ var sp = stackSave();
35557
+ try {
35558
+ Module['dynCall_viiiiiii'](index, a1, a2, a3, a4, a5, a6, a7);
35559
+ } catch (e) {
35560
+ stackRestore(sp);
35561
+ if (e !== e + 0) throw e;
35562
+ _setThrew(1, 0);
35563
+ }
35564
+ }
35565
+
35566
+ function invoke_iij(index, a1, a2) {
35567
+ var sp = stackSave();
35568
+ try {
35569
+ return Module['dynCall_iij'](index, a1, a2);
35570
+ } catch (e) {
35571
+ stackRestore(sp);
35572
+ if (e !== e + 0) throw e;
35573
+ _setThrew(1, 0);
35574
+ }
35575
+ }
35576
+
35577
+ function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35578
+ var sp = stackSave();
35579
+ try {
35580
+ Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35581
+ } catch (e) {
35582
+ stackRestore(sp);
35583
+ if (e !== e + 0) throw e;
35584
+ _setThrew(1, 0);
35585
+ }
35586
+ }
35587
+
35588
+ function invoke_viijii(index, a1, a2, a3, a4, a5) {
35589
+ var sp = stackSave();
35590
+ try {
35591
+ Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35592
+ } catch (e) {
35593
+ stackRestore(sp);
35594
+ if (e !== e + 0) throw e;
35595
+ _setThrew(1, 0);
35596
+ }
35597
+ }
35598
+
35599
+ function invoke_viidii(index, a1, a2, a3, a4, a5) {
35600
+ var sp = stackSave();
35601
+ try {
35602
+ Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35527
35603
  } catch (e) {
35528
35604
  stackRestore(sp);
35529
35605
  if (e !== e + 0) throw e;
35530
35606
  _setThrew(1, 0);
35531
- return 0n;
35532
35607
  }
35533
35608
  }
35534
35609