cvs: phpweb / ZEND_CHANGES_PHP_5_0_0b2.txt error.php index.php zend-engine-2.php
| From: | Gabor Hojtsy | Date: | Fri, 31 Oct 2003 13:23:44 +0000 |
| Subject: | cvs: phpweb / ZEND_CHANGES_PHP_5_0_0b2.txt error.php index.php zend-engine-2.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-21717@lists.php.net to get a copy of this message | ||
goba Fri Oct 31 08:23:44 2003 EDT
Removed files:
/phpweb ZEND_CHANGES_PHP_5_0_0b2.txt
Modified files:
/phpweb error.php index.php zend-engine-2.php
Log:
- Remove expression usage in constants info, as this
was removed in PHP 5 Beta 2
- Remove the text file and add BC URL redirector for this
file
- Modify links on the frontpage to utilize mirrors (now the files
should be available on all mirrors), and also point to the PHP
file
Index: phpweb/error.php
diff -u phpweb/error.php:1.11 phpweb/error.php:1.12
--- phpweb/error.php:1.11 Sat Sep 27 13:54:04 2003
+++ phpweb/error.php Fri Oct 31 08:23:43 2003
@@ -1,6 +1,6 @@
<?php
-// $Id: error.php,v 1.11 2003/09/27 17:54:04 goba Exp $
+// $Id: error.php,v 1.12 2003/10/31 13:23:43 goba Exp $
/*
@@ -178,10 +178,12 @@
"icap" => "mcal", // mcal is the successor of icap
- "news.php" => "news-2003", // BC
- "README.mirror" => "mirroring", // BC
- "ZEND_CHANGES.txt" => "zend-engine-2.php", // BC
- "zend2_example.phps" => "zend-engine-2.php", // BC
+ "news.php" => "news-2003", // BC
+ "README.mirror" => "mirroring", // BC
+ "ZEND_CHANGES.txt" => "zend-engine-2.php", // BC
+ "zend2_example.phps" => "zend-engine-2.php", // BC
+ "ZEND_CHANGES_PHP_5_0_0b2.txt" => "zend-engine-2.php", // BC
+
"manual/about-notes.php" => "manual/add-note", // BC
# external shortcut aliases ;)
Index: phpweb/index.php
diff -u phpweb/index.php:1.471 phpweb/index.php:1.472
--- phpweb/index.php:1.471 Thu Oct 30 11:34:33 2003
+++ phpweb/index.php Fri Oct 31 08:23:43 2003
@@ -154,7 +154,7 @@
<h1>PHP 5.0.0 Beta 2 released</h1>
<p>
<span class="newsdate">[30-Oct-2003]</span>
- <a href="http://www.php.net/downloads.php">PHP
5.0.0 Beta 2</a> has been released.
+ <a href="/downloads.php">PHP 5.0.0 Beta 2</a> has been released.
This is the first feature complete version of PHP 5, and we recommend for PHP users
to try it. PHP 5 is still not ready for production use!
</p>
@@ -184,8 +184,8 @@
</ul>
<p>
There have been many changes since Beta 1, some of them documented in the
- <a href="http://www.php.net/NEWS_PHP_5_0_0b2.txt">NEWS
file</a> and most language
- changes are documented in <a href="http://www.php.net/ZEND_CHANGES_PHP_5_0_0b2.txt">ZEND_CHANGES</a>
+ <a href="/NEWS_PHP_5_0_0b2.txt">NEWS file</a> and most language
+ changes are documented on <a href="/zend-engine-2.php">our PHP 5/Zend Engine 2
page</a>.
</p>
<hr />
Index: phpweb/zend-engine-2.php
diff -u phpweb/zend-engine-2.php:1.18 phpweb/zend-engine-2.php:1.19
--- phpweb/zend-engine-2.php:1.18 Thu Oct 30 15:01:41 2003
+++ phpweb/zend-engine-2.php Fri Oct 31 08:23:43 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: zend-engine-2.php,v 1.18 2003/10/30 20:01:41 goba Exp $
+// $Id: zend-engine-2.php,v 1.19 2003/10/31 13:23:43 goba Exp $
$_SERVER['BASE_PAGE'] = 'zend-engine-2.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("Changes in PHP 5/Zend Engine 2.0");
@@ -403,18 +403,6 @@
}
echo "Foo::constant = " . Foo::constant . "\n";
-?>'); ?>
-<p>
- PHP 5 allows for expressions within constants, however, constants are
- evaluated at compile time, therefore no constants can be declared that
- rely on runtime information.
-</p>
-<?php highlight_php('<?php
-class Bar {
- const a = 1<<0;
- const b = 1<<1;
- const c = a | b;
-}
?>'); ?>
<p>
Old code that has no user-defined classes or functions named 'const'