Extend singleton test.
The build was successful. Szczegóły

This commit is contained in:
Rafal Kupiec 2019-06-29 16:04:15 +02:00
rodzic 171456beb4
commit 4afcbc0815
Podpisane przez: belliash
ID klucza GPG: 4E829243E0CFE6B4
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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