Extend singleton test.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-29 16:04:15 +02:00
parent 171456beb4
commit 4afcbc0815
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,11 @@ final class Test {
private int $value; private int $value;
private void __construct() { private void __construct() {
print('Constructor called.' + "\n");
}
private void __destruct() {
print('Destructor called.' + "\n");
} }
/* This is singleton */ /* This is singleton */

View File

@ -1 +1,3 @@
Constructor called.
int(5) int(5)
Destructor called.