@php-wasm/node 2.0.12 → 2.0.14

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 (39) hide show
  1. package/index.cjs +4008 -3804
  2. package/index.js +3999 -3794
  3. package/jspi/7_2_34/php_7_2.wasm +0 -0
  4. package/jspi/7_3_33/php_7_3.wasm +0 -0
  5. package/jspi/7_4_33/php_7_4.wasm +0 -0
  6. package/jspi/8_0_30/php_8_0.wasm +0 -0
  7. package/jspi/8_1_33/php_8_1.wasm +0 -0
  8. package/jspi/8_2_29/php_8_2.wasm +0 -0
  9. package/jspi/8_3_24/php_8_3.wasm +0 -0
  10. package/jspi/8_4_11/php_8_4.wasm +0 -0
  11. package/jspi/extensions/intl/7_2/intl.la +35 -0
  12. package/jspi/extensions/intl/7_2/intl.so +0 -0
  13. package/jspi/extensions/intl/7_3/intl.la +35 -0
  14. package/jspi/extensions/intl/7_3/intl.so +0 -0
  15. package/jspi/extensions/intl/7_4/intl.la +35 -0
  16. package/jspi/extensions/intl/7_4/intl.so +0 -0
  17. package/jspi/extensions/intl/8_0/intl.la +35 -0
  18. package/jspi/extensions/intl/8_0/intl.so +0 -0
  19. package/jspi/extensions/intl/8_1/intl.la +35 -0
  20. package/jspi/extensions/intl/8_1/intl.so +0 -0
  21. package/jspi/extensions/intl/8_2/intl.la +35 -0
  22. package/jspi/extensions/intl/8_2/intl.so +0 -0
  23. package/jspi/extensions/intl/8_3/intl.la +35 -0
  24. package/jspi/extensions/intl/8_3/intl.so +0 -0
  25. package/jspi/extensions/intl/8_4/intl.la +35 -0
  26. package/jspi/extensions/intl/8_4/intl.so +0 -0
  27. package/jspi/php_7_2.js +12 -12
  28. package/jspi/php_7_3.js +12 -12
  29. package/jspi/php_7_4.js +12 -12
  30. package/jspi/php_8_0.js +12 -12
  31. package/jspi/php_8_1.js +12 -12
  32. package/jspi/php_8_2.js +12 -12
  33. package/jspi/php_8_3.js +12 -12
  34. package/jspi/php_8_4.js +12 -12
  35. package/lib/extensions/intl/get-intl-extension-module.d.ts +2 -0
  36. package/lib/extensions/intl/with-intl.d.ts +2 -0
  37. package/lib/load-runtime.d.ts +1 -0
  38. package/package.json +7 -7
  39. package/jspi/8_3_23/php_8_3.wasm +0 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=''
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=''
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
@@ -0,0 +1,35 @@
1
+ # intl.la - a libtool library file
2
+ # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='intl.so'
9
+
10
+ # Names of this library.
11
+ library_names='intl.so intl.so intl.so'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Libraries that this one depends upon.
17
+ dependency_libs=' -L/root/lib'
18
+
19
+ # Version information for intl.
20
+ current=0
21
+ age=0
22
+ revision=0
23
+
24
+ # Is this an already installed library?
25
+ installed=yes
26
+
27
+ # Should we warn about portability when linking against -modules?
28
+ shouldnotlink=yes
29
+
30
+ # Files to dlopen/dlpreopen
31
+ dlopen=''
32
+ dlpreopen=''
33
+
34
+ # Directory that this library needs to be installed in:
35
+ libdir='/root/php-src/ext/intl/modules'
Binary file
package/jspi/php_7_2.js CHANGED
@@ -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 = 28865031;
11
+ export const dependenciesTotalSize = 22384215;
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
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 12424800;
851
+ var ___heap_base = 11083488;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 15576,
1015
+ initial: 11092,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 12424800;
1746
+ var ___stack_high = 11083488;
1747
1747
 
1748
- var ___stack_low = 11376224;
1748
+ var ___stack_low = 10034912;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 12424800
1752
+ 11083488
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31262,13 +31262,13 @@ export function init(RuntimeName, PHPLoader) {
31262
31262
  // End JS library code
31263
31263
 
31264
31264
  var ASM_CONSTS = {
31265
- 10409966: ($0) => {
31265
+ 9805998: ($0) => {
31266
31266
  if (!$0) {
31267
31267
  AL.alcErr = 0xa004;
31268
31268
  return 1;
31269
31269
  }
31270
31270
  },
31271
- 10410014: ($0) => {
31271
+ 9806046: ($0) => {
31272
31272
  if (!AL.currentCtx) {
31273
31273
  err('alGetProcAddress() called without a valid context');
31274
31274
  return 1;
@@ -34113,8 +34113,6 @@ export function init(RuntimeName, PHPLoader) {
34113
34113
  var _php_pollfd_for = (Module['_php_pollfd_for'] = (a0, a1, a2) =>
34114
34114
  (_php_pollfd_for = Module['_php_pollfd_for'] =
34115
34115
  wasmExports['php_pollfd_for'])(a0, a1, a2));
34116
- var ___cxa_throw = (a0, a1, a2) =>
34117
- (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34118
34116
  var ___wrap_usleep = (Module['___wrap_usleep'] = (a0) =>
34119
34117
  (___wrap_usleep = Module['___wrap_usleep'] =
34120
34118
  wasmExports['__wrap_usleep'])(a0));
@@ -34230,14 +34228,16 @@ export function init(RuntimeName, PHPLoader) {
34230
34228
  var _emscripten_stack_get_current = () =>
34231
34229
  (_emscripten_stack_get_current =
34232
34230
  wasmExports['emscripten_stack_get_current'])();
34231
+ var ___cxa_demangle = (a0, a1, a2, a3) =>
34232
+ (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34233
34233
  var ___cxa_decrement_exception_refcount = (a0) =>
34234
34234
  (___cxa_decrement_exception_refcount =
34235
34235
  wasmExports['__cxa_decrement_exception_refcount'])(a0);
34236
+ var ___cxa_throw = (a0, a1, a2) =>
34237
+ (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34236
34238
  var ___cxa_increment_exception_refcount = (a0) =>
34237
34239
  (___cxa_increment_exception_refcount =
34238
34240
  wasmExports['__cxa_increment_exception_refcount'])(a0);
34239
- var ___cxa_demangle = (a0, a1, a2, a3) =>
34240
- (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34241
34241
  var ___thrown_object_from_unwind_exception = (a0) =>
34242
34242
  (___thrown_object_from_unwind_exception =
34243
34243
  wasmExports['__thrown_object_from_unwind_exception'])(a0);
package/jspi/php_7_3.js CHANGED
@@ -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 = 29193979;
11
+ export const dependenciesTotalSize = 22719972;
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
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 12760416;
851
+ var ___heap_base = 11418848;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 15542,
1015
+ initial: 11056,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 12760416;
1746
+ var ___stack_high = 11418848;
1747
1747
 
1748
- var ___stack_low = 11711840;
1748
+ var ___stack_low = 10370272;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 12760416
1752
+ 11418848
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31262,13 +31262,13 @@ export function init(RuntimeName, PHPLoader) {
31262
31262
  // End JS library code
31263
31263
 
31264
31264
  var ASM_CONSTS = {
31265
- 10815374: ($0) => {
31265
+ 10211134: ($0) => {
31266
31266
  if (!$0) {
31267
31267
  AL.alcErr = 0xa004;
31268
31268
  return 1;
31269
31269
  }
31270
31270
  },
31271
- 10815422: ($0) => {
31271
+ 10211182: ($0) => {
31272
31272
  if (!AL.currentCtx) {
31273
31273
  err('alGetProcAddress() called without a valid context');
31274
31274
  return 1;
@@ -34113,8 +34113,6 @@ export function init(RuntimeName, PHPLoader) {
34113
34113
  var _htonl = (a0) => (_htonl = wasmExports['htonl'])(a0);
34114
34114
  var _wasm_sleep = (Module['_wasm_sleep'] = (a0) =>
34115
34115
  (_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'])(a0));
34116
- var ___cxa_throw = (a0, a1, a2) =>
34117
- (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34118
34116
  var ___wrap_usleep = (Module['___wrap_usleep'] = (a0) =>
34119
34117
  (___wrap_usleep = Module['___wrap_usleep'] =
34120
34118
  wasmExports['__wrap_usleep'])(a0));
@@ -34230,14 +34228,16 @@ export function init(RuntimeName, PHPLoader) {
34230
34228
  var _emscripten_stack_get_current = () =>
34231
34229
  (_emscripten_stack_get_current =
34232
34230
  wasmExports['emscripten_stack_get_current'])();
34231
+ var ___cxa_demangle = (a0, a1, a2, a3) =>
34232
+ (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34233
34233
  var ___cxa_decrement_exception_refcount = (a0) =>
34234
34234
  (___cxa_decrement_exception_refcount =
34235
34235
  wasmExports['__cxa_decrement_exception_refcount'])(a0);
34236
+ var ___cxa_throw = (a0, a1, a2) =>
34237
+ (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34236
34238
  var ___cxa_increment_exception_refcount = (a0) =>
34237
34239
  (___cxa_increment_exception_refcount =
34238
34240
  wasmExports['__cxa_increment_exception_refcount'])(a0);
34239
- var ___cxa_demangle = (a0, a1, a2, a3) =>
34240
- (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34241
34241
  var ___thrown_object_from_unwind_exception = (a0) =>
34242
34242
  (___thrown_object_from_unwind_exception =
34243
34243
  wasmExports['__thrown_object_from_unwind_exception'])(a0);
package/jspi/php_7_4.js CHANGED
@@ -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 = 29566253;
11
+ export const dependenciesTotalSize = 23088313;
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
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 13084960;
851
+ var ___heap_base = 11743136;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 15290,
1015
+ initial: 10804,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 13084960;
1746
+ var ___stack_high = 11743136;
1747
1747
 
1748
- var ___stack_low = 12036384;
1748
+ var ___stack_low = 10694560;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 13084960
1752
+ 11743136
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31262,13 +31262,13 @@ export function init(RuntimeName, PHPLoader) {
31262
31262
  // End JS library code
31263
31263
 
31264
31264
  var ASM_CONSTS = {
31265
- 11139230: ($0) => {
31265
+ 10534878: ($0) => {
31266
31266
  if (!$0) {
31267
31267
  AL.alcErr = 0xa004;
31268
31268
  return 1;
31269
31269
  }
31270
31270
  },
31271
- 11139278: ($0) => {
31271
+ 10534926: ($0) => {
31272
31272
  if (!AL.currentCtx) {
31273
31273
  err('alGetProcAddress() called without a valid context');
31274
31274
  return 1;
@@ -34113,8 +34113,6 @@ export function init(RuntimeName, PHPLoader) {
34113
34113
  var _htonl = (a0) => (_htonl = wasmExports['htonl'])(a0);
34114
34114
  var _wasm_sleep = (Module['_wasm_sleep'] = (a0) =>
34115
34115
  (_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'])(a0));
34116
- var ___cxa_throw = (a0, a1, a2) =>
34117
- (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34118
34116
  var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34119
34117
  (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
34120
34118
  a0,
@@ -34230,14 +34228,16 @@ export function init(RuntimeName, PHPLoader) {
34230
34228
  var _emscripten_stack_get_current = () =>
34231
34229
  (_emscripten_stack_get_current =
34232
34230
  wasmExports['emscripten_stack_get_current'])();
34231
+ var ___cxa_demangle = (a0, a1, a2, a3) =>
34232
+ (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34233
34233
  var ___cxa_decrement_exception_refcount = (a0) =>
34234
34234
  (___cxa_decrement_exception_refcount =
34235
34235
  wasmExports['__cxa_decrement_exception_refcount'])(a0);
34236
+ var ___cxa_throw = (a0, a1, a2) =>
34237
+ (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34236
34238
  var ___cxa_increment_exception_refcount = (a0) =>
34237
34239
  (___cxa_increment_exception_refcount =
34238
34240
  wasmExports['__cxa_increment_exception_refcount'])(a0);
34239
- var ___cxa_demangle = (a0, a1, a2, a3) =>
34240
- (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34241
34241
  var ___thrown_object_from_unwind_exception = (a0) =>
34242
34242
  (___thrown_object_from_unwind_exception =
34243
34243
  wasmExports['__thrown_object_from_unwind_exception'])(a0);
package/jspi/php_8_0.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_0_30', 'php_8_0.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 30759315;
11
+ export const dependenciesTotalSize = 24293447;
12
12
  const phpVersionString = '8.0.30';
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
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 14177504;
851
+ var ___heap_base = 12843488;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 15404,
1015
+ initial: 10921,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 14177504;
1746
+ var ___stack_high = 12843488;
1747
1747
 
1748
- var ___stack_low = 13128928;
1748
+ var ___stack_low = 11794912;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 14177504
1752
+ 12843488
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31262,13 +31262,13 @@ export function init(RuntimeName, PHPLoader) {
31262
31262
  // End JS library code
31263
31263
 
31264
31264
  var ASM_CONSTS = {
31265
- 12161278: ($0) => {
31265
+ 11564478: ($0) => {
31266
31266
  if (!$0) {
31267
31267
  AL.alcErr = 0xa004;
31268
31268
  return 1;
31269
31269
  }
31270
31270
  },
31271
- 12161326: ($0) => {
31271
+ 11564526: ($0) => {
31272
31272
  if (!AL.currentCtx) {
31273
31273
  err('alGetProcAddress() called without a valid context');
31274
31274
  return 1;
@@ -34112,8 +34112,6 @@ export function init(RuntimeName, PHPLoader) {
34112
34112
  var _htonl = (a0) => (_htonl = wasmExports['htonl'])(a0);
34113
34113
  var _wasm_sleep = (Module['_wasm_sleep'] = (a0) =>
34114
34114
  (_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'])(a0));
34115
- var ___cxa_throw = (a0, a1, a2) =>
34116
- (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34117
34115
  var _calloc = (a0, a1) => (_calloc = wasmExports['calloc'])(a0, a1);
34118
34116
  var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34119
34117
  (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
@@ -34230,14 +34228,16 @@ export function init(RuntimeName, PHPLoader) {
34230
34228
  var _emscripten_stack_get_current = () =>
34231
34229
  (_emscripten_stack_get_current =
34232
34230
  wasmExports['emscripten_stack_get_current'])();
34231
+ var ___cxa_demangle = (a0, a1, a2, a3) =>
34232
+ (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34233
34233
  var ___cxa_decrement_exception_refcount = (a0) =>
34234
34234
  (___cxa_decrement_exception_refcount =
34235
34235
  wasmExports['__cxa_decrement_exception_refcount'])(a0);
34236
+ var ___cxa_throw = (a0, a1, a2) =>
34237
+ (___cxa_throw = wasmExports['__cxa_throw'])(a0, a1, a2);
34236
34238
  var ___cxa_increment_exception_refcount = (a0) =>
34237
34239
  (___cxa_increment_exception_refcount =
34238
34240
  wasmExports['__cxa_increment_exception_refcount'])(a0);
34239
- var ___cxa_demangle = (a0, a1, a2, a3) =>
34240
- (___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
34241
34241
  var ___thrown_object_from_unwind_exception = (a0) =>
34242
34242
  (___thrown_object_from_unwind_exception =
34243
34243
  wasmExports['__thrown_object_from_unwind_exception'])(a0);