The WordPress Wolpertinger
summary
The talk introduces using PHP v8js to embed and run JavaScript from PHP, creating a hybrid PHP–JavaScript environment called the WordPress Wolpertinger. It explains installing PHP v8js, how to limit JS execution time and control which PHP functions/classes are exposed to the JS, and demonstrates a WordPress plugin that uses these capabilities to safely run user-provided code.
AI-written summary · about
