summaryrefslogtreecommitdiff
path: root/tests/classes/ctor_dtor.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/ctor_dtor.phpt')
-rw-r--r--tests/classes/ctor_dtor.phpt24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/classes/ctor_dtor.phpt b/tests/classes/ctor_dtor.phpt
index bcac143025..3a40f7f568 100644
--- a/tests/classes/ctor_dtor.phpt
+++ b/tests/classes/ctor_dtor.phpt
@@ -4,21 +4,21 @@ ZE2 The new constructor/destructor is called
<?php
class early {
- function __construct() {
- echo __CLASS__ . "::" . __FUNCTION__ . "\n";
- }
- function __destruct() {
- echo __CLASS__ . "::" . __FUNCTION__ . "\n";
- }
+ function __construct() {
+ echo __CLASS__ . "::" . __FUNCTION__ . "\n";
+ }
+ function __destruct() {
+ echo __CLASS__ . "::" . __FUNCTION__ . "\n";
+ }
}
class late {
- function __construct() {
- echo __CLASS__ . "::" . __FUNCTION__ . "\n";
- }
- function __destruct() {
- echo __CLASS__ . "::" . __FUNCTION__ . "\n";
- }
+ function __construct() {
+ echo __CLASS__ . "::" . __FUNCTION__ . "\n";
+ }
+ function __destruct() {
+ echo __CLASS__ . "::" . __FUNCTION__ . "\n";
+ }
}
$t = new early();