@php-wasm/web-8-4 3.1.1 → 3.1.3
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.
|
Binary file
|
package/asyncify/php_8_4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import dependencyFilename from './
|
|
1
|
+
import dependencyFilename from './8_4_18/php_8_4.wasm';
|
|
2
2
|
export { dependencyFilename };
|
|
3
|
-
export const dependenciesTotalSize =
|
|
4
|
-
const phpVersionString = '8.4.
|
|
3
|
+
export const dependenciesTotalSize = 26709629;
|
|
4
|
+
const phpVersionString = '8.4.18';
|
|
5
5
|
export function init(RuntimeName, PHPLoader) {
|
|
6
6
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
7
7
|
var Module = typeof PHPLoader != 'undefined' ? PHPLoader : {};
|
|
@@ -4946,8 +4946,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
4946
4946
|
init: function () {
|
|
4947
4947
|
if (PHPLoader.bindUserSpace) {
|
|
4948
4948
|
addOnInit(() => {
|
|
4949
|
+
if (typeof PHPLoader.processId !== 'number') {
|
|
4950
|
+
throw new Error(
|
|
4951
|
+
'PHPLoader.processId must be set before init'
|
|
4952
|
+
);
|
|
4953
|
+
}
|
|
4949
4954
|
Module['userSpace'] = PHPLoader.bindUserSpace({
|
|
4950
|
-
pid: PHPLoader.processId
|
|
4955
|
+
pid: PHPLoader.processId,
|
|
4951
4956
|
constants: {
|
|
4952
4957
|
F_GETFL: Number('3'),
|
|
4953
4958
|
O_ACCMODE: Number('2097155'),
|
|
@@ -24890,13 +24895,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24890
24895
|
Module['_recv'] = _recv;
|
|
24891
24896
|
Module['_setsockopt'] = _setsockopt;
|
|
24892
24897
|
var ASM_CONSTS = {
|
|
24893
|
-
|
|
24898
|
+
15766481: ($0) => {
|
|
24894
24899
|
if (!$0) {
|
|
24895
24900
|
AL.alcErr = 40964;
|
|
24896
24901
|
return 1;
|
|
24897
24902
|
}
|
|
24898
24903
|
},
|
|
24899
|
-
|
|
24904
|
+
15766529: ($0) => {
|
|
24900
24905
|
if (!AL.currentCtx) {
|
|
24901
24906
|
err('alGetProcAddress() called without a valid context');
|
|
24902
24907
|
return 1;
|
|
@@ -25370,7 +25375,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25370
25375
|
__indirect_function_table = wasmTable =
|
|
25371
25376
|
wasmExports['__indirect_function_table'];
|
|
25372
25377
|
}
|
|
25373
|
-
var ___heap_base =
|
|
25378
|
+
var ___heap_base = 17320640;
|
|
25374
25379
|
var wasmImports = {
|
|
25375
25380
|
IMG_Init: _IMG_Init,
|
|
25376
25381
|
IMG_Load: _IMG_Load,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/web-8-4",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "PHP 8.4 WebAssembly binaries for web",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"node": ">=20.10.0",
|
|
36
36
|
"npm": ">=10.2.3"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "54bb87ba4c9624ec02f60194a2f1938b3f42477b",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ini": "4.1.2",
|
|
41
41
|
"wasm-feature-detect": "1.8.0",
|
|
42
|
-
"@php-wasm/universal": "3.1.
|
|
42
|
+
"@php-wasm/universal": "3.1.3"
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "npm@10.9.2",
|
|
45
45
|
"overrides": {
|