Permalink
Browse files

Reorganize test for bug #475.

  • Loading branch information...
1 parent 4feb04b commit 6074d4e98d5217dd6850e36ae92724ee9a85329e @derickr committed May 7, 2012
Showing with 5 additions and 5 deletions.
  1. +4 −0 tests/bug00475.inc
  2. +1 −5 tests/bug00475.phpt
View
@@ -0,0 +1,4 @@
+<?php
+$a = array( "example\0key" => "Value", "example" => "value\0key" );
+var_dump( $a );
+?>
View
@@ -3,11 +3,7 @@ Test for bug #475: Property names with null chars are not sent fully to the clie
--FILE--
<?php
require 'dbgp/dbgpclient.php';
-$data = <<<NOWDOC
-<?php
-\$a = array( "example\0key" => "Value", "example" => "value\0key" );
-var_dump( \$a );
-NOWDOC;
+$data = file_get_contents(dirname(__FILE__) . '/bug00475.inc');
$commands = array(
'step_into',

0 comments on commit 6074d4e

Please sign in to comment.