--- migration4.xml 2007-06-21 01:24:10.000000000 +0300
+++ migration4.xml 2007-07-09 14:45:28.000000000 +0300
@@ -132,8 +132,8 @@
type lines! You have to convert these yourself.
- To convert your Apache configuration files, run the apconf-conv.sh
- script (available in the scripts/apache/ directory). For example:
+ To convert your Apache configuration files, run the apconf-conv.sh
+ script (available in the scripts/apache/ directory). For example:
Likewise, your old &htaccess; files will be saved with
- an .orig prefix.
+ an .orig suffix.
- The conversion scripts require awk to be installed.
+ The conversion scripts require 'awk' to be installed.
@@ -187,7 +187,7 @@
a different file.
- It still perfectly legal to include additional code within loops
+ It is still perfectly legal to include additional code within loops
or other control structures, only the controlling keywords and
corresponding curly braces {...} have to be
within the same compile unit (file or evaled
@@ -241,7 +241,7 @@
When upgrading code or servers from PHP 3 to PHP 4 you should
check these settings and calls to
error_reporting or you might disable
- reporting the new error types, especially E_COMPILE_ERROR. This
+ reporting the new error types, especially E_COMPILE_ERROR. This
may lead to empty documents without any feedback of what happened
or where to look for the problem.
@@ -257,7 +257,7 @@
This has lead to a lot of unreproducible bug reports in the
past where people reported script engine problems they were not
- capable to track down while the &true; case was usually some
+ capable to track down while the true case was usually some
missing '}' in a required file that the parser was not able to
report due to a misconfigured error reporting system.
@@ -278,8 +278,8 @@
the intended thing now, could easily be broken by changes in
other places. PHP 4 will output a lot of notice messages in
such situations where PHP 3 didn't. The easy fix is to just
- turn off E_NOTICE messages, but it is usually a good idea to fix
- the code instead.
+ turn off E_NOTICE messages, but it is usually
+ a good idea to fix the code instead.
The most common case that will now produce notice messages is the
@@ -324,7 +324,7 @@
empty("0")
- The perhaps most controversial change in behavior has happened to the
+ Perhaps the most controversial change in behavior has happened to the
behavior of the empty. A String containing
only the character '0' (zero) is now considered empty while it
wasn't in PHP 3.
@@ -361,7 +361,7 @@
possible to change the behavior of the parser (now embedded in
the Zend engine) at runtime as parsing already happened by
then. So the function short_tags no longer
- exists. You can still change the parsers behavior by setting
+ exists. You can still change the parser's behavior by setting
appropriate values in the &php.ini; file.