[PHP-DEV] CVS update: php3 From: zeev (php-dev <email protected>)
Date: 07/28/98

Date: Tuesday July 28, 1998 @ 15:22
Author: zeev

Update of /repository/php3
In directory asf:/tmp/cvs-serv4618

Modified Files:
        ChangeLog main.c
Log Message:
Fix #560

Index: php3/ChangeLog
diff -c php3/ChangeLog:1.419 php3/ChangeLog:1.420
*** php3/ChangeLog:1.419 Mon Jul 27 18:11:38 1998
--- php3/ChangeLog Tue Jul 28 15:22:31 1998
***************
*** 1,6 ****
--- 1,7 ----
  PHP 3.0 CHANGE LOG ChangeLog
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  ?? Version 3.0.3
+ - Syntax highlighting was generating additional whitespace - fixed.
  - Added ucwords. Works like ucfirst, but works on all words within a string.
  - Added array_walk() - apply user function to every element of an array
  - Added usort() - array sort that accepts a user defined comparison function!
Index: php3/main.c
diff -c php3/main.c:1.455 php3/main.c:1.456
*** php3/main.c:1.455 Fri Jul 24 19:17:31 1998
--- php3/main.c Tue Jul 28 15:22:33 1998
***************
*** 29,35 ****
     +----------------------------------------------------------------------+
   */
  
! /* $Id: main.c,v 1.455 1998/07/24 23:17:31 zeev Exp $ */
  
  /* #define CRASH_DETECTION */
  
--- 29,35 ----
     +----------------------------------------------------------------------+
   */
  
! /* $Id: main.c,v 1.456 1998/07/28 19:22:33 zeev Exp $ */
  
  /* #define CRASH_DETECTION */
  
***************
*** 1487,1493 ****
          TLS_VARS;
          switch (c) {
                  case '\n':
! PUTS("<br>\n");
                          break;
                  case '<':
                          PUTS("&lt;");
--- 1487,1493 ----
          TLS_VARS;
          switch (c) {
                  case '\n':
! PUTS("<br>");
                          break;
                  case '<':
                          PUTS("&lt;");
***************
*** 1499,1509 ****
                          PUTS("&amp;");
                          break;
                  case ' ':
! PUTS("&nbsp; ");
                          break;
                  case '\t':
! PUTS("&nbsp; &nbsp; &nbsp; &nbsp; ");
! /* break missing intentionally */
                  default:
                          PUTC(c);
                          break;
--- 1499,1509 ----
                          PUTS("&amp;");
                          break;
                  case ' ':
! PUTS("&nbsp;");
                          break;
                  case '\t':
! PUTS("&nbsp;&nbsp;&nbsp;&nbsp;");
! break;
                  default:
                          PUTC(c);
                          break;