Matt Glaman

Results 422 comments of Matt Glaman

Okay, I got it working this way: using PhpBase and not PhpNode ```js import { PhpBase } from 'php-wasm/PhpBase.mjs'; import PhpBinary from 'php-wasm/php-node.mjs'; const php = new PhpBase(PhpBinary, { persist:...

I'll take some time on Monday to test it out! Started to dust off my work and I'll remove my patch and see how the tests go

Looks like this problem was attempted to workaround here: ``` isWhitelisted = url.pathname.substr(0, prefix.length) === prefix && url.hostname === self.location.hostname; isBlacklisted = url.pathname.match(/\.wasm$/i) || staticUrls.includes(url.pathname) || (this.exclude.findIndex(exclude => url.pathname.substr(0, exclude.length)...

Remove the fetch or use respondWith. I'd opt for full removal and allow normal browser behavior

So, we could detect when that method is called with an in_array against route names or is an `===` check. I think. The idea being "hey you're checking if the...

We'll need to make a generic rule that can be configured, maybe. Checks if running in a preprocess hook of X or generic one. And access of any specific key...

I'm so confused. I wish I knew. Maybe it's something to do with the way the includes work. I'd have to run through with Xdebug. So it always fails when...