Follow

@Crell Hey, quick thought on your data provider blog post (which was a great summation of my favourite parts of data providers): a fifth advantage of `yield` over `array` is that if you accidentally give two data provider entries the same name, a `yield` will result in both being tested, but an `array` will result in the second occurrence clobbering the first. It's silly, but for large providers, it could conceivably one day save someone's butt.

Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.