aboutsummaryrefslogtreecommitdiffhomepage
path: root/php-wasm.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-23 03:50:45 +0900
committernsfisis <nsfisis@gmail.com>2025-04-23 04:03:31 +0900
commitaf78ada00c645a98b3e149b206cfe75daf9d1aed (patch)
tree5a0645726a369cc922c43dfe546fdb9568a3407b /php-wasm.c
parent9d11dba9813a05bd7c4b15cac4163c0160a9d08f (diff)
downloadtiny-php.wasm-af78ada00c645a98b3e149b206cfe75daf9d1aed.tar.gz
tiny-php.wasm-af78ada00c645a98b3e149b206cfe75daf9d1aed.tar.zst
tiny-php.wasm-af78ada00c645a98b3e149b206cfe75daf9d1aed.zip
pass custom stdout/stderrHEADmain
Diffstat (limited to 'php-wasm.c')
-rw-r--r--php-wasm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/php-wasm.c b/php-wasm.c
index cef661f..9c71ca1 100644
--- a/php-wasm.c
+++ b/php-wasm.c
@@ -15,9 +15,7 @@ int EMSCRIPTEN_KEEPALIVE php_wasm_run(const char* code) {
PHP_EMBED_END_BLOCK();
- fprintf(stdout, "\n");
fflush(stdout);
- fprintf(stderr, "\n");
fflush(stderr);
return result == SUCCESS ? 0 : 1;