brace

brace

PHP: The Second Bracket Is Optional

Wednesday, October 14, 2009 - 12:55

When writing PHP class or function (basically any file containing only PHP code) files you might have learnt to write them something like this:

1
2
3
4
5
<?php 
class Users
{
}
?>
Category: