~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/wddx/tests/bug27287.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
Bug #27287 (segfault with deserializing object data)
 
3
--FILE--
 
4
<?php
 
5
        
 
6
        class foo {
 
7
        }
 
8
        $foo = new foo();
 
9
        $foo->abc = 'def';
 
10
        
 
11
        $string = wddx_serialize_value($foo);
 
12
        $bar = wddx_deserialize($string);
 
13
 
 
14
        echo "OK\n";
 
15
 
 
16
?>
 
17
--EXPECT--
 
18
OK