diff options
author | valmat <ufabiz@gmail.com> | 2014-03-28 19:00:17 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-03-28 19:00:17 +0600 |
commit | 708a22fae15b13db871ca5ffc73004c70f0584fe (patch) | |
tree | 639e424f544f8ca5c950803620399c57fceb69bd /tests/php/phpt/variables/005-cast-objects-to-scalars.phpt | |
parent | 7bc500847e3027bb785c5525a21078ff72acc2ab (diff) |
Changed the structure of the test file. With the increasing number of tests the old structure became uncomfortable.
Diffstat (limited to 'tests/php/phpt/variables/005-cast-objects-to-scalars.phpt')
-rw-r--r-- | tests/php/phpt/variables/005-cast-objects-to-scalars.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/php/phpt/variables/005-cast-objects-to-scalars.phpt b/tests/php/phpt/variables/005-cast-objects-to-scalars.phpt index 335acb7..9de9ba5 100644 --- a/tests/php/phpt/variables/005-cast-objects-to-scalars.phpt +++ b/tests/php/phpt/variables/005-cast-objects-to-scalars.phpt @@ -11,7 +11,7 @@ http://www.phpcpp.com/documentation/special-features#casting-functions function bool2str($b) { return $b ? "Yes" : "No"; } -$obj = new Obj2Scalar(); +$obj = new TestVariables\Obj2Scalar(); echo " long: ", (int)$obj, "\n string: ", (string)$obj, "\n double: ", (double)$obj, "\n bool: ", bool2str((bool)$obj); @@ -19,4 +19,4 @@ echo " long: ", (int)$obj, "\n string: ", (string)$obj, "\n double: ", (doubl long: 27032014 string: Mount Meru, also called Sumeru (Sanskrit) double: 3.14159265359 - bool: Yes
\ No newline at end of file + bool: Yes |