summaryrefslogtreecommitdiff
path: root/tests/php/phpt/variables/006-casting-obj2str.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/phpt/variables/006-casting-obj2str.phpt')
-rw-r--r--tests/php/phpt/variables/006-casting-obj2str.phpt31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/php/phpt/variables/006-casting-obj2str.phpt b/tests/php/phpt/variables/006-casting-obj2str.phpt
deleted file mode 100644
index 53d9707..0000000
--- a/tests/php/phpt/variables/006-casting-obj2str.phpt
+++ /dev/null
@@ -1,31 +0,0 @@
---TEST--
-Test Php::Value casting operators (object to string)
---DESCRIPTION--
-
-Converting a php object to a string
-
-
---SKIPIF--
-<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
---FILEEOF--
-<?php
-
-
-function native_value_casting($value) {
- echo (string)$value, PHP_EOL;
-}
-class TestClass
-{
- public function __toString() {return "I am TestClass";}
-}
-
-TestVariables\value_cast2str(new TestClass());
-//native_value_casting(new TestClass());
-
-TestVariables\value_cast2str("some string");
-
-
-
---EXPECT--
-I am TestClass
-some string \ No newline at end of file