Loading video...

Video Failed to Load

Go Home

After years of trying to make this work in PHP, I finally did it 🤯

174,724 views • 1 year ago •via X (Twitter)

10 Comments

Marcel Pociot 🧪's profile picture
Marcel Pociot 🧪1 year ago

Update: this now also works without the manual use of "tinker()"

Caleb Porzio's profile picture
Caleb Porzio1 year ago

dude, this is wild

Tim Geisendoerfer's profile picture
Tim Geisendoerfer1 year ago

🔥 All dump, die, and debug developers will love this. How is this working under the hood? Do you need xdebug for this?

Marcel Pociot 🧪's profile picture
Marcel Pociot 🧪1 year ago

This uses a custom PHP extension that collects the local variables and arguments for each frame in the current stacktrace and then the tinker method sets up a socket server to communicate with the web UI

Nuno Maduro's profile picture
Nuno Maduro1 year ago

very interesting 🔥

Luke Downing's profile picture
Luke Downing1 year ago

This looks incredible! I can just picture your excitement when it finally worked 😁 How did the family take it when you told them?

Dan Matthews's profile picture
Dan Matthews1 year ago

_very_ cool. If this becomes a thing, I feel like it needs some definite updates to the exception UI to make it fit better.

Marcel Pociot 🧪's profile picture
Marcel Pociot 🧪1 year ago

Yeah! It was just a _lot_ faster to piggy back on the existing exception page haha

Matt Stauffer's profile picture
Matt Stauffer1 year ago

Holy crap

Tim MacDonald's profile picture
Tim MacDonald1 year ago

Illegal.

Related Videos