diff options
author | Marcus Boerger <helly@php.net> | 2003-11-30 13:57:20 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-11-30 13:57:20 +0000 |
commit | c3fddcab622186c9bdbca89a1af7b14df0ba6345 (patch) | |
tree | 92cb0e99af497d3b5fc18a2ab123990831b3bab2 /ext/session | |
parent | 0091b5ca1dea4f12155c7e80cf38c61e75c08469 (diff) | |
download | php-git-c3fddcab622186c9bdbca89a1af7b14df0ba6345.tar.gz |
Fix tests for E_STRICT and check for E_STRICT in run-tests.php.
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/tests/001.phpt | 2 | ||||
-rw-r--r-- | ext/session/tests/003.phpt | 2 | ||||
-rw-r--r-- | ext/session/tests/004.phpt | 4 | ||||
-rw-r--r-- | ext/session/tests/005.phpt | 4 | ||||
-rw-r--r-- | ext/session/tests/006.phpt | 4 | ||||
-rw-r--r-- | ext/session/tests/019.phpt | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/ext/session/tests/001.phpt b/ext/session/tests/001.phpt index f499029a73..54918b5799 100644 --- a/ext/session/tests/001.phpt +++ b/ext/session/tests/001.phpt @@ -12,7 +12,7 @@ session.serialize_handler=php error_reporting(E_ALL); class foo { - var $bar = "ok"; + public $bar = "ok"; function method() { $this->yes = "done"; } } diff --git a/ext/session/tests/003.phpt b/ext/session/tests/003.phpt index f9fa28f4ea..fed90902cd 100644 --- a/ext/session/tests/003.phpt +++ b/ext/session/tests/003.phpt @@ -12,7 +12,7 @@ session.serialize_handler=php error_reporting(E_ALL); class foo { - var $bar = "ok"; + public $bar = "ok"; function method() { $this->yes++; } } diff --git a/ext/session/tests/004.phpt b/ext/session/tests/004.phpt index 79383705e6..2040476bc0 100644 --- a/ext/session/tests/004.phpt +++ b/ext/session/tests/004.phpt @@ -13,7 +13,7 @@ session.serialize_handler=php error_reporting(E_ALL); class handler { - var $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}'; + public $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}'; function open($save_path, $session_name) { print "OPEN: $session_name\n"; @@ -48,7 +48,7 @@ class handler { $hnd = new handler; class foo { - var $bar = "ok"; + public $bar = "ok"; function method() { $this->yes++; } } diff --git a/ext/session/tests/005.phpt b/ext/session/tests/005.phpt index 6127ad22f2..5638376b9d 100644 --- a/ext/session/tests/005.phpt +++ b/ext/session/tests/005.phpt @@ -14,7 +14,7 @@ session.serialize_handler=php error_reporting(E_ALL); class handler { - var $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}'; + public $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}'; function open($save_path, $session_name) { print "OPEN: $session_name\n"; @@ -50,7 +50,7 @@ class handler { $hnd = new handler; class foo { - var $bar = "ok"; + public $bar = "ok"; function method() { $this->yes++; } } diff --git a/ext/session/tests/006.phpt b/ext/session/tests/006.phpt index d93474765d..fb355976fb 100644 --- a/ext/session/tests/006.phpt +++ b/ext/session/tests/006.phpt @@ -15,11 +15,11 @@ session_id("abtest"); session_start(); class a { - var $test = "hallo"; + public $test = "hallo"; } class b { - var $a; + public $a; function b(&$a) { $this->a = &$a; } diff --git a/ext/session/tests/019.phpt b/ext/session/tests/019.phpt index 0e274b1536..c258d3ba57 100644 --- a/ext/session/tests/019.phpt +++ b/ext/session/tests/019.phpt @@ -13,7 +13,7 @@ session.serialize_handler=php error_reporting(E_ALL); class TFoo { - var $c; + public $c; function TFoo($c) { $this->c = $c; } |