]> granicus.if.org Git - php/commitdiff
Missed some "de" to "un" changes
authorfoobar <sniper@php.net>
Sun, 14 Aug 2005 01:17:52 +0000 (01:17 +0000)
committerfoobar <sniper@php.net>
Sun, 14 Aug 2005 01:17:52 +0000 (01:17 +0000)
ext/wddx/php_wddx_api.h
ext/wddx/tests/001.phpt
ext/wddx/tests/bug27287.phpt

index edd788498e571ea26b6d2bd4abdfdc17ff65c278..1c34f173c556fdbe67c004e44e2861189ffa9c64 100644 (file)
@@ -60,7 +60,7 @@ void           php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_le
 void            php_wddx_packet_end(wddx_packet *packet);
 
 void            php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC);
-int             php_wddx_deserialize_ex(char *, int, zval *return_value);
+int             php_wddx_unserialize_ex(char *, int, zval *return_value);
 #define php_wddx_gather(packet) estrndup(packet->c, packet->len)
 
 #endif /* PHP_WDDX_API_H */
index 3aae14853038d1e3729f4a65f33c34f3236b6884..825d6857331bc6cb88b6476f08587f28806ead53 100644 (file)
@@ -1,9 +1,9 @@
 --TEST--
-wddx deserialization test
+wddx unserialization test
 --FILE--
 <?php
        $path = dirname(__FILE__);
-       var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
+       var_dump(wddx_unserialize(file_get_contents("{$path}/wddx.xml")));
 ?>
 --EXPECT--
 array(11) {
index 3183fbc2a08360c6efef24979906413227fe0a3b..9029e1c88c47ed442aefa2e39fdcc7d67e3f1e3d 100755 (executable)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #27287 (segfault with deserializing object data)
+Bug #27287 (segfault with unserializing object data)
 --FILE--
 <?php
        
@@ -9,7 +9,7 @@ Bug #27287 (segfault with deserializing object data)
        $foo->abc = 'def';
        
        $string = wddx_serialize_value($foo);
-       $bar = wddx_deserialize($string);
+       $bar = wddx_unserialize($string);
 
        echo "OK\n";