@php-wasm/web-8-1 3.1.34 → 3.1.36
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.
- package/asyncify/php_8_1.js +104 -32
- package/jspi/8_1_34/php_8_1.wasm +0 -0
- package/jspi/php_8_1.js +131 -66
- package/package.json +3 -3
package/asyncify/php_8_1.js
CHANGED
|
@@ -4796,6 +4796,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
4796
4796
|
O_NONBLOCK: 2048,
|
|
4797
4797
|
POLLHUP: 16,
|
|
4798
4798
|
SETFL_MASK: 3072,
|
|
4799
|
+
socketTimeouts: new Map,
|
|
4799
4800
|
init: function () {
|
|
4800
4801
|
if (PHPLoader.bindUserSpace) {
|
|
4801
4802
|
addOnInit(() => {
|
|
@@ -5159,6 +5160,29 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5159
5160
|
return [promise, cancel];
|
|
5160
5161
|
},
|
|
5161
5162
|
noop: function () {},
|
|
5163
|
+
parseSocketTimeout: function (optionValuePtr, optionLen) {
|
|
5164
|
+
if (!optionValuePtr || optionLen < 8) {
|
|
5165
|
+
return null;
|
|
5166
|
+
}
|
|
5167
|
+
let seconds;
|
|
5168
|
+
let microseconds;
|
|
5169
|
+
if (optionLen >= 16) {
|
|
5170
|
+
seconds = Number(HEAP64[optionValuePtr >> 3]);
|
|
5171
|
+
microseconds = Number(HEAP64[(optionValuePtr + 8) >> 3]);
|
|
5172
|
+
} else {
|
|
5173
|
+
seconds = HEAP32[optionValuePtr >> 2];
|
|
5174
|
+
microseconds = HEAP32[(optionValuePtr + 4) >> 2];
|
|
5175
|
+
}
|
|
5176
|
+
if (
|
|
5177
|
+
!Number.isFinite(seconds) ||
|
|
5178
|
+
!Number.isFinite(microseconds) ||
|
|
5179
|
+
seconds < 0 ||
|
|
5180
|
+
microseconds < 0
|
|
5181
|
+
) {
|
|
5182
|
+
return null;
|
|
5183
|
+
}
|
|
5184
|
+
return seconds * 1e3 + Math.ceil(microseconds / 1e3);
|
|
5185
|
+
},
|
|
5162
5186
|
spawnProcess: function (command, args, options) {
|
|
5163
5187
|
if (Module['spawnProcess']) {
|
|
5164
5188
|
const spawned = Module['spawnProcess'](command, args, {
|
|
@@ -5187,6 +5211,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5187
5211
|
throw e;
|
|
5188
5212
|
},
|
|
5189
5213
|
shutdownSocket: function (socketd, how) {
|
|
5214
|
+
PHPWASM.socketTimeouts.delete(socketd);
|
|
5190
5215
|
const sock = getSocketFromFD(socketd);
|
|
5191
5216
|
const peer = Object.values(sock.peers)[0];
|
|
5192
5217
|
if (!peer) {
|
|
@@ -5256,41 +5281,74 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5256
5281
|
wakeUp(-ERRNO_CODES.ECONNREFUSED);
|
|
5257
5282
|
return;
|
|
5258
5283
|
}
|
|
5259
|
-
|
|
5284
|
+
// Wait for the connection to be established. A zero timeval
|
|
5285
|
+
// disables the timeout, matching SO_SNDTIMEO semantics.
|
|
5286
|
+
const sendTimeout = PHPWASM.socketTimeouts.get(sockfd)?.send;
|
|
5287
|
+
const timeout = sendTimeout ?? 3e4;
|
|
5260
5288
|
let resolved = false;
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5289
|
+
let timeoutId;
|
|
5290
|
+
let handleOpen;
|
|
5291
|
+
let handleError;
|
|
5292
|
+
let handleClose;
|
|
5293
|
+
const peer = PHPWASM.getAllPeers(sock).find(
|
|
5294
|
+
(candidate) => candidate.socket === ws
|
|
5295
|
+
);
|
|
5296
|
+
|
|
5297
|
+
const cleanupConnectListeners = () => {
|
|
5298
|
+
if (typeof timeoutId !== 'undefined') {
|
|
5270
5299
|
clearTimeout(timeoutId);
|
|
5271
|
-
ws.removeEventListener('error', handleError);
|
|
5272
|
-
ws.removeEventListener('close', handleClose);
|
|
5273
|
-
wakeUp(0);
|
|
5274
5300
|
}
|
|
5301
|
+
ws.removeEventListener('open', handleOpen);
|
|
5302
|
+
ws.removeEventListener('error', handleError);
|
|
5303
|
+
ws.removeEventListener('close', handleClose);
|
|
5275
5304
|
};
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5305
|
+
|
|
5306
|
+
const cleanupFailedConnect = (errno) => {
|
|
5307
|
+
try {
|
|
5308
|
+
if (
|
|
5309
|
+
ws.readyState !== ws.CLOSING &&
|
|
5310
|
+
ws.readyState !== ws.CLOSED
|
|
5311
|
+
) {
|
|
5312
|
+
ws.close();
|
|
5313
|
+
}
|
|
5314
|
+
} catch (e) {
|
|
5315
|
+
// Ignore close errors on an already-failed connect.
|
|
5283
5316
|
}
|
|
5317
|
+
if (peer) {
|
|
5318
|
+
SOCKFS.websocket_sock_ops.removePeer(sock, peer);
|
|
5319
|
+
}
|
|
5320
|
+
sock.connecting = false;
|
|
5321
|
+
sock.error = errno;
|
|
5284
5322
|
};
|
|
5285
|
-
|
|
5323
|
+
|
|
5324
|
+
const finishConnect = (result) => {
|
|
5286
5325
|
if (!resolved) {
|
|
5287
5326
|
resolved = true;
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5327
|
+
cleanupConnectListeners();
|
|
5328
|
+
if (result < 0) {
|
|
5329
|
+
cleanupFailedConnect(-result);
|
|
5330
|
+
}
|
|
5331
|
+
wakeUp(result);
|
|
5292
5332
|
}
|
|
5293
5333
|
};
|
|
5334
|
+
|
|
5335
|
+
if (timeout > 0) {
|
|
5336
|
+
timeoutId = setTimeout(() => {
|
|
5337
|
+
finishConnect(-ERRNO_CODES.ETIMEDOUT);
|
|
5338
|
+
}, timeout);
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
handleOpen = () => {
|
|
5342
|
+
finishConnect(0);
|
|
5343
|
+
};
|
|
5344
|
+
|
|
5345
|
+
handleError = () => {
|
|
5346
|
+
finishConnect(-ERRNO_CODES.ECONNREFUSED);
|
|
5347
|
+
};
|
|
5348
|
+
|
|
5349
|
+
handleClose = () => {
|
|
5350
|
+
finishConnect(-ERRNO_CODES.ECONNREFUSED);
|
|
5351
|
+
};
|
|
5294
5352
|
ws.addEventListener('open', handleOpen);
|
|
5295
5353
|
ws.addEventListener('error', handleError);
|
|
5296
5354
|
ws.addEventListener('close', handleClose);
|
|
@@ -7663,21 +7721,35 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7663
7721
|
const SO_SNDTIMEO = 67;
|
|
7664
7722
|
const IPPROTO_TCP = 6;
|
|
7665
7723
|
const TCP_NODELAY = 1;
|
|
7724
|
+
if (
|
|
7725
|
+
level === SOL_SOCKET &&
|
|
7726
|
+
(optionName === SO_RCVTIMEO || optionName === SO_SNDTIMEO)
|
|
7727
|
+
) {
|
|
7728
|
+
const timeoutMs = PHPWASM.parseSocketTimeout(
|
|
7729
|
+
optionValuePtr,
|
|
7730
|
+
optionLen
|
|
7731
|
+
);
|
|
7732
|
+
if (timeoutMs === null) {
|
|
7733
|
+
return -1;
|
|
7734
|
+
}
|
|
7735
|
+
const timeouts = PHPWASM.socketTimeouts.get(socketd) || {};
|
|
7736
|
+
if (optionName === SO_RCVTIMEO) {
|
|
7737
|
+
timeouts.receive = timeoutMs;
|
|
7738
|
+
} else {
|
|
7739
|
+
timeouts.send = timeoutMs;
|
|
7740
|
+
}
|
|
7741
|
+
PHPWASM.socketTimeouts.set(socketd, timeouts);
|
|
7742
|
+
return 0;
|
|
7743
|
+
}
|
|
7666
7744
|
const isForwardable =
|
|
7667
7745
|
(level === SOL_SOCKET && optionName === SO_KEEPALIVE) ||
|
|
7668
7746
|
(level === IPPROTO_TCP && optionName === TCP_NODELAY);
|
|
7669
|
-
|
|
7670
|
-
level === SOL_SOCKET &&
|
|
7671
|
-
(optionName === SO_RCVTIMEO || optionName === SO_SNDTIMEO);
|
|
7672
|
-
if (!isForwardable && !isIgnorable) {
|
|
7747
|
+
if (!isForwardable) {
|
|
7673
7748
|
console.warn(
|
|
7674
7749
|
`Unsupported socket option: ${level}, ${optionName}, ${optionValue}`
|
|
7675
7750
|
);
|
|
7676
7751
|
return -1;
|
|
7677
7752
|
}
|
|
7678
|
-
if (isIgnorable) {
|
|
7679
|
-
return 0;
|
|
7680
|
-
}
|
|
7681
7753
|
const ws = PHPWASM.getAllWebSockets(socketd)[0];
|
|
7682
7754
|
if (!ws) {
|
|
7683
7755
|
return -1;
|
package/jspi/8_1_34/php_8_1.wasm
CHANGED
|
Binary file
|
package/jspi/php_8_1.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import dependencyFilename from './8_1_34/php_8_1.wasm';
|
|
2
2
|
export { dependencyFilename };
|
|
3
|
-
export const dependenciesTotalSize =
|
|
3
|
+
export const dependenciesTotalSize = 20224434;
|
|
4
4
|
const phpVersionString = '8.1.34';
|
|
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
|
|
@@ -4673,6 +4673,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
4673
4673
|
O_NONBLOCK: 2048,
|
|
4674
4674
|
POLLHUP: 16,
|
|
4675
4675
|
SETFL_MASK: 3072,
|
|
4676
|
+
socketTimeouts: new Map(),
|
|
4676
4677
|
init: function () {
|
|
4677
4678
|
if (PHPLoader.bindUserSpace) {
|
|
4678
4679
|
addOnInit(() => {
|
|
@@ -5036,6 +5037,29 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5036
5037
|
return [promise, cancel];
|
|
5037
5038
|
},
|
|
5038
5039
|
noop: function () {},
|
|
5040
|
+
parseSocketTimeout: function (optionValuePtr, optionLen) {
|
|
5041
|
+
if (!optionValuePtr || optionLen < 8) {
|
|
5042
|
+
return null;
|
|
5043
|
+
}
|
|
5044
|
+
let seconds;
|
|
5045
|
+
let microseconds;
|
|
5046
|
+
if (optionLen >= 16) {
|
|
5047
|
+
seconds = Number(HEAP64[optionValuePtr >> 3]);
|
|
5048
|
+
microseconds = Number(HEAP64[(optionValuePtr + 8) >> 3]);
|
|
5049
|
+
} else {
|
|
5050
|
+
seconds = HEAP32[optionValuePtr >> 2];
|
|
5051
|
+
microseconds = HEAP32[(optionValuePtr + 4) >> 2];
|
|
5052
|
+
}
|
|
5053
|
+
if (
|
|
5054
|
+
!Number.isFinite(seconds) ||
|
|
5055
|
+
!Number.isFinite(microseconds) ||
|
|
5056
|
+
seconds < 0 ||
|
|
5057
|
+
microseconds < 0
|
|
5058
|
+
) {
|
|
5059
|
+
return null;
|
|
5060
|
+
}
|
|
5061
|
+
return seconds * 1e3 + Math.ceil(microseconds / 1e3);
|
|
5062
|
+
},
|
|
5039
5063
|
spawnProcess: function (command, args, options) {
|
|
5040
5064
|
if (Module['spawnProcess']) {
|
|
5041
5065
|
const spawned = Module['spawnProcess'](command, args, {
|
|
@@ -5064,6 +5088,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5064
5088
|
throw e;
|
|
5065
5089
|
},
|
|
5066
5090
|
shutdownSocket: function (socketd, how) {
|
|
5091
|
+
PHPWASM.socketTimeouts.delete(socketd);
|
|
5067
5092
|
const sock = getSocketFromFD(socketd);
|
|
5068
5093
|
const peer = Object.values(sock.peers)[0];
|
|
5069
5094
|
if (!peer) {
|
|
@@ -5133,41 +5158,63 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5133
5158
|
wakeUp(-ERRNO_CODES.ECONNREFUSED);
|
|
5134
5159
|
return;
|
|
5135
5160
|
}
|
|
5136
|
-
const
|
|
5161
|
+
const sendTimeout = PHPWASM.socketTimeouts.get(sockfd)?.send;
|
|
5162
|
+
const timeout = sendTimeout ?? 3e4;
|
|
5137
5163
|
let resolved = false;
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5164
|
+
let timeoutId;
|
|
5165
|
+
let handleOpen;
|
|
5166
|
+
let handleError;
|
|
5167
|
+
let handleClose;
|
|
5168
|
+
const peer = PHPWASM.getAllPeers(sock).find(
|
|
5169
|
+
(candidate) => candidate.socket === ws
|
|
5170
|
+
);
|
|
5171
|
+
const cleanupConnectListeners = () => {
|
|
5172
|
+
if (typeof timeoutId !== 'undefined') {
|
|
5147
5173
|
clearTimeout(timeoutId);
|
|
5148
|
-
ws.removeEventListener('error', handleError);
|
|
5149
|
-
ws.removeEventListener('close', handleClose);
|
|
5150
|
-
wakeUp(0);
|
|
5151
5174
|
}
|
|
5175
|
+
ws.removeEventListener('open', handleOpen);
|
|
5176
|
+
ws.removeEventListener('error', handleError);
|
|
5177
|
+
ws.removeEventListener('close', handleClose);
|
|
5152
5178
|
};
|
|
5153
|
-
const
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5179
|
+
const cleanupFailedConnect = (errno) => {
|
|
5180
|
+
try {
|
|
5181
|
+
if (
|
|
5182
|
+
ws.readyState !== ws.CLOSING &&
|
|
5183
|
+
ws.readyState !== ws.CLOSED
|
|
5184
|
+
) {
|
|
5185
|
+
ws.close();
|
|
5186
|
+
}
|
|
5187
|
+
} catch (e) {}
|
|
5188
|
+
if (peer) {
|
|
5189
|
+
SOCKFS.websocket_sock_ops.removePeer(sock, peer);
|
|
5160
5190
|
}
|
|
5191
|
+
sock.connecting = false;
|
|
5192
|
+
sock.error = errno;
|
|
5161
5193
|
};
|
|
5162
|
-
const
|
|
5194
|
+
const finishConnect = (result) => {
|
|
5163
5195
|
if (!resolved) {
|
|
5164
5196
|
resolved = true;
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5197
|
+
cleanupConnectListeners();
|
|
5198
|
+
if (result < 0) {
|
|
5199
|
+
cleanupFailedConnect(-result);
|
|
5200
|
+
}
|
|
5201
|
+
wakeUp(result);
|
|
5169
5202
|
}
|
|
5170
5203
|
};
|
|
5204
|
+
if (timeout > 0) {
|
|
5205
|
+
timeoutId = setTimeout(() => {
|
|
5206
|
+
finishConnect(-ERRNO_CODES.ETIMEDOUT);
|
|
5207
|
+
}, timeout);
|
|
5208
|
+
}
|
|
5209
|
+
handleOpen = () => {
|
|
5210
|
+
finishConnect(0);
|
|
5211
|
+
};
|
|
5212
|
+
handleError = () => {
|
|
5213
|
+
finishConnect(-ERRNO_CODES.ECONNREFUSED);
|
|
5214
|
+
};
|
|
5215
|
+
handleClose = () => {
|
|
5216
|
+
finishConnect(-ERRNO_CODES.ECONNREFUSED);
|
|
5217
|
+
};
|
|
5171
5218
|
ws.addEventListener('open', handleOpen);
|
|
5172
5219
|
ws.addEventListener('error', handleError);
|
|
5173
5220
|
ws.addEventListener('close', handleClose);
|
|
@@ -7536,21 +7583,35 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7536
7583
|
const SO_SNDTIMEO = 67;
|
|
7537
7584
|
const IPPROTO_TCP = 6;
|
|
7538
7585
|
const TCP_NODELAY = 1;
|
|
7586
|
+
if (
|
|
7587
|
+
level === SOL_SOCKET &&
|
|
7588
|
+
(optionName === SO_RCVTIMEO || optionName === SO_SNDTIMEO)
|
|
7589
|
+
) {
|
|
7590
|
+
const timeoutMs = PHPWASM.parseSocketTimeout(
|
|
7591
|
+
optionValuePtr,
|
|
7592
|
+
optionLen
|
|
7593
|
+
);
|
|
7594
|
+
if (timeoutMs === null) {
|
|
7595
|
+
return -1;
|
|
7596
|
+
}
|
|
7597
|
+
const timeouts = PHPWASM.socketTimeouts.get(socketd) || {};
|
|
7598
|
+
if (optionName === SO_RCVTIMEO) {
|
|
7599
|
+
timeouts.receive = timeoutMs;
|
|
7600
|
+
} else {
|
|
7601
|
+
timeouts.send = timeoutMs;
|
|
7602
|
+
}
|
|
7603
|
+
PHPWASM.socketTimeouts.set(socketd, timeouts);
|
|
7604
|
+
return 0;
|
|
7605
|
+
}
|
|
7539
7606
|
const isForwardable =
|
|
7540
7607
|
(level === SOL_SOCKET && optionName === SO_KEEPALIVE) ||
|
|
7541
7608
|
(level === IPPROTO_TCP && optionName === TCP_NODELAY);
|
|
7542
|
-
|
|
7543
|
-
level === SOL_SOCKET &&
|
|
7544
|
-
(optionName === SO_RCVTIMEO || optionName === SO_SNDTIMEO);
|
|
7545
|
-
if (!isForwardable && !isIgnorable) {
|
|
7609
|
+
if (!isForwardable) {
|
|
7546
7610
|
console.warn(
|
|
7547
7611
|
`Unsupported socket option: ${level}, ${optionName}, ${optionValue}`
|
|
7548
7612
|
);
|
|
7549
7613
|
return -1;
|
|
7550
7614
|
}
|
|
7551
|
-
if (isIgnorable) {
|
|
7552
|
-
return 0;
|
|
7553
|
-
}
|
|
7554
7615
|
const ws = PHPWASM.getAllWebSockets(socketd)[0];
|
|
7555
7616
|
if (!ws) {
|
|
7556
7617
|
return -1;
|
|
@@ -8111,6 +8172,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8111
8172
|
_zend_try_assign_typed_ref_long,
|
|
8112
8173
|
_zend_try_assign_typed_ref_arr,
|
|
8113
8174
|
_zend_declare_property,
|
|
8175
|
+
_zend_declare_class_constant_ex,
|
|
8114
8176
|
_zend_declare_class_constant_null,
|
|
8115
8177
|
_zend_declare_class_constant_long,
|
|
8116
8178
|
_zend_declare_class_constant_double,
|
|
@@ -8531,6 +8593,9 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8531
8593
|
] = wasmExports['zend_try_assign_typed_ref_arr'];
|
|
8532
8594
|
_zend_declare_property = Module['_zend_declare_property'] =
|
|
8533
8595
|
wasmExports['zend_declare_property'];
|
|
8596
|
+
_zend_declare_class_constant_ex = Module[
|
|
8597
|
+
'_zend_declare_class_constant_ex'
|
|
8598
|
+
] = wasmExports['zend_declare_class_constant_ex'];
|
|
8534
8599
|
_zend_declare_class_constant_null = Module[
|
|
8535
8600
|
'_zend_declare_class_constant_null'
|
|
8536
8601
|
] = wasmExports['zend_declare_class_constant_null'];
|
|
@@ -8896,62 +8961,62 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8896
8961
|
wasmExports['__indirect_function_table'];
|
|
8897
8962
|
___c_longjmp = Module['___c_longjmp'] = wasmExports['__c_longjmp'];
|
|
8898
8963
|
}
|
|
8899
|
-
var _file_globals = (Module['_file_globals'] =
|
|
8900
|
-
var _sapi_module = (Module['_sapi_module'] =
|
|
8901
|
-
var _sapi_globals = (Module['_sapi_globals'] =
|
|
8902
|
-
var _compiler_globals = (Module['_compiler_globals'] =
|
|
8903
|
-
var _executor_globals = (Module['_executor_globals'] =
|
|
8904
|
-
var _zend_compile_string = (Module['_zend_compile_string'] =
|
|
8905
|
-
var _zend_ce_traversable = (Module['_zend_ce_traversable'] =
|
|
8906
|
-
var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] =
|
|
8907
|
-
var _zend_ce_iterator = (Module['_zend_ce_iterator'] =
|
|
8908
|
-
var _zend_ce_serializable = (Module['_zend_ce_serializable'] =
|
|
8909
|
-
var _zend_ce_arrayaccess = (Module['_zend_ce_arrayaccess'] =
|
|
8910
|
-
var _zend_ce_countable = (Module['_zend_ce_countable'] =
|
|
8911
|
-
var _zend_ce_stringable = (Module['_zend_ce_stringable'] =
|
|
8912
|
-
var _zend_ce_exception = (Module['_zend_ce_exception'] =
|
|
8913
|
-
var _zend_ce_throwable = (Module['_zend_ce_throwable'] =
|
|
8964
|
+
var _file_globals = (Module['_file_globals'] = 12819840);
|
|
8965
|
+
var _sapi_module = (Module['_sapi_module'] = 12765428);
|
|
8966
|
+
var _sapi_globals = (Module['_sapi_globals'] = 12765576);
|
|
8967
|
+
var _compiler_globals = (Module['_compiler_globals'] = 12822624);
|
|
8968
|
+
var _executor_globals = (Module['_executor_globals'] = 12823008);
|
|
8969
|
+
var _zend_compile_string = (Module['_zend_compile_string'] = 12824212);
|
|
8970
|
+
var _zend_ce_traversable = (Module['_zend_ce_traversable'] = 12677604);
|
|
8971
|
+
var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] = 12677608);
|
|
8972
|
+
var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 12677612);
|
|
8973
|
+
var _zend_ce_serializable = (Module['_zend_ce_serializable'] = 12677616);
|
|
8974
|
+
var _zend_ce_arrayaccess = (Module['_zend_ce_arrayaccess'] = 12677620);
|
|
8975
|
+
var _zend_ce_countable = (Module['_zend_ce_countable'] = 12677624);
|
|
8976
|
+
var _zend_ce_stringable = (Module['_zend_ce_stringable'] = 12677628);
|
|
8977
|
+
var _zend_ce_exception = (Module['_zend_ce_exception'] = 12820384);
|
|
8978
|
+
var _zend_ce_throwable = (Module['_zend_ce_throwable'] = 12820368);
|
|
8914
8979
|
var _zend_ce_division_by_zero_error = (Module[
|
|
8915
8980
|
'_zend_ce_division_by_zero_error'
|
|
8916
|
-
] =
|
|
8981
|
+
] = 12820512);
|
|
8917
8982
|
var _zend_ce_unhandled_match_error = (Module[
|
|
8918
8983
|
'_zend_ce_unhandled_match_error'
|
|
8919
|
-
] =
|
|
8920
|
-
var _zend_empty_string = (Module['_zend_empty_string'] =
|
|
8984
|
+
] = 12820516);
|
|
8985
|
+
var _zend_empty_string = (Module['_zend_empty_string'] = 12676080);
|
|
8921
8986
|
var _zend_string_init_interned = (Module['_zend_string_init_interned'] =
|
|
8922
|
-
|
|
8923
|
-
var _zend_one_char_string = (Module['_zend_one_char_string'] =
|
|
8987
|
+
12676148);
|
|
8988
|
+
var _zend_one_char_string = (Module['_zend_one_char_string'] = 12676160);
|
|
8924
8989
|
var _std_object_handlers = (Module['_std_object_handlers'] = 11781020);
|
|
8925
|
-
var _zend_ce_unit_enum = (Module['_zend_ce_unit_enum'] =
|
|
8926
|
-
var _zend_ce_backed_enum = (Module['_zend_ce_backed_enum'] =
|
|
8990
|
+
var _zend_ce_unit_enum = (Module['_zend_ce_unit_enum'] = 12677832);
|
|
8991
|
+
var _zend_ce_backed_enum = (Module['_zend_ce_backed_enum'] = 12677836);
|
|
8927
8992
|
var ___memory_base = (Module['___memory_base'] = 0);
|
|
8928
8993
|
var ___table_base = (Module['___table_base'] = 1);
|
|
8929
|
-
var _stdout = (Module['_stdout'] =
|
|
8994
|
+
var _stdout = (Module['_stdout'] = 12669264);
|
|
8930
8995
|
var __playground_zend_side_module_data_exports = (Module[
|
|
8931
8996
|
'__playground_zend_side_module_data_exports'
|
|
8932
8997
|
] = 12175808);
|
|
8933
8998
|
var __playground_zend_side_module_function_exports = (Module[
|
|
8934
8999
|
'__playground_zend_side_module_function_exports'
|
|
8935
9000
|
] = 12175904);
|
|
8936
|
-
var _timezone = (Module['_timezone'] =
|
|
8937
|
-
var _tzname = (Module['_tzname'] =
|
|
8938
|
-
var ___heap_base =
|
|
9001
|
+
var _timezone = (Module['_timezone'] = 13159488);
|
|
9002
|
+
var _tzname = (Module['_tzname'] = 13159496);
|
|
9003
|
+
var ___heap_base = 14221760;
|
|
8939
9004
|
var __ZNSt3__25ctypeIcE2idE = (Module['__ZNSt3__25ctypeIcE2idE'] =
|
|
8940
|
-
|
|
9005
|
+
13173164);
|
|
8941
9006
|
var __ZTVN10__cxxabiv120__si_class_type_infoE = (Module[
|
|
8942
9007
|
'__ZTVN10__cxxabiv120__si_class_type_infoE'
|
|
8943
|
-
] =
|
|
9008
|
+
] = 12669552);
|
|
8944
9009
|
var __ZTVN10__cxxabiv117__class_type_infoE = (Module[
|
|
8945
9010
|
'__ZTVN10__cxxabiv117__class_type_infoE'
|
|
8946
|
-
] =
|
|
9011
|
+
] = 12669512);
|
|
8947
9012
|
var __ZTVN10__cxxabiv121__vmi_class_type_infoE = (Module[
|
|
8948
9013
|
'__ZTVN10__cxxabiv121__vmi_class_type_infoE'
|
|
8949
|
-
] =
|
|
9014
|
+
] = 12669604);
|
|
8950
9015
|
var __ZTISt20bad_array_new_length = (Module[
|
|
8951
9016
|
'__ZTISt20bad_array_new_length'
|
|
8952
|
-
] =
|
|
8953
|
-
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] =
|
|
8954
|
-
var __ZTISt12length_error = (Module['__ZTISt12length_error'] =
|
|
9017
|
+
] = 12669724);
|
|
9018
|
+
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] = 12669800);
|
|
9019
|
+
var __ZTISt12length_error = (Module['__ZTISt12length_error'] = 12669820);
|
|
8955
9020
|
var wasmImports = {
|
|
8956
9021
|
__assert_fail: ___assert_fail,
|
|
8957
9022
|
__asyncjs__js_module_onMessage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/web-8-1",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.36",
|
|
4
4
|
"description": "PHP 8.1 WebAssembly binaries for web",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"node": ">=20.10.0",
|
|
36
36
|
"npm": ">=10.2.3"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "371f4fd6f9d56af6fb35b6c2cf0267edaea83755",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"wasm-feature-detect": "1.8.0",
|
|
41
|
-
"@php-wasm/universal": "3.1.
|
|
41
|
+
"@php-wasm/universal": "3.1.36"
|
|
42
42
|
},
|
|
43
43
|
"packageManager": "npm@10.9.2",
|
|
44
44
|
"overrides": {
|