@php-wasm/node-8-5 3.1.52 → 3.1.54
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/{8_5_8 → 8_5_10}/php_8_5.wasm +0 -0
- package/asyncify/php_8_5.js +54 -50
- package/jspi/{8_5_8 → 8_5_10}/php_8_5.wasm +0 -0
- package/jspi/php_8_5.js +2732 -138
- package/package.json +3 -3
|
Binary file
|
package/asyncify/php_8_5.js
CHANGED
|
@@ -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, '
|
|
16
|
+
const dependencyFilename = path.join(currentDirPath, '8_5_10', 'php_8_5.wasm');
|
|
17
17
|
export { dependencyFilename };
|
|
18
|
-
export const dependenciesTotalSize =
|
|
19
|
-
const phpVersionString = '8.5.
|
|
18
|
+
export const dependenciesTotalSize = 26704381;
|
|
19
|
+
const phpVersionString = '8.5.10';
|
|
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
|
|
@@ -9437,8 +9437,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
9437
9437
|
* Descriptor 0 was not provided, so the child process must observe EOF.
|
|
9438
9438
|
* Closing stdin explicitly lets spawn handlers distinguish that case from
|
|
9439
9439
|
* a valid pipe whose first bytes have not arrived yet.
|
|
9440
|
-
*/
|
|
9441
|
-
cp.stdin.end();
|
|
9440
|
+
*/ cp.stdin.end();
|
|
9442
9441
|
}
|
|
9443
9442
|
return ProcInfo.pid;
|
|
9444
9443
|
});
|
|
@@ -10972,6 +10971,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
10972
10971
|
_dlclose,
|
|
10973
10972
|
_strcmp,
|
|
10974
10973
|
_getenv,
|
|
10974
|
+
_explicit_bzero,
|
|
10975
10975
|
___wasm_setjmp,
|
|
10976
10976
|
___wasm_setjmp_test,
|
|
10977
10977
|
_emscripten_longjmp,
|
|
@@ -11033,6 +11033,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11033
11033
|
_fmod,
|
|
11034
11034
|
_setlocale,
|
|
11035
11035
|
_strerror,
|
|
11036
|
+
_sscanf,
|
|
11036
11037
|
_calloc,
|
|
11037
11038
|
_qsort,
|
|
11038
11039
|
_readdir,
|
|
@@ -11725,6 +11726,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11725
11726
|
_dlclose = Module['_dlclose'] = wasmExports['dlclose'];
|
|
11726
11727
|
_strcmp = Module['_strcmp'] = wasmExports['strcmp'];
|
|
11727
11728
|
_getenv = Module['_getenv'] = wasmExports['getenv'];
|
|
11729
|
+
_explicit_bzero = Module['_explicit_bzero'] =
|
|
11730
|
+
wasmExports['explicit_bzero'];
|
|
11728
11731
|
___wasm_setjmp = Module['___wasm_setjmp'] =
|
|
11729
11732
|
wasmExports['__wasm_setjmp'];
|
|
11730
11733
|
___wasm_setjmp_test = Module['___wasm_setjmp_test'] =
|
|
@@ -11790,6 +11793,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11790
11793
|
_fmod = Module['_fmod'] = wasmExports['fmod'];
|
|
11791
11794
|
_setlocale = Module['_setlocale'] = wasmExports['setlocale'];
|
|
11792
11795
|
_strerror = Module['_strerror'] = wasmExports['strerror'];
|
|
11796
|
+
_sscanf = Module['_sscanf'] = wasmExports['sscanf'];
|
|
11793
11797
|
_calloc = Module['_calloc'] = wasmExports['calloc'];
|
|
11794
11798
|
_qsort = Module['_qsort'] = wasmExports['qsort'];
|
|
11795
11799
|
_readdir = Module['_readdir'] = wasmExports['readdir'];
|
|
@@ -12058,110 +12062,110 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
12058
12062
|
wasmExports['__indirect_function_table'];
|
|
12059
12063
|
}
|
|
12060
12064
|
|
|
12061
|
-
var _core_globals = (Module['_core_globals'] =
|
|
12065
|
+
var _core_globals = (Module['_core_globals'] = 18175880);
|
|
12062
12066
|
|
|
12063
|
-
var _php_ini_opened_path = (Module['_php_ini_opened_path'] =
|
|
12067
|
+
var _php_ini_opened_path = (Module['_php_ini_opened_path'] = 18063728);
|
|
12064
12068
|
|
|
12065
|
-
var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] =
|
|
12069
|
+
var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] = 18063732);
|
|
12066
12070
|
|
|
12067
|
-
var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] =
|
|
12071
|
+
var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] = 18063736);
|
|
12068
12072
|
|
|
12069
|
-
var _sapi_module = (Module['_sapi_module'] =
|
|
12073
|
+
var _sapi_module = (Module['_sapi_module'] = 18058896);
|
|
12070
12074
|
|
|
12071
|
-
var _sapi_globals = (Module['_sapi_globals'] =
|
|
12075
|
+
var _sapi_globals = (Module['_sapi_globals'] = 18059048);
|
|
12072
12076
|
|
|
12073
|
-
var _module_registry = (Module['_module_registry'] =
|
|
12077
|
+
var _module_registry = (Module['_module_registry'] = 18178816);
|
|
12074
12078
|
|
|
12075
|
-
var _zend_ce_closure = (Module['_zend_ce_closure'] =
|
|
12079
|
+
var _zend_ce_closure = (Module['_zend_ce_closure'] = 18176748);
|
|
12076
12080
|
|
|
12077
|
-
var _compiler_globals = (Module['_compiler_globals'] =
|
|
12081
|
+
var _compiler_globals = (Module['_compiler_globals'] = 18180440);
|
|
12078
12082
|
|
|
12079
|
-
var _executor_globals = (Module['_executor_globals'] =
|
|
12083
|
+
var _executor_globals = (Module['_executor_globals'] = 18180856);
|
|
12080
12084
|
|
|
12081
|
-
var _zend_compile_file = (Module['_zend_compile_file'] =
|
|
12085
|
+
var _zend_compile_file = (Module['_zend_compile_file'] = 18182272);
|
|
12082
12086
|
|
|
12083
|
-
var _zend_ce_exception = (Module['_zend_ce_exception'] =
|
|
12087
|
+
var _zend_ce_exception = (Module['_zend_ce_exception'] = 18176876);
|
|
12084
12088
|
|
|
12085
|
-
var _zend_ce_error = (Module['_zend_ce_error'] =
|
|
12089
|
+
var _zend_ce_error = (Module['_zend_ce_error'] = 18177e3);
|
|
12086
12090
|
|
|
12087
12091
|
var _zend_throw_exception_hook = (Module['_zend_throw_exception_hook'] =
|
|
12088
|
-
|
|
12092
|
+
18176872);
|
|
12089
12093
|
|
|
12090
|
-
var _zend_ce_throwable = (Module['_zend_ce_throwable'] =
|
|
12094
|
+
var _zend_ce_throwable = (Module['_zend_ce_throwable'] = 18176880);
|
|
12091
12095
|
|
|
12092
|
-
var _zend_execute_ex = (Module['_zend_execute_ex'] =
|
|
12096
|
+
var _zend_execute_ex = (Module['_zend_execute_ex'] = 18178800);
|
|
12093
12097
|
|
|
12094
|
-
var _zend_execute_internal = (Module['_zend_execute_internal'] =
|
|
12098
|
+
var _zend_execute_internal = (Module['_zend_execute_internal'] = 18178804);
|
|
12095
12099
|
|
|
12096
|
-
var _zend_pass_function = (Module['_zend_pass_function'] =
|
|
12100
|
+
var _zend_pass_function = (Module['_zend_pass_function'] = 17540640);
|
|
12097
12101
|
|
|
12098
|
-
var _zend_extensions = (Module['_zend_extensions'] =
|
|
12102
|
+
var _zend_extensions = (Module['_zend_extensions'] = 18176716);
|
|
12099
12103
|
|
|
12100
|
-
var _gc_collect_cycles = (Module['_gc_collect_cycles'] =
|
|
12104
|
+
var _gc_collect_cycles = (Module['_gc_collect_cycles'] = 18179200);
|
|
12101
12105
|
|
|
12102
|
-
var _zend_empty_array = (Module['_zend_empty_array'] =
|
|
12106
|
+
var _zend_empty_array = (Module['_zend_empty_array'] = 17555952);
|
|
12103
12107
|
|
|
12104
|
-
var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] =
|
|
12108
|
+
var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] = 18058256);
|
|
12105
12109
|
|
|
12106
|
-
var _zend_ce_iterator = (Module['_zend_ce_iterator'] =
|
|
12110
|
+
var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 18058260);
|
|
12107
12111
|
|
|
12108
|
-
var _zend_ce_countable = (Module['_zend_ce_countable'] =
|
|
12112
|
+
var _zend_ce_countable = (Module['_zend_ce_countable'] = 18058272);
|
|
12109
12113
|
|
|
12110
|
-
var _std_object_handlers = (Module['_std_object_handlers'] =
|
|
12114
|
+
var _std_object_handlers = (Module['_std_object_handlers'] = 17539344);
|
|
12111
12115
|
|
|
12112
|
-
var _zend_empty_string = (Module['_zend_empty_string'] =
|
|
12116
|
+
var _zend_empty_string = (Module['_zend_empty_string'] = 18179204);
|
|
12113
12117
|
|
|
12114
|
-
var _zend_known_strings = (Module['_zend_known_strings'] =
|
|
12118
|
+
var _zend_known_strings = (Module['_zend_known_strings'] = 18179208);
|
|
12115
12119
|
|
|
12116
12120
|
var _zend_string_init_interned = (Module['_zend_string_init_interned'] =
|
|
12117
|
-
|
|
12121
|
+
18179276);
|
|
12118
12122
|
|
|
12119
|
-
var _zend_write = (Module['_zend_write'] =
|
|
12123
|
+
var _zend_write = (Module['_zend_write'] = 18180356);
|
|
12120
12124
|
|
|
12121
|
-
var _zend_error_cb = (Module['_zend_error_cb'] =
|
|
12125
|
+
var _zend_error_cb = (Module['_zend_error_cb'] = 18180360);
|
|
12122
12126
|
|
|
12123
|
-
var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] =
|
|
12127
|
+
var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] = 18180328);
|
|
12124
12128
|
|
|
12125
12129
|
var ___memory_base = (Module['___memory_base'] = 0);
|
|
12126
12130
|
|
|
12127
12131
|
var ___table_base = (Module['___table_base'] = 1);
|
|
12128
12132
|
|
|
12129
|
-
var _stderr = (Module['_stderr'] =
|
|
12133
|
+
var _stderr = (Module['_stderr'] = 18050848);
|
|
12130
12134
|
|
|
12131
|
-
var ___THREW__ = (Module['___THREW__'] =
|
|
12135
|
+
var ___THREW__ = (Module['___THREW__'] = 18530628);
|
|
12132
12136
|
|
|
12133
|
-
var ___threwValue = (Module['___threwValue'] =
|
|
12137
|
+
var ___threwValue = (Module['___threwValue'] = 18530632);
|
|
12134
12138
|
|
|
12135
|
-
var _stdout = (Module['_stdout'] =
|
|
12139
|
+
var _stdout = (Module['_stdout'] = 18051152);
|
|
12136
12140
|
|
|
12137
|
-
var _timezone = (Module['_timezone'] =
|
|
12141
|
+
var _timezone = (Module['_timezone'] = 18517552);
|
|
12138
12142
|
|
|
12139
|
-
var _tzname = (Module['_tzname'] =
|
|
12143
|
+
var _tzname = (Module['_tzname'] = 18517560);
|
|
12140
12144
|
|
|
12141
|
-
var ___heap_base =
|
|
12145
|
+
var ___heap_base = 19579296;
|
|
12142
12146
|
|
|
12143
12147
|
var __ZNSt3__25ctypeIcE2idE = (Module['__ZNSt3__25ctypeIcE2idE'] =
|
|
12144
|
-
|
|
12148
|
+
18530708);
|
|
12145
12149
|
|
|
12146
12150
|
var __ZTVN10__cxxabiv120__si_class_type_infoE = (Module[
|
|
12147
12151
|
'__ZTVN10__cxxabiv120__si_class_type_infoE'
|
|
12148
|
-
] =
|
|
12152
|
+
] = 18051400);
|
|
12149
12153
|
|
|
12150
12154
|
var __ZTVN10__cxxabiv117__class_type_infoE = (Module[
|
|
12151
12155
|
'__ZTVN10__cxxabiv117__class_type_infoE'
|
|
12152
|
-
] =
|
|
12156
|
+
] = 18051360);
|
|
12153
12157
|
|
|
12154
12158
|
var __ZTVN10__cxxabiv121__vmi_class_type_infoE = (Module[
|
|
12155
12159
|
'__ZTVN10__cxxabiv121__vmi_class_type_infoE'
|
|
12156
|
-
] =
|
|
12160
|
+
] = 18051452);
|
|
12157
12161
|
|
|
12158
12162
|
var __ZTISt20bad_array_new_length = (Module[
|
|
12159
12163
|
'__ZTISt20bad_array_new_length'
|
|
12160
|
-
] =
|
|
12164
|
+
] = 18051524);
|
|
12161
12165
|
|
|
12162
|
-
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] =
|
|
12166
|
+
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] = 18051568);
|
|
12163
12167
|
|
|
12164
|
-
var __ZTISt12length_error = (Module['__ZTISt12length_error'] =
|
|
12168
|
+
var __ZTISt12length_error = (Module['__ZTISt12length_error'] = 18051588);
|
|
12165
12169
|
|
|
12166
12170
|
var wasmImports = {
|
|
12167
12171
|
/** @export */ __assert_fail: ___assert_fail,
|
|
Binary file
|