
Caleb White
@_calebdw
Followers
188
Following
121
Media
13
Statuses
203
Engineer & OSS Contributor • Husband & Father • ✝️ Psalms 1 You can't build fast if you don’t break often.
Texas
Joined April 2025
Missed dropping this in the Laravel community when I posted it 😅. If you think `is_null()` is slower than `=== null' check this out 👇.
Most devs think `is_null()` is slower than `=== null` in PHP. But the reality is🥁🥁🥁:. `is_null()` and `=== null` compile to the same opcode in the Zend engine—there's no performance difference. Surprised? So was I!. Let's break it down 🧵.
0
0
3
Most devs think `is_null()` is slower than `=== null` in PHP. But the reality is🥁🥁🥁:. `is_null()` and `=== null` compile to the same opcode in the Zend engine—there's no performance difference. Surprised? So was I!. Let's break it down 🧵.
Hey Laravel devs 👋. Let’s put your instincts to the test with a quick poll:. Which one is faster?.Cast your vote, then drop a comment with your reasoning 👇.No cheating—go with your gut. I’ll reveal the answer tomorrow. (Follow so you don’t miss it!).
1
0
9