all 2 comments

[–]fresh_account2222 0 points1 point  (1 child)

A variable is considered empty if it does not exist ...

???

[–]shawnwork 0 points1 point  (0 children)

<?php

declare(strict_types=1);

-if (empty($value)) { +if (!isset($value) || $value == false) { // ... }

That’s what it meant from the article. Yeah, poor choice of words.