summaryrefslogtreecommitdiff
path: root/tests/classes/bug26737.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/bug26737.phpt')
-rw-r--r--tests/classes/bug26737.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/classes/bug26737.phpt b/tests/classes/bug26737.phpt
index e190318ffd..ac7b67f5c7 100644
--- a/tests/classes/bug26737.phpt
+++ b/tests/classes/bug26737.phpt
@@ -4,14 +4,14 @@ Bug #26737 (Protected and private variables are not saved on serialization when
<?php
class foo
{
- private $private = 'private';
- protected $protected = 'protected';
- public $public = 'public';
+ private $private = 'private';
+ protected $protected = 'protected';
+ public $public = 'public';
- public function __sleep()
- {
- return array('private', 'protected', 'public', 'no_such');
- }
+ public function __sleep()
+ {
+ return array('private', 'protected', 'public', 'no_such');
+ }
}
$foo = new foo();
$data = serialize($foo);