Created
October 15, 2014 15:51
-
-
Save phpfiddle/1ea75f2add0de4df5368 to your computer and use it in GitHub Desktop.
[ Posted by Todd Coleman ] issettestHAC
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 | |
$object = new StdClass; | |
$object->thor = false; | |
//$object->lock = true; | |
if (!$object->thor && !isset($object->lock)) | |
echo "Show Destroy"; | |
else | |
echo "Hide Destroy"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment