summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/tests/001.phpt2
-rw-r--r--ext/session/tests/003.phpt2
-rw-r--r--ext/session/tests/004.phpt4
-rw-r--r--ext/session/tests/005.phpt4
-rw-r--r--ext/session/tests/006.phpt4
-rw-r--r--ext/session/tests/019.phpt2
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;
}