Date: Sat Aug 19 14:29:08 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.10]
- Updated test case for bug #184.
Modified files:
xdebug/tests/bug00184.phpt (version: 1.2)
[FILE: /xdebug/tests/bug00184.phpt]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xdebug/tests/bug00184.phpt:1.1 Sat May 27 18:06:57 2006 GMT
+++ xdebug/tests/bug00184.phpt Sat Aug 19 10:29:08 2006 GMT
@@ -15,7 +15,7 @@
--FILE--
<?php
$trace_file = xdebug_get_tracefile_name();
- str_replace(array("\r", "\n"), ' ', 'foobar');
+ str_replace(range("\0", " "), ' ', 'foobar');
echo file_get_contents($trace_file);
unlink($trace_file);
echo "DONE\n";
@@ -25,7 +25,9 @@
%w%f %w%d -> {main}() %sbug00184.php:0
%w%f %w%d -> xdebug_get_tracefile_name() %sbug00184.php:2
>=> '/tmp/trace.%d.xt'
-%w%f %w%d -> str_replace(array (0 => '\r', 1 => '\n'), ' ', 'foobar') %sbug00184.php:3
+%w%f %w%d -> range('\000', ' ') /dat/dev/php/xdebug/tests/bug00184.php:3
+ >=> array (0 => '\000', 1 => '\001', 2 => '\002', 3 => '\003', 4 => '\004', 5 => '\005', 6 => '\006', 7 => '\a', 8 => '\b', 9 => '\t', 10 => '\n', 11 => '\v', 12 => '\f', 13 => '\r', 14 => '\016', 15 => '\017', 16 => '\020', 17 => '\021', 18 => '\022', 19 => '\023', 20 => '\024', 21 => '\025', 22 => '\026', 23 => '\027', 24 => '\030', 25 => '\031', 26 => '\032', 27 => '\033', 28 => '\034', 29 => '\035', 30 => '\036', 31 => '\037', 32 => ' ')
+%w%f %w%d -> str_replace(array (0 => '\000', 1 => '\001', 2 => '\002', 3 => '\003', 4 => '\004', 5 => '\005', 6 => '\006', 7 => '\a', 8 => '\b', 9 => '\t', 10 => '\n', 11 => '\v', 12 => '\f', 13 => '\r', 14 => '\016', 15 => '\017', 16 => '\020', 17 => '\021', 18 => '\022', 19 => '\023', 20 => '\024', 21 => '\025', 22 => '\026', 23 => '\027', 24 => '\030', 25 => '\031', 26 => '\032', 27 => '\033', 28 => '\034', 29 => '\035', 30 => '\036', 31 => '\037', 32 => ' '), ' ', 'foobar') /dat/dev/php/xdebug/tests/bug00184.php:3
>=> 'foobar'
%w%f %w%d -> file_get_contents('/tmp/trace.%d.xt') %sbug00184.php:4
DONE
Received on Sat Aug 19 2006 - 14:29:12 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST