mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Fix&improve conversion scripts
This commit is contained in:
parent
0487650536
commit
125300b563
@ -1464,7 +1464,8 @@ static int php_array_walk(pval **a)
|
||||
return 0;
|
||||
}
|
||||
|
||||
PHP_FUNCTION(array_walk) {
|
||||
PHP_FUNCTION(array_walk)
|
||||
{
|
||||
pval *array, *old_walk_func_name;
|
||||
HashTable *target_hash;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $Id$
|
||||
|
||||
/php3_*/ {
|
||||
/^[ \t]*php3_*/ {
|
||||
phpcommand=substr($1,6)
|
||||
phpvalue=tolower($2)
|
||||
print "<IfModule mod_php3.c>"
|
||||
print $1 $2
|
||||
print $0
|
||||
print "</IfModule>"
|
||||
print "<IfModule mod_php4.c>"
|
||||
if (phpvalue=="on") {
|
||||
@ -17,7 +17,7 @@
|
||||
print "</IfModule>"
|
||||
}
|
||||
|
||||
! /php3_*/ {
|
||||
! /^[ \t]*php3_*/ {
|
||||
print $0
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $Id$
|
||||
|
||||
/php3_*/ {
|
||||
/^[ \t]*php3_*/ {
|
||||
phpcommand=substr($1,6)
|
||||
phpvalue=tolower($2)
|
||||
print "<IfModule mod_php3.c>"
|
||||
print $1 $2
|
||||
print $0
|
||||
print "</IfModule>"
|
||||
print "<IfModule mod_php4.c>"
|
||||
if (phpvalue=="on") {
|
||||
@ -17,7 +17,7 @@
|
||||
print "</IfModule>"
|
||||
}
|
||||
|
||||
! /php3_*/ {
|
||||
! /^[ \t]*php3_*/ {
|
||||
print $0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user