Skip to content

Commit

Permalink
Update reference/var/functions/empty.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ludrob authored Jan 15, 2025
1 parent da98656 commit cb36a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/var/functions/empty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $multidimensional = [
]
];
// we can use empty with multidimensional arrays
// we can use `empty()` with multidimensional arrays
if (!empty($multidimensional['some']['some']['nested'])) {
$someVariable = $multidimensional['some']['deep']['nested'];
}
Expand Down

0 comments on commit cb36a6b

Please sign in to comment.