Last active
June 27, 2022 07:59
-
-
Save OMGZui/dad0851bedcd8bb708ec39a18f876bfe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!empty($foo)) $data['foo'] = $foo; // A | |
if (!empty($foo)) { | |
$data['foo'] = $foo; // B | |
} | |
!empty($foo) && $data['foo'] = $foo; // C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment