@php-wasm/node-7-4 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/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/php_7_4.js +48 -44
- package/jspi/7_4_33/php_7_4.wasm +0 -0
- package/jspi/php_7_4.js +2485 -84
- package/package.json +3 -3
|
Binary file
|
package/asyncify/php_7_4.js
CHANGED
|
@@ -15,7 +15,7 @@ const currentDirPath =
|
|
|
15
15
|
: path.dirname(fileURLToPath(import.meta.url));
|
|
16
16
|
const dependencyFilename = path.join(currentDirPath, '7_4_33', 'php_7_4.wasm');
|
|
17
17
|
export { dependencyFilename };
|
|
18
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 18765536;
|
|
19
19
|
const phpVersionString = '7.4.33';
|
|
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
|
|
@@ -9421,8 +9421,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
9421
9421
|
* Descriptor 0 was not provided, so the child process must observe EOF.
|
|
9422
9422
|
* Closing stdin explicitly lets spawn handlers distinguish that case from
|
|
9423
9423
|
* a valid pipe whose first bytes have not arrived yet.
|
|
9424
|
-
*/
|
|
9425
|
-
cp.stdin.end();
|
|
9424
|
+
*/ cp.stdin.end();
|
|
9426
9425
|
}
|
|
9427
9426
|
return ProcInfo.pid;
|
|
9428
9427
|
});
|
|
@@ -10989,6 +10988,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
10989
10988
|
_acos,
|
|
10990
10989
|
_setlocale,
|
|
10991
10990
|
_localtime_r,
|
|
10991
|
+
_sscanf,
|
|
10992
10992
|
_tan,
|
|
10993
10993
|
_asin,
|
|
10994
10994
|
_atan,
|
|
@@ -11008,6 +11008,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11008
11008
|
_clock_gettime,
|
|
11009
11009
|
_tzset,
|
|
11010
11010
|
_wasm_sleep,
|
|
11011
|
+
_explicit_bzero,
|
|
11011
11012
|
_strtoull,
|
|
11012
11013
|
_fputs,
|
|
11013
11014
|
_expf,
|
|
@@ -11669,6 +11670,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11669
11670
|
_acos = Module['_acos'] = wasmExports['acos'];
|
|
11670
11671
|
_setlocale = Module['_setlocale'] = wasmExports['setlocale'];
|
|
11671
11672
|
_localtime_r = Module['_localtime_r'] = wasmExports['localtime_r'];
|
|
11673
|
+
_sscanf = Module['_sscanf'] = wasmExports['sscanf'];
|
|
11672
11674
|
_tan = Module['_tan'] = wasmExports['tan'];
|
|
11673
11675
|
_asin = Module['_asin'] = wasmExports['asin'];
|
|
11674
11676
|
_atan = Module['_atan'] = wasmExports['atan'];
|
|
@@ -11691,6 +11693,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11691
11693
|
wasmExports['clock_gettime'];
|
|
11692
11694
|
_tzset = Module['_tzset'] = wasmExports['tzset'];
|
|
11693
11695
|
_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'];
|
|
11696
|
+
_explicit_bzero = Module['_explicit_bzero'] =
|
|
11697
|
+
wasmExports['explicit_bzero'];
|
|
11694
11698
|
_strtoull = Module['_strtoull'] = wasmExports['strtoull'];
|
|
11695
11699
|
_fputs = Module['_fputs'] = wasmExports['fputs'];
|
|
11696
11700
|
_expf = Module['_expf'] = wasmExports['expf'];
|
|
@@ -11916,102 +11920,102 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
11916
11920
|
wasmExports['__indirect_function_table'];
|
|
11917
11921
|
}
|
|
11918
11922
|
|
|
11919
|
-
var _core_globals = (Module['_core_globals'] =
|
|
11923
|
+
var _core_globals = (Module['_core_globals'] = 11043392);
|
|
11920
11924
|
|
|
11921
|
-
var _php_ini_opened_path = (Module['_php_ini_opened_path'] =
|
|
11925
|
+
var _php_ini_opened_path = (Module['_php_ini_opened_path'] = 10973376);
|
|
11922
11926
|
|
|
11923
|
-
var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] =
|
|
11927
|
+
var _php_ini_scanned_path = (Module['_php_ini_scanned_path'] = 10973380);
|
|
11924
11928
|
|
|
11925
|
-
var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] =
|
|
11929
|
+
var _php_ini_scanned_files = (Module['_php_ini_scanned_files'] = 10973384);
|
|
11926
11930
|
|
|
11927
|
-
var _sapi_module = (Module['_sapi_module'] =
|
|
11931
|
+
var _sapi_module = (Module['_sapi_module'] = 10987160);
|
|
11928
11932
|
|
|
11929
|
-
var _sapi_globals = (Module['_sapi_globals'] =
|
|
11933
|
+
var _sapi_globals = (Module['_sapi_globals'] = 10987304);
|
|
11930
11934
|
|
|
11931
|
-
var _compiler_globals = (Module['_compiler_globals'] =
|
|
11935
|
+
var _compiler_globals = (Module['_compiler_globals'] = 10971640);
|
|
11932
11936
|
|
|
11933
|
-
var _executor_globals = (Module['_executor_globals'] =
|
|
11937
|
+
var _executor_globals = (Module['_executor_globals'] = 10972056);
|
|
11934
11938
|
|
|
11935
|
-
var _zend_compile_file = (Module['_zend_compile_file'] =
|
|
11939
|
+
var _zend_compile_file = (Module['_zend_compile_file'] = 10973192);
|
|
11936
11940
|
|
|
11937
|
-
var _zend_execute_ex = (Module['_zend_execute_ex'] =
|
|
11941
|
+
var _zend_execute_ex = (Module['_zend_execute_ex'] = 10966168);
|
|
11938
11942
|
|
|
11939
|
-
var _zend_execute_internal = (Module['_zend_execute_internal'] =
|
|
11943
|
+
var _zend_execute_internal = (Module['_zend_execute_internal'] = 10966172);
|
|
11940
11944
|
|
|
11941
|
-
var _zend_write = (Module['_zend_write'] =
|
|
11945
|
+
var _zend_write = (Module['_zend_write'] = 10971576);
|
|
11942
11946
|
|
|
11943
|
-
var _zend_error_cb = (Module['_zend_error_cb'] =
|
|
11947
|
+
var _zend_error_cb = (Module['_zend_error_cb'] = 10971584);
|
|
11944
11948
|
|
|
11945
|
-
var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] =
|
|
11949
|
+
var _zend_post_startup_cb = (Module['_zend_post_startup_cb'] = 10971556);
|
|
11946
11950
|
|
|
11947
|
-
var _module_registry = (Module['_module_registry'] =
|
|
11951
|
+
var _module_registry = (Module['_module_registry'] = 10966176);
|
|
11948
11952
|
|
|
11949
|
-
var _zend_ce_traversable = (Module['_zend_ce_traversable'] =
|
|
11953
|
+
var _zend_ce_traversable = (Module['_zend_ce_traversable'] = 10963624);
|
|
11950
11954
|
|
|
11951
|
-
var _zend_ce_iterator = (Module['_zend_ce_iterator'] =
|
|
11955
|
+
var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 10963632);
|
|
11952
11956
|
|
|
11953
|
-
var _zend_ce_countable = (Module['_zend_ce_countable'] =
|
|
11957
|
+
var _zend_ce_countable = (Module['_zend_ce_countable'] = 10963644);
|
|
11954
11958
|
|
|
11955
|
-
var _zend_ce_exception = (Module['_zend_ce_exception'] =
|
|
11959
|
+
var _zend_ce_exception = (Module['_zend_ce_exception'] = 10963364);
|
|
11956
11960
|
|
|
11957
|
-
var _zend_ce_error = (Module['_zend_ce_error'] =
|
|
11961
|
+
var _zend_ce_error = (Module['_zend_ce_error'] = 10963492);
|
|
11958
11962
|
|
|
11959
11963
|
var _zend_throw_exception_hook = (Module['_zend_throw_exception_hook'] =
|
|
11960
|
-
|
|
11964
|
+
10963356);
|
|
11961
11965
|
|
|
11962
|
-
var _gc_collect_cycles = (Module['_gc_collect_cycles'] =
|
|
11966
|
+
var _gc_collect_cycles = (Module['_gc_collect_cycles'] = 10967332);
|
|
11963
11967
|
|
|
11964
|
-
var _zend_ce_closure = (Module['_zend_ce_closure'] =
|
|
11968
|
+
var _zend_ce_closure = (Module['_zend_ce_closure'] = 10963504);
|
|
11965
11969
|
|
|
11966
|
-
var _zend_empty_string = (Module['_zend_empty_string'] =
|
|
11970
|
+
var _zend_empty_string = (Module['_zend_empty_string'] = 10961736);
|
|
11967
11971
|
|
|
11968
11972
|
var _zend_string_init_interned = (Module['_zend_string_init_interned'] =
|
|
11969
|
-
|
|
11973
|
+
10961804);
|
|
11970
11974
|
|
|
11971
|
-
var _std_object_handlers = (Module['_std_object_handlers'] =
|
|
11975
|
+
var _std_object_handlers = (Module['_std_object_handlers'] = 10207080);
|
|
11972
11976
|
|
|
11973
|
-
var _zend_pass_function = (Module['_zend_pass_function'] =
|
|
11977
|
+
var _zend_pass_function = (Module['_zend_pass_function'] = 10209816);
|
|
11974
11978
|
|
|
11975
11979
|
var ___memory_base = (Module['___memory_base'] = 0);
|
|
11976
11980
|
|
|
11977
11981
|
var ___table_base = (Module['___table_base'] = 1);
|
|
11978
11982
|
|
|
11979
|
-
var _stderr = (Module['_stderr'] =
|
|
11983
|
+
var _stderr = (Module['_stderr'] = 10954880);
|
|
11980
11984
|
|
|
11981
|
-
var ___THREW__ = (Module['___THREW__'] =
|
|
11985
|
+
var ___THREW__ = (Module['___THREW__'] = 11092084);
|
|
11982
11986
|
|
|
11983
|
-
var ___threwValue = (Module['___threwValue'] =
|
|
11987
|
+
var ___threwValue = (Module['___threwValue'] = 11092088);
|
|
11984
11988
|
|
|
11985
|
-
var _stdout = (Module['_stdout'] =
|
|
11989
|
+
var _stdout = (Module['_stdout'] = 10955184);
|
|
11986
11990
|
|
|
11987
|
-
var _timezone = (Module['_timezone'] =
|
|
11991
|
+
var _timezone = (Module['_timezone'] = 11078848);
|
|
11988
11992
|
|
|
11989
|
-
var _tzname = (Module['_tzname'] =
|
|
11993
|
+
var _tzname = (Module['_tzname'] = 11078856);
|
|
11990
11994
|
|
|
11991
|
-
var ___heap_base =
|
|
11995
|
+
var ___heap_base = 12140768;
|
|
11992
11996
|
|
|
11993
11997
|
var __ZNSt3__25ctypeIcE2idE = (Module['__ZNSt3__25ctypeIcE2idE'] =
|
|
11994
|
-
|
|
11998
|
+
11092172);
|
|
11995
11999
|
|
|
11996
12000
|
var __ZTVN10__cxxabiv120__si_class_type_infoE = (Module[
|
|
11997
12001
|
'__ZTVN10__cxxabiv120__si_class_type_infoE'
|
|
11998
|
-
] =
|
|
12002
|
+
] = 10955432);
|
|
11999
12003
|
|
|
12000
12004
|
var __ZTVN10__cxxabiv117__class_type_infoE = (Module[
|
|
12001
12005
|
'__ZTVN10__cxxabiv117__class_type_infoE'
|
|
12002
|
-
] =
|
|
12006
|
+
] = 10955392);
|
|
12003
12007
|
|
|
12004
12008
|
var __ZTVN10__cxxabiv121__vmi_class_type_infoE = (Module[
|
|
12005
12009
|
'__ZTVN10__cxxabiv121__vmi_class_type_infoE'
|
|
12006
|
-
] =
|
|
12010
|
+
] = 10955484);
|
|
12007
12011
|
|
|
12008
12012
|
var __ZTISt20bad_array_new_length = (Module[
|
|
12009
12013
|
'__ZTISt20bad_array_new_length'
|
|
12010
|
-
] =
|
|
12014
|
+
] = 10955556);
|
|
12011
12015
|
|
|
12012
|
-
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] =
|
|
12016
|
+
var __ZTVSt12length_error = (Module['__ZTVSt12length_error'] = 10955600);
|
|
12013
12017
|
|
|
12014
|
-
var __ZTISt12length_error = (Module['__ZTISt12length_error'] =
|
|
12018
|
+
var __ZTISt12length_error = (Module['__ZTISt12length_error'] = 10955620);
|
|
12015
12019
|
|
|
12016
12020
|
var wasmImports = {
|
|
12017
12021
|
/** @export */ __assert_fail: ___assert_fail,
|
package/jspi/7_4_33/php_7_4.wasm
CHANGED
|
Binary file
|