@php-wasm/node-8-5 3.1.44 → 3.1.45

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.
@@ -13,10 +13,10 @@ const currentDirPath =
13
13
  typeof __dirname !== 'undefined'
14
14
  ? __dirname
15
15
  : path.dirname(fileURLToPath(import.meta.url));
16
- const dependencyFilename = path.join(currentDirPath, '8_5_5', 'php_8_5.wasm');
16
+ const dependencyFilename = path.join(currentDirPath, '8_5_8', 'php_8_5.wasm');
17
17
  export { dependencyFilename };
18
- export const dependenciesTotalSize = 26660154;
19
- const phpVersionString = '8.5.5';
18
+ export const dependenciesTotalSize = 26696369;
19
+ const phpVersionString = '8.5.8';
20
20
  export function init(RuntimeName, PHPLoader) {
21
21
  // The rest of the code comes from the built php.js file and esm-suffix.js
22
22
  // include: shell.js
@@ -6243,7 +6243,7 @@ export function init(RuntimeName, PHPLoader) {
6243
6243
  O_NONBLOCK: 2048,
6244
6244
  POLLHUP: 16,
6245
6245
  SETFL_MASK: 3072,
6246
- socketTimeouts: new Map,
6246
+ socketTimeouts: new Map(),
6247
6247
  init: function () {
6248
6248
  // TODO: Move this to a library function that is made an onInit callback by the `__postset` suffix.
6249
6249
  if (PHPLoader.bindUserSpace) {
@@ -6841,7 +6841,6 @@ export function init(RuntimeName, PHPLoader) {
6841
6841
  const peer = PHPWASM.getAllPeers(sock).find(
6842
6842
  (candidate) => candidate.socket === ws
6843
6843
  );
6844
-
6845
6844
  const cleanupConnectListeners = () => {
6846
6845
  if (typeof timeoutId !== 'undefined') {
6847
6846
  clearTimeout(timeoutId);
@@ -6850,7 +6849,6 @@ export function init(RuntimeName, PHPLoader) {
6850
6849
  ws.removeEventListener('error', handleError);
6851
6850
  ws.removeEventListener('close', handleClose);
6852
6851
  };
6853
-
6854
6852
  const cleanupFailedConnect = (errno) => {
6855
6853
  try {
6856
6854
  if (
@@ -6859,16 +6857,13 @@ export function init(RuntimeName, PHPLoader) {
6859
6857
  ) {
6860
6858
  ws.close();
6861
6859
  }
6862
- } catch (e) {
6863
- // Ignore close errors on an already-failed connect.
6864
- }
6860
+ } catch (e) {}
6865
6861
  if (peer) {
6866
6862
  SOCKFS.websocket_sock_ops.removePeer(sock, peer);
6867
6863
  }
6868
6864
  sock.connecting = false;
6869
6865
  sock.error = errno;
6870
6866
  };
6871
-
6872
6867
  const finishConnect = (result) => {
6873
6868
  if (!resolved) {
6874
6869
  resolved = true;
@@ -6879,21 +6874,17 @@ export function init(RuntimeName, PHPLoader) {
6879
6874
  wakeUp(result);
6880
6875
  }
6881
6876
  };
6882
-
6883
6877
  if (timeout > 0) {
6884
6878
  timeoutId = setTimeout(() => {
6885
6879
  finishConnect(-ERRNO_CODES.ETIMEDOUT);
6886
6880
  }, timeout);
6887
6881
  }
6888
-
6889
6882
  handleOpen = () => {
6890
6883
  finishConnect(0);
6891
6884
  };
6892
-
6893
6885
  handleError = () => {
6894
6886
  finishConnect(-ERRNO_CODES.ECONNREFUSED);
6895
6887
  };
6896
-
6897
6888
  handleClose = () => {
6898
6889
  finishConnect(-ERRNO_CODES.ECONNREFUSED);
6899
6890
  };
@@ -9441,11 +9432,42 @@ export function init(RuntimeName, PHPLoader) {
9441
9432
  // callbacks.
9442
9433
  const interval = setInterval(pump, 20);
9443
9434
  pump();
9435
+ } else {
9436
+ /**
9437
+ * Descriptor 0 was not provided, so the child process must observe EOF.
9438
+ * Closing stdin explicitly lets spawn handlers distinguish that case from
9439
+ * a valid pipe whose first bytes have not arrived yet.
9440
+ */
9441
+ cp.stdin.end();
9444
9442
  }
9445
9443
  return ProcInfo.pid;
9446
9444
  });
9447
9445
  }
9448
9446
 
9447
+ function _js_popen_clear_pid_for_fd(fd) {
9448
+ for (const pid in PHPWASM.processTable) {
9449
+ if (PHPWASM.processTable[pid].fd === fd) {
9450
+ delete PHPWASM.processTable[pid].fd;
9451
+ return;
9452
+ }
9453
+ }
9454
+ }
9455
+
9456
+ function _js_popen_get_pid_for_fd(fd) {
9457
+ for (const pid in PHPWASM.processTable) {
9458
+ if (PHPWASM.processTable[pid].fd === fd) {
9459
+ return PHPWASM.processTable[pid].pid;
9460
+ }
9461
+ }
9462
+ return -1;
9463
+ }
9464
+
9465
+ function _js_popen_set_pid_for_fd(fd, pid) {
9466
+ if (PHPWASM.processTable[pid]) {
9467
+ PHPWASM.processTable[pid].fd = fd;
9468
+ }
9469
+ }
9470
+
9449
9471
  function _js_process_status(pid, exitCodePtr) {
9450
9472
  if (!PHPWASM.processTable[pid]) {
9451
9473
  return -1;
@@ -9896,6 +9918,7 @@ export function init(RuntimeName, PHPLoader) {
9896
9918
  PHPWASM.socketTimeouts.set(socketd, timeouts);
9897
9919
  return 0;
9898
9920
  }
9921
+ // Options that we can forward to the WebSocket proxy
9899
9922
  const isForwardable =
9900
9923
  (level === SOL_SOCKET && optionName === SO_KEEPALIVE) ||
9901
9924
  (level === IPPROTO_TCP && optionName === TCP_NODELAY);
@@ -10267,11 +10290,9 @@ export function init(RuntimeName, PHPLoader) {
10267
10290
 
10268
10291
  var _wasm_recv = function (sockfd, buffer, size, flags) {
10269
10292
  return Asyncify.handleSleep((wakeUp) => {
10270
- const receiveTimeout =
10271
- PHPWASM.socketTimeouts.get(sockfd)?.receive;
10293
+ const receiveTimeout = PHPWASM.socketTimeouts.get(sockfd)?.receive;
10272
10294
  const startedAt = Date.now();
10273
10295
  let resolved = false;
10274
-
10275
10296
  const poll = function () {
10276
10297
  if (resolved) {
10277
10298
  return;
@@ -10937,6 +10958,7 @@ export function init(RuntimeName, PHPLoader) {
10937
10958
  _zend_illegal_container_offset,
10938
10959
  _zend_argument_count_error,
10939
10960
  _zend_value_error,
10961
+ _strtoll,
10940
10962
  _strlen,
10941
10963
  _memcmp,
10942
10964
  _free,
@@ -10959,10 +10981,12 @@ export function init(RuntimeName, PHPLoader) {
10959
10981
  _strrchr,
10960
10982
  _strcasecmp,
10961
10983
  _memchr,
10984
+ _isalnum,
10962
10985
  _fwrite,
10963
10986
  _strncmp,
10964
10987
  _isxdigit,
10965
10988
  _strtok_r,
10989
+ _unlink,
10966
10990
  _strncasecmp,
10967
10991
  _fileno,
10968
10992
  _isatty,
@@ -10975,6 +10999,7 @@ export function init(RuntimeName, PHPLoader) {
10975
10999
  _write,
10976
11000
  _close,
10977
11001
  _tolower,
11002
+ _fseek,
10978
11003
  _stat,
10979
11004
  _gettimeofday,
10980
11005
  _iprintf,
@@ -10983,6 +11008,10 @@ export function init(RuntimeName, PHPLoader) {
10983
11008
  _fopen,
10984
11009
  _getcwd,
10985
11010
  _open,
11011
+ _rename,
11012
+ _mkdir,
11013
+ _rmdir,
11014
+ _opendir,
10986
11015
  _strncpy,
10987
11016
  _siprintf,
10988
11017
  _realloc,
@@ -11006,8 +11035,9 @@ export function init(RuntimeName, PHPLoader) {
11006
11035
  _strerror,
11007
11036
  _calloc,
11008
11037
  _qsort,
11038
+ _readdir,
11039
+ _closedir,
11009
11040
  _isdigit,
11010
- _wasm_popen,
11011
11041
  _wasm_php_exec,
11012
11042
  _socket,
11013
11043
  _freeaddrinfo,
@@ -11034,11 +11064,14 @@ export function init(RuntimeName, PHPLoader) {
11034
11064
  _strcpy,
11035
11065
  _atol,
11036
11066
  _strcat,
11067
+ _ftell,
11037
11068
  _wasm_read,
11038
11069
  _feof,
11039
11070
  _strncat,
11040
11071
  ___ctype_get_mb_cur_max,
11041
11072
  ___wrap_usleep,
11073
+ _wasm_popen,
11074
+ _wasm_pclose,
11042
11075
  _poll,
11043
11076
  ___wrap_select,
11044
11077
  _wasm_set_sapi_name,
@@ -11065,6 +11098,8 @@ export function init(RuntimeName, PHPLoader) {
11065
11098
  _wasm_get_end_offset,
11066
11099
  ___wrap_getpid,
11067
11100
  _wasm_trace,
11101
+ _sqlite3_auto_extension,
11102
+ _sqlite3_cancel_auto_extension,
11068
11103
  _rewind,
11069
11104
  _modf,
11070
11105
  _gmtime,
@@ -11128,6 +11163,7 @@ export function init(RuntimeName, PHPLoader) {
11128
11163
  dynCall_iijjjj,
11129
11164
  dynCall_ji,
11130
11165
  dynCall_viji,
11166
+ dynCall_iiij,
11131
11167
  dynCall_iijji,
11132
11168
  dynCall_iij,
11133
11169
  dynCall_iiiiiiiiiiij,
@@ -11139,7 +11175,6 @@ export function init(RuntimeName, PHPLoader) {
11139
11175
  dynCall_viiiiiii,
11140
11176
  dynCall_vji,
11141
11177
  dynCall_vijj,
11142
- dynCall_iiij,
11143
11178
  dynCall_iijiji,
11144
11179
  dynCall_jiji,
11145
11180
  dynCall_viiij,
@@ -11672,6 +11707,7 @@ export function init(RuntimeName, PHPLoader) {
11672
11707
  wasmExports['zend_argument_count_error'];
11673
11708
  _zend_value_error = Module['_zend_value_error'] =
11674
11709
  wasmExports['zend_value_error'];
11710
+ _strtoll = Module['_strtoll'] = wasmExports['strtoll'];
11675
11711
  _strlen = Module['_strlen'] = wasmExports['strlen'];
11676
11712
  _memcmp = Module['_memcmp'] = wasmExports['memcmp'];
11677
11713
  _free = Module['_free'] = wasmExports['free'];
@@ -11702,10 +11738,12 @@ export function init(RuntimeName, PHPLoader) {
11702
11738
  _strrchr = Module['_strrchr'] = wasmExports['strrchr'];
11703
11739
  _strcasecmp = Module['_strcasecmp'] = wasmExports['strcasecmp'];
11704
11740
  _memchr = Module['_memchr'] = wasmExports['memchr'];
11741
+ _isalnum = Module['_isalnum'] = wasmExports['isalnum'];
11705
11742
  _fwrite = Module['_fwrite'] = wasmExports['fwrite'];
11706
11743
  _strncmp = Module['_strncmp'] = wasmExports['strncmp'];
11707
11744
  _isxdigit = Module['_isxdigit'] = wasmExports['isxdigit'];
11708
11745
  _strtok_r = Module['_strtok_r'] = wasmExports['strtok_r'];
11746
+ _unlink = Module['_unlink'] = wasmExports['unlink'];
11709
11747
  _strncasecmp = Module['_strncasecmp'] = wasmExports['strncasecmp'];
11710
11748
  _fileno = Module['_fileno'] = wasmExports['fileno'];
11711
11749
  _isatty = Module['_isatty'] = wasmExports['isatty'];
@@ -11718,6 +11756,7 @@ export function init(RuntimeName, PHPLoader) {
11718
11756
  _write = Module['_write'] = wasmExports['write'];
11719
11757
  _close = Module['_close'] = wasmExports['close'];
11720
11758
  _tolower = Module['_tolower'] = wasmExports['tolower'];
11759
+ _fseek = Module['_fseek'] = wasmExports['fseek'];
11721
11760
  _stat = Module['_stat'] = wasmExports['stat'];
11722
11761
  _gettimeofday = Module['_gettimeofday'] = wasmExports['gettimeofday'];
11723
11762
  _iprintf = Module['_iprintf'] = wasmExports['iprintf'];
@@ -11726,6 +11765,10 @@ export function init(RuntimeName, PHPLoader) {
11726
11765
  _fopen = Module['_fopen'] = wasmExports['fopen'];
11727
11766
  _getcwd = Module['_getcwd'] = wasmExports['getcwd'];
11728
11767
  _open = Module['_open'] = wasmExports['open'];
11768
+ _rename = Module['_rename'] = wasmExports['rename'];
11769
+ _mkdir = Module['_mkdir'] = wasmExports['mkdir'];
11770
+ _rmdir = Module['_rmdir'] = wasmExports['rmdir'];
11771
+ _opendir = Module['_opendir'] = wasmExports['opendir'];
11729
11772
  _strncpy = Module['_strncpy'] = wasmExports['strncpy'];
11730
11773
  _siprintf = Module['_siprintf'] = wasmExports['siprintf'];
11731
11774
  _realloc = Module['_realloc'] = wasmExports['realloc'];
@@ -11749,8 +11792,9 @@ export function init(RuntimeName, PHPLoader) {
11749
11792
  _strerror = Module['_strerror'] = wasmExports['strerror'];
11750
11793
  _calloc = Module['_calloc'] = wasmExports['calloc'];
11751
11794
  _qsort = Module['_qsort'] = wasmExports['qsort'];
11795
+ _readdir = Module['_readdir'] = wasmExports['readdir'];
11796
+ _closedir = Module['_closedir'] = wasmExports['closedir'];
11752
11797
  _isdigit = Module['_isdigit'] = wasmExports['isdigit'];
11753
- _wasm_popen = Module['_wasm_popen'] = wasmExports['wasm_popen'];
11754
11798
  _wasm_php_exec = Module['_wasm_php_exec'] =
11755
11799
  wasmExports['wasm_php_exec'];
11756
11800
  _socket = Module['_socket'] = wasmExports['socket'];
@@ -11780,6 +11824,7 @@ export function init(RuntimeName, PHPLoader) {
11780
11824
  _strcpy = Module['_strcpy'] = wasmExports['strcpy'];
11781
11825
  _atol = Module['_atol'] = wasmExports['atol'];
11782
11826
  _strcat = Module['_strcat'] = wasmExports['strcat'];
11827
+ _ftell = Module['_ftell'] = wasmExports['ftell'];
11783
11828
  _wasm_read = Module['_wasm_read'] = wasmExports['wasm_read'];
11784
11829
  _feof = Module['_feof'] = wasmExports['feof'];
11785
11830
  _strncat = Module['_strncat'] = wasmExports['strncat'];
@@ -11787,6 +11832,8 @@ export function init(RuntimeName, PHPLoader) {
11787
11832
  wasmExports['__ctype_get_mb_cur_max'];
11788
11833
  ___wrap_usleep = Module['___wrap_usleep'] =
11789
11834
  wasmExports['__wrap_usleep'];
11835
+ _wasm_popen = Module['_wasm_popen'] = wasmExports['wasm_popen'];
11836
+ _wasm_pclose = Module['_wasm_pclose'] = wasmExports['wasm_pclose'];
11790
11837
  _poll = Module['_poll'] = wasmExports['poll'];
11791
11838
  ___wrap_select = Module['___wrap_select'] =
11792
11839
  wasmExports['__wrap_select'];
@@ -11838,6 +11885,11 @@ export function init(RuntimeName, PHPLoader) {
11838
11885
  ___wrap_getpid = Module['___wrap_getpid'] =
11839
11886
  wasmExports['__wrap_getpid'];
11840
11887
  _wasm_trace = Module['_wasm_trace'] = wasmExports['wasm_trace'];
11888
+ _sqlite3_auto_extension = Module['_sqlite3_auto_extension'] =
11889
+ wasmExports['sqlite3_auto_extension'];
11890
+ _sqlite3_cancel_auto_extension = Module[
11891
+ '_sqlite3_cancel_auto_extension'
11892
+ ] = wasmExports['sqlite3_cancel_auto_extension'];
11841
11893
  _rewind = Module['_rewind'] = wasmExports['rewind'];
11842
11894
  _modf = Module['_modf'] = wasmExports['modf'];
11843
11895
  _gmtime = Module['_gmtime'] = wasmExports['gmtime'];
@@ -11920,6 +11972,7 @@ export function init(RuntimeName, PHPLoader) {
11920
11972
  dynCall_iijjjj = dynCalls['iijjjj'] = wasmExports['dynCall_iijjjj'];
11921
11973
  dynCall_ji = dynCalls['ji'] = wasmExports['dynCall_ji'];
11922
11974
  dynCall_viji = dynCalls['viji'] = wasmExports['dynCall_viji'];
11975
+ dynCall_iiij = dynCalls['iiij'] = wasmExports['dynCall_iiij'];
11923
11976
  dynCall_iijji = dynCalls['iijji'] = wasmExports['dynCall_iijji'];
11924
11977
  dynCall_iij = dynCalls['iij'] = wasmExports['dynCall_iij'];
11925
11978
  dynCall_iiiiiiiiiiij = dynCalls['iiiiiiiiiiij'] =
@@ -11937,7 +11990,6 @@ export function init(RuntimeName, PHPLoader) {
11937
11990
  wasmExports['dynCall_viiiiiii'];
11938
11991
  dynCall_vji = dynCalls['vji'] = wasmExports['dynCall_vji'];
11939
11992
  dynCall_vijj = dynCalls['vijj'] = wasmExports['dynCall_vijj'];
11940
- dynCall_iiij = dynCalls['iiij'] = wasmExports['dynCall_iiij'];
11941
11993
  dynCall_iijiji = dynCalls['iijiji'] = wasmExports['dynCall_iijiji'];
11942
11994
  dynCall_jiji = dynCalls['jiji'] = wasmExports['dynCall_jiji'];
11943
11995
  dynCall_viiij = dynCalls['viiij'] = wasmExports['dynCall_viiij'];
@@ -12006,110 +12058,110 @@ export function init(RuntimeName, PHPLoader) {
12006
12058
  wasmExports['__indirect_function_table'];
12007
12059
  }
12008
12060
 
12009
- var _core_globals = (Module['_core_globals'] = 18169816);
12061
+ var _core_globals = (Module['_core_globals'] = 18175896);
12010
12062
 
12011
- var _php_ini_opened_path = (Module['_php_ini_opened_path'] = 18057664);
12063
+ var _php_ini_opened_path = (Module['_php_ini_opened_path'] = 18063744);
12012
12064
 
12013
- var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] = 18057668);
12065
+ var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] = 18063748);
12014
12066
 
12015
- var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] = 18057672);
12067
+ var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] = 18063752);
12016
12068
 
12017
- var _sapi_module = (Module['_sapi_module'] = 18052832);
12069
+ var _sapi_module = (Module['_sapi_module'] = 18058912);
12018
12070
 
12019
- var _sapi_globals = (Module['_sapi_globals'] = 18052984);
12071
+ var _sapi_globals = (Module['_sapi_globals'] = 18059064);
12020
12072
 
12021
- var _module_registry = (Module['_module_registry'] = 18172752);
12073
+ var _module_registry = (Module['_module_registry'] = 18178832);
12022
12074
 
12023
- var _zend_ce_closure = (Module['_zend_ce_closure'] = 18170684);
12075
+ var _zend_ce_closure = (Module['_zend_ce_closure'] = 18176764);
12024
12076
 
12025
- var _compiler_globals = (Module['_compiler_globals'] = 18174376);
12077
+ var _compiler_globals = (Module['_compiler_globals'] = 18180456);
12026
12078
 
12027
- var _executor_globals = (Module['_executor_globals'] = 18174792);
12079
+ var _executor_globals = (Module['_executor_globals'] = 18180872);
12028
12080
 
12029
- var _zend_compile_file = (Module['_zend_compile_file'] = 18176208);
12081
+ var _zend_compile_file = (Module['_zend_compile_file'] = 18182288);
12030
12082
 
12031
- var _zend_ce_exception = (Module['_zend_ce_exception'] = 18170812);
12083
+ var _zend_ce_exception = (Module['_zend_ce_exception'] = 18176892);
12032
12084
 
12033
- var _zend_ce_error = (Module['_zend_ce_error'] = 18170936);
12085
+ var _zend_ce_error = (Module['_zend_ce_error'] = 18177016);
12034
12086
 
12035
12087
  var _zend_throw_exception_hook = (Module['_zend_throw_exception_hook'] =
12036
- 18170808);
12088
+ 18176888);
12037
12089
 
12038
- var _zend_ce_throwable = (Module['_zend_ce_throwable'] = 18170816);
12090
+ var _zend_ce_throwable = (Module['_zend_ce_throwable'] = 18176896);
12039
12091
 
12040
- var _zend_execute_ex = (Module['_zend_execute_ex'] = 18172736);
12092
+ var _zend_execute_ex = (Module['_zend_execute_ex'] = 18178816);
12041
12093
 
12042
- var _zend_execute_internal = (Module['_zend_execute_internal'] = 18172740);
12094
+ var _zend_execute_internal = (Module['_zend_execute_internal'] = 18178820);
12043
12095
 
12044
- var _zend_pass_function = (Module['_zend_pass_function'] = 17534576);
12096
+ var _zend_pass_function = (Module['_zend_pass_function'] = 17540656);
12045
12097
 
12046
- var _zend_extensions = (Module['_zend_extensions'] = 18170652);
12098
+ var _zend_extensions = (Module['_zend_extensions'] = 18176732);
12047
12099
 
12048
- var _gc_collect_cycles = (Module['_gc_collect_cycles'] = 18173136);
12100
+ var _gc_collect_cycles = (Module['_gc_collect_cycles'] = 18179216);
12049
12101
 
12050
- var _zend_empty_array = (Module['_zend_empty_array'] = 17549888);
12102
+ var _zend_empty_array = (Module['_zend_empty_array'] = 17555968);
12051
12103
 
12052
- var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] = 18052192);
12104
+ var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] = 18058272);
12053
12105
 
12054
- var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 18052196);
12106
+ var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 18058276);
12055
12107
 
12056
- var _zend_ce_countable = (Module['_zend_ce_countable'] = 18052208);
12108
+ var _zend_ce_countable = (Module['_zend_ce_countable'] = 18058288);
12057
12109
 
12058
- var _std_object_handlers = (Module['_std_object_handlers'] = 17533280);
12110
+ var _std_object_handlers = (Module['_std_object_handlers'] = 17539360);
12059
12111
 
12060
- var _zend_empty_string = (Module['_zend_empty_string'] = 18173140);
12112
+ var _zend_empty_string = (Module['_zend_empty_string'] = 18179220);
12061
12113
 
12062
- var _zend_known_strings = (Module['_zend_known_strings'] = 18173144);
12114
+ var _zend_known_strings = (Module['_zend_known_strings'] = 18179224);
12063
12115
 
12064
12116
  var _zend_string_init_interned = (Module['_zend_string_init_interned'] =
12065
- 18173212);
12117
+ 18179292);
12066
12118
 
12067
- var _zend_write = (Module['_zend_write'] = 18174292);
12119
+ var _zend_write = (Module['_zend_write'] = 18180372);
12068
12120
 
12069
- var _zend_error_cb = (Module['_zend_error_cb'] = 18174296);
12121
+ var _zend_error_cb = (Module['_zend_error_cb'] = 18180376);
12070
12122
 
12071
- var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] = 18174264);
12123
+ var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] = 18180344);
12072
12124
 
12073
12125
  var ___memory_base = (Module['___memory_base'] = 0);
12074
12126
 
12075
12127
  var ___table_base = (Module['___table_base'] = 1);
12076
12128
 
12077
- var _stderr = (Module['_stderr'] = 18044784);
12129
+ var _stderr = (Module['_stderr'] = 18050864);
12078
12130
 
12079
- var ___THREW__ = (Module['___THREW__'] = 18524564);
12131
+ var ___THREW__ = (Module['___THREW__'] = 18530644);
12080
12132
 
12081
- var ___threwValue = (Module['___threwValue'] = 18524568);
12133
+ var ___threwValue = (Module['___threwValue'] = 18530648);
12082
12134
 
12083
- var _stdout = (Module['_stdout'] = 18045088);
12135
+ var _stdout = (Module['_stdout'] = 18051168);
12084
12136
 
12085
- var _timezone = (Module['_timezone'] = 18511488);
12137
+ var _timezone = (Module['_timezone'] = 18517568);
12086
12138
 
12087
- var _tzname = (Module['_tzname'] = 18511496);
12139
+ var _tzname = (Module['_tzname'] = 18517576);
12088
12140
 
12089
- var ___heap_base = 19573232;
12141
+ var ___heap_base = 19579312;
12090
12142
 
12091
12143
  var __ZNSt3__25ctypeIcE2idE = (Module['__ZNSt3__25ctypeIcE2idE'] =
12092
- 18524644);
12144
+ 18530724);
12093
12145
 
12094
12146
  var __ZTVN10__cxxabiv120__si_class_type_infoE = (Module[
12095
12147
  '__ZTVN10__cxxabiv120__si_class_type_infoE'
12096
- ] = 18045336);
12148
+ ] = 18051416);
12097
12149
 
12098
12150
  var __ZTVN10__cxxabiv117__class_type_infoE = (Module[
12099
12151
  '__ZTVN10__cxxabiv117__class_type_infoE'
12100
- ] = 18045296);
12152
+ ] = 18051376);
12101
12153
 
12102
12154
  var __ZTVN10__cxxabiv121__vmi_class_type_infoE = (Module[
12103
12155
  '__ZTVN10__cxxabiv121__vmi_class_type_infoE'
12104
- ] = 18045388);
12156
+ ] = 18051468);
12105
12157
 
12106
12158
  var __ZTISt20bad_array_new_length = (Module[
12107
12159
  '__ZTISt20bad_array_new_length'
12108
- ] = 18045460);
12160
+ ] = 18051540);
12109
12161
 
12110
- var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] = 18045504);
12162
+ var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] = 18051584);
12111
12163
 
12112
- var __ZTISt12length_error = (Module['__ZTISt12length_error'] = 18045524);
12164
+ var __ZTISt12length_error = (Module['__ZTISt12length_error'] = 18051604);
12113
12165
 
12114
12166
  var wasmImports = {
12115
12167
  /** @export */ __assert_fail: ___assert_fail,
@@ -12250,6 +12302,9 @@ export function init(RuntimeName, PHPLoader) {
12250
12302
  /** @export */ js_flock: _js_flock,
12251
12303
  /** @export */ js_getpid: _js_getpid,
12252
12304
  /** @export */ js_open_process: _js_open_process,
12305
+ /** @export */ js_popen_clear_pid_for_fd: _js_popen_clear_pid_for_fd,
12306
+ /** @export */ js_popen_get_pid_for_fd: _js_popen_get_pid_for_fd,
12307
+ /** @export */ js_popen_set_pid_for_fd: _js_popen_set_pid_for_fd,
12253
12308
  /** @export */ js_popen_to_file,
12254
12309
  /** @export */ js_process_status: _js_process_status,
12255
12310
  /** @export */ js_release_file_locks: _js_release_file_locks,
@@ -12478,6 +12533,17 @@ export function init(RuntimeName, PHPLoader) {
12478
12533
  }
12479
12534
  }
12480
12535
 
12536
+ function invoke_iiij(index, a1, a2, a3) {
12537
+ var sp = stackSave();
12538
+ try {
12539
+ return dynCalls['iiij'](index, a1, a2, a3);
12540
+ } catch (e) {
12541
+ stackRestore(sp);
12542
+ if (e !== e + 0) throw e;
12543
+ _setThrew(1, 0);
12544
+ }
12545
+ }
12546
+
12481
12547
  function invoke_ji(index, a1) {
12482
12548
  var sp = stackSave();
12483
12549
  try {
@@ -12567,17 +12633,6 @@ export function init(RuntimeName, PHPLoader) {
12567
12633
  }
12568
12634
  }
12569
12635
 
12570
- function invoke_iiij(index, a1, a2, a3) {
12571
- var sp = stackSave();
12572
- try {
12573
- return dynCalls['iiij'](index, a1, a2, a3);
12574
- } catch (e) {
12575
- stackRestore(sp);
12576
- if (e !== e + 0) throw e;
12577
- _setThrew(1, 0);
12578
- }
12579
- }
12580
-
12581
12636
  function invoke_viiij(index, a1, a2, a3, a4) {
12582
12637
  var sp = stackSave();
12583
12638
  try {
Binary file