summaryrefslogtreecommitdiff
path: root/tests/lang/bug22510.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug22510.phpt')
-rw-r--r--tests/lang/bug22510.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/bug22510.phpt b/tests/lang/bug22510.phpt
index c625ea7ddd..dbf7756daa 100644
--- a/tests/lang/bug22510.phpt
+++ b/tests/lang/bug22510.phpt
@@ -4,7 +4,7 @@ Bug #22510 (segfault among complex references)
error_reporting=E_ALL | E_DEPRECATED
--FILE--
<?php
-class foo
+class foo
{
public $list = array();
@@ -29,7 +29,7 @@ class foo
}
}
-class bar
+class bar
{
function run1() {
print __CLASS__."::".__FUNCTION__."\n";
@@ -66,7 +66,7 @@ function ok1(&$bar) {
function ok2(&$bar) {
print __FUNCTION__."\n";
- @$a = $a;
+ @$a = $a;
$bar->run2();
}