summaryrefslogtreecommitdiff
path: root/Zend/tests/magic_methods_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/magic_methods_001.phpt')
-rw-r--r--Zend/tests/magic_methods_001.phpt38
1 files changed, 19 insertions, 19 deletions
diff --git a/Zend/tests/magic_methods_001.phpt b/Zend/tests/magic_methods_001.phpt
index 412702ded5..a2f463f8c1 100644
--- a/Zend/tests/magic_methods_001.phpt
+++ b/Zend/tests/magic_methods_001.phpt
@@ -4,25 +4,25 @@ Testing several magic methods
<?php
class foo {
- function __unset($a) {
- print "unset\n";
- var_dump($a);
- }
-
- public function __call($a, $b) {
- print "call\n";
- var_dump($a);
- }
- function __clone() {
- print "clone\n";
- }
- static public function __callstatic($a, $b) {
- print "callstatic\n";
- }
-
- public function __tostring() {
- return 'foo';
- }
+ function __unset($a) {
+ print "unset\n";
+ var_dump($a);
+ }
+
+ public function __call($a, $b) {
+ print "call\n";
+ var_dump($a);
+ }
+ function __clone() {
+ print "clone\n";
+ }
+ static public function __callstatic($a, $b) {
+ print "callstatic\n";
+ }
+
+ public function __tostring() {
+ return 'foo';
+ }
}