diff options
Diffstat (limited to 'includes/normal/RandomTest.php')
-rw-r--r-- | includes/normal/RandomTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index 3a5a407b..e2601366 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -65,8 +65,8 @@ function showDiffs( $a, $b ) { $ota = explode( "\n", str_replace( "\r\n", "\n", $a ) ); $nta = explode( "\n", str_replace( "\r\n", "\n", $b ) ); - $diffs =& new Diff( $ota, $nta ); - $formatter =& new TableDiffFormatter(); + $diffs = new Diff( $ota, $nta ); + $formatter = new TableDiffFormatter(); $funky = $formatter->format( $diffs ); preg_match_all( '/<span class="diffchange">(.*?)<\/span>/', $funky, $matches ); foreach( $matches[1] as $bit ) { @@ -104,4 +104,4 @@ while( true ) { $norm = ''; } -?>
\ No newline at end of file +?> |