@php-wasm/node 3.0.8 → 3.0.14

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.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/asyncify/7_2_34/php_7_2.wasm +0 -0
  3. package/asyncify/7_3_33/php_7_3.wasm +0 -0
  4. package/asyncify/7_4_33/php_7_4.wasm +0 -0
  5. package/asyncify/8_0_30/php_8_0.wasm +0 -0
  6. package/asyncify/8_1_33/php_8_1.wasm +0 -0
  7. package/asyncify/8_2_29/php_8_2.wasm +0 -0
  8. package/asyncify/{8_3_25 → 8_3_26}/php_8_3.wasm +0 -0
  9. package/asyncify/{8_4_12 → 8_4_13}/php_8_4.wasm +0 -0
  10. package/asyncify/php_7_2.js +35551 -32177
  11. package/asyncify/php_7_3.js +35564 -32190
  12. package/asyncify/php_7_4.js +35575 -32202
  13. package/asyncify/php_8_0.js +2 -2
  14. package/asyncify/php_8_1.js +2 -2
  15. package/asyncify/php_8_2.js +2 -2
  16. package/asyncify/php_8_3.js +10 -10
  17. package/asyncify/php_8_4.js +11 -11
  18. package/index.cjs +9117 -2983
  19. package/index.js +9117 -2983
  20. package/jspi/7_2_34/php_7_2.wasm +0 -0
  21. package/jspi/7_3_33/php_7_3.wasm +0 -0
  22. package/jspi/7_4_33/php_7_4.wasm +0 -0
  23. package/jspi/8_0_30/php_8_0.wasm +0 -0
  24. package/jspi/8_1_33/php_8_1.wasm +0 -0
  25. package/jspi/8_2_29/php_8_2.wasm +0 -0
  26. package/jspi/{8_3_25 → 8_3_26}/php_8_3.wasm +0 -0
  27. package/jspi/{8_4_12 → 8_4_13}/php_8_4.wasm +0 -0
  28. package/jspi/extensions/xdebug/7_2/xdebug.so +0 -0
  29. package/jspi/extensions/xdebug/7_3/xdebug.so +0 -0
  30. package/jspi/extensions/xdebug/7_4/xdebug.so +0 -0
  31. package/jspi/extensions/xdebug/8_0/xdebug.so +0 -0
  32. package/jspi/extensions/xdebug/8_1/xdebug.so +0 -0
  33. package/jspi/extensions/xdebug/8_2/xdebug.so +0 -0
  34. package/jspi/extensions/xdebug/8_3/xdebug.so +0 -0
  35. package/jspi/extensions/xdebug/8_4/xdebug.so +0 -0
  36. package/jspi/php_8_0.js +1 -1
  37. package/jspi/php_8_1.js +1 -1
  38. package/jspi/php_8_2.js +1 -1
  39. package/jspi/php_8_3.js +10 -10
  40. package/jspi/php_8_4.js +11 -11
  41. package/package.json +11 -8
  42. package/asyncify/8_3_23/php_8_3.wasm +0 -0
  43. package/asyncify/8_4_10/php_8_4.wasm +0 -0
  44. package/jspi/8_3_24/php_8_3.wasm +0 -0
package/README.md CHANGED
@@ -20,11 +20,11 @@ import { loadNodeRuntime } from '@php-wasm/node';
20
20
 
21
21
  const php = new PHP(await loadNodeRuntime('8.3'));
22
22
 
23
- const output = await php.run({
23
+ const output = await php.runStream({
24
24
  code: '<?php phpinfo(); ?>',
25
25
  });
26
26
 
27
- console.log(response.text);
27
+ console.log(await output.stdoutText);
28
28
  ```
29
29
 
30
30
  ## Attribution
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file