summaryrefslogtreecommitdiff
path: root/Zend/tests/bug73288.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug73288.phpt')
-rw-r--r--Zend/tests/bug73288.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/bug73288.phpt b/Zend/tests/bug73288.phpt
index fefcf3bbcd..52e8eedeaf 100644
--- a/Zend/tests/bug73288.phpt
+++ b/Zend/tests/bug73288.phpt
@@ -7,20 +7,20 @@ opcache.enable_cli=1
<?php
class NoClone {
- public function __clone() {
- throw new Exception("No Cloneable");
- }
+ public function __clone() {
+ throw new Exception("No Cloneable");
+ }
}
class C {
- public function __get($name) {
- return new NoClone;
- }
+ public function __get($name) {
+ return new NoClone;
+ }
}
function test_clone() {
- $c = new C;
- $b = clone $c->x;
+ $c = new C;
+ $b = clone $c->x;
}
test_clone();