2 changed files with 18 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||
class Program { |
|||
|
|||
void __construct() { |
|||
print("Program::__construct() called.\n"); |
|||
} |
|||
|
|||
void __destruct() { |
|||
print("Program::__destruct() called.\n"); |
|||
} |
|||
|
|||
void main() { |
|||
print("Program::main() called.\n"); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,3 @@ |
|||
Program::__construct() called. |
|||
Program::main() called. |
|||
Program::__destruct() called. |
Loading…
Reference in new issue