Voting

: six minus two?
(Example: nine)

The Note You're Voting On

richard at richard-sumilang dot com
17 years ago
[ >= PHP 5.3]

If you are checking if a class exists that is in a specific namespace then you have to pass in the full path to the class:

echo (class_exists("com::richardsumilang::common::MyClass")) ? "Yes" : "No";

<< Back to user notes page

To Top