diff options
Diffstat (limited to 'tests/php/phpt/variables/009-value-object.phpt')
-rw-r--r-- | tests/php/phpt/variables/009-value-object.phpt | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/php/phpt/variables/009-value-object.phpt b/tests/php/phpt/variables/009-value-object.phpt deleted file mode 100644 index c45cae8..0000000 --- a/tests/php/phpt/variables/009-value-object.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Test Php::Value object #1 ---DESCRIPTION-- - create empty object of type stdClass - object properties can be accessed with square brackets ---SKIPIF-- -<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> ---FILEEOF-- -<?php - - -$object = TestVariables\value_object1(); - -//$object = (object)array("property1" => "value1", "property2" => "value2"); - -var_export($object); - - - ---EXPECT-- -stdClass::__set_state(array( - 'property1' => 'value1', - 'property2' => 'value2', -))
\ No newline at end of file |