🐘 PHP Digest

11 result(s) for β€œclosures”

1
PHP Internals News: Episode 82: Auto-Capturing Multi-Statement Closures

PHP Internals News: Episode 82: Auto-Capturing Multi-Statement Closures Thursday, April 22nd 2021, 09:10 BST London, UK In this episode of "PHP Internals News" I chat with Larry Garfield (Twitter) and Nuno Maduro (Twitter, GitHub, Blog) about the "Auto-Capturing Multi-Statement …

Blogs phpinternals.news Derick Rethans 63mo ago
2
Don't abuse the closures

by Pream Totaram I started to read about clean coding practices and started to wonder how they can apply to JavaScript where it is common to define a function within a function. What I started to think is, how could it be possible for a block of code to obey the Single Responsib…

Blogs dev.imagineeasy.com easybibpream 143mo ago
3
Zend komt met PHP 5.3 certificatie

PHP 5.3 is al een behoorlijke tijd uit en het lijkt er op dat een volgende versie van PHP nog even op zich gaat laten wachten. Daarom heeft Zend besloten dat PHP 5.3 genoeg nieuwe features heeft (late static binding, closures, namespaces) om een nieuwe certificatie uit te geven.…

Blogs scriptorama.nl Mathieu Kooiman 191mo ago
4
Using closures as PHPUnit After Hooks

Not sure why I didn't start doing this sooner. We have a basic Feature toggle system that is maintained in the global scope to make it easily accessible to any part of the code: Feature::isEnabled("something_awesome"); I needed to force a particular feature on in a PHPUnit integ…

Blogs davedevelopment.co.uk 115mo ago