Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class foo {
- function foo() {
- echo 'Eu sou um construtor';
- }
- }
- Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; foo has a deprecated constructor in example.php on line 3
Add Comment
Please, Sign In to add comment