CVS update: php3
| From: | zeev | Date: | Tue, 22 Sep 1998 16:23:22 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1406@lists.php.net to get a copy of this message | ||
Date: Tuesday September 22, 1998 @ 12:23
Author: zeev
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv13843
Modified Files:
ChangeLog language-scanner.lex
Log Message:
Add <%= support when ASP tags are on
Index: php3/ChangeLog
diff -c php3/ChangeLog:1.492 php3/ChangeLog:1.493
*** php3/ChangeLog:1.492 Tue Sep 22 11:22:06 1998
--- php3/ChangeLog Tue Sep 22 12:23:21 1998
***************
*** 1,10 ****
! PHP 3.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sept. 22, 1998 Version 3.0.4
- Added 'j' support to date() - generates the day of the month, without
possible leading zeros.
- Added support for multiple crypt() encryptions if the system supports it
! - Added optional support for ASP-style <% %> tags
- Fixed data loss problems with very large numeric array indices on 64-bit
platforms (e.g. DEC UNIX).
- 2 cursor_type parameters for ifx_query() and ifx_prepare changed
--- 1,10 ----
! 'PHP 3.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sept. 22, 1998 Version 3.0.4
- Added 'j' support to date() - generates the day of the month, without
possible leading zeros.
- Added support for multiple crypt() encryptions if the system supports it
! - Added optional support for ASP-style <% %> and <%= tags
- Fixed data loss problems with very large numeric array indices on 64-bit
platforms (e.g. DEC UNIX).
- 2 cursor_type parameters for ifx_query() and ifx_prepare changed
Index: php3/language-scanner.lex
diff -c php3/language-scanner.lex:1.173 php3/language-scanner.lex:1.174
*** php3/language-scanner.lex:1.173 Mon Sep 21 12:41:46 1998
--- php3/language-scanner.lex Tue Sep 22 12:23:21 1998
***************
*** 811,817 ****
}
}
! <INITIAL>"<%" {
if (php3_ini.asp_tags) {
if (!(GLOBAL(initialized) & INIT_ENVIRONMENT)) {
_php3_hash_environment();
--- 811,817 ----
}
}
! <INITIAL>"<%"("=")? {
if (php3_ini.asp_tags) {
if (!(GLOBAL(initialized) & INIT_ENVIRONMENT)) {
_php3_hash_environment();
***************
*** 820,825 ****
--- 820,828 ----
if (GLOBAL(php3_display_source)) {
BEGIN_COLOR(php3_ini.highlight_default);
html_puts(yytext,yyleng);
+ }
+ if (yyleng==3) { /* this tag is <%=, implicit echo */
+ return PHP_ECHO;
}
} else {
phplval->value.str.val = (char *) estrndup(yytext, yyleng);
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net