Yep, you heard that right. Using the power of WebAssembly we can run PHP code with just JavaScript, either directly in the browser or in a terminal window with Node.
In this video I'll show you a couple ways this might be useful, and explain how to build a light-weight local dev environment using Express and PHP-WASM.
0:00 About WebAssembly
2:10 Running PHP with Node
5:08 Express as a Proxy
8:34 What Next?
Send me new video ideas and vote on what's coming next: https://suggest.gg/aschmelyun
Follow me on Twitter! / aschmelyun
Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com
Watch video Running PHP with... JavaScript?! online without registration, duration hours minute second in high quality. This video was added by user Andrew Schmelyun 10 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,90 once and liked it 20 people.