正在加载视频...

视频加载失败

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

174,724 次观看 • 1 年前 •via X (Twitter)

10 条评论

Marcel Pociot 🧪 的头像
Marcel Pociot 🧪1 年前

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

Caleb Porzio 的头像
Caleb Porzio1 年前

dude, this is wild

Tim Geisendoerfer 的头像
Tim Geisendoerfer1 年前

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

Marcel Pociot 🧪 的头像
Marcel Pociot 🧪1 年前

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 的头像
Nuno Maduro1 年前

very interesting 🔥

Luke Downing 的头像
Luke Downing1 年前

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 的头像
Dan Matthews1 年前

_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 🧪 的头像
Marcel Pociot 🧪1 年前

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

Matt Stauffer 的头像
Matt Stauffer1 年前

Holy crap

Tim MacDonald 的头像
Tim MacDonald1 年前

Illegal.

相关视频