Last active
August 29, 2015 14:02
-
-
Save MacDada/566238543b3a78404c7a 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 | |
// [...] | |
var_dump(class_exists('Hipchat\Hipchat', true)); // false | |
// it should detect that the class exists… |
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 | |
// [...] | |
new HipChat\HipChat(''); | |
var_dump(class_exists('Hipchat\Hipchat', true)); // true | |
// it does detect that the class exists | |
// BUT if it doesn't, I get "Fatal error: Class 'HipChat\HipChat' not found" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment