diff options
Diffstat (limited to 'tests/php/phpt/variables')
-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 |