Created
July 18, 2019 21:55
-
-
Save parzibyte/8cb6fb5255d8bc4ac77dbe52882bede7 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
$cadena = " | |
"; | |
if (trim($cadena) === ""){ | |
echo "La cadena está vacía"; | |
} else { | |
echo "La cadena NO está vacía"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment