mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
11 lines
372 B
PHP
Executable File
11 lines
372 B
PHP
Executable File
--TEST--
|
|
Bug #37569 (WDDX incorrectly encodes high-ascii characters)
|
|
--FILE--
|
|
<?php
|
|
echo wddx_serialize_value(chr(1))."\n";
|
|
echo wddx_serialize_value(chr(128))."\n";
|
|
?>
|
|
--EXPECT--
|
|
<wddxPacket version='1.0'><header/><data><string><char code='01'/></string></data></wddxPacket>
|
|
<wddxPacket version='1.0'><header/><data><string><char code='80'/></string></data></wddxPacket>
|