summaryrefslogtreecommitdiff
path: root/Zend/tests/strict_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/strict_002.phpt')
-rw-r--r--Zend/tests/strict_002.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/strict_002.phpt b/Zend/tests/strict_002.phpt
index cdeb73e0d8..8f76c8cf01 100644
--- a/Zend/tests/strict_002.phpt
+++ b/Zend/tests/strict_002.phpt
@@ -5,11 +5,11 @@ error_reporting=8191
--FILE--
<?php
-class test {
+class test {
static $foo = 1;
-}
+}
-$t = new test;
+$t = new test;
$t->foo = 5;
$fp = fopen(__FILE__, 'r');
@@ -18,7 +18,7 @@ var_dump($t);
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Notice: Accessing static property test::$foo as non static in %s on line %d
object(test)#%d (1) {
["foo"]=>