Why Nostr? What is Njump?
2024-09-02 23:06:58

Larry Garfield on Nostr: I just casually wrote this #PHP return array_values(array_filter(explode('/', ...

I just casually wrote this #PHP

return array_values(array_filter(explode('/', substr($fullPath, strlen($this->logicalPath)))));

This is why we need a pipe operator in PHP. (And PFA.) Because that is asinine.
Author Public Key
npub1aqsp4hwy8hfzvre05whanzj9dz7naae9dach8a75gnm8wq6q6f4qdj28fe