Classes are not like predefined functions-there are quite a lot of functions, a class is similar to creating your own function - on a very basic level please do not swamp me with lists of the differences between a class and a function I already know! -
anyway, anything predefined within php will be available to view in the PHP manual - downloadable from the php website and is part of the php package.
but to save you a bit of time here are a list of pre-defined classes (or rather resevered words that are classes):
http://php.net/manual/en/reserved.classes.php
Chat with our AI personalities
Usually <?php ... ?> or <? ... ?>
Ratinonal program in php
On earlier versions of PHP, when PHP sleep was called on Windows machines, it returned an error. The command can also be interrupted by the Operating System.
PHP files are HTML files with any amount of PHP intermingled into it, so the file can be empty or only contain HTML and be valid, yes.
PHP code can be stored in any kind of file -- the extension of the file indicates what said file contains, but may not necessarily be true. The "php" extension is used to indicate PHP which is meant for execution and presentation.