1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Kill off XHTML

Long live HTML5! =)
This commit is contained in:
Michael
2014-06-04 19:39:27 +02:00
parent 658b07ce3d
commit 5bfef25e70
63 changed files with 765 additions and 764 deletions

View File

@@ -116,7 +116,7 @@ function bugl($number) { echo "<a href=\"http://bugs.php.net/$number\">#$numbe
<li><?php bugfix(34066); ?> (recursive array_walk causes segfault).</li>
</ul>
There is a <a href="release_4_4_4.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_4.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -139,7 +139,7 @@ There is a <a href="release_4_4_4.php">separate announcement</a> available for t
<li><?php bugfix(29538); ?> (number_format and problem with 0).</li>
</ul>
There is a <a href="release_4_4_4.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_4.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -175,7 +175,7 @@ There is a <a href="release_4_4_4.php">separate announcement</a> available for t
<li><?php bugfix(36017); ?> (fopen() crashes PHP when opening a URL).</li>
</ul>
There is a <a href="release_4_4_3.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_3.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -224,7 +224,7 @@ There is a <a href="release_4_4_3.php">separate announcement</a> available for t
</ul>
There is a <a href="release_4_4_2.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_2.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -278,7 +278,7 @@ There is a <a href="release_4_4_2.php">separate announcement</a> available for t
<li><?php bugfix(21306); ?> (ext/sesssion: catch bailouts of write handler during RSHUTDOWN).</li>
</ul>
There is a <a href="release_4_4_1.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_1.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -343,7 +343,7 @@ There is a <a href="release_4_4_1.php">separate announcement</a> available for t
<li><?php bugfix(28377); ?> (debug_backtrace is intermittently passing args).</li>
</ul>
There is a <a href="release_4_4_0.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_4_0.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -428,7 +428,7 @@ There is a <a href="release_4_4_0.php">separate announcement</a> available for t
<li><?php bugfix(7782); ?> (Cannot use PATH_INFO fully with php isapi).</li>
</ul>
There is a <a href="release_4_3_11.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_11.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -473,7 +473,7 @@ There is a <a href="release_4_3_11.php">separate announcement</a> available for
</ul>
There is a <a href="release_4_3_10.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_10.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -533,7 +533,7 @@ There is a <a href="release_4_3_10.php">separate announcement</a> available for
<li><?php bugfix(28175); ?> (Allow bundled GD to compile against freetype 2.1.2).</li>
</ul>
There is a <a href="release_4_3_9.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_9.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -549,7 +549,7 @@ There is a <a href="release_4_3_9.php">separate announcement</a> available for t
<li><?php bugfix(28632); ?> Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL. (Ilia)</li>
</ul>
There is a <a href="release_4_3_8.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_8.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
<section class="version" id="4.3.7"><!-- {{{ 4.3.7 -->
@@ -591,7 +591,7 @@ There is a <a href="release_4_3_8.php">separate announcement</a> available for t
<li><?php bugfix(23220); ?> (SSL: fatal protocol error when talking to IIS). (Wez)</li>
</ul>
There is a <a href="release_4_3_7.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_7.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -626,7 +626,7 @@ There is a <a href="release_4_3_7.php">separate announcement</a> available for t
<li><?php bugfix(25547); ?> (error_handler and array index with function call). cschneid at cschneid dot com)</li>
</ul>
There is a <a href="release_4_3_6.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_6.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -794,7 +794,7 @@ There is a <a href="release_4_3_6.php">separate announcement</a> available for t
<li><?php bugfix(21070); ?> (ftp_genlist/ANSI-tmpfile() fail w/ some platform). (Sara)</li>
</ul>
There is a <a href="release_4_3_5.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_5.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -881,7 +881,7 @@ There is a <a href="release_4_3_5.php">separate announcement</a> available for t
<li><?php bugfix(18534); ?> (ifx_close() leaves open session). (nobbie@php.net)</li>
<li><?php bugfix(14049); ?> (realpath() returns invalid results for non-existent paths). (Ilia)</li>
</ul>
There is a <a href="release_4_3_4.php">separate announcement</a> available for this release.<br />
There is a <a href="release_4_3_4.php">separate announcement</a> available for this release.<br>
<!-- }}} --></section>
@@ -1035,7 +1035,7 @@ There is a <a href="release_4_3_4.php">separate announcement</a> available for t
<li><?php bugfix(11924); ?> (ibase_query(), ibase_execute() mangled passed parameters). (Jani)</li>
<li><?php bugfix(7014); ?> (crash in _php_ibase_error() after request shutdown). (Ard)</li>
</ul>
More information on this release on <a href="/releases.php#4.3.3">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.3.3">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1226,7 +1226,7 @@ More information on this release on <a href="/releases.php#4.3.3">our Releases p
<li><?php bugfix(13561); ?> (--without-pear disabled phpize/php-config install). (Jani)</li>
<li><?php bugfix(13551); ?> (bcmath functions applying scale incorrectly). (Sara)</li>
</ul>
More information on this release on <a href="/releases.php#4.3.2">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.3.2">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1236,7 +1236,7 @@ More information on this release on <a href="/releases.php#4.3.2">our Releases p
<ul>
<li>Fixed serious security vulnerability in CGI SAPI. (Shane)</li>
</ul>
More information on this release on <a href="/releases.php#4.3.1">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.3.1">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1749,7 +1749,7 @@ More information on this release on <a href="/releases.php#4.3.1">our Releases p
dependencies. Automake is only needed for its aclocal tool. The build
process is now more portable and less resource-consuming. (Sascha)</li>
</ul>
More information on this release on <a href="/releases.php#4.3.0">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.3.0">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1788,7 +1788,7 @@ More information on this release on <a href="/releases.php#4.3.0">our Releases p
<li>Fixed array_rand() on thread-safe platforms such as Windows. (Edin)</li>
<li>Report the right exit code after a call to exit(). (Edin)</li>
</ul>
More information on this release on <a href="/releases.php#4.2.3">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.2.3">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1798,7 +1798,7 @@ More information on this release on <a href="/releases.php#4.2.3">our Releases p
<ul>
<li>Fixed serious security vulnerability. (Stefan Esser)</li>
</ul>
More information on this release on <a href="/releases.php#4.2.2">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.2.2">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1855,7 +1855,7 @@ More information on this release on <a href="/releases.php#4.2.2">our Releases p
<li>Fixed a bug in the COM extension that caused outproc servers to 'hang'
because of a missing Release() call. (Alan, Harald)</li>
</ul>
More information on this release on <a href="/releases.php#4.2.1">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.2.1">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -1884,11 +1884,11 @@ example: socket_connect($sock, 'www.yahoo.com', 80);</li>
<li>Removed all code pertaining to fd_sets (socket_fd_*)</li>
<li>Modified/Improved socket_select() to accept array of resources instead of fd_sets. example:
<pre>
&lt;?php<br />
$wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);<br />
$r=socket_select($rfds, $wfds, NULL, 1);<br />
print "Ready to read:\n"; var_dump($rfds);<br />
?&gt;<br />
&lt;?php<br>
$wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);<br>
$r=socket_select($rfds, $wfds, NULL, 1);<br>
print "Ready to read:\n"; var_dump($rfds);<br>
?&gt;<br>
</pre></li>
</ul></li>
<li>Fixed segfault in ibase_close() if user does not free the resultset.
@@ -2069,7 +2069,7 @@ or entries for the specified extension. (Jani)</li>
(Patch by Alan Knowles &lt;<a href="mailto:alan_k@hklc.com">alan_k@hklc.com</a>&gt; and Wez)</li>
<li>Improved support for autoconf-2.50+/libtool 1.4b+. (Jan Kneschke, Sascha)</li>
</ul>
More information on this release on <a href="/releases.php#4.2.0">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.2.0">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2086,7 +2086,7 @@ More information on this release on <a href="/releases.php#4.2.0">our Releases p
<li>Changed the default output encoding of mbstring 'pass' to fix
initialization problem (Rui)</li>
</ul>
More information on this release on <a href="/releases.php#4.1.2">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.1.2">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2113,7 +2113,7 @@ More information on this release on <a href="/releases.php#4.1.2">our Releases p
<li>Fixed a bug in the strtotime() function where it was incorrectly recognizing
GMT +0100 and GMT -0100. (Derick)</li>
</ul>
More information on this release on <a href="/releases.php#4.1.1">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.1.1">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2318,7 +2318,7 @@ More information on this release on <a href="/releases.php#4.1.1">our Releases p
string indexed array. (Jason)</li>
<li>Fixed memory leak upon re-registering constants. (Sascha, Zend Engine)</li>
</ul>
More information on this release on <a href="/releases.php#4.1.0">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.1.0">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2434,7 +2434,7 @@ More information on this release on <a href="/releases.php#4.1.0">our Releases p
<li>Added mysql_unbuffered_query(), which is useful for very large result sets.
(Zeev)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.6">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.6">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2581,7 +2581,7 @@ More information on this release on <a href="/releases.php#4.0.6">our Releases p
<li>ext/odbc: IBM DB2 patch by Walter Franzini. (walter@sys-net.it)</li>
<li>Added extension for the cracklib library. (Alexander Feldman)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.5">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.5">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2737,7 +2737,7 @@ More information on this release on <a href="/releases.php#4.0.5">our Releases p
<li>Added HMAC support in the mhash module (nmav@altera.gr)</li>
<li>Added module for Ovrimos sql server (nmav@altera.gr)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.4">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.4">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2820,7 +2820,7 @@ More information on this release on <a href="/releases.php#4.0.4">our Releases p
method. Instead define yourself a method such as toString() and use
print $obj-&gt;toString() (Andi, Zend Engine)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.3">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.3">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -2991,7 +2991,7 @@ More information on this release on <a href="/releases.php#4.0.3">our Releases p
<li>Added an optional parameter to preg_replace() that can be used to
specify how many replacements to make. (Andrei)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.2">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.2">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -3155,7 +3155,7 @@ More information on this release on <a href="/releases.php#4.0.2">our Releases p
<li>Moved to virtual current working directory support. This highly improves the
functionality and stability of multi-threaded versions of PHP (Andi, Sascha)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.1">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.1">our Releases page</a>.<br>
<!-- }}} --></section>
@@ -3178,7 +3178,7 @@ More information on this release on <a href="/releases.php#4.0.1">our Releases p
<li>Ported imagegammacorrect from PHP3 to PHP4. (Sterling)</li>
<li>Added array_rand() function. (Andrei)</li>
</ul>
More information on this release on <a href="/releases.php#4.0.0">our Releases page</a>.<br />
More information on this release on <a href="/releases.php#4.0.0">our Releases page</a>.<br>
<!-- }}} --></section>

View File

@@ -10572,7 +10572,7 @@ function release_date($in) {
<li>Changed phpize not to require libtool. (Jani)</li>
<li>Updated bundled oniguruma library (used for multibyte regular expression)
to 3.7.0. (Moriyoshi)</li>
<li>Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi)<br />Fixed bugs:
<li>Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi)<br>Fixed bugs:
<ul>
<li>Bug <?php bugl(32063); ?> (mb_convert_encoding ignores named entity 'alpha')</li>
<li>Bug <?php bugl(31911); ?> (mb_decode_mimeheader() is case-sensitive to hex escapes)</li>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 1998", array("cache" => true));
Here are the most important news items we have published in 1998 on PHP.net.
</p>
<hr />
<hr>
<h1>PHP 3.0.6 has been released!</h1>
<p>
@@ -24,10 +24,10 @@ site_header("News Archive - 1998", array("cache" => true));
that might apply to you, then upgrade.
</p>
<hr />
<hr>
<h1>
PHP/MySQL ... Two great things that go great together<br />
PHP/MySQL ... Two great things that go great together<br>
Combination wins Database of the Year Award at Web98
</h1>
<p>
@@ -40,7 +40,7 @@ site_header("News Archive - 1998", array("cache" => true));
communities of people on the Net."
</p>
<hr />
<hr>
<h1>PHP 3.0 Released</h1>
<p>
@@ -63,7 +63,7 @@ site_header("News Archive - 1998", array("cache" => true));
the full anouncement</a>.
</p>
<hr />
<hr>
<h1>PHP Meaning Vote</h1>
<p>
@@ -73,7 +73,7 @@ site_header("News Archive - 1998", array("cache" => true));
were PHP HTML|Hypermedia|Hypertext Preprocesor.
</p>
<hr />
<hr>
<h1>New Look</h1>
<p>
@@ -84,7 +84,7 @@ site_header("News Archive - 1998", array("cache" => true));
with the site by sending a message to the webmasters.
</p>
<hr />
<hr>
<h1>Bug Database Live</h1>
<p>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 1999", array("cache" => true));
Here are the most important news items we have published in 1999 on PHP.net.
</p>
<hr />
<hr>
<h1>The Mars Polar Lander and PHP</h1>
<p>
@@ -27,7 +27,7 @@ site_header("News Archive - 1999", array("cache" => true));
is up to the task of being part of such a large-scale deployment.
</p>
<hr />
<hr>
<h1>PHP 4.0 Beta 3 is out!</h1>
<p>
@@ -38,7 +38,7 @@ site_header("News Archive - 1999", array("cache" => true));
All 4.0 beta users are encouraged to upgrade.
</p>
<hr />
<hr>
<h1>LinuxWorld Editors' Choice Awards</h1>
<p>
@@ -48,7 +48,7 @@ site_header("News Archive - 1999", array("cache" => true));
"Programming Library/Tools" category.
</p>
<hr />
<hr>
<h1>PHP 4.0 Beta 1 is out!</h1>
<p>
@@ -56,7 +56,7 @@ site_header("News Archive - 1999", array("cache" => true));
The long awaited beta of the new generation of PHP is here.
</p>
<hr />
<hr>
<h1>PHP Tutorials at O'Reilly Open Source Software Convention</h1>
<p>
@@ -67,7 +67,7 @@ site_header("News Archive - 1999", array("cache" => true));
California.
</p>
<hr />
<hr>
<h1>PHP 3.0.11 has been released!</h1>
<p>
@@ -85,7 +85,7 @@ site_header("News Archive - 1999", array("cache" => true));
ChangeLog.
</p>
<hr />
<hr>
<h1>PHP 3.0.9 has been released!</h1>
<p>
@@ -97,7 +97,7 @@ site_header("News Archive - 1999", array("cache" => true));
changes, see the ChangeLog.
</p>
<hr />
<hr>
<h1>PHP Related Books are Available</h1>
<p>
@@ -107,7 +107,7 @@ site_header("News Archive - 1999", array("cache" => true));
two are already available.
</p>
<hr />
<hr>
<h1>Zend has been announced</h1>
<p>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2000", array("cache" => true));
Here are the most important news items we have published in 2000 on PHP.net.
</p>
<hr />
<hr>
<h1>PHP 4.0.4 Released</h1>
<p>
@@ -23,7 +23,7 @@ site_header("News Archive - 2000", array("cache" => true));
<a href="ChangeLog-4.php#4.0.4">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PHP 3.0.18 released</h1>
<p>
@@ -33,7 +33,7 @@ site_header("News Archive - 2000", array("cache" => true));
contains a full list of changes.
</p>
<hr />
<hr>
<h1>Patch Level 1 available for PHP 4.0.3</h1>
<p>
@@ -44,7 +44,7 @@ site_header("News Archive - 2000", array("cache" => true));
memory leak that was discovered in the module versions of PHP.
</p>
<hr />
<hr>
<h1>PHP 4.0.3 Released</h1>
<p>
@@ -55,7 +55,7 @@ site_header("News Archive - 2000", array("cache" => true));
You can read the <a href="/ChangeLog-4.php#4.0.3">changelog</a> here.
</p>
<hr />
<hr>
<h1>Manual Search Tip</h1>
<p>
@@ -64,7 +64,7 @@ site_header("News Archive - 2000", array("cache" => true));
<a href="http://php.net/strlen">php.net/strlen</a>.
</p>
<hr />
<hr>
<h1>PHP 4.0.2 Released!</h1>
<p>
@@ -74,7 +74,7 @@ site_header("News Archive - 2000", array("cache" => true));
<a href="/ChangeLog-4.php#4.0.2">changelog</a> here.
</p>
<hr />
<hr>
<h1>PHP 4.0.1 Patch Level 2 available</h1>
<p>
@@ -84,7 +84,7 @@ site_header("News Archive - 2000", array("cache" => true));
from working properly.
</p>
<hr />
<hr>
<h1>PHP 4.0.1 Released!</h1>
<p>
@@ -96,7 +96,7 @@ site_header("News Archive - 2000", array("cache" => true));
for all PHP users. <a href="/downloads.php">Download now!</a>
</p>
<hr />
<hr>
<h1>PHP 4.0.0 Released!</h1>
<p>
@@ -107,7 +107,7 @@ site_header("News Archive - 2000", array("cache" => true));
now!</a>
</p>
<hr />
<hr>
<h1>PHP 3.0.16 released</h1>
<p>
@@ -118,7 +118,7 @@ site_header("News Archive - 2000", array("cache" => true));
PHP homepage. The ChangeLog contains a full list of changes.
</p>
<hr />
<hr>
<h1>Zend Optimizer released!</h1>
<p>
@@ -129,7 +129,7 @@ site_header("News Archive - 2000", array("cache" => true));
download</a>
</p>
<hr />
<hr>
<h1>PHP Talks at ApacheCon</h1>
<p>
@@ -142,7 +142,7 @@ site_header("News Archive - 2000", array("cache" => true));
href="http://www.apachecon.com/2000/US/html/sessions.html">here</a>.
</p>
<hr />
<hr>
<h1>PHP Developers' Meeting</h1>
<p>
@@ -154,7 +154,7 @@ site_header("News Archive - 2000", array("cache" => true));
PHP/MySQL combination even stronger than it already is.
</p>
<hr />
<hr>
<h1>PHP 3.0.13 has been released</h1>
<p>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2001", array("cache" => true));
Here are the most important news items we have published in 2001 on PHP.net.
</p>
<hr />
<hr>
<h1>PHP 4.1.0 Released!</h1>
@@ -25,7 +25,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="/ChangeLog-4.php">changelog</a>. Windows binaries are also available.
</p>
<hr />
<hr>
<h1>Windows Manual Survey Results</h1>
@@ -38,7 +38,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="http://weblabor.hu/php-doc-chm/">the project's own page</a>.
</p>
<hr />
<hr>
<h1>PHP-GTK Documentation Update</h1>
@@ -53,7 +53,7 @@ site_header("News Archive - 2001", array("cache" => true));
let us know.
</p>
<hr />
<hr>
<?php news_image("http://www.rackspace.com/?supbid=php.net", "rackspace.gif", "Rackspace"); ?>
<h1>Rackspace providing additional hosting for PHP project</h1>
@@ -68,7 +68,7 @@ site_header("News Archive - 2001", array("cache" => true));
by our supporters.
</p>
<hr />
<hr>
<h1>11.09.2001</h1>
@@ -80,7 +80,7 @@ site_header("News Archive - 2001", array("cache" => true));
Red Cross.</a>
</p>
<hr />
<hr>
<h1>Manual notes are mirrored worldwide</h1>
@@ -92,7 +92,7 @@ site_header("News Archive - 2001", array("cache" => true));
the closest mirror. See the bottom of our pages.
</p>
<hr />
<hr>
<?php news_image("http://www.php-conference.de/2001/index_en.php", "international_conference.gif", "International PHP Conference 2001"); ?>
<h1>International PHP Conference in Frankfurt (November 5-7, 2001)</h1>
@@ -104,7 +104,7 @@ site_header("News Archive - 2001", array("cache" => true));
More information at <a href="http://www.php-conference.de/2001/index_en.php">www.php-conference.de</a>.
</p>
<hr />
<hr>
<?php news_image("http://gtk.php.net/", "php-gtk-white.gif", "PHP-GTK"); ?>
<h1>PHP-GTK version 0.1 released</h1>
@@ -127,7 +127,7 @@ site_header("News Archive - 2001", array("cache" => true));
For more information, visit <a href="http://gtk.php.net/">the PHP-GTK website</a>.
</p>
<hr />
<hr>
<h1>PHP Conference</h1>
<p>
@@ -155,7 +155,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="ftp://ftp.oreilly.com/pub/conference/os2001/">O'Reilly FTP site</a>
</p>
<hr />
<hr>
<h1>Integrated FAQ in the PHP Manual</h1>
<p>
@@ -168,7 +168,7 @@ site_header("News Archive - 2001", array("cache" => true));
the pages online</a>, as you wish.
</p>
<hr />
<hr>
<?php news_image("http://www.linuxtag.org/2001/english/30.html", "phplt.gif", "LinuxTag"); ?>
@@ -181,7 +181,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="http://www.phpug.de/phplt_en.php4">a report</a> on the PHP events at LinuxTag.
</p>
<hr />
<hr>
<?php news_image("http://promote.pair.com/direct.pl?php.net", "pair.gif", "pair Networks"); ?>
<h1>Mailing lists and CVS are up!</h1>
@@ -193,7 +193,7 @@ site_header("News Archive - 2001", array("cache" => true));
by <a href="http://promote.pair.com/direct.pl?php.net">pair Networks</a>. Thanks!
</p>
<hr />
<hr>
<h1>PHP 4.0.6 Released!</h1>
<p>
@@ -205,7 +205,7 @@ site_header("News Archive - 2001", array("cache" => true));
check out the <a href="/ChangeLog-4.php#4.0.6">Change Log</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.php-kongress.de/2001/index_en.php", "international_conference.gif", "PHP International Conference 2001"); ?>
<h1>PHP conventions in Europe</h1>
@@ -222,7 +222,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="http://www.linuxtag.org/2001/english/showitem.php3?item=273&amp;lang=en">strong PHP presence</a>.
</p>
<hr />
<hr>
<h1>PHP Conference</h1>
<p>
@@ -240,7 +240,7 @@ site_header("News Archive - 2001", array("cache" => true));
Diego Hotel and Marina in San Diego, California.
</p>
<hr />
<hr>
<h1>PHP 4.0.5 Released!</h1>
<p>
@@ -251,7 +251,7 @@ site_header("News Archive - 2001", array("cache" => true));
For a full list of changes, check out the <a href="/ChangeLog-4.php#4.0.5">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>ApacheCon 2001 Over</h1>
@@ -269,7 +269,7 @@ site_header("News Archive - 2001", array("cache" => true));
<li>Nathan Wallace with <a href="http://www.e-gineer.com/articles/php-hackers-paradise-revisited.phtml">PHP: Hackers Paradise Revisited</a></li>
</ul>
<hr />
<hr>
<h1>ApacheCon 2001</h1>
<p>
@@ -282,7 +282,7 @@ site_header("News Archive - 2001", array("cache" => true));
ends March 9, so act fast for discounted prices!
</p>
<hr />
<hr>
<h1>New Site Design</h1>
<p>
@@ -293,7 +293,7 @@ site_header("News Archive - 2001", array("cache" => true));
bugs that are surely lingering behind this new facade.
</p>
<hr />
<hr>
<?php news_image("http://gtk.php.net/", "php-gtk-white.gif", "PHP-GTK"); ?>
<h1>Announcing PHP-GTK</h1>
@@ -305,7 +305,7 @@ site_header("News Archive - 2001", array("cache" => true));
<a href="http://gtk.php.net/">http://gtk.php.net/</a>.
</p>
<hr />
<hr>
<h1>Patch Level 1 released for PHP 4.0.4</h1>
<p>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2002", array("cache" => true));
Here are the most important news items we have published in 2002 on PHP.net.
</p>
<hr />
<hr>
<h1>PHP Look Back 2002</h1>
<p>
@@ -26,7 +26,7 @@ site_header("News Archive - 2002", array("cache" => true));
Happy New Year!
</p>
<hr />
<hr>
<h1>PHP 4.3.0 Released!</h1>
<p>
@@ -43,7 +43,7 @@ site_header("News Archive - 2002", array("cache" => true));
the full <a href="release_4_3_0.php">release announcement</a>.
</p>
<hr />
<hr>
<?php news_image("http://weblabor.hu/php-doc-chm", "chmhelp.gif", "CHM"); ?>
@@ -65,7 +65,7 @@ site_header("News Archive - 2002", array("cache" => true));
more information</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.mysql.com/events/uc2003/", "mysqluc2003.png", "MySQL Users Conference and Expo 2003"); ?>
@@ -83,7 +83,7 @@ site_header("News Archive - 2002", array("cache" => true));
event's website</a>.
</p>
<hr />
<hr>
<h1>PHP news feed available</h1>
<p>
@@ -96,7 +96,7 @@ site_header("News Archive - 2002", array("cache" => true));
file is available on every mirror site.
</p>
<hr />
<hr>
<?php news_image("http://www.afup.org/", "afup-logo.gif", "AFUP"); ?>
@@ -112,7 +112,7 @@ site_header("News Archive - 2002", array("cache" => true));
website.
</p>
<hr />
<hr>
<h1>PHP Magazine - International Edition</h1>
<p>
@@ -135,7 +135,7 @@ site_header("News Archive - 2002", array("cache" => true));
href="http://www.php-mag.net/">website</a> which will open shortly.
</p>
<hr />
<hr>
<h1>New Monthly PHP Magazine Launched</h1>
<p>
@@ -148,7 +148,7 @@ site_header("News Archive - 2002", array("cache" => true));
available on the magazine website
</p>
<hr />
<hr>
<h1>PHP Search Bars available for major browsers</h1>
<p>
@@ -162,7 +162,7 @@ site_header("News Archive - 2002", array("cache" => true));
as a PHP.net website bug please).
</p>
<hr />
<hr>
<h1>PHP at the LinuxWorld Expo Oct. 29-31th in Frankfurt, Germany</h1>
<p>
@@ -183,7 +183,7 @@ site_header("News Archive - 2002", array("cache" => true));
software available at the booth.
</p>
<hr />
<hr>
<h1>New keyboard shortcuts</h1>
<p>
@@ -198,7 +198,7 @@ site_header("News Archive - 2002", array("cache" => true));
the HTML standard</a>.
</p>
<hr />
<hr>
<h1>PHP 4.2.3 Released</h1>
<p>
@@ -209,7 +209,7 @@ site_header("News Archive - 2002", array("cache" => true));
be found in the <a href="ChangeLog-4.php">ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.php-conference.de/2002/index_en.php", "phpconf2002.gif", "PHP Conference 2002"); ?>
@@ -238,7 +238,7 @@ site_header("News Archive - 2002", array("cache" => true));
persons get special discounts.
</p>
<hr />
<hr>
<?php news_image("http://www.php-con.com/", "phpcon2002.png", "PHPCon 2002"); ?>
@@ -273,7 +273,7 @@ site_header("News Archive - 2002", array("cache" => true));
California.
</p>
<hr />
<hr>
<h1>Printer friendly manual pages with notes</h1>
<p>
@@ -285,7 +285,7 @@ site_header("News Archive - 2002", array("cache" => true));
change languages.
</p>
<hr />
<hr>
<h1>ActiveState Awards</h1>
<p>
@@ -310,7 +310,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="http://www.ActiveState.com/ActiveAwards2002">http://www.ActiveState.com/ActiveAwards2002</a>
</p>
<hr />
<hr>
<h1>PHP 4.2.2 released in response to vulnerability</h1>
@@ -323,7 +323,7 @@ site_header("News Archive - 2002", array("cache" => true));
other changes, so upgrading from 4.2.1 is safe and painless.
</p>
<hr />
<hr>
<h1>New comp.lang.php newsgroup started</h1>
@@ -347,7 +347,7 @@ site_header("News Archive - 2002", array("cache" => true));
and to help others.
</p>
<hr />
<hr>
<?php print_image("news/engine.gif", "Zend Engine 2", "right"); ?>
@@ -375,7 +375,7 @@ site_header("News Archive - 2002", array("cache" => true));
Windows binary version is also available.
</p>
<hr />
<hr>
<h1>PHP for NetWare (Beta) Released</h1>
<p>
@@ -386,7 +386,7 @@ site_header("News Archive - 2002", array("cache" => true));
4.0.8 (development) version of the PHP source code.
</p>
<hr />
<hr>
<?php news_image("http://www.linuxtag.org/2002/deutsch/showitem.php3?item=30&amp;lang=en", "linuxtag3.gif", "LinuxTag"); ?>
@@ -403,7 +403,7 @@ site_header("News Archive - 2002", array("cache" => true));
(text in German).
</p>
<hr />
<hr>
<h1>PHP Coding Contest</h1>
<p>
@@ -414,7 +414,7 @@ site_header("News Archive - 2002", array("cache" => true));
You can enter the challenge by visiting <a href="http://codewalkers.com/php-contest.php">their site</a>.
</p>
<hr />
<hr>
<h1>PHP 4.2.1 released</h1>
<p>
@@ -432,7 +432,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="/release_4_2_1.php">PHP 4.2.1 release announcement</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.php-award.net/", "phpaward_100.gif", "PHP Award"); ?>
@@ -448,7 +448,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="http://www.php-award.net/">http://www.php-award.net/</a>.
</p>
<hr />
<hr>
<h1>PHP.net: A Tourist's Guide</h1>
<p>
@@ -461,7 +461,7 @@ site_header("News Archive - 2002", array("cache" => true));
you've been missing.
</p>
<hr />
<hr>
<h1>PHP 4.2.0 released</h1>
<p>
@@ -479,7 +479,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="/release_4_2_0.php">PHP 4.2.0 release announcement</a>.
</p>
<hr />
<hr>
<?php news_image("http://weblabor.hu/php-doc-chm", "chmhelp.gif", "CHM"); ?>
@@ -499,7 +499,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="mailto:php-doc-chm@lists.php.net">dedicated mailing list</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phpmag.de/", "phpmag.gif", "PHP Magazin"); ?>
@@ -513,7 +513,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="http://www.phpmag.de/">www.phpmag.de</a>.
</p>
<hr />
<hr>
<h1>New PHP.net URL Howto</h1>
<p>
@@ -526,7 +526,7 @@ site_header("News Archive - 2002", array("cache" => true));
<a href="urlhowto.php">URL Howto</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.php-ev.de/documents/phpdoc/protocol.html", "brain.gif", "PHPDoc Brain"); ?>
@@ -538,7 +538,7 @@ site_header("News Archive - 2002", array("cache" => true));
8th-10th) are now available.
</p>
<hr />
<hr>
<h1>PHP Security Update - Windows Version</h1>
<p>
@@ -550,7 +550,7 @@ site_header("News Archive - 2002", array("cache" => true));
encouraged to upgrade to the <a href="/downloads.php">latest version</a>.
</p>
<hr />
<hr>
<h1>PHP Security Update</h1>
<p>
@@ -563,7 +563,7 @@ site_header("News Archive - 2002", array("cache" => true));
href="/downloads.php">available for PHP 3.0.18, 4.0.6 and 4.1.0/4.1.1)</a>.
</p>
<hr />
<hr>
<h1>PHP-GTK 0.5.0 released</h1>
@@ -582,7 +582,7 @@ site_header("News Archive - 2002", array("cache" => true));
learn this exciting extension and also contribute to the project.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.de/2001/index_en.php", "international_conference.gif", "International PHP Conference 2001"); ?>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2003", array("cache" => true));
Here are the most important news items we have published in 2003 on PHP.net.
</p>
<hr />
<hr>
<?php news_image("http://vancouver.php.net/", "vancouver_conference_2004.gif", "Vancouver PHP Conference 2004"); ?>
@@ -25,7 +25,7 @@ site_header("News Archive - 2003", array("cache" => true));
business professionals to share their experience with both students and PHP professionals in a series of talks.
</p>
<hr />
<hr>
<h1>PHP Community Site Project Announced</h1>
<p>
@@ -44,7 +44,7 @@ site_header("News Archive - 2003", array("cache" => true));
advocates.
</p>
<hr />
<hr>
<?php news_image("http://www.php-mag.net/", "php-mag.gif", "International PHP Magazine"); ?>
@@ -60,7 +60,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="http://www.php-mag.net/">the magazine's website</a>.
</p>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.org/index.html", "conference_php_quebec.gif", "Conference PHP Quebec"); ?>
@@ -80,7 +80,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="http://conf.phpquebec.org/main.php/fr/dvd2003/main">French</a>.
</p>
<hr />
<hr>
<?php news_image("http://mysql.com/events/uc2004", "mysqluc2004.png", "MySQL User Conference 2004"); ?>
@@ -101,7 +101,7 @@ site_header("News Archive - 2003", array("cache" => true));
place on April 14th to 16th in Orlando, Florida, USA.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconf.hu/", "hu_conf.gif", "Second Hungarian PHP conference"); ?>
<?php news_image("http://webdevmagazine.co.uk/conf/index_n.php", "bulgaria_2004.gif", "First Bulgarian PHP conference"); ?>
@@ -123,7 +123,7 @@ site_header("News Archive - 2003", array("cache" => true));
from PHP internals to web standard compliance. The event is exclusively in Hungarian.
</p>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.org/index.html", "conference_php_quebec.gif", "Conference PHP Quebec"); ?>
@@ -155,7 +155,7 @@ site_header("News Archive - 2003", array("cache" => true));
href="http://conf.phpquebec.org/main.php/en/conf2004/conferencier">PHP Qu&eacute;bec</a>.
</p>
<hr />
<hr>
<h1>New function list auto completion</h1>
<p>
@@ -172,7 +172,7 @@ site_header("News Archive - 2003", array("cache" => true));
as much information as possible (OS, Browser version, Javascript errors, etc..).
</p>
<hr />
<hr>
<h1>PHP 4.3.4 released!</h1>
<p>
@@ -184,7 +184,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="ChangeLog-4.php#4.3.4">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PHP 5.0.0 Beta 2 released</h1>
<p>
@@ -223,7 +223,7 @@ site_header("News Archive - 2003", array("cache" => true));
changes are documented on <a href="/zend-engine-2.php">our PHP 5/Zend Engine 2 page</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.afup.org/forumphp/", "afup2003.png", "Forum PHP"); ?>
@@ -239,7 +239,7 @@ site_header("News Archive - 2003", array("cache" => true));
(in French).
</p>
<hr />
<hr>
<?php news_image("http://www.directionphp.biz/", "directionphp.png", "Direction|PHP"); ?>
@@ -256,7 +256,7 @@ site_header("News Archive - 2003", array("cache" => true));
href="http://www.directionphp.biz/index.php">Direction|PHP website</a> (in French).
</p>
<hr />
<hr>
<?php news_image("http://www.apachecon.com/", "apachecon2003.jpg", "ApacheCon"); ?>
@@ -273,7 +273,7 @@ site_header("News Archive - 2003", array("cache" => true));
XML, Java, MySQL, and WebDAV.
</p>
<hr />
<hr>
<?php news_image("http://www.phpcruise.com/", "phpcruise.png", "php|cruise"); ?>
@@ -292,7 +292,7 @@ site_header("News Archive - 2003", array("cache" => true));
give away one free place on the cruise.
</p>
<hr />
<hr>
<?php news_image("http://www.zend.com/zend/php_survey_results.php", "zendtech_logo.gif", "Zend Technologies"); ?>
@@ -304,7 +304,7 @@ site_header("News Archive - 2003", array("cache" => true));
from thousands of PHP users around the world. Thanks for all who contributed!
</p>
<hr />
<hr>
<?php news_image("http://weblabor.hu/php-doc-chm", "chmhelp.gif", "CHM"); ?>
@@ -320,7 +320,7 @@ site_header("News Archive - 2003", array("cache" => true));
homepage of this edition.</a>
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.de/2003/index_en.php", "international_conference_2003.gif", "International PHP Conference 2003"); ?>
@@ -340,7 +340,7 @@ site_header("News Archive - 2003", array("cache" => true));
website</a> for more information.
</p>
<hr />
<hr>
<?php news_image("http://servercentral.net", "server_central.gif", "Server Central"); ?>
@@ -354,7 +354,7 @@ site_header("News Archive - 2003", array("cache" => true));
Server Central!
</p>
<hr />
<hr>
<h1>European Open Source Development Threatened!</h1>
<p>
@@ -367,7 +367,7 @@ site_header("News Archive - 2003", array("cache" => true));
the <a href="http://swpat.ffii.org/">campaign website</a>
</p>
<hr />
<hr>
<?php news_image("http://www.php-con.com", "phpcon_2003.gif", "php{con west 2003"); ?>
@@ -383,7 +383,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="http://www.php-con.com">their website</a>
</p>
<hr />
<hr>
<h1>PHP 4.3.3 released!</h1>
<p>
@@ -395,7 +395,7 @@ site_header("News Archive - 2003", array("cache" => true));
the <a href="ChangeLog-4.php#4.3.3">ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.ActiveState.com/Corporate/ActiveAwards/", "activestate_logo.gif", "ActiveState"); ?>
@@ -419,7 +419,7 @@ site_header("News Archive - 2003", array("cache" => true));
to PHP development.
</p>
<hr />
<hr>
<h1>PHP.net news history</h1>
@@ -435,7 +435,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="/history">the manual's history appendix</a>.
</p>
<hr />
<hr>
<h1>Select mirror for redirection</h1>
@@ -449,7 +449,7 @@ site_header("News Archive - 2003", array("cache" => true));
site for redirections.
</p>
<hr />
<hr>
<?php news_image("http://www.php-mag.net/", "php-mag.gif", "PHP Magazine"); ?>
@@ -463,7 +463,7 @@ site_header("News Archive - 2003", array("cache" => true));
related technologies.
</p>
<hr />
<hr>
<h1>URL Shortcuts and Site Search</h1>
@@ -478,7 +478,7 @@ site_header("News Archive - 2003", array("cache" => true));
onsite search solution, Google is used temporarily to search our site.
</p>
<hr />
<hr>
<?php news_image("http://www.phparch.com/", "phpa_logo_small.gif", "php|architect"); ?>
@@ -493,7 +493,7 @@ site_header("News Archive - 2003", array("cache" => true));
price for readers worldwide.
</p>
<hr />
<hr>
<?php news_image("http://www.linuxtag.org/2003/en/index.html", "linuxtag2003.gif", "LinuxTag"); ?>
@@ -517,7 +517,7 @@ site_header("News Archive - 2003", array("cache" => true));
Ken Coar (Apache), Rasmus Lerdorf (PHP) or Kaj Arn&ouml; (MySQL).
</p>
<hr />
<hr>
<h1>PHP 5.0.0 Beta 1</h1>
<p>
@@ -557,7 +557,7 @@ site_header("News Archive - 2003", array("cache" => true));
installations of PHP 4 at this time.
</p>
<hr />
<hr>
<?php news_image("http://www.zend.com/survey/php_net.php", "zendtech_logo.gif", "Zend Technologies"); ?>
@@ -572,7 +572,7 @@ site_header("News Archive - 2003", array("cache" => true));
and get a chance to win one of 50 PHP T-shirts!
</p>
<hr />
<hr>
<h1>PHP 4.3.2 Released!</h1>
<p>
@@ -583,7 +583,7 @@ site_header("News Archive - 2003", array("cache" => true));
Full list of fixes can be found in the <a href="ChangeLog-4.php#4.3.2">ChangeLog</a> file.
</p>
<hr />
<hr>
<h1>Automatic Mirror Select</h1>
<p>
@@ -596,7 +596,7 @@ site_header("News Archive - 2003", array("cache" => true));
version of the site.
</p>
<hr />
<hr>
<h1>Country Detection</h1>
<p>
@@ -609,7 +609,7 @@ site_header("News Archive - 2003", array("cache" => true));
sites for downloads and your usual daily work.
</p>
<hr />
<hr>
<h1>My PHP.net</h1>
@@ -628,7 +628,7 @@ site_header("News Archive - 2003", array("cache" => true));
on for PHP.net to let this feature work!
</p>
<hr />
<hr>
<h1>Grant Program</h1>
@@ -651,7 +651,7 @@ site_header("News Archive - 2003", array("cache" => true));
href="http://www.phparch.com/grant/">program's website</a>.
</p>
<hr />
<hr>
<h1>Set your own language preference</h1>
@@ -673,7 +673,7 @@ site_header("News Archive - 2003", array("cache" => true));
providing translated content.
</p>
<hr />
<hr>
<?php news_image("http://phpconf.hu/", "hu_conf.gif", "PHPConf.hu"); ?>
@@ -694,7 +694,7 @@ site_header("News Archive - 2003", array("cache" => true));
official phorums.
</p>
<hr />
<hr>
<h1>PHP 4.3.1 released in response to CGI vulnerability</h1>
@@ -708,7 +708,7 @@ site_header("News Archive - 2003", array("cache" => true));
so upgrading from 4.3.0 is safe and painless.
</p>
<hr />
<hr>
<?php news_image("http://www.php-con.com/return.php?i=ph2", "phpcon_logo.png", "PHPCon East 2003"); ?>
@@ -732,7 +732,7 @@ site_header("News Archive - 2003", array("cache" => true));
the PHPCon website</a>.
</p>
<hr />
<hr>
<?php news_image("http://phpconf.phpquebec.org/index.php", "conference_php_quebec.gif", "Conference PHP Quebec"); ?>
@@ -757,7 +757,7 @@ site_header("News Archive - 2003", array("cache" => true));
<a href="http://phpconf.phpquebec.org/index.php">phpconf.phpquebec.com</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.com/", "international_conference_2003_spring.gif", "Int'l PHP Conference"); ?>
@@ -784,7 +784,7 @@ site_header("News Archive - 2003", array("cache" => true));
Design, PHP Extensions, PHP &amp; XML and PHP-GTK.
</p>
<hr />
<hr>
<h1>PEAR Out of Beta!</h1>
<p>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2004", array("cache" => true));
Here are the most important news items we have published in 2004 on PHP.net.
</p>
<hr />
<hr>
<h1>A Note on Security in PHP</h1>
@@ -26,7 +26,7 @@ site_header("News Archive - 2004", array("cache" => true));
for anybody using PHP.
</p>
<hr />
<hr>
<h1>Function list suggestions available</h1>
<p>
@@ -51,7 +51,7 @@ site_header("News Archive - 2004", array("cache" => true));
the search page.
</p>
<hr />
<hr>
<h1>PHP 4.3.10 &amp; 5.0.3 released!</h1>
<p>
@@ -70,7 +70,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.3">PHP 5 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>Second Bulgarian PHP Conference</h1>
<p>
@@ -86,7 +86,7 @@ site_header("News Archive - 2004", array("cache" => true));
others.
</p>
<hr />
<hr>
<h1>International PHP Conference 2005 - Spring Edition (Amsterdam, May 2-4)</h1>
<p>
@@ -103,7 +103,7 @@ site_header("News Archive - 2004", array("cache" => true));
and PHP-GTK.
</p>
<hr />
<hr>
<?php news_image("http://nosoftwarepatents.com/", "90x40_3.jpg", "No Software Patents"); ?>
@@ -119,7 +119,7 @@ site_header("News Archive - 2004", array("cache" => true));
very informative <a href="http://nosoftwarepatents.com">website</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.zend.com/php5/contest/", "zendtech_logo.gif", "Zend Technologies"); ?>
@@ -141,7 +141,7 @@ site_header("News Archive - 2004", array("cache" => true));
the code and see how the new features in PHP 5 should be used.
</p>
<hr />
<hr>
<?php news_image("http://www.phpquebec.com/modules/news/article.php?storyid=55", "conference_php_quebec.gif", "PHP Québec"); ?>
<h1>PHP before Canadian government, in Ottawa, October 19th and 20th, 2004</h1>
@@ -155,7 +155,7 @@ site_header("News Archive - 2004", array("cache" => true));
Come and meet us on the floor, booth 1610C.
</p>
<hr />
<hr>
<?php news_image("http://www.afup.org/forumphp/", "afup2004.jpg", "Forum PHP"); ?>
@@ -171,7 +171,7 @@ site_header("News Archive - 2004", array("cache" => true));
(in French).
</p>
<hr />
<hr>
<?php news_image("/downloads.php#v5", "php-version5.gif", "PHP 5"); ?>
<h1>PHP 5.0.2 released!</h1>
@@ -188,7 +188,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.2">ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#v4", "php-version4.gif", "PHP 4"); ?>
<h1>PHP 4.3.9 released!</h1>
@@ -206,7 +206,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-4.php#4.3.9">ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://mysqlcomconeurope.com", "MySQLcomcon_logo.gif", "MySQL"); ?>
<h1>MySQL ComCon Europe</h1>
@@ -223,7 +223,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="http://mysqlcomconeurope.com">http://mysqlcomconeurope.com/</a>.
</p>
<hr />
<hr>
<h1>OSCOM.4 with Apache Track</h1>
<p>
@@ -239,7 +239,7 @@ site_header("News Archive - 2004", array("cache" => true));
now open</a>!
</p>
<hr />
<hr>
<h1>New Installation Instructions</h1>
<p>
@@ -252,7 +252,7 @@ site_header("News Archive - 2004", array("cache" => true));
files. This way upgrades and configuration changes become easier.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#v5", "php-version5.gif", "PHP 5"); ?>
<a name="5.0.1"></a>
@@ -269,7 +269,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.1">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PHP Tunisie Magazine</h1>
<p>
@@ -285,7 +285,7 @@ site_header("News Archive - 2004", array("cache" => true));
PHP Tunisie Magazine is edited by the Tunisian PHP Users Group.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#v5", "php-version5.gif", "PHP 5"); ?>
<a name="5.0.0"></a>
@@ -336,7 +336,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.0">ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#v4", "php-version4.gif", "PHP 4"); ?>
@@ -348,7 +348,7 @@ site_header("News Archive - 2004", array("cache" => true));
4.3.7 release. All users of PHP are strongly encouraged to upgrade to PHP 4.3.8 as soon as possible.
</p>
<hr />
<hr>
<?php //news_image("http://www.phpconference.de/2003/index_en.php", "international_conference_2003.gif", "International PHP Conference"); ?>
<h1>International PHP Conference 2004</h1>
@@ -369,7 +369,7 @@ site_header("News Archive - 2004", array("cache" => true));
where PHP related OpenSource projects can present themselves for free.
</p>
<hr />
<hr>
<?php news_image("http://phparch.com/phpworks", "phpworks.png", "php|works"); ?>
<h1>php|works - early-bird discount now in effect</h1>
@@ -399,7 +399,7 @@ site_header("News Archive - 2004", array("cache" => true));
href="http://www.phparch.com/phpworks">php|works website</a>.
</p>
<hr />
<hr>
<?php news_image("http://lamparea.org/en", "lamparea.png", "Lamp Area"); ?>
<h1>LAMP area at LinuxTag 2004 in Karlsruhe, Germany</h1>
@@ -424,7 +424,7 @@ site_header("News Archive - 2004", array("cache" => true));
website.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#5", "php-version5.gif", "PHP 5"); ?>
<h1>PHP 5 Release Candidate 3 Released!</h1>
@@ -440,7 +440,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.0RC3">here</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.zend.com/php5/contest/", "zendtech_logo.gif", "Zend Technologies"); ?>
@@ -465,7 +465,7 @@ site_header("News Archive - 2004", array("cache" => true));
are available!
</p>
<hr />
<hr>
<?php news_image("/downloads.php#5", "php-version5.gif", "PHP 5"); ?>
<h1>PHP 5 Release Candidate 2 Released!</h1>
@@ -506,7 +506,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.0RC2">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>Second PHP Marathon announced</h1>
<p>
@@ -518,7 +518,7 @@ site_header("News Archive - 2004", array("cache" => true));
now feature a problem on PHP 5. Participation is free of charge.
</p>
<hr />
<hr>
<?php news_image("/downloads.php#5", "php-version5.gif", "PHP 5"); ?>
<a name="5.0.0RC1"></a>
@@ -573,7 +573,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="/ChangeLog-5.php#5.0.0RC1">ChangeLog</a>.
</p>
<hr />
<hr>
<h1>Spanish PHP Mailing List Now at PHP.net</h1>
<p>
@@ -585,7 +585,7 @@ site_header("News Archive - 2004", array("cache" => true));
news server</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.com/", "intcon2004spring.png", "International PHP Conference 2004 - Spring Edition"); ?>
@@ -609,7 +609,7 @@ site_header("News Archive - 2004", array("cache" => true));
Software &amp; Support.
</p>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.org/", "conference_php_quebec.gif", "Conference PHP Quebec"); ?>
@@ -633,7 +633,7 @@ site_header("News Archive - 2004", array("cache" => true));
<a href="http://conf.phpquebec.org/">conf.phpquebec.com</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.pawscon.com/", "paws_small.jpg", "PHP and Web Standards Conference - UK 2004"); ?>

View File

@@ -12,12 +12,12 @@ site_header("News Archive - 2005", array("cache" => true));
Here are the most important news items we have published in 2005 on PHP.net.
</p>
<hr />
<hr>
<h1>PHP 5.1.1 Released</h1>
<p>
<span class="newsdate">[28-Nov-2005]</span>
The PHP Development Team would like to announce the immediate release of <a href="/downloads.php">PHP 5.1.1</a>.<br />
The PHP Development Team would like to announce the immediate release of <a href="/downloads.php">PHP 5.1.1</a>.<br>
This is a regression correction release aimed at addressing several issues introduced by PHP 5.1.0, the core changes as follows:
<ul>
<li>Native date class is withdrawn to prevent namespace conflict with PEAR's date package.</li>
@@ -32,12 +32,12 @@ The complete details about all of the changes can be found in the
<a href="/ChangeLog-5.php#5.1.1">PHP 5 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PHP 5.1.0 Released</h1>
<p>
<span class="newsdate">[24-Nov-2005]</span>
The PHP development team is proud to announce the release of <a href="/downloads.php#v5">PHP 5.1.0</a>.<br />
The PHP development team is proud to announce the release of <a href="/downloads.php#v5">PHP 5.1.0</a>.<br>
Some of the key features of PHP 5.1.0 include:
<ul>
<li>A complete rewrite of date handling code, with improved timezone support.</li>
@@ -57,7 +57,7 @@ The complete details about all of the changes can be found in the
<a href="/migration51">upgrading guide</a> is available as well.
</p>
<hr />
<hr>
<h1>PHP 4.4.1 Released</h1>
<p>
@@ -72,7 +72,7 @@ The complete details about all of the changes can be found in the
<a href="/ChangeLog-4.php#4.4.1">PHP 4 ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.afup.org/pages/forumphp/", "afup2005.jpg", "Forum PHP"); ?>
@@ -88,7 +88,7 @@ The complete details about all of the changes can be found in the
(in French).
</p>
<hr />
<hr>
<?php news_image("http://zend.kbconferences.com/", "zendphp_conf.gif", "Zend/PHP Conference &amp; Expo"); ?>
<h1>Zend/PHP Conference &amp; Expo 2005 Program Announced</h1>
@@ -112,7 +112,7 @@ The complete details about all of the changes can be found in the
and SpikeSource. Registration discounts are still available.
</p>
<hr />
<hr>
<h1>Get Your Pocket PHP Reference and Help Hurricane Relief</h1>
<p>
@@ -132,7 +132,7 @@ The complete details about all of the changes can be found in the
Cross' Katrina Relief Fund.
</p>
<hr />
<hr>
<h1>PHP 5.0.5 Released</h1>
<p>
@@ -147,7 +147,7 @@ The complete details about all of the changes can be found in the
<a href="/ChangeLog-5.php#5.0.5">PHP 5 ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.com/", "intconf2005fall.gif", "International PHP Conference 2005"); ?>
<h1>International PHP Conference 2005 - Program available</h1>
@@ -174,7 +174,7 @@ The complete details about all of the changes can be found in the
special discounts for students and private persons.
</p>
<hr />
<hr>
<?php news_image("http://www.phparch.com/phpworks", "php-web-works-logo.gif", "php|works and web|works 2005"); ?>
<h1>web|works and php|works 2005 Program Online</h1>
@@ -193,7 +193,7 @@ The complete details about all of the changes can be found in the
available for students, member of academia and non-profit organizations.
</p>
<hr />
<hr>
<h1>PHP 4.4.0 Released</h1>
<p>
@@ -216,7 +216,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
<a href="/ChangeLog-4.php#4.4.0">PHP 4 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PEAR XML_RPC Vulnerability and PHP 4.4.0RC2 release</h1>
<p>
@@ -244,7 +244,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
11th. PHP 4.4.0RC2 can be found <a href="http://qa.php.net/~derick/">here</a>.
</p>
<hr />
<hr>
<?php news_image("http://zend.kbconferences.com/", "zendphp_conf.gif", "Zend/PHP Conference &amp; Expo"); ?>
<h1>Zend/PHP Conference 2005</h1>
@@ -260,7 +260,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
Resources: Tools, Libraries and Techniquies. Early registration
discounts are available until August 15, 2005.
</p>
<hr />
<hr>
<?php news_image("http://www.php.net", "php10thbd.jpg", "PHP 10th anniversary cake"); ?>
<h1>10 years since PHP 1.0 was released!</h1>
@@ -275,7 +275,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
</p>
<hr />
<hr>
<h1>CfP PHP Track - (AUUG) Annual Conference</h1>
<p>
@@ -291,7 +291,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
href="mailto:arjen&#64;mysql.com">Arjen</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phpwest.com/", "phpwest.gif", "PHP West Conferences"); ?>
@@ -312,7 +312,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
closing ceremonies.
</p>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.org/en/cdrom2005/", "cdrom_phpquebec_2005.gif", "PHP Québec CD ROM 2005"); ?>
@@ -332,7 +332,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
international experts at the 2005 PHP Québec conference.
</p>
<hr />
<hr>
<h1>PHP 5.0.4 and 4.3.11 Released</h1>
<p>
@@ -350,7 +350,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
<a href="/ChangeLog-4.php#4.3.11">PHP 4 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>International PHP Conference 2005 Spring Edition</h1>
<p>
@@ -366,7 +366,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
1, 2005.
</p>
<hr />
<hr>
<h1>PHP Québec 2005: PHP - MySQL - Apache</h1>
@@ -387,7 +387,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
is open to everyone.
</p>
<hr />
<hr>
<h1>PHP and PEAR at FOSDEM 2005</h1>
@@ -409,7 +409,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
We hope to see you there !
</p>
<hr />
<hr>
<h1>php|symphony</h1>
@@ -428,7 +428,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
Shiflett titled "Mastering PHP Security".
</p>
<hr />
<hr>
<h1>ApacheCon Europe 2005</h1>
<p>
@@ -437,7 +437,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
will be held from July 18th to July 22th in Stuttgart, Germany.
</p>
<hr />
<hr>
<?php news_image("http://phpsec.org/", "phpsc-logo.gif", "PHPSC Logo"); ?>
@@ -458,7 +458,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
best practice for PHP application development.
</p>
<hr />
<hr>
<h1>O'Reilly Open Source Convention 2005</h1>
@@ -472,7 +472,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
hall.
</p>
<hr />
<hr>
<?php news_image("http://phpconf.hu/2005/", "hu_conf.gif", "PHPConf.hu"); ?>
@@ -492,7 +492,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
discover the most talented PHP programmers in the country.
</p>
<hr />
<hr>
<?php news_image("http://www.phparch.com/tropics", "php_tropics.jpg", "php|tropics"); ?>
<h1>php|tropics</h1>
@@ -520,7 +520,7 @@ For changes in PHP 4.4.0 since PHP 4.3.11, please consult the
attendees interested in trying their hand at the Zend Certification Exam.
</p>
<hr />
<hr>
<?php news_image("http://www.php.net/", "php-logo.gif", "Programming Language of 2004"); ?>
<h1>PHP awarded Programming Language of 2004</h1>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2006", array("cache" => true));
Here are the most important news items we have published in 2006 on PHP.net.
</p>
<hr />
<hr>
<?php news_image("http://www.prophp.com.br/phpconference.php", "phpconfbrasil.jpg", "PHP Brasil 2007"); ?>
<h1>PHP Conference Brazil</h1>
<p>
@@ -29,7 +29,7 @@ site_header("News Archive - 2006", array("cache" => true));
<a href="http://www.prophp.com.br/phpconference.php">the Brazilian PHP Conference</a> Web site.
</p>
<hr />
<hr>
<h1>PHP 5.2.0 Released</h1>
<p>
@@ -52,7 +52,7 @@ site_header("News Archive - 2006", array("cache" => true));
and PHP 5.2.0.
</p>
<hr />
<hr>
<?php news_image("http://www.afup.org/forumphp/", "afup2006.jpg", "AFUP Paris 2006"); ?>
@@ -67,7 +67,7 @@ for two days of sessions, packed with enterprise solutions and
advanced techniques (in French).
</p>
<hr />
<hr>
<?php news_image("http://phpconference.com/", "intconf2006fall.png", "International PHP Conference 2006"); ?>
@@ -92,7 +92,7 @@ advanced techniques (in French).
Registration is now open.
</p>
<hr />
<hr>
<h1>PHP 5.1.6 Released</h1>
<p>
@@ -102,7 +102,7 @@ advanced techniques (in French).
memory_limit restriction on 64 bit systems that was not included in PHP 5.1.5.
</p>
<hr />
<hr>
<?php news_image("http://www.amazon.com/exec/obidos/ASIN/0596528124/wwwphpnet", "mre3cover_sm.jpg", "Mastering Regular Expressions, 3rd edition"); ?>
<h1>Mastering Regular Expressions - now with PHP coverage</h1>
@@ -114,7 +114,7 @@ advanced techniques (in French).
resource from Jeffrey Friedl who has been writing about regexps for years.
</p>
<hr />
<hr>
<h1>PHP 4.4.4 and PHP 5.1.5 Released</h1>
<p>
@@ -145,7 +145,7 @@ available in the ChangeLogs (<a href="/ChangeLog-4.php#4.4.4">PHP 4</a>,
<a href="/ChangeLog-5.php#5.1.5">PHP 5</a>).
</p>
<hr />
<hr>
<h1>PHP 4.4.3 Released</h1>
<p>
@@ -171,7 +171,7 @@ href="/release_4_4_3.php">release announcement</a> and the full list of changes
is available in the <a href="/ChangeLog-4.php#4.4.3">PHP 4 ChangeLog</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.phparch.com/works/", "phpworks.png", "php|works / db|works 2006"); ?>
<h1>php/db|works 2006 Schedule Now Online</h1>
@@ -188,7 +188,7 @@ is available in the <a href="/ChangeLog-4.php#4.4.3">PHP 4 ChangeLog</a>.
including special evening social events with top-notch prizes.
</p>
<hr />
<hr>
<?php news_image("http://code.google.com/soc/php/about.html", "google_soc_2006_128x53.gif", "Google Summer of Code 2006"); ?>
@@ -206,7 +206,7 @@ The students, their projects and their assigned mentors can be viewed
<a href="http://code.google.com/soc/php/about.html">here</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.nyphpcon.com/", "NYPHPCon06.gif", "NYPHPCon 2006"); ?>
@@ -234,7 +234,7 @@ Business Strategy and Technical Solutions</a>. Over 400 are expected to attend,
including business and technical professionals from around the world.
</p>
<hr />
<hr>
<h1>PHP 5.1.4 Released</h1>
<p>
@@ -245,11 +245,11 @@ including business and technical professionals from around the world.
<p>
Further details about this release can be found in the <a href="/release_5_1_4.php">release announcement</a>
and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.4">PHP 5 ChangeLog</a>.
<br />
<br>
<b>The tarballs were updated to include the PEAR's phar file, previously missing from the release.</b>
</p>
<hr />
<hr>
<h1>PHP 5.1.3 Released</h1>
<p>
@@ -279,7 +279,7 @@ Further details about this release can be found in the <a href="/release_5_1_3.p
and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.3">PHP 5 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>Summer of Code</h1>
<p>
@@ -299,7 +299,7 @@ and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.3
then go to <a href="http://code.google.com/soc/student_step1.html">Step 1</a>.
</p>
<hr />
<hr>
<h1>PHP Vikinger</h1>
<p>
<span class="newsdate">[24-Apr-2006]</span>
@@ -321,7 +321,7 @@ and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.3
registration for the event opens on May 1st.
</p>
<hr />
<hr>
<?php news_image("http://www.phparch.com/tek/", "php_tek_2006.gif", "php|tek 2006"); ?>
<h1>php|tek 2006</h1>
<p>
@@ -335,7 +335,7 @@ and the full list of changes is available in the <a href="/ChangeLog-5.php#5.1.3
variety of topics that highlight PHP's scalability, robustness and future.
</p>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.com/en/conf2006/", "conference_php_quebec.gif", "PHP Quebec 2006"); ?>
<h1>PHP Quebec 2006</h1>
@@ -359,12 +359,12 @@ also present the various storage solutions available such has IBM DB2,
PostgreSQL, SQLite and MySQL.
</p>
<p>
Early bird pricing are available until march 3rd.<br />
Early bird pricing are available until march 3rd.<br>
Learn more about this <a
href="http://conf.phpquebec.com/en/conf2006/">exciting conference</a>.
</p>
<hr />
<hr>
<?php news_image("http://www.nyphpcon.com/", "NYPHPCon06.gif", "NYPHPCon 2006"); ?>
<h1>NYPHPCon 2006</h1>
@@ -387,7 +387,7 @@ href="http://www.nyphpcon.com/attendee_registration.php">early-bird
discount is available until March 1st</a>.
</p>
<hr />
<hr>
<?php news_image("http://wtconferences.com/", "webtech2006.png", "WebTech 2006"); ?>
@@ -410,7 +410,7 @@ discount is available until March 1st</a>.
internet, and others.
</p>
<hr />
<hr>
<?php news_image("http://www.phpconference.co.uk/", "ukphp2006.png", "UK PHP Conference 2006"); ?>
<h1>UK PHP Conference 2006</h1>
@@ -424,7 +424,7 @@ discount is available until March 1st</a>.
Chris Kunz and Matt Zandstra. Not bad for 50 quid.
</p>
<hr />
<hr>
<h1>PHP 4.4.2 Released</h1>
<p>
<span class="newsdate">[13-Jan-2006]</span>
@@ -445,7 +445,7 @@ Further details about this release can be found in the <a href="/release_4_4_2.p
and the full list of changes is available in the <a href="/ChangeLog-4.php#4.4.2">PHP 4 ChangeLog</a>.
</p>
<hr />
<hr>
<h1>PHP 5.1.2 Released</h1>
<p>
<span class="newsdate">[12-Jan-2006]</span>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2007", array("cache" => true));
Here are the most important news items we have published in 2007 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem">
<a name="2007-11-08-1" id="2007-11-08-1"><h1>PHP 5.2.5 Released</h1></a>
@@ -39,7 +39,7 @@ site_header("News Archive - 2007", array("cache" => true));
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.prophp.com.br/phpconference.php", "phpconfbrasil2007.png", "São Paulo 2007"); ?>
<div class="newsItem">
@@ -54,7 +54,7 @@ Visit <a href="http://www.prophp.com.br/phpconference.php">the website</a> for m
</div>
</div>
<hr />
<hr>
<div class="newsItem">
@@ -82,7 +82,7 @@ using <a href="/my.php">my.php</a>.
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.dcphpconference.com/", "dcphpconference.2007.png", "Washington DC 2007"); ?>
<div class="newsItem">
@@ -99,7 +99,7 @@ Please see <a href="http://www.dcphpconference.com ">the website</a> for more de
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.afup.org/pages/forumphp2007/", "afup2007.jpg", "Paris Forum 2007"); ?>
<div class="newsItem">
@@ -118,7 +118,7 @@ enterprise solutions and advanced techniques.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-08-30-1" id="2007-08-30-1"><h1>PHP 5.2.4 Released</h1></a>
@@ -169,7 +169,7 @@ those releases and PHP 5.2.4.
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.zendcon.com/", "zendcon07_logo_s.jpg", "Zend/PHP Conference 2007"); ?>
<div class="newsItem">
@@ -207,7 +207,7 @@ For more information please see <a href="http://www.zendcon.com/">http://www.zen
</div>
</div>
<hr />
<hr>
<?php news_image("http://works.phparch.com/c/p/index", "phpworks2007.png", "php|works 2007"); ?>
<div class="newsItem">
@@ -224,7 +224,7 @@ This year, the conference once again promises to be an excellent event for PHP d
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-07-13-1" id="2007-07-13-1"><h1>PHP 4 end of life announcement</h1></a>
@@ -254,7 +254,7 @@ This year, the conference once again promises to be an excellent event for PHP d
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-06-01-1" id="2007-06-01-1"><h1>PHP 5.2.3 Released</h1></a>
@@ -297,7 +297,7 @@ those releases and PHP 5.2.3.
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.wtconferences.com/2007/?q=node/1", "wtlogo_s.png", "WebTech 2007"); ?>
<div class="newsItem">
@@ -321,7 +321,7 @@ those releases and PHP 5.2.3.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-05-03-1" id="2007-05-03-1"><h1>PHP 5.2.2 and PHP 4.4.7 Released</h1></a>
@@ -398,7 +398,7 @@ those releases and PHP 5.2.3.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-04-14-1" id="2007-04-14-1"><h1>The PHP.net Google Summer of Code</h1></a>
@@ -469,7 +469,7 @@ those releases and PHP 5.2.3.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-03-01-1" id="2007-03-01-1"><h1>PHP 4.4.6 Released</h1></a>
@@ -495,7 +495,7 @@ those releases and PHP 5.2.3.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-02-08-2" id="2007-02-08-2"><h1>PHP 5.2.1 and PHP 4.4.5 Released</h1></a>
@@ -581,7 +581,7 @@ posted in the <a href="/downloads.php">download section</a>.</p>
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-02-08-1" id="2007-02-08-1"><h1>The front page has changed</h1></a>
@@ -595,7 +595,7 @@ posted in the <a href="/downloads.php">download section</a>.</p>
</div>
</div>
<hr />
<hr>
<?php news_image("http://conf.phpquebec.com/en/conf2007/", "conference_php_quebec.gif", "PHP Québec conference"); ?>
<div class="newsItem">
@@ -625,7 +625,7 @@ contributors.
</div>
</div>
<hr />
<hr>
<div class="newsItem">
<a name="2007-02-03-1" id="2007-02-03-1"><h1>PHP Manual Updates</h1></a>
@@ -644,7 +644,7 @@ contributors.
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.phpconference.co.uk/", "phplondon2007.png", "PHP London 2007"); ?>
<div class="newsItem">
@@ -658,7 +658,7 @@ After the success of 2006 the <a href="http://www.phplondon.org/">PHP London use
</div>
</div>
<hr />
<hr>
<?php news_image("http://www.phparch.com/tek", "phptek2007.png", "php|tek 2007"); ?>
<div class="newsItem">

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2008", array("cache" => true));
Here are the most important news items we have published in 2008 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -30,7 +30,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-12-08-1" id="id2008-12-08-1" href="http://www.php.net/archive/2008.php#id2008-12-08-1" rel="bookmark" class="bookmark">PHP 5.2.8 Released!</a></h1>
@@ -44,7 +44,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-12-07-1" id="id2008-12-07-1" href="http://www.php.net/archive/2008.php#id2008-12-07-1" rel="bookmark" class="bookmark">PHP 5.2.7 has been removed from distribution</a></h1>
@@ -64,7 +64,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-12-04-3" id="id2008-12-04-3" href="http://www.php.net/archive/2008.php#id2008-12-04-3" rel="bookmark" class="bookmark">PHP 5.2.7 Released</a></h1>
@@ -117,7 +117,7 @@ site_header("News Archive - 2008", array("cache" => true));
Further details about the PHP 5.2.7 release can be found in the <a href="/releases/5_2_7.php">release announcement for 5.2.7</a>, the full list of changes is available in the <a href="/ChangeLog-5.php#5.2.7">ChangeLog for PHP 5</a>.
</p>
<br/>
<br>
<p>
<strong>Update (December 6th):</strong>
Added missing zip security fix
@@ -127,7 +127,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -173,7 +173,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-12-04-1" id="id2008-12-04-1" href="http://www.php.net/archive/2008.php#id2008-12-04-1" rel="bookmark" class="bookmark">PHP Advent 2008</a></h1>
@@ -193,7 +193,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.afup.org/", "afup2008.png", "Forum AFUP Paris 2008"); ?></div>
<h1 class="summary entry-title"><a name="id2008-11-15-1" id="id2008-11-15-1" href="http://www.php.net/archive/2008.php#id2008-11-15-1" rel="bookmark" class="bookmark">Forum PHP Paris 2008</a></h1>
@@ -216,7 +216,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conference.phpnw.org.uk", "phpnw08_logo.jpg", "PHPNW08 logo"); ?></div>
<h1 class="summary entry-title"><a name="id2008-11-04-2" id="id2008-11-04-2" href="http://conference.phpnw.org.uk" rel="bookmark" class="bookmark">PHPNW08 - November 22nd - Manchester, UK</a></h1>
@@ -258,7 +258,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-09-16-1" id="id2008-09-16-1" href="http://www.php.net/archive/2008.php#id2008-09-16-1" rel="bookmark" class="bookmark">PHP Quebec 2009</a></h1>
@@ -284,7 +284,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.es/", "PHPBarcelonaConference003.png", "Barcelona PHP Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2008-09-10-1" id="id2008-09-10-1" href="http://phpconference.es/" rel="bookmark" class="bookmark">Barcelona PHP Conference 2008</a></h1>
@@ -324,7 +324,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.com/", "icp08.jpg", "International PHP Conference 2008"); ?></div>
<h1 class="summary entry-title"><a name="id2008-09-08-1" id="id2008-09-08-1" href="http://www.phpconference.com/" rel="bookmark" class="bookmark">International PHP Conference 2008 October 27-31st Mainz, Germany</a></h1>
@@ -364,7 +364,7 @@ site_header("News Archive - 2008", array("cache" => true));
</p>
<p>
<small>* Confirmation with your company's letter head</small>
<br/>
<br>
<small>** With Student ID. Limited seating available</small>
</p>
@@ -373,7 +373,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpworks.mtacon.com/", "phppyworks.png", "php|works / PyWorks 2008: Chicago"); ?></div>
<h1 class="summary entry-title"><a name="2008-09-03-1" id="2008-09-03-1" href="http://phpworks.mtacon.com/" rel="bookmark" class="bookmark">php|works &amp; PyWorks 2008 - Atlanta</a></h1>
@@ -403,7 +403,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-08-07-1" id="id2008-08-07-1" href="http://www.php.net/archive/2008.php#id2008-08-07-1" rel="bookmark" class="bookmark">PHP 4.4.9 released!</a></h1>
@@ -435,7 +435,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -475,7 +475,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -508,7 +508,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-07-29-1" id="id2008-07-29-1" href="http://www.php.net/archive/2008.php#id2008-07-29-1" rel="bookmark" class="bookmark">Manual restructure and license change</a></h1>
@@ -552,7 +552,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://zendcon.com/", "zlogo.gif", "ZendCon 2008"); ?></div>
@@ -576,7 +576,7 @@ site_header("News Archive - 2008", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.afup.org/", "elephpants.jpg", "elePHPants"); ?></div>
@@ -605,7 +605,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-04-22-1" id="id2008-04-22-1" href="http://www.php.net/archive/2008.php#id2008-04-22-1" rel="bookmark" class="bookmark">Google Summer of Code: php.net students</a></h1>
@@ -686,7 +686,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2008-05-01-1" id="id2008-05-01-1" href="http://www.php.net/archive/2008.php#id2008-05-01-1" rel="bookmark" class="bookmark">PHP 5.2.6 Released</a></h1>
@@ -720,7 +720,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.afup.org/", "afup2008.png", "Forum AFUP Paris 2008"); ?></div>
<h1 class="summary entry-title"><a name="id2008-04-13-2" id="id2008-04-13-2" href="http://www.php.net/archive/2008.php#id2008-04-13-2" rel="bookmark" class="bookmark">Call for speakers for Forum PHP Paris 2008</a></h1>
@@ -752,7 +752,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.dcphpconference.com/", "dcphpconference.2008.png", "PHP DC conference 2008"); ?></div>
<h1 class="summary entry-title"><a name="id2008-04-13-1" id="id2008-04-13-1" href="http://www.dcphpconference.com/" rel="bookmark" class="bookmark">PHP DC conference 2008</a></h1>
@@ -788,7 +788,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -821,7 +821,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="2008-03-19-1" id="2008-03-19-1" href="http://www.php.net/archive/2008.php#2008-03-19-1" rel="bookmark" class="bookmark">Google Summer of Code 2008</a></h1>
@@ -837,7 +837,7 @@ and join the <a href="http://www.flickr.com/photos/tags/elephpant/">world of blu
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://tek.phparch.com/", "phptek_2008.png", "php|tek 2008: Chicago"); ?></div>
<h1 class="summary entry-title"><a name="2008-02-19-1" id="2008-02-19-1" href="http://tek.phparch.com/" rel="bookmark" class="bookmark">php|tek 2008: Chicago</a></h1>
@@ -861,7 +861,7 @@ For the past two years, php|architect's spring conference has sold out <em>weeks
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conf.phpquebec.com/en/conf2008/", "conference_php_quebec.gif", "PHP Québec conference 2008"); ?></div>
<h1 class="summary entry-title"><a name="2008-02-06-1" id="2008-02-06-1" href="http://conf.phpquebec.com/en/conf2008/" rel="bookmark" class="bookmark">PHP Québec conference 2008</a></h1>
@@ -891,7 +891,7 @@ visit the website: <a href="http://conf.phpquebec.com">http://conf.phpquebec.com
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.co.uk/", "phplondon2008.png", "PHP London Conference 08"); ?></div>
<h1 class="summary entry-title"><a name="2008-01-10-1" id="2008-01-10-1" href="http://www.phpconference.co.uk/" rel="bookmark" class="bookmark">phplondon conference 2008</a></h1>
@@ -911,7 +911,7 @@ visit the website: <a href="http://conf.phpquebec.com">http://conf.phpquebec.com
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="2008-01-03-1" id="2008-01-03-1" href="http://www.php.net/archive/2008.php#2008-01-03-1" rel="bookmark" class="bookmark">PHP 4.4.8 Released</a></h1>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2009", array("cache" => true));
Here are the most important news items we have published in 2009 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-12-17-1" id="id2009-12-17-1" href="http://www.php.net/archive/2009.php#id2009-12-17-1" rel="bookmark" class="bookmark">PHP 5.2.12 Released!</a></h1>
@@ -44,7 +44,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.co.uk/", "phpukconf2010.png", "PHP UK Conference 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2009-12-09-1" id="id2009-12-09-1" href="http://www.phpconference.co.uk/" rel="bookmark" class="bookmark">PHP UK Conference 2010</a></h1>
@@ -105,7 +105,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-11-19-1" id="id2009-11-19-1" href="http://www.php.net/archive/2009.php#id2009-11-19-1" rel="bookmark" class="bookmark">PHP 5.3.1 Released!</a></h1>
@@ -131,7 +131,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.com/", "ipc09.png", "International PHP Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2009-10-21-1" id="id2009-10-21-1" href="http://www.phpconference.com/" rel="bookmark" class="bookmark">International PHP Conference</a></h1>
@@ -147,7 +147,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpworld-kongress.de", "phpworldkongress09.gif", "PHP World Kongress"); ?></div>
<h1 class="summary entry-title"><a name="id2009-10-01-1" id="id2009-10-01-1" href="http://www.phpworld-kongress.de" rel="bookmark" class="bookmark">PHP World Kongress</a></h1>
@@ -175,7 +175,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.es/", "phpbarcelonaconference2009small1.jpg", "PHP Barcelona"); ?></div>
<h1 class="summary entry-title"><a name="id2009-09-28-1" id="id2009-09-28-1" href="http://phpconference.es/" rel="bookmark" class="bookmark">PHP Barcelona Conference 2009</a></h1>
@@ -190,7 +190,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-09-17-1" id="id2009-09-17-1" href="http://www.php.net/archive/2009.php#id2009-09-17-1" rel="bookmark" class="bookmark">PHP 5.2.11 Released!</a></h1>
@@ -220,7 +220,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://zendcon.com", "ZendCon09-logo.gif", "ZendCon 2009"); ?></div>
<h1 class="summary entry-title"><a name="id2009-08-26-1" id="id2009-08-26-1" href="http://zendcon.com" rel="bookmark" class="bookmark">ZendCon 2009!</a></h1>
@@ -248,7 +248,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-07-30-1" id="id2009-07-30-1" href="http://www.php.net/archive/2009.php#id2009-07-30-1" rel="bookmark" class="bookmark">PHP TestFest 2009 Winners</a></h1>
@@ -300,7 +300,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conference.phpnw.org.uk/", "phpnw09_blk_300x110.png", "PHP NW 2009"); ?></div>
<h1 class="summary entry-title"><a name="id2009-07-21-1" id="id2009-07-21-1" href="http://conference.phpnw.org.uk/" rel="bookmark" class="bookmark">PHP North West Conference</a></h1>
@@ -335,7 +335,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-07-16-1" id="id2009-07-16-1" href="http://www.php.net/archive/2009.php#id2009-07-16-1" rel="bookmark" class="bookmark">Subversion Migration Complete</a></h1>
@@ -363,7 +363,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-07-09-1" id="id2009-07-09-1" href="http://www.php.net/archive/2009.php#id2009-07-09-1" rel="bookmark" class="bookmark">2009 PHP TestFest</a></h1>
@@ -418,7 +418,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-06-30-1" id="id2009-06-30-1" href="http://www.php.net/archive/2009.php#id2009-06-30-1" rel="bookmark" class="bookmark">PHP 5.3.0 Released!</a></h1>
@@ -465,7 +465,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phprio.org/phpnrio09", "phpnrio09.png", "PHP Rio"); ?></div>
<h1 class="summary entry-title"><a name="id2009-06-21-1" id="id2009-06-21-1" href="http://www.php.net/archive/2009.php#id2009-06-21-1" rel="bookmark" class="bookmark">PHP'n Rio conference</a></h1>
@@ -502,7 +502,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-06-19-1" id="id2009-06-19-1" href="http://www.php.net/archive/2009.php#id2009-06-19-1" rel="bookmark" class="bookmark">PHP 5.3.0RC4 Release Announcements</a></h1>
@@ -532,7 +532,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-06-18-1" id="id2009-06-18-1" href="http://www.php.net/archive/2009.php#id2009-06-18-1" rel="bookmark" class="bookmark">PHP 5.2.10 Released!</a></h1>
@@ -560,7 +560,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-06-12-1" id="id2009-06-12-1" href="http://www.php.net/archive/2009.php#id2009-06-12-1" rel="bookmark" class="bookmark">PHP 5.2.10RC2 and PHP 5.3.0RC3 Release Announcements</a></h1>
@@ -571,7 +571,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://cw.mtacon.com/", "codeworks2009.png", "CodeWorks Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2009-06-03-1" id="id2009-06-03-1" href="http://cw.mtacon.com/" rel="bookmark" class="bookmark">CodeWorks Conference</a></h1>
@@ -599,7 +599,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.afup.org/", "forumphp2009.jpg", "Forum PHP Paris"); ?></div>
<h1 class="summary entry-title"><a name="id2009-05-29-1" id="id2009-05-29-1" href="http://www.afup.org/" rel="bookmark" class="bookmark">Forum PHP Paris 2009</a></h1>
@@ -629,7 +629,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-05-09-1" id="id2009-05-09-1" href="http://www.php.net/archive/2009.php#id2009-05-09-1" rel="bookmark" class="bookmark">TestFest 2009</a></h1>
@@ -677,7 +677,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-05-07-1" id="id2009-05-07-1" href="http://www.php.net/archive/2009.php#id2009-05-07-1" rel="bookmark" class="bookmark">PHP 5.3.0RC2 Release Announcement</a></h1>
@@ -704,7 +704,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpday.it/", "phpday-it-2009.png", "phpDay Italy"); ?></div>
<h1 class="summary entry-title"><a name="id2009-04-17-1" id="id2009-04-17-1" href="http://www.phpday.it/" rel="bookmark" class="bookmark">phpDay Italy</a></h1>
@@ -742,7 +742,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-04-08-1" id="id2009-04-08-1" href="http://www.php.net/archive/2009.php#id2009-04-08-1" rel="bookmark" class="bookmark">PHP 5.2.9-2 (Windows) released</a></h1>
@@ -759,7 +759,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.nl/", "dpc09_banner.jpg", "DPC09"); ?></div>
<h1 class="summary entry-title"><a name="id2009-04-06-1" id="id2009-04-06-1" href="http://phpconference.nl/" rel="bookmark" class="bookmark">DPC09</a></h1>
@@ -794,7 +794,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-03-27-1" id="id2009-03-27-1" href="http://www.php.net/archive/2009.php#id2009-03-27-1" rel="bookmark" class="bookmark">Google Summer of Code 2009</a></h1>
@@ -817,7 +817,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-03-24-1" id="id2009-03-24-1" href="http://www.php.net/archive/2009.php#id2009-03-24-1" rel="bookmark" class="bookmark">PHP 5.3.0RC1 Release Announcement</a></h1>
@@ -883,7 +883,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-03-10-1" id="id2009-03-10-1" href="http://www.php.net/archive/2009.php#id2009-03-10-1" rel="bookmark" class="bookmark">5.2.9-1 (for Windows) released</a></h1>
@@ -899,7 +899,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-02-26-1" id="id2009-02-26-1" href="http://www.php.net/archive/2009.php#id2009-02-26-1" rel="bookmark" class="bookmark">PHP 5.2.9 Released!</a></h1>
@@ -917,7 +917,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-02-20-1" id="id2009-02-20-1" href="http://www.php.net/archive/2009.php#id2009-02-20-1" rel="bookmark" class="bookmark">php|tek 2009</a></h1>
@@ -934,7 +934,7 @@ site_header("News Archive - 2009", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2009-02-18-1" id="id2009-02-18-1" href="http://www.php.net/archive/2009.php#id2009-02-18-1" rel="bookmark" class="bookmark">2009 PHP Quebec Conference</a></h1>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2010", array("cache" => true));
Here are the most important news items we have published in 2010 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-12-16-1" id="id2010-12-16-1" href="http://www.php.net/archive/2010.php#id2010-12-16-1" rel="bookmark" class="bookmark">PHP 5.2.16 Released!</a></h1>
@@ -43,7 +43,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-12-10-1" id="id2010-12-10-1" href="http://www.php.net/archive/2010.php#id2010-12-10-1" rel="bookmark" class="bookmark">PHP 5.3.4 Released!</a></h1>
@@ -104,7 +104,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-12-09-1" id="id2010-12-09-1" href="http://www.php.net/archive/2010.php#id2010-12-09-1" rel="bookmark" class="bookmark">PHP 5.2.15 Released!</a></h1>
@@ -153,7 +153,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.confoo.ca/", "logo_confoo_300_95.gif", "Confoo"); ?></div>
<h1 class="summary entry-title"><a name="id2010-11-08-1" id="id2010-11-08-1" href="http://confoo.ca/" rel="bookmark" class="bookmark">Confoo</a></h1>
@@ -181,7 +181,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phprio.org/phpnrio10", "phpnrio10.png", "PHP'n Rio 10"); ?></div>
<h1 class="summary entry-title"><a name="id2010-11-02-1" id="id2010-11-02-1" href="http://www.phprio.org/phpnrio10" rel="bookmark" class="bookmark">PHP'n Rio 10</a></h1>
@@ -215,7 +215,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.zendcon.com/", "zend_phpconf10.jpg", "Zend / PHP Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2010-09-30-1" id="id2010-09-30-1" href="http://www.zendcon.com/" rel="bookmark" class="bookmark">Zend / PHP Conference</a></h1>
@@ -267,7 +267,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.es/", "barcelona2010.png", "PHP Barcelona Conference 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2010-09-25-2" id="id2010-09-25-2" href="http://phpconference.es/" rel="bookmark" class="bookmark">PHP Barcelona Conference 2010</a></h1>
@@ -284,7 +284,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.com/", "ipc2010.gif", "International PHP Conference 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2010-09-25-1" id="id2010-09-25-1" href="http://phpconference.com/" rel="bookmark" class="bookmark">International PHP Conference</a></h1>
@@ -316,7 +316,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conference.phpnw.org.uk/phpnw10/", "phpnw10_logo.png", "PHP | OSI Days 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2010-09-09-1" id="id2010-09-09-1" href="http://www.php.net/archive/2010.php#id2010-09-09-1" rel="bookmark" class="bookmark">PHPNW10</a></h1>
@@ -346,7 +346,7 @@ site_header("News Archive - 2010", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-07-22-2" id="id2010-07-22-2" href="http://www.php.net/archive/2010.php#id2010-07-22-2" rel="bookmark" class="bookmark">PHP 5.3.3 Released!</a></h1>
@@ -369,14 +369,14 @@ site_header("News Archive - 2010", array("cache" => true));
will no longer be treated as constructor. This change doesn't affect
non-namespaced classes.
<p><code>&lt;?php<br/>
namespace Foo;<br/>
class Bar {<br/>
public function Bar() {<br/>
// treated as constructor in PHP 5.3.0-5.3.2<br/>
// treated as regular method in PHP 5.3.3<br/>
}<br/>
}<br/>
<p><code>&lt;?php<br>
namespace Foo;<br>
class Bar {<br>
public function Bar() {<br>
// treated as constructor in PHP 5.3.0-5.3.2<br>
// treated as regular method in PHP 5.3.3<br>
}<br>
}<br>
?&gt;</code></p>
<p>There is no impact on migration from 5.2.x because namespaces were only introduced in PHP 5.3.</p></li>
</ul>
@@ -436,7 +436,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-07-22-1" id="id2010-07-22-1" href="http://www.php.net/archive/2010.php#id2010-07-22-1" rel="bookmark" class="bookmark">PHP 5.2.14 Released!</a></h1>
@@ -497,7 +497,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-06-23-1" id="id2010-06-23-1" href="http://www.php.net/archive/2010.php#id2010-06-23-1" rel="bookmark" class="bookmark">TestFest 2010</a></h1>
@@ -530,7 +530,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://osidays.com/node/add/proposal", "php_osi_2010.png", "PHP | OSI Days 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2010-06-05-1" id="id2010-06-05-1" href="http://www.php.net/archive/2010.php#id2010-06-05-1" rel="bookmark" class="bookmark">PHP | OSI Days 2010: Participate at the confluence of PHP's finest!</a></h1>
@@ -600,15 +600,15 @@ class Bar {<br/>
<p><strong>Contact</strong></p>
<p>For registration and more details visit: <a href="http://osidays.com" class="url">http://osidays.com</a> or contact
Dhiraj Khare at dhiraj@osidays.com or call at +919811206582
<br/><br/>
Team,<br/>
<br/><br>
Team,<br>
OSI Days 2010
</p>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-03-04-1" id="id2010-03-04-1" href="http://www.php.net/archive/2010.php#id2010-03-04-1" rel="bookmark" class="bookmark">PHP 5.3.2 Released!</a></h1>
@@ -671,7 +671,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2010-02-25-1" id="id2010-02-25-1" href="http://www.php.net/archive/2010.php#id2010-02-25-1" rel="bookmark" class="bookmark">PHP 5.2.13 Released!</a></h1>
@@ -702,7 +702,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.nl/", "dpc10_banner.jpg", "Dutch PHP Conference 2010"); ?></div>
<h1 class="summary entry-title"><a name="id2010-02-19-1" id="id2010-02-19-1" href="http://phpconference.nl/" rel="bookmark" class="bookmark">Dutch PHP Conference</a></h1>
@@ -729,7 +729,7 @@ class Bar {<br/>
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://confoo.ca/en", "logo_confoo_300_95.gif", "ConFoo Web Techno Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2010-01-16-1" id="id2010-01-16-1" href="http://confoo.ca/en" rel="bookmark" class="bookmark">ConFoo Web Techno Conference</a></h1>
@@ -758,7 +758,7 @@ class Bar {<br/>
<p>
<a href="http://confoo.ca/en/register">Register</a> online before
January 22nd and save 200$!
<br/>
<br>
Looking forward to see you at the conference.
</p>
</div>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2011", array("cache" => true));
Here are the most important news items we have published in 2011 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-12-25-1" id="id2011-12-25-1" href="#id2011-12-25-1" rel="bookmark" class="bookmark">PHP 5.4.0 RC4 released</a></h1>
@@ -60,7 +60,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.nl/", "dpc_2012.png", "Dutch PHP Conference 2012"); ?></div>
<h1 class="summary entry-title"><a name="id2011-12-23-1" id="id2011-12-23-1" href="http://www.phpconference.nl/" rel="bookmark" class="bookmark">Dutch PHP Conference 2012</a></h1>
@@ -77,7 +77,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-12-14-1" id="id2011-12-14-1" href="#id2011-12-14-1" rel="bookmark" class="bookmark">PHP 5.4.0RC3 released</a></h1>
@@ -123,7 +123,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-11-29-1" id="id2011-11-29-1" href="#id2011-11-29-1" rel="bookmark" class="bookmark">PHP 5.4 RC2 released</a></h1>
@@ -169,7 +169,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpday.it/", "phpday2012.png", "Italian phpDay"); ?></div>
<h1 class="summary entry-title"><a name="id2011-11-17-1" id="id2011-11-17-1" href="http://www.phpday.it/" rel="bookmark" class="bookmark">Italian phpDay 2012</a></h1>
@@ -200,7 +200,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-11-11-1" id="id2011-11-11-1" href="#id2011-11-11-1" rel="bookmark" class="bookmark">PHP 5.4 RC1 released</a></h1>
@@ -246,7 +246,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-10-26-1" id="id2011-10-26-1" href="#id2011-10-26-1" rel="bookmark" class="bookmark">PHP 5.4 beta2 released</a></h1>
@@ -280,7 +280,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phprio.org/phpnrio11", "phpnrio11.png", "PHP'n Rio 11"); ?></div>
<h1 class="summary entry-title"><a name="id2011-10-06-1" id="id2011-10-06-1" href="http://www.phprio.org/phpnrio11" rel="bookmark" class="bookmark">PHP'n Rio 11</a></h1>
@@ -311,7 +311,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.web-devcon.de", "webdevcon2011.jpg", "Web DevCon 2011"); ?></div>
<h1 class="summary entry-title"><a name="id2011-09-30-1" id="id2011-09-30-1" href="http://www.web-devcon.de" rel="bookmark" class="bookmark">Web DevCon 2011</a></h1>
@@ -351,7 +351,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-09-27-1" id="id2011-09-27-1" href="#id2011-09-27-1" rel="bookmark" class="bookmark">PHP 5.4 beta1 released</a></h1>
@@ -391,7 +391,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpconference.es/", "PHPBarcelonaConference2011.png", "PHP Barcelona 2011"); ?></div>
<h1 class="summary entry-title"><a name="id2011-09-15-1" id="id2011-09-15-1" href="http://phpconference.es/" rel="bookmark" class="bookmark">PHP Barcelona 2011</a></h1>
@@ -432,7 +432,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conference.phpbenelux.eu/2012/", "phpbnl2012.png", "PHPBenelux 2012"); ?></div>
<h1 class="summary entry-title"><a name="id2011-09-12-1" id="id2011-09-12-1" href="http://conference.phpbenelux.eu/2012/" rel="bookmark" class="bookmark">PHPBenelux 2012</a></h1>
@@ -470,7 +470,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-08-23-1" id="id2011-08-23-1" href="#id2011-08-23-1" rel="bookmark" class="bookmark">PHP 5.3.8 Released!</a></h1>
@@ -501,7 +501,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-08-22-1" id="id2011-08-22-1" href="#id2011-08-22-1" rel="bookmark" class="bookmark">5.3.7 upgrade warning</a></h1>
@@ -517,7 +517,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.zendcon.com/", "zendcon_Logo_2011_225wide.jpg", "ZendCon 2011"); ?></div>
<h1 class="summary entry-title"><a name="id2011-08-19-1" id="id2011-08-19-1" href="http://www.zendcon.com/" rel="bookmark" class="bookmark">Zend PHP Conference 2011 (ZendCon)</a></h1>
@@ -530,9 +530,9 @@ site_header("News Archive - 2011", array("cache" => true));
<p>This years conference will be held on October 17-20, 2011 at the Convention Center in Santa Clara, California. The conference will include a variety of technical sessions and in-depth tutorials in the following areas:
<ul>
<li>Cloud Computing - build applications, not infrastructure.<br/>Learn about the latest developments in PHP Cloud infrastructure, management and application services</li>
<li>Mobile and User Experience - go beyond the browser<br/>Learn how to build engaging mobile apps with the latest PHP technologies and tools</li>
<li>Enterprise and Professional PHP - master your craft<br/>Explore PHP best practices, new technologies and practical tips with industry experts</li>
<li>Cloud Computing - build applications, not infrastructure.<br>Learn about the latest developments in PHP Cloud infrastructure, management and application services</li>
<li>Mobile and User Experience - go beyond the browser<br>Learn how to build engaging mobile apps with the latest PHP technologies and tools</li>
<li>Enterprise and Professional PHP - master your craft<br>Explore PHP best practices, new technologies and practical tips with industry experts</li>
</ul>
</p>
<p>
@@ -543,7 +543,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-08-18-1" id="id2011-08-18-1" href="#id2011-08-18-1" rel="bookmark" class="bookmark">PHP 5.3.7 Released!</a></h1>
@@ -616,7 +616,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://confoo.ca/en", "confoo2012.gif", "ConFoo 2012"); ?></div>
<h1 class="summary entry-title"><a name="id2011-08-11-1" id="id2011-08-11-1" href="http://confoo.ca/en" rel="bookmark" class="bookmark">ConFoo 2012</a></h1>
@@ -642,7 +642,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-06-28-1" id="id2011-06-28-1" href="#id2011-06-28-1" rel="bookmark" class="bookmark">PHP 5.4 alpha1 released</a></h1>
@@ -696,7 +696,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-06-25-1" id="id2011-06-25-1" href="#id2011-06-25-1" rel="bookmark" class="bookmark">PHP Documentation update</a></h1>
@@ -737,7 +737,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://2011.osidays.com/blog/php-days-call-paper", "OSIDays2011.png", "PHP Days | OSI Days"); ?></div>
<h1 class="summary entry-title"><a name="id2011-06-10-1" id="id2011-06-10-1" href="http://2011.osidays.com/blog/php-days-call-paper" rel="bookmark" class="bookmark">PHP Days | OSI Days</a></h1>
@@ -764,7 +764,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://conference.phpnw.org.uk/phpnw11/", "phpnw11_200x66.png", "PHPNW11"); ?></div>
<h1 class="summary entry-title"><a name="id2011-05-30-1" id="id2011-05-30-1" href="http://conference.phpnw.org.uk/phpnw11/" rel="bookmark" class="bookmark">PHP North West, 2011</a></h1>
@@ -793,7 +793,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpconference.nl/", "dpc11_banner.png", "Dutch PHP Conference 2011"); ?></div>
<h1 class="summary entry-title"><a name="id2011-04-06-1" id="id2011-04-06-1" href="http://www.phpconference.nl/" rel="bookmark" class="bookmark">Dutch PHP Conference 2011</a></h1>
@@ -804,7 +804,7 @@ site_header("News Archive - 2011", array("cache" => true));
Ibuildings is proud to organise the fifth <a href="http://www.phpconference.nl/">Dutch PHP Conference</a> on May 20 and 21, plus a pre-conference tutorial day on May 19.
</p>
<p>
Both programs will be completely in English so the only Dutch thing about it is the location. <br/>
Both programs will be completely in English so the only Dutch thing about it is the location. <br>
Keywords for these days: Know-how, Technology, Best Practices, Networking, Tips &amp; Tricks.
</p>
</div>
@@ -812,7 +812,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://www.phpday.it/", "phpday2011.png", "Italian phpDay"); ?></div>
<h1 class="summary entry-title"><a name="id2011-04-04-1" id="id2011-04-04-1" href="http://www.phpday.it/" rel="bookmark" class="bookmark">Italian phpDay 2011</a></h1>
@@ -849,7 +849,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-03-19-1" id="id2011-03-19-1" href="#id2011-03-19-1" rel="bookmark" class="bookmark">php.net security notice</a></h1>
@@ -872,7 +872,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-03-17-1" id="id2011-03-17-1" href="#id2011-03-17-1" rel="bookmark" class="bookmark">PHP 5.3.6 Released!</a></h1>
@@ -933,7 +933,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry vevent">
<div class="newsImage"><?php news_image("http://phpcon.org/", "phpcomcon2011.jpg", "PHP Community Conference"); ?></div>
<h1 class="summary entry-title"><a name="id2011-03-03-1" id="id2011-03-03-1" href="http://phpcon.org/" rel="bookmark" class="bookmark">PHP Community Conference</a></h1>
@@ -983,7 +983,7 @@ site_header("News Archive - 2011", array("cache" => true));
</div>
</div>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h1 class="summary entry-title"><a name="id2011-01-06-1" id="id2011-01-06-1" href="#id2011-01-06-1" rel="bookmark" class="bookmark">PHP 5.3.5 and 5.2.17 Released!</a></h1>

View File

@@ -12,7 +12,7 @@ site_header("News Archive - 2012", array("cache" => true));
Here are the most important news items we have published in 2012 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
<h2 class="summary entry-title"><a name="id2012-12-21-1" id="id2012-12-21-1" href="http://php.net/archive/2012.php#id2012-12-21-1" rel="bookmark" class="bookmark">PHP 5.5.0 Alpha2 released</a></h2>
@@ -65,7 +65,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://conference.phpbenelux.eu/2013/"><img src="/images/news/phpbenelux_conference_logo-01-e1344277762627.png" alt="PHPBenelux Conference 2013" width="450" height="118" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://conference.phpbenelux.eu/2013/"><img src="/images/news/phpbenelux_conference_logo-01-e1344277762627.png" alt="PHPBenelux Conference 2013" width="450" height="118" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-12-20-2" id="id2012-12-20-2" href="http://conference.phpbenelux.eu/2013/" rel="bookmark" class="bookmark">PHPBenelux Conference 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-12-20T12:16:46-08:00">20-Dec-2012</abbr>
@@ -98,7 +98,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://tek13.phparch.com/"><img src="/images/news/tek13_badge.png" alt="php[tek] 2013" width="300" height="140" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://tek13.phparch.com/"><img src="/images/news/tek13_badge.png" alt="php[tek] 2013" width="300" height="140" style="float: right;" ></a></div>
<h2 class="summary entry-title"><a name="id2012-12-19-1" id="id2012-12-19-1" href="http://tek13.phparch.com/" rel="bookmark" class="bookmark">php[tek] 2013 Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-12-19T14:57:57-08:00">19-Dec-2012</abbr>
@@ -177,7 +177,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://sunshinephp.com/"><img src="/images/news/sunshine2013.png" alt="SunshinePHP Developer Conference" width="180" height="180" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://sunshinephp.com/"><img src="/images/news/sunshine2013.png" alt="SunshinePHP Developer Conference" width="180" height="180" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-11-03-1" id="id2012-11-03-1" href="http://sunshinephp.com/" rel="bookmark" class="bookmark">SunshinePHP Developer Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-11-03T13:04:07-07:00">03-Nov-2012</abbr>
@@ -203,7 +203,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://phpconference.co.uk/"><img src="/images/news/phpuk2013.jpeg" alt="PHP UK 2013" width="161" height="107" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://phpconference.co.uk/"><img src="/images/news/phpuk2013.jpeg" alt="PHP UK 2013" width="161" height="107" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-11-02-1" id="id2012-11-02-1" href="http://phpconference.co.uk/" rel="bookmark" class="bookmark">PHP UK Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-11-02T09:39:14-07:00">02-Nov-2012</abbr>
@@ -261,7 +261,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://truenorthphp.ca/"><img src="/images/news/truenorth2012.jpg" alt="True North 2012" width="363" height="173" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://truenorthphp.ca/"><img src="/images/news/truenorth2012.jpg" alt="True North 2012" width="363" height="173" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-10-13-2" id="id2012-10-13-2" href="http://truenorthphp.ca/" rel="bookmark" class="bookmark">True North PHP</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-10-13T17:00:14-07:00">13-Oct-2012</abbr>
@@ -283,7 +283,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.web-developer-conference.de/"><img src="/images/news/Logo_WDC_2013.jpg" alt="WDC2013" width="400" height="97" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.web-developer-conference.de/"><img src="/images/news/Logo_WDC_2013.jpg" alt="WDC2013" width="400" height="97" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-10-13-1" id="id2012-10-13-1" href="http://www.web-developer-conference.de/" rel="bookmark" class="bookmark">Web Developer Conference (WDC) 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-10-13T16:17:20-07:00">13-Oct-2012</abbr>
@@ -300,7 +300,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.midwestphp.com/"><img src="/images/news/rsz_midwestphpconference_customlogodesign_rl3.jpg" alt="Midwest PHP Conference" width="180" height="180" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.midwestphp.com/"><img src="/images/news/rsz_midwestphpconference_customlogodesign_rl3.jpg" alt="Midwest PHP Conference" width="180" height="180" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-10-05-1" id="id2012-10-05-1" href="http://www.midwestphp.com/" rel="bookmark" class="bookmark">Midwest PHP Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-10-05T15:43:04-07:00">05-Oct-2012</abbr>
@@ -351,7 +351,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://codeconnexx.com/"><img src="/images/news/codeconnexx.com-1.jpg" alt="CodeConnexx" width="472" height="144" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://codeconnexx.com/"><img src="/images/news/codeconnexx.com-1.jpg" alt="CodeConnexx" width="472" height="144" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-09-11-1" id="id2012-09-11-1" href="http://codeconnexx.com/" rel="bookmark" class="bookmark">CodeConnexx</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-09-11T12:33:16-05:00">11-Sep-2012</abbr>
@@ -369,7 +369,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://phpconference.com/"><img src="/images/news/icp2012.jpg" alt="IPC 2012" width="396" height="254" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://phpconference.com/"><img src="/images/news/icp2012.jpg" alt="IPC 2012" width="396" height="254" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-09-05-1" id="id2012-09-05-1" href="http://phpconference.com/" rel="bookmark" class="bookmark">International PHP Conference 2012</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-09-05T18:41:44+01:00">05-Sep-2012</abbr>
@@ -393,7 +393,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://confoo.ca/en"><img src="/images/news/confoo-2013-php.jpg" alt="ConFoo Web Techno Conference. February 25 - March 1, 2013 | Montreal, Canada" width="180" height="250" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://confoo.ca/en"><img src="/images/news/confoo-2013-php.jpg" alt="ConFoo Web Techno Conference. February 25 - March 1, 2013 | Montreal, Canada" width="180" height="250" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-08-29-1" id="id2012-08-29-1" href="http://confoo.ca/en" rel="bookmark" class="bookmark">ConFoo 2013 - Call for Papers is Now Open!</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-08-29T14:50:10+00:00">29-Aug-2012</abbr>
@@ -411,7 +411,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://conference.phpnw.org.uk/phpnw12"><img src="/images/news/phpnw12_details_200x1441.png" alt="PHPNW12" width="200" height="144" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://conference.phpnw.org.uk/phpnw12"><img src="/images/news/phpnw12_details_200x1441.png" alt="PHPNW12" width="200" height="144" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-08-21-1" id="id2012-08-21-1" href="http://conference.phpnw.org.uk/phpnw12" rel="bookmark" class="bookmark">PHPNW12 - PHP North West 2012</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-08-21T19:59:32+02:00">21-Aug-2012</abbr>
@@ -449,7 +449,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.zendcon.com/"><img src="/images/news/zendCon12.jpeg" alt="ZendCon 2012" width="247" height="104" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.zendcon.com/"><img src="/images/news/zendCon12.jpeg" alt="ZendCon 2012" width="247" height="104" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-08-16-2" id="id2012-08-16-2" href="http://www.zendcon.com/" rel="bookmark" class="bookmark">ZendCon 2012</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-08-16T23:31:43+01:00">16-Aug-2012</abbr>
@@ -502,7 +502,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://london2012.live.symfony.com/"><img src="/images/news/sfl_london.png" alt="Sf Live London" width="212" height="214" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://london2012.live.symfony.com/"><img src="/images/news/sfl_london.png" alt="Sf Live London" width="212" height="214" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-08-15-1" id="id2012-08-15-1" href="http://london2012.live.symfony.com/" rel="bookmark" class="bookmark">Symfony Live London</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-08-15T15:01:17+01:00">15-Aug-2012</abbr>
@@ -528,7 +528,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.web-developer-conference.de"><img src="/images/news/wdc-2012.jpg" alt="The Web Developer Conference" width="216" height="59" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.web-developer-conference.de"><img src="/images/news/wdc-2012.jpg" alt="The Web Developer Conference" width="216" height="59" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-07-27-1" id="id2012-07-27-1" href="http://www.web-developer-conference.de" rel="bookmark" class="bookmark">The Web Developer Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-07-27T17:15:23+01:00">27-Jul-2012</abbr>
@@ -569,7 +569,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.northeastphp.org/"><img src="/images/news/NENA_logo.png" alt="Northeast PHP Conference" width="352" height="191" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.northeastphp.org/"><img src="/images/news/NENA_logo.png" alt="Northeast PHP Conference" width="352" height="191" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-06-27-1" id="id2012-06-27-1" href="http://www.northeastphp.org/" rel="bookmark" class="bookmark">Northeast PHP Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-06-27T16:20:12+01:00">27-Jun-2012</abbr>
@@ -745,7 +745,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://devconf.ru"><img src="/images/news/devconfru2012.png" alt="DevConf 2012" width="373" height="86" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://devconf.ru"><img src="/images/news/devconfru2012.png" alt="DevConf 2012" width="373" height="86" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-04-27-1" id="id2012-04-27-1" href="http://devconf.ru" rel="bookmark" class="bookmark">DevConf 2012</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-04-27T05:20:52+00:00">27-Apr-2012</abbr>
@@ -1044,7 +1044,7 @@ site_header("News Archive - 2012", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://conference.phpbenelux.eu/2012"><img src="/images/news/phpbnl2012.png" alt="PHPBenelux 2012" width="347" height="68" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://conference.phpbenelux.eu/2012"><img src="/images/news/phpbnl2012.png" alt="PHPBenelux 2012" width="347" height="68" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2012-01-07-1" id="id2012-01-07-1" href="http://conference.phpbenelux.eu/2012" rel="bookmark" class="bookmark">PHPBenelux 2012</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2012-01-07T14:47:25+01:00">07-Jan-2012</abbr>

View File

@@ -13,7 +13,7 @@ site_header("News Archive - 2013", array("cache" => true));
Here are the most important news items we have published in 2013 on PHP.net.
</p>
<hr />
<hr>
<div class="newsItem hentry">
<div class="newsImage"></div>
@@ -248,7 +248,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="https://www.skiphp.com"><img src="/images/news/ski-php.png" alt="Ski PHP 2014" width="350" height="130" style="float: right;" /></a></div>
<div class="newsImage"><a href="https://www.skiphp.com"><img src="/images/news/ski-php.png" alt="Ski PHP 2014" width="350" height="130" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-10-10-2" id="id2013-10-10-2" href="https://www.skiphp.com" rel="bookmark" class="bookmark">Ski PHP 2014</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-10-10T13:00:14-07:00">10-Oct-2013</abbr>
@@ -271,16 +271,16 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.madisonphpconference.com/"><img src="/images/news/madison-php-2013.png" alt="Madison PHP Conference" width="180" height="180" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.madisonphpconference.com/"><img src="/images/news/madison-php-2013.png" alt="Madison PHP Conference" width="180" height="180" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-10-10-1" id="id2013-10-10-1" href="http://www.madisonphpconference.com/" rel="bookmark" class="bookmark">Madison PHP Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-10-10T12:46:40-07:00">10-Oct-2013</abbr>
<div>
<p>
November 16th, 2013 - 8:30am - 3:30pm<br/>
Warner Park Community Recreation Center <br/>
1625 Northport Dr, Madison, WI 53704<br/>
$40 (before October 16th), $60 (after October 16th), $100 at the door<br/>
November 16th, 2013 - 8:30am - 3:30pm<br>
Warner Park Community Recreation Center <br>
1625 Northport Dr, Madison, WI 53704<br>
$40 (before October 16th), $60 (after October 16th), $100 at the door<br>
</p>
<p>
@@ -365,7 +365,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://codeconnexx.com/"><img src="/images/news/codeconnexx_logo_2013.png" alt="CodeConnexx 2013" width="350" height="50" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://codeconnexx.com/"><img src="/images/news/codeconnexx_logo_2013.png" alt="CodeConnexx 2013" width="350" height="50" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-08-19-2" id="id2013-08-19-2" href="http://codeconnexx.com/" rel="bookmark" class="bookmark">CodeConnexx 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-08-19T12:57:55-07:00">19-Aug-2013</abbr>
@@ -398,7 +398,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.zendcon.com/"><img src="/images/news/ZendCon2013.png" alt="ZendCon" width="200" height="200" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.zendcon.com/"><img src="/images/news/ZendCon2013.png" alt="ZendCon" width="200" height="200" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-08-19-1" id="id2013-08-19-1" href="http://php.net/archive/2013.php#id2013-08-19-1" rel="bookmark" class="bookmark">ZendCon 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-08-19T12:53:59-07:00">19-Aug-2013</abbr>
@@ -461,7 +461,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://webandphp.com/conference/webandphpcon2013"><img src="/images/news/WPCLogo-2013.jpg" alt="WPC 2013" width="350" height="350" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://webandphp.com/conference/webandphpcon2013"><img src="/images/news/WPCLogo-2013.jpg" alt="WPC 2013" width="350" height="350" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-08-08-1" id="id2013-08-08-1" href="http://webandphp.com/conference/webandphpcon2013" rel="bookmark" class="bookmark">Web & PHP Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-08-08T10:37:33-07:00">08-Aug-2013</abbr>
@@ -496,7 +496,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://phpconference.com/2013/en"><img src="/images/news/ipc-2013.jpg" alt="IPC 2013" width="350" height="225" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://phpconference.com/2013/en"><img src="/images/news/ipc-2013.jpg" alt="IPC 2013" width="350" height="225" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-08-07-1" id="id2013-08-07-1" href="http://phpconference.com/2013/en" rel="bookmark" class="bookmark">International PHP Conference 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-08-07T16:54:24-07:00">07-Aug-2013</abbr>
@@ -523,7 +523,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.northeastphp.org/"><img src="/images/news/NENA_logo_2013.png" alt="Northeast PHP Technical Conference" width="300" height="169" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.northeastphp.org/"><img src="/images/news/NENA_logo_2013.png" alt="Northeast PHP Technical Conference" width="300" height="169" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-07-19-1" id="id2013-07-19-1" href="http://www.northeastphp.org/" rel="bookmark" class="bookmark">Northeast PHP Technical Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-07-19T11:53:40-07:00">19-Jul-2013</abbr>
@@ -712,7 +712,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://php.thinkinlamp.com/2013"><img src="/images/news/thinklamp2013.jpg" alt="Shanghai PHP conference 2013" width="631" height="154" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://php.thinkinlamp.com/2013"><img src="/images/news/thinklamp2013.jpg" alt="Shanghai PHP conference 2013" width="631" height="154" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-06-04-1" id="id2013-06-04-1" href="http://php.thinkinlamp.com/2013" rel="bookmark" class="bookmark">Shanghai PHP conference 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-06-04T10:56:01-07:00">04-Jun-2013</abbr>
@@ -848,7 +848,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://devconf.ru"><img src="/images/news/devconfru2012.png" alt="DevConf 2013" width="373" height="86" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://devconf.ru"><img src="/images/news/devconfru2012.png" alt="DevConf 2013" width="373" height="86" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-05-07-1" id="id2013-05-07-1" href="http://devconf.ru" rel="bookmark" class="bookmark">DevConf 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-05-07T05:20:52+00:00">07-May-2013</abbr>
@@ -882,7 +882,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.phpconference.com.ar/"><img src="/images/news/logo-php-argentina.png" alt="PHP Conference Argentina" width="244" height="247" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.phpconference.com.ar/"><img src="/images/news/logo-php-argentina.png" alt="PHP Conference Argentina" width="244" height="247" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-05-06-1" id="id2013-05-06-1" href="http://www.phpconference.com.ar/" rel="bookmark" class="bookmark">PHP Conference Argentina</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-05-06T18:39:48-07:00">06-May-2013</abbr>
@@ -947,7 +947,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.phpconference.nl/"><img src="/images/news/dpc_2013.png" alt="Dutch PHP Conference 2013" width="300" height="248" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.phpconference.nl/"><img src="/images/news/dpc_2013.png" alt="Dutch PHP Conference 2013" width="300" height="248" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-04-23-1" id="id2013-04-23-1" href="http://www.phpconference.nl/" rel="bookmark" class="bookmark">Dutch PHP Conference 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-04-23T11:56:47-07:00">23-Apr-2013</abbr>
@@ -982,7 +982,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.phpsouthafrica.com/"><img src="/images/news/phpsafrica.png" alt="PHP South Africa" width="200" height="198" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.phpsouthafrica.com/"><img src="/images/news/phpsafrica.png" alt="PHP South Africa" width="200" height="198" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-04-12-1" id="id2013-04-12-1" href="http://www.phpsouthafrica.com/" rel="bookmark" class="bookmark">PHP South Africa 2013</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-04-12T05:59:41-07:00">12-Apr-2013</abbr>
@@ -1244,7 +1244,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://www.phpconference.com/"><img src="/images/news/ipc2013.jpg" alt="IPC2013" width="239" height="149" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://www.phpconference.com/"><img src="/images/news/ipc2013.jpg" alt="IPC2013" width="239" height="149" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-02-24-1" id="id2013-02-24-1" href="http://www.phpconference.com/" rel="bookmark" class="bookmark">International PHP Conference</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-02-24T15:16:20-08:00">24-Feb-2013</abbr>
@@ -1334,7 +1334,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://tek13.phparch.com/"><img src="/images/news/tek13_badge.png" alt="php[tek] 2013" width="300" height="140" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://tek13.phparch.com/"><img src="/images/news/tek13_badge.png" alt="php[tek] 2013" width="300" height="140" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-02-07-1" id="id2013-02-07-1" href="http://tek13.phparch.com/" rel="bookmark" class="bookmark">php[tek] 2013: Schedule Posted</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-02-07T17:45:52-08:00">07-Feb-2013</abbr>
@@ -1415,7 +1415,7 @@ site_header("News Archive - 2013", array("cache" => true));
</div>
</div>
<div class="newsItem hentry vevent">
<div class="newsImage"><a href="http://confoo.ca"><img src="/images/news/confoo-2013-php.jpg" alt="ConFoo 2013" width="180" height="250" style="float: right;" /></a></div>
<div class="newsImage"><a href="http://confoo.ca"><img src="/images/news/confoo-2013-php.jpg" alt="ConFoo 2013" width="180" height="250" style="float: right;"></a></div>
<h2 class="summary entry-title"><a name="id2013-01-11-1" id="id2013-01-11-1" href="http://confoo.ca" rel="bookmark" class="bookmark">ConFoo: Last Chance to Save $145</a></h2>
<div class="entry-content description">
<abbr class="published newsdate" title="2013-01-11T21:31:28+00:00">11-Jan-2013</abbr>

View File

@@ -14,7 +14,7 @@ site_header("News Archive - 2014");
Here are the most important news items we have published in 2014 on PHP.net.
</p>
<hr />
<hr>
<?php

View File

@@ -62,7 +62,7 @@ elseif ($cy && $cm && $cd) {
echo "<h2>", date("F j, Y", $date), "</h2>\n";
foreach ($events as $event) {
display_event($event, 0);
echo "<br />";
echo "<br>";
}
$begun = TRUE;
}
@@ -146,7 +146,7 @@ if (valid_year(date("Y", $nm))) {
}
// Print out navigation links for previous and next month
echo '<br /><table id="calnav" width="100%" border="0" cellspacing="0" cellpadding="3">',
echo '<br><table id="calnav" width="100%" border="0" cellspacing="0" cellpadding="3">',
"\n<tr>", '<td align="left" width="33%">', $prev_link, '</td>',
'<td align="center" width="33%">', strftime('<b>%B, %Y</b></td>', $bom),
'<td align="right" width="33%">', $next_link, "</td></tr>\n</table>\n";

View File

@@ -7,7 +7,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc';
mirror_setcookie("LAST_NEWS", $_SERVER["REQUEST_TIME"], 60*60*24*365);
site_header("PHP Conferences around the world", array(
'headtags' => '<link rel="alternate" type="application/atom+xml" title="PHP: Conference announcements" href="' . $MYSITE . 'feed.atom" />',
'headtags' => '<link rel="alternate" type="application/atom+xml" title="PHP: Conference announcements" href="' . $MYSITE . 'feed.atom">',
'current' => 'community',
'css' => array('home.css'),
));

View File

@@ -200,7 +200,7 @@ if (count($found_formats) == 0) {
// Sizes required to be printed out (URL parameter or preferred language)
if (isset($_GET['sizes']) || $preflang) {
echo "<br /><small>Size: $fileinfo[1]Kb<br />Date: $fileinfo[2]</small>";
echo "<br><small>Size: $fileinfo[1]Kb<br>Date: $fileinfo[2]</small>";
}
}

View File

@@ -77,7 +77,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br />
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
(not exactly as shown)
</td>
<?php print_star(); ?>
@@ -94,7 +94,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br />
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
(not exactly as shown)
</td>
<td></td>
@@ -215,8 +215,8 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php-power-micro.png", "PHP Powered"); ?><br /><br />
<?php print_image("logos/php-power-micro2.png", "PHP Powered"); ?><br /><br />
<?php print_image("logos/php-power-micro.png", "PHP Powered"); ?><br><br>
<?php print_image("logos/php-power-micro2.png", "PHP Powered"); ?><br><br>
<?php print_image("logos/php5-power-micro.png", "PHP 5 Powered"); ?>
</td>
<td></td>
@@ -281,7 +281,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php-icon-white.gif", "PHP icons"); ?><br />
<?php print_image("logos/php-icon-white.gif", "PHP icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
@@ -301,7 +301,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php_file_ico.gif", "PHP file icons"); ?><br />
<?php print_image("logos/php_file_ico.gif", "PHP file icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
@@ -318,7 +318,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php_script_ico.png", "PHP script icons"); ?><br />
<?php print_image("logos/php_script_ico.png", "PHP script icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
@@ -335,7 +335,7 @@ function random_bgcolor($min, $max)
<tr>
<td class="logo">
<?php print_image("logos/php_xpstyle_ico.gif", "Windows XP PHP file icons"); ?><br />
<?php print_image("logos/php_xpstyle_ico.gif", "Windows XP PHP file icons"); ?><br>
(not exactly as shown)
</td>
<td></td>

View File

@@ -139,7 +139,7 @@ site_header("Downloads",
</div>
<?php endforeach; ?>
<hr/>
<hr>
<h2>GPG Keys</h2>
<p>
The releases are tagged and signed in the <a href='git.php'>PHP Git Repository</a>.

View File

@@ -10,7 +10,7 @@ $BRANCH_NOTES = array(
'5.2' => '<a href="/migration53">A guide is available for migrating from PHP 5.2 to 5.3.</a>',
'5.1' => '<a href="/migration52">A guide is available for migrating from PHP 5.1 to 5.2.</a>',
'5.0' => '<a href="/migration51">A guide is available for migrating from PHP 5.0 to 5.1.</a>',
'4.4' => '<a href="/migration5">A guide is available for migrating from PHP 4 to PHP 5.0.</a><br />The end of life for PHP 4.4 also marks the end of life for PHP 4 as a whole.',
'4.4' => '<a href="/migration5">A guide is available for migrating from PHP 4 to PHP 5.0.</a><br>The end of life for PHP 4.4 also marks the end of life for PHP 4 as a whole.',
);
site_header('Unsupported Branches');

View File

@@ -57,31 +57,31 @@ if (count($_POST) && (!isset($_POST['purpose']) || !is_array($_POST['purpose'])
// Check for errors
if (empty($_POST['id'])) {
$error .= "You must supply a desired Git user id. <br />";
$error .= "You must supply a desired Git user id. <br>";
} elseif(!preg_match('!^[a-z]\w+$!', $_POST['id'])) {
$error .= "Your user id must be >1 char long, start with ".
"a letter and contain nothing but a-z, 0-9, and _ <br />";
"a letter and contain nothing but a-z, 0-9, and _ <br>";
}
if (empty($_POST['fullname'])) {
$error .= "You must supply your real name. <br />";
$error .= "You must supply your real name. <br>";
}
if (empty($_POST['realpurpose'])) {
$error .= "You must supply a reason for requesting the Git account. <br />";
$error .= "You must supply a reason for requesting the Git account. <br>";
}
if (empty($_POST['password'])) {
$error .= "You must supply a desired password. <br />";
$error .= "You must supply a desired password. <br>";
}
if (empty($_POST['email']) || !is_emailable_address($cleaned['email'])) {
$error .= "You must supply a proper email address. <br />";
$error .= "You must supply a proper email address. <br>";
}
if (empty($_POST['yesno']) || $_POST['yesno'] != 'yes') {
$error .= "You did not fill the form out correctly. <br />";
$error .= "You did not fill the form out correctly. <br>";
}
if (empty($_POST['group']) || $_POST['group'] === 'none' || !isset($groups[$_POST['group']])) {
$error .= "You did not fill out where to send the request. <br />";
$error .= "You did not fill out where to send the request. <br>";
}
if (!isset($_POST['guidelines']) || !$_POST['guidelines']) {
$error .= "You did not agree to follow the contribution guidelines. <br />";
$error .= "You did not agree to follow the contribution guidelines. <br>";
}
// Post the request if there is no error
@@ -345,15 +345,15 @@ EOT;
<tr>
<th class="subr">Full Name:</th>
<td><input type="text" size="50" name="fullname"
class="max" value="<?php if (isset($_POST['fullname'])) echo clean($_POST['fullname']);?>" /></td>
class="max" value="<?php if (isset($_POST['fullname'])) echo clean($_POST['fullname']);?>"></td>
</tr>
<tr>
<th class="subr">Email:</th>
<td><input type="text" size="50" name="email"
class="max" value="<?php if (isset($_POST['email'])) echo clean($_POST['email']);?>" /></td>
class="max" value="<?php if (isset($_POST['email'])) echo clean($_POST['email']);?>"></td>
</tr>
<tr>
<th class="subr">For what purpose do you require a Git account:<br />
<th class="subr">For what purpose do you require a Git account:<br>
(check all that apply)</th>
<td>
<?php
@@ -364,31 +364,31 @@ $purposes = array("Learning PHP", "Coding in PHP", "Reading the PHP source",
foreach ($purposes as $i => $p) { ?>
<input type="checkbox" name="purpose[<?php echo $i?>]" value="1"
checked="checked" /><?php echo $p; ?><br />
checked="checked"><?php echo $p; ?><br>
<?php } ?>
</td>
</tr>
<tr>
<th class="subr">If your intended purpose is not in the list, <br />please state it here:</th>
<th class="subr">If your intended purpose is not in the list, <br>please state it here:</th>
<td><textarea cols="50" rows="5" name="realpurpose" class="max"><?php if (isset($_POST['realpurpose'])) echo clean($_POST['realpurpose']);?></textarea></td>
</tr>
<tr>
<th class="subr">Do you agree to follow the <a href="license/contrib-guidelines-code.php">contribution guidelines</a>?</th>
<td><input type="checkbox" name="guidelines" value="1" />Check the box if you agree.</td>
<td><input type="checkbox" name="guidelines" value="1">Check the box if you agree.</td>
</tr>
<tr>
<th class="subr">User ID:<br /> <small>(single word, lower case)</small></th>
<th class="subr">User ID:<br> <small>(single word, lower case)</small></th>
<td><input type="text" size="10" name="id"
class="max" value="<?php if (isset($_POST['id'])) echo clean($_POST['id']);?>" /></td>
class="max" value="<?php if (isset($_POST['id'])) echo clean($_POST['id']);?>"></td>
</tr>
<tr>
<th class="subr">Requested Password:</th>
<td><input type="password" size="10" name="password"
class="max" value="<?php if (isset($_POST['password'])) echo clean($_POST['password']);?>" /></td>
class="max" value="<?php if (isset($_POST['password'])) echo clean($_POST['password']);?>"></td>
</tr>
<tr>
<th class="subr">Did you fill this form out correctly (yes/no)?</th>
<td><input type="text" size="10" name="yesno" class="max" value="no" /></td>
<td><input type="text" size="10" name="yesno" class="max" value="no"></td>
</tr>
<tr>
<th class="subr">Type of initial karma (who to send this request to):</th>
@@ -404,7 +404,7 @@ foreach($groups as $group => $name) {
</td>
</tr>
<tr>
<th colspan="2"><input type="submit" value="Send Request" /></th>
<th colspan="2"><input type="submit" value="Send Request"></th>
</tr>
</table>
</form>

28
git.php
View File

@@ -71,43 +71,43 @@ site_header("Git Access", array("current" => "community"));
You can retrieve the PHP source code from our
<a href="https://github.com/php/php-src.git">GitHub mirror</a> with this
command:
<br /><br />
<br><br>
<code>git clone https://github.com/php/php-src.git</code>
<br /><br />
<br><br>
Alternatively, you can retrieve the source code from
<a href="http://git.php.net/">git.php.net</a> with this command:
<br /><br />
<br><br>
<code>git clone http://git.php.net/repository/php-src.git</code>
<br /><br />
<br><br>
</li>
<li>
Make sure you're in the right directory to work on PHP:
<br /><br />
<br><br>
<code>cd php-src</code>
<br /><br />
<br><br>
</li>
<li>
You can then check out the branch you want to build:
<br /><br />
<br><br>
<strong>PHP 5.3</strong>:
<code>git checkout PHP-5.3</code>
<br />
<br>
<strong>PHP 5.4</strong>:
<code>git checkout PHP-5.4</code>
<br />
<br>
<strong>PHP HEAD</strong>:
<code>git checkout master</code>
<br /><br />
<br><br>
</li>
<li>
<div class="tip" style="margin: 10px 0 10px 20px;">
<p>Note that certain combinations of autoconf, automake and libtool may not
work when used together. See <a href="#buildconf_fail">below</a> for
details.<br />
details.<br>
Also, certain versions of autoconf may generate warnings of <code>AC_PROG_CPP
called before AC_PROG_CC</code>. These messages can usually be ignored.</p>
</div>
@@ -147,9 +147,9 @@ site_header("Git Access", array("current" => "community"));
<p>
The PHP manual is still currently hosted on SVN, although it will be migrated
to Git in the near future. To checkout the latest English version of the PHP
manual:<br />
manual:<br>
<code>svn checkout https://svn.php.net/repository/phpdoc/modules/doc-en ./phpdoc-en</code>
<br /><br />
<br><br>
You can also check the <a href="https://wiki.php.net/vcs/svnfaq">SVN FAQ on the wiki</a>.
</p>
@@ -174,7 +174,7 @@ site_header("Git Access", array("current" => "community"));
If you have multiple versions of autoconf installed on your computer, as is
common for many UNIXes, you can set the PHP_AUTOCONF and PHP_AUTOHEADER
variables when running buildconf to indicate which versions it should use
e.g.:<br />
e.g.:<br>
<code>PHP_AUTOCONF=autoconf213 PHP_AUTOHEADER=autoheader213 ./buildconf</code>
</p>

View File

@@ -112,7 +112,7 @@ site_header("Hypertext Preprocessor",
array(
'current' => 'home',
'headtags' => array(
'<link rel="alternate" type="application/atom+xml" title="PHP: Hypertext Preprocessor" href="' . $MYSITE . 'feed.atom" />',
'<link rel="alternate" type="application/atom+xml" title="PHP: Hypertext Preprocessor" href="' . $MYSITE . 'feed.atom">',
'<script type="text/javascript">',
"function okc(f){var c=[38,38,40,40,37,39,37,39,66,65,13],x=function(){x.c=x.c||Array.apply({},c);x.r=function(){x.c=null};return x.c},h=function(e){if(x()[0]==(e||window.event).keyCode){x().shift();if(!x().length){x.r();f()}}else{x.r()}};window.addEventListener?window.addEventListener('keydown',h,false):document.attachEvent('onkeydown',h)}",
"okc(function(){if(document.getElementById){i=document.getElementById('phplogo');i.src='".$MYSITE."images/php_konami.gif'}});",

View File

@@ -43,7 +43,7 @@ site_header("License Information", array("current" => "help"));
</li>
<li>
Some files have been contributed under other (compatible) licenses and carry
additional requirements and copyright information.<br/>
additional requirements and copyright information.<br>
This is indicated in the license + copyright comment block at the top of the source file.
</li>
<li>
@@ -102,7 +102,7 @@ your project unless you include any code from the PHP distribution, in
which case you would be violating the license.
See Clause 4 in the <a href="http://www.php.net/license/3_01.txt">
PHP License v3.01</a>.
<br/>But we would really prefer if people would come up with their own names
<br>But we would really prefer if people would come up with their own names
independent of the PHP name.
</p>

View File

@@ -52,7 +52,7 @@ if (isset($_POST['maillist'])) {
if (empty($_POST['email']) || $_POST['email'] == 'user@example.com' ||
$_POST['email'] == 'fake@from.net' || !is_emailable_address($_POST['email'])) {
$error = "You forgot to specify an email address to be added to the list, or specified an invalid address." .
"<br />Please go back and try again.";
"<br>Please go back and try again.";
}
// Seems to be a valid email address
@@ -80,7 +80,7 @@ if (isset($_POST['maillist'])) {
// Provide error if unable to [un]subscribe
if ($result) {
$error = "We were unable to subscribe you due to some technical problems.<br/ >" .
$error = "We were unable to subscribe you due to some technical problems.<br>" .
"Please try again later.";
}
}
@@ -281,7 +281,7 @@ in following various information about the PHP project.
'PHP internal website mailing lists',
array (
'php-webmaster', 'PHP php.net internal infrastructure discussion',
'List for discussing and maintaining the php.net web infrastructure.<br />
'List for discussing and maintaining the php.net web infrastructure.<br>
For general PHP support questions, see "General Mailing Lists" or the <a href="/support.php">support page</a>',
FALSE, FALSE, FALSE, "php.webmaster"
),
@@ -314,7 +314,7 @@ function output_lists_table($mailing_lists)
"<th>Newsgroup</th><th>Normal</th><th>Digest</th></tr>\n";
} else {
echo '<tr align="center">';
echo '<td align="left"><strong>' . $listinfo[1] . '</strong><br /><small>'. $listinfo[2] . '</small></td>';
echo '<td align="left"><strong>' . $listinfo[1] . '</strong><br><small>'. $listinfo[2] . '</small></td>';
echo '<td>' . ($listinfo[3] ? 'yes' : 'no') . '</td>';
// Let the list name defined with a string, if the
@@ -325,8 +325,8 @@ function output_lists_table($mailing_lists)
} else { $larchive = FALSE; }
echo '<td>' . ($larchive ? "<a href=\"http://marc.info/?l={$larchive}\">yes</a>" : 'n/a') . '</td>';
echo '<td>' . ($listinfo[6] ? "<a href=\"news://news.php.net/{$listinfo[6]}\">yes</a> <a href=\"http://news.php.net/group.php?group={$listinfo[6]}\">http</a>" : 'n/a') . '</td>';
echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '" /></td>';
echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="' . $listinfo[0] . '-digest" />' : 'n/a' ) . '</td>';
echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>';
echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="' . $listinfo[0] . '-digest">' : 'n/a' ) . '</td>';
echo "</tr>\n";
}
}
@@ -347,9 +347,9 @@ function output_lists_table($mailing_lists)
<p class="center">
<strong>Email:</strong>
<input type="text" name="email" size="40" value="user@example.com" />
<input type="submit" name="action" value="Subscribe" />
<input type="submit" name="action" value="Unsubscribe" />
<input type="text" name="email" size="40" value="user@example.com">
<input type="submit" name="action" value="Subscribe">
<input type="submit" name="action" value="Unsubscribe">
</p>
</form>

View File

@@ -148,7 +148,7 @@ if ($process) {
echo '<p>This is what your entry will look like, roughly:</p>';
echo '<div id="usernotes">';
manual_note_display(time(), ($MQ ? stripslashes($user) : $user), ($MQ ? stripslashes($note) : $note), FALSE);
echo '</div><br /><br />';
echo '</div><br><br>';
}
}
@@ -358,16 +358,16 @@ if (!isset($_POST['sect']) || !isset($_POST['redirect'])) {
else {?>
<form method="post" action="/manual/add-note.php">
<p>
<input type="hidden" name="sect" value="<?php echo clean($_POST['sect']); ?>" />
<input type="hidden" name="redirect" value="<?php echo clean($_POST['redirect']); ?>" />
<input type="hidden" name="sect" value="<?php echo clean($_POST['sect']); ?>">
<input type="hidden" name="redirect" value="<?php echo clean($_POST['redirect']); ?>">
</p>
<table border="0" cellpadding="3" class="standard">
<tr>
<td colspan="2">
<b>
<a href="/support.php">Click here to go to the support pages.</a><br />
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&amp;manpage=<?php echo clean($_POST['sect']); ?>">Click here to submit a bug report.</a><br />
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&amp;manpage=<?php echo clean($_POST['sect']); ?>">Click here to request a feature.</a><br />
<a href="/support.php">Click here to go to the support pages.</a><br>
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&amp;manpage=<?php echo clean($_POST['sect']); ?>">Click here to submit a bug report.</a><br>
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&amp;manpage=<?php echo clean($_POST['sect']); ?>">Click here to request a feature.</a><br>
(Again, please note, if you ask a question, report a bug, or request a feature,
your note <i>will be deleted</i>.)
</b>
@@ -375,27 +375,27 @@ else {?>
</tr>
<tr>
<th class="subr">Your email address (or name):</th>
<td><input type="text" name="user" size="60" maxlength="40" value="<?php echo clean($_POST['user']); ?>" /></td>
<td><input type="text" name="user" size="60" maxlength="40" value="<?php echo clean($_POST['user']); ?>"></td>
</tr>
<tr>
<th class="subr">Your notes:</th>
<td><textarea name="note" rows="20" cols="60" wrap="virtual"><?php if (isset($_POST['note'])) { echo clean($_POST['note']); } ?></textarea>
<br />
<br>
</td>
</tr>
<tr>
<th class="subr">Answer to this simple question (SPAM challenge):<br />
<th class="subr">Answer to this simple question (SPAM challenge):<br>
<?php $c = gen_challenge(); echo $c[3]; ?>?</th>
<td><input type="text" name="answer" size="60" maxlength="10" /> (Example: nine)</td>
<td><input type="text" name="answer" size="60" maxlength="10"> (Example: nine)</td>
</td>
</tr>
<tr>
<th colspan="2">
<input type="hidden" name="func" value="<?php echo $c[0]; ?>" />
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>" />
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>" />
<input type="submit" name="action" value="Preview" />
<input type="submit" name="action" value="Add Note" />
<input type="hidden" name="func" value="<?php echo $c[0]; ?>">
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>">
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>">
<input type="submit" name="action" value="Preview">
<input type="submit" name="action" value="Add Note">
</th>
</tr>
</table>

View File

@@ -361,7 +361,7 @@ manual_header();
<p><strong>Example #1 Fetch a page and send POST data</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$postdata&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var1'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'some&nbsp;content'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var2'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'doh'<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'header'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Content-type:&nbsp;application/x-www-form-urlencoded'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'content'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$postdata<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br>$postdata&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var1'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'some&nbsp;content'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var2'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'doh'<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'header'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Content-type:&nbsp;application/x-www-form-urlencoded'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'content'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$postdata<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br><br></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br><br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -373,7 +373,7 @@ manual_header();
<p><strong>Example #2 Ignore redirects but fetch headers and content </strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$url&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'max_redirects'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'ignore_errors'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'1'<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stream&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'r'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;header&nbsp;information&nbsp;as&nbsp;well&nbsp;as&nbsp;meta&nbsp;data<br />//&nbsp;about&nbsp;the&nbsp;stream<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">//&nbsp;actual&nbsp;data&nbsp;at&nbsp;$url<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br>$url&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br><br></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'max_redirects'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'ignore_errors'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'1'<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br></span><span style="color: #0000BB">$stream&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'r'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;header&nbsp;information&nbsp;as&nbsp;well&nbsp;as&nbsp;meta&nbsp;data<br>//&nbsp;about&nbsp;the&nbsp;stream<br></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br><br></span><span style="color: #FF8000">//&nbsp;actual&nbsp;data&nbsp;at&nbsp;$url<br></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -386,7 +386,7 @@ manual_header();
<div class="refsect1 notes" id="refsect1-context.http-notes">
<h3 class="title">Notes</h3>
<blockquote class="note"><p><strong class="note">Note</strong>:
<strong>Underlying socket stream context options</strong><br />
<strong>Underlying socket stream context options</strong><br>
<span class="simpara">
Additional context options may be supported by the
<a href="transports.inet.php" class="link">underlying transport</a>
@@ -397,7 +397,7 @@ manual_header();
</span>
</p></blockquote>
<blockquote class="note"><p><strong class="note">Note</strong>:
<strong>HTTP status line</strong><br />
<strong>HTTP status line</strong><br>
<span class="simpara">
When this stream wrapper follows a redirect, the
<em>wrapper_data</em> returned by

View File

@@ -143,7 +143,7 @@ function.</p></div>
<p><strong>Example #1 Using <em>===</em></strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Note&nbsp;our&nbsp;use&nbsp;of&nbsp;===.&nbsp;&nbsp;Simply&nbsp;==&nbsp;would&nbsp;not&nbsp;work&nbsp;as&nbsp;expected<br />//&nbsp;because&nbsp;the&nbsp;position&nbsp;of&nbsp;'a'&nbsp;was&nbsp;the&nbsp;0th&nbsp;(first)&nbsp;character.<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;not&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;and&nbsp;exists&nbsp;at&nbsp;position&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br>$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;Note&nbsp;our&nbsp;use&nbsp;of&nbsp;===.&nbsp;&nbsp;Simply&nbsp;==&nbsp;would&nbsp;not&nbsp;work&nbsp;as&nbsp;expected<br>//&nbsp;because&nbsp;the&nbsp;position&nbsp;of&nbsp;'a'&nbsp;was&nbsp;the&nbsp;0th&nbsp;(first)&nbsp;character.<br></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;not&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br>}&nbsp;else&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;and&nbsp;exists&nbsp;at&nbsp;position&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br>}<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -154,7 +154,7 @@ function.</p></div>
<p><strong>Example #2 Using !==</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;The&nbsp;!==&nbsp;operator&nbsp;can&nbsp;also&nbsp;be&nbsp;used.&nbsp;&nbsp;Using&nbsp;!=&nbsp;would&nbsp;not&nbsp;work&nbsp;as&nbsp;expected<br />//&nbsp;because&nbsp;the&nbsp;position&nbsp;of&nbsp;'a'&nbsp;is&nbsp;0.&nbsp;The&nbsp;statement&nbsp;(0&nbsp;!=&nbsp;false)&nbsp;evaluates&nbsp;<br />//&nbsp;to&nbsp;false.<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;and&nbsp;exists&nbsp;at&nbsp;position&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;not&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br>$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;The&nbsp;!==&nbsp;operator&nbsp;can&nbsp;also&nbsp;be&nbsp;used.&nbsp;&nbsp;Using&nbsp;!=&nbsp;would&nbsp;not&nbsp;work&nbsp;as&nbsp;expected<br>//&nbsp;because&nbsp;the&nbsp;position&nbsp;of&nbsp;'a'&nbsp;is&nbsp;0.&nbsp;The&nbsp;statement&nbsp;(0&nbsp;!=&nbsp;false)&nbsp;evaluates&nbsp;<br>//&nbsp;to&nbsp;false.<br></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;and&nbsp;exists&nbsp;at&nbsp;position&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">"</span><span style="color: #007700">;<br>}&nbsp;else&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"The&nbsp;string&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;was&nbsp;not&nbsp;found&nbsp;in&nbsp;the&nbsp;string&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'"</span><span style="color: #007700">;<br>}<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -165,7 +165,7 @@ function.</p></div>
<p><strong>Example #3 Using an offset</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;We&nbsp;can&nbsp;search&nbsp;for&nbsp;the&nbsp;character,&nbsp;ignoring&nbsp;anything&nbsp;before&nbsp;the&nbsp;offset<br /></span><span style="color: #0000BB">$newstring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abcdef&nbsp;abcdef'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;$pos&nbsp;=&nbsp;7,&nbsp;not&nbsp;0<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #FF8000">//&nbsp;We&nbsp;can&nbsp;search&nbsp;for&nbsp;the&nbsp;character,&nbsp;ignoring&nbsp;anything&nbsp;before&nbsp;the&nbsp;offset<br></span><span style="color: #0000BB">$newstring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abcdef&nbsp;abcdef'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;$pos&nbsp;=&nbsp;7,&nbsp;not&nbsp;0<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>

View File

@@ -58,7 +58,7 @@ manual_header();
<div class="info">
<div class="authorgroup" id="authors">
<div class="author vcard"><strong class="by">by</strong>:<br />
<div class="author vcard"><strong class="by">by</strong>:<br>
<span class="personname fn">
<span class="firstname given-name">Mehdi</span> <span class="surname family-name">Achour</span>
</span>

View File

@@ -108,7 +108,7 @@ manual_header();
<p><strong>Example #1 Throwing an Exception</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division&nbsp;by&nbsp;zero.'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Continue&nbsp;execution<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division&nbsp;by&nbsp;zero.'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}<br><br></span><span style="color: #FF8000">//&nbsp;Continue&nbsp;execution<br></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -126,7 +126,7 @@ Hello World
<p><strong>Example #2 Exception handling with a <em>finally</em> block</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division&nbsp;by&nbsp;zero.'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"First&nbsp;finally.\n"</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Second&nbsp;finally.\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Continue&nbsp;execution<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'Division&nbsp;by&nbsp;zero.'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"First&nbsp;finally.\n"</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'Caught&nbsp;exception:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Second&nbsp;finally.\n"</span><span style="color: #007700">;<br>}<br><br></span><span style="color: #FF8000">//&nbsp;Continue&nbsp;execution<br></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -146,7 +146,7 @@ Hello World
<p><strong>Example #3 Nested Exception</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyException&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Exception&nbsp;</span><span style="color: #007700">{&nbsp;}<br /><br />class&nbsp;</span><span style="color: #0000BB">Test&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">testing</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">MyException&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;rethrow&nbsp;it<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">throw&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyException&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Exception&nbsp;</span><span style="color: #007700">{&nbsp;}<br><br>class&nbsp;</span><span style="color: #0000BB">Test&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">testing</span><span style="color: #007700">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">MyException&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;rethrow&nbsp;it<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">throw&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}<br><br></span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br><br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>

View File

@@ -361,7 +361,7 @@ manual_header();
<p><strong>例1 ページの取得と POST データの送信</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$postdata&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var1'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'some&nbsp;content'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var2'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'doh'<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'header'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Content-type:&nbsp;application/x-www-form-urlencoded'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'content'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$postdata<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br>$postdata&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">http_build_query</span><span style="color: #007700">(<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var1'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'some&nbsp;content'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'var2'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'doh'<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'header'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Content-type:&nbsp;application/x-www-form-urlencoded'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'content'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$postdata<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br><br></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #DD0000">'http://example.com/submit.php'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br><br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -373,7 +373,7 @@ manual_header();
<p><strong>例2 リダイレクトを無視し、ヘッダとコンテンツの取得</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$url&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'max_redirects'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'ignore_errors'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'1'<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br />);<br /><br /></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stream&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'r'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;ヘッダ情報およびストリームのメタデータ<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">//&nbsp;$url&nbsp;の実際のデータ<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br>$url&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"http://www.example.org/header.php"</span><span style="color: #007700">;<br><br></span><span style="color: #0000BB">$opts&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">'http'&nbsp;</span><span style="color: #007700">=&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;array(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'method'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'max_redirects'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'ignore_errors'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'1'<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)<br>);<br><br></span><span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_context_create</span><span style="color: #007700">(</span><span style="color: #0000BB">$opts</span><span style="color: #007700">);<br></span><span style="color: #0000BB">$stream&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'r'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$context</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;ヘッダ情報およびストリームのメタデータ<br></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br><br></span><span style="color: #FF8000">//&nbsp;$url&nbsp;の実際のデータ<br></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">stream_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">));<br></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$stream</span><span style="color: #007700">);<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -386,7 +386,7 @@ manual_header();
<div class="refsect1 notes" id="refsect1-context.http-notes">
<h3 class="title">注意</h3>
<blockquote class="note"><p><strong class="note">注意</strong>:
<strong>基盤となるソケットストリームのコンテキストオプション</strong><br />
<strong>基盤となるソケットストリームのコンテキストオプション</strong><br>
<span class="simpara">
これ以外のコンテキストオプションが
<a href="transports.inet.php" class="link">基盤となるトランスポート</a>
@@ -398,7 +398,7 @@ manual_header();
</span>
</p></blockquote>
<blockquote class="note"><p><strong class="note">注意</strong>:
<strong>HTTP ステータスライン</strong><br />
<strong>HTTP ステータスライン</strong><br>
<span class="simpara">
このストリームラッパーがリダイレクトをたどると、
<span class="function"><a href="function.stream-get-meta-data.php" class="function">stream_get_meta_data()</a></span> が返す

View File

@@ -143,7 +143,7 @@ manual_header();
<p><strong>例1 <em>===</em> の使用</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;===&nbsp;を使用していることに注目しましょう。単純に&nbsp;==&nbsp;を使ったのでは<br />//&nbsp;期待通りに動作しません。なぜなら&nbsp;'a'&nbsp;が&nbsp;0&nbsp;番目&nbsp;(最初)&nbsp;の文字だからです。<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;は、文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりませんでした"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;が文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりました"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;見つかった位置は&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">&nbsp;です"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br>$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;===&nbsp;を使用していることに注目しましょう。単純に&nbsp;==&nbsp;を使ったのでは<br>//&nbsp;期待通りに動作しません。なぜなら&nbsp;'a'&nbsp;が&nbsp;0&nbsp;番目&nbsp;(最初)&nbsp;の文字だからです。<br></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;は、文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりませんでした"</span><span style="color: #007700">;<br>}&nbsp;else&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;が文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりました"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;見つかった位置は&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">&nbsp;です"</span><span style="color: #007700">;<br>}<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -154,7 +154,7 @@ manual_header();
<p><strong>例2 !== の使用</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;!==&nbsp;演算子も使用可能です。ここで&nbsp;!=&nbsp;を使っても期待通りに動作しません。<br />//&nbsp;なぜなら&nbsp;'a'&nbsp;が&nbsp;0&nbsp;番目の文字だからです。(0&nbsp;!=&nbsp;false)&nbsp;を評価すると<br />//&nbsp;false&nbsp;になってしまいます。<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;が文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりました"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;見つかった位置は&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">&nbsp;です"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;は、文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりませんでした"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br>$mystring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abc'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$findme&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$mystring</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$findme</span><span style="color: #007700">);<br><br></span><span style="color: #FF8000">//&nbsp;!==&nbsp;演算子も使用可能です。ここで&nbsp;!=&nbsp;を使っても期待通りに動作しません。<br>//&nbsp;なぜなら&nbsp;'a'&nbsp;が&nbsp;0&nbsp;番目の文字だからです。(0&nbsp;!=&nbsp;false)&nbsp;を評価すると<br>//&nbsp;false&nbsp;になってしまいます。<br></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;が文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりました"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"&nbsp;見つかった位置は&nbsp;</span><span style="color: #0000BB">$pos</span><span style="color: #DD0000">&nbsp;です"</span><span style="color: #007700">;<br>}&nbsp;else&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"文字列&nbsp;'</span><span style="color: #0000BB">$findme</span><span style="color: #DD0000">'&nbsp;は、文字列&nbsp;'</span><span style="color: #0000BB">$mystring</span><span style="color: #DD0000">'&nbsp;の中で見つかりませんでした"</span><span style="color: #007700">;<br>}<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -165,7 +165,7 @@ manual_header();
<p><strong>例3 オフセットの使用</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;オフセット以前の内容を無視して文字を探すこともできます。<br /></span><span style="color: #0000BB">$newstring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abcdef&nbsp;abcdef'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;$pos&nbsp;は&nbsp;0&nbsp;ではなく&nbsp;7&nbsp;となります。<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #FF8000">//&nbsp;オフセット以前の内容を無視して文字を探すこともできます。<br></span><span style="color: #0000BB">$newstring&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'abcdef&nbsp;abcdef'</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$newstring</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'a'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;$pos&nbsp;は&nbsp;0&nbsp;ではなく&nbsp;7&nbsp;となります。<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>

View File

@@ -59,7 +59,7 @@ manual_header();
<div class="info">
<div class="authorgroup" id="authors">
<div class="author vcard"><strong class="by">著者</strong>:<br />
<div class="author vcard"><strong class="by">著者</strong>:<br>
<span class="personname fn">
<span class="firstname given-name">Mehdi</span> <span class="surname family-name">Achour</span>
</span>

View File

@@ -114,7 +114,7 @@ manual_header();
<p><strong>例1 例外を投げるには</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;実行は継続される<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}<br><br></span><span style="color: #FF8000">//&nbsp;実行は継続される<br></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -132,7 +132,7 @@ Hello World
<p><strong>例2 例外処理での <em>finally</em> ブロック</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"First&nbsp;finally.\n"</span><span style="color: #007700">;<br />}<br /><br />try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Second&nbsp;finally.\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;処理を続行します<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$x</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">Exception</span><span style="color: #007700">(</span><span style="color: #DD0000">'ゼロによる除算。'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">/</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"First&nbsp;finally.\n"</span><span style="color: #007700">;<br>}<br><br>try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">inverse</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'捕捉した例外:&nbsp;'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">(),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br>}&nbsp;</span><span style="color: #0000BB">finally&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Second&nbsp;finally.\n"</span><span style="color: #007700">;<br>}<br><br></span><span style="color: #FF8000">//&nbsp;処理を続行します<br></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World\n"</span><span style="color: #007700">;<br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>
@@ -152,7 +152,7 @@ Hello World
<p><strong>例3 ネストした例外</strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyException&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Exception&nbsp;</span><span style="color: #007700">{&nbsp;}<br /><br />class&nbsp;</span><span style="color: #0000BB">Test&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">testing</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">MyException&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;改めてスロー<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">throw&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">?&gt;</span>
<span style="color: #0000BB">&lt;?php<br><br></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">MyException&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">Exception&nbsp;</span><span style="color: #007700">{&nbsp;}<br><br>class&nbsp;</span><span style="color: #0000BB">Test&nbsp;</span><span style="color: #007700">{<br>&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">testing</span><span style="color: #007700">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">MyException</span><span style="color: #007700">(</span><span style="color: #DD0000">'foo!'</span><span style="color: #007700">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">MyException&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;改めてスロー<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">throw&nbsp;</span><span style="color: #0000BB">$e</span><span style="color: #007700">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(</span><span style="color: #0000BB">Exception&nbsp;$e</span><span style="color: #007700">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}<br><br></span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Test</span><span style="color: #007700">;<br></span><span style="color: #0000BB">$foo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">testing</span><span style="color: #007700">();<br><br></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
</div>

View File

@@ -18,7 +18,7 @@ site_header('PHP Version 3 Documentation');
<li><a href="#debugger">Debugger</a></li>
<li><a href="#internals">Internals</a></li>
</ol>
<hr />
<hr>
<h2><a name="introduction" id="introduction">Introduction</a></h2>

File diff suppressed because it is too large Load Diff

View File

@@ -116,13 +116,13 @@ else {
<div style="background-color: #f5f5ff; border: 1px solid black; padding: 15px; width: 90%; margin: auto;">
<form action="" method="post">
<div>
<p>Please answer this simple SPAM challenge: <strong><?php $c = gen_challenge(); echo $c[3]; ?></strong>?<br/>
<input type="text" name="challenge" maxlength="10" /> (Example: nine)</p>
<p><input type="submit" value="Vote" name="votenote" /></p>
<p>Please answer this simple SPAM challenge: <strong><?php $c = gen_challenge(); echo $c[3]; ?></strong>?<br>
<input type="text" name="challenge" maxlength="10"> (Example: nine)</p>
<p><input type="submit" value="Vote" name="votenote"></p>
</div>
<input type="hidden" name="func" value="<?php echo $c[0]; ?>" />
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>" />
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>" />
<input type="hidden" name="func" value="<?php echo $c[0]; ?>">
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>">
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>">
</form>
</div>
</div>
@@ -148,7 +148,7 @@ if ($error) {
$error_div = <<<EOL
<div style="width: 90%; padding: 15px; margin: auto; border: 1px dotted red; background-color: #9999cc; color: white;">
<div style="float: left; padding: 15px;">
<img src="/images/docs-warning.png"/>
<img src="/images/docs-warning.png">
</div>
<p>
<strong>There was an error with your request!</strong>
@@ -168,13 +168,13 @@ if (!$headerset) {
<div style="background-color: #f5f5ff; border: 1px solid black; padding: 15px; width: 90%; margin: auto;">
<form action="" method="post">
<div>
<p>Please answer this simple SPAM challenge: <strong><?php $c = gen_challenge(); echo $c[3]; ?></strong>?<br/>
<input type="text" name="challenge" maxlength="10" /> (Example: nine)</p>
<p><input type="submit" value="Vote" name="votenote" /></p>
<p>Please answer this simple SPAM challenge: <strong><?php $c = gen_challenge(); echo $c[3]; ?></strong>?<br>
<input type="text" name="challenge" maxlength="10"> (Example: nine)</p>
<p><input type="submit" value="Vote" name="votenote"></p>
</div>
<input type="hidden" name="func" value="<?php echo $c[0]; ?>" />
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>" />
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>" />
<input type="hidden" name="func" value="<?php echo $c[0]; ?>">
<input type="hidden" name="arga" value="<?php echo $c[1]; ?>">
<input type="hidden" name="argb" value="<?php echo $c[2]; ?>">
</form>
<?php echo $error_div; ?>
</div>

View File

@@ -16,7 +16,7 @@ site_header("Setting Up Local Stats", array("current" => "community"));
<ol>
<li>
<p>
<a href="http://www.mrunix.net/webalizer/">Get The Webalizer</a><br /><br />
<a href="http://www.mrunix.net/webalizer/">Get The Webalizer</a><br><br>
The Webalizer is a web server log analysis program. It is designed to
scan web server log files in various formats and produce usage statistics
in HTML format for viewing through a browser. Note that Webalizer requires
@@ -25,7 +25,7 @@ site_header("Setting Up Local Stats", array("current" => "community"));
</li>
<li>
<p>
Install The Webalizer<br /><br />
Install The Webalizer<br><br>
There is a <code>configure</code> file in the distribution now, and other setup options
are also available. Consult the <code>INSTALL</code> file included in the package.
Copy the executable to somewhere accessible, eg. <code>/usr/bin</code>.
@@ -33,7 +33,7 @@ site_header("Setting Up Local Stats", array("current" => "community"));
</li>
<li>
<p>
Grab <a href="/mirror-stats.conf">mirror-stats.conf</a> and edit the file.<br /><br />
Grab <a href="/mirror-stats.conf">mirror-stats.conf</a> and edit the file.<br><br>
This is the main conf file for The Webalizer. Specifically, you will want to
change the lines which define where your log file sits, where the output
should go, and the name of your host machine. Look for these settings:
@@ -44,7 +44,7 @@ site_header("Setting Up Local Stats", array("current" => "community"));
</li>
<li>
<p>
Give it a test<br /><br />
Give it a test<br><br>
From the command line in the stats directory, type:
<code>webalizer -c mirror-stats.conf</code> You should get an index
file, a usage file for the current month, some images,
@@ -53,7 +53,7 @@ site_header("Setting Up Local Stats", array("current" => "community"));
</li>
<li>
<p>
Add it to your cron<br /><br />
Add it to your cron<br><br>
If all went well, in the previous step, it is ready to be updated
regularly. Something like this will be sufficient (update things
daily at 3 am):

6
my.php
View File

@@ -190,12 +190,12 @@ $type = myphpnet_urlsearch();
if ($type === MYPHPNET_URL_NONE || $type === MYPHPNET_URL_FUNC) {
echo ' checked="checked"';
}
echo ' /> Function list search <input type="radio" name="urlsearch" value="manual"';
echo '> Function list search <input type="radio" name="urlsearch" value="manual"';
if ($type === MYPHPNET_URL_MANUAL) {
echo ' checked="checked"';
}
?>
/> PHP Documentation search
> PHP Documentation search
</div>
<h2>Mirror site redirection</h2>
@@ -257,7 +257,7 @@ and will very likely change a lot and be broken at times.
<label for="showugdisable">Disable UG tips</label> <input type="radio" name="showug" id="showugdisable" value="disable" <?php echo myphpnet_showug() ? "" : "checked=checked" ?>>
<p class="center">
<input type="submit" value="Set All Preferences" />
<input type="submit" value="Set All Preferences">
</p>
</form>

View File

@@ -8,7 +8,7 @@ site_header("PHP 4.1.0 Release Announcement");
<h1>PHP 4.1.0 Release Announcement</h1>
<p>
After a lengthy QA process, PHP 4.1.0 is <a href="/downloads.php">finally out</a>!<br />
After a lengthy QA process, PHP 4.1.0 is <a href="/downloads.php">finally out</a>!<br>
[ <a href="/releases/4_1_0_fr.php">Version Fran&ccedil;aise</a> ]
</p>
@@ -48,7 +48,7 @@ site_header("PHP 4.1.0 Release Announcement");
changes in PHP 4.1.0, see the <a href="/ChangeLog-4.php#4.1.0">ChangeLog</a>.
</p>
<hr />
<hr>
<h2>SECURITY: NEW INPUT MECHANISM</h2>

View File

@@ -8,7 +8,7 @@ site_header("Annonce de publication de PHP 4.1.0", array("lang" => "fr"));
<h1>Annonce de publication de PHP 4.1.0</h1>
<p>
Apr&egrave;s un long processus "QA", PHP 4.1.0 <a href="/downloads.php">est enfin sorti</a>!<br />
Apr&egrave;s un long processus "QA", PHP 4.1.0 <a href="/downloads.php">est enfin sorti</a>!<br>
[ <a href="/releases/4_1_0.php">English Version</a> ]
</p>
@@ -53,7 +53,7 @@ site_header("Annonce de publication de PHP 4.1.0", array("lang" => "fr"));
<a href="/ChangeLog-4.php#4.1.0">ChangeLog</a>.
</p>
<hr />
<hr>
<h2>SECURITE: NOUVEAU MECANISME D'ENTREE</h2>

View File

@@ -8,7 +8,7 @@ site_header("PHP 4.2.0 Release Announcement");
<h1>PHP 4.2.0 Release Announcement</h1>
<p>
After an orderly QA process, PHP 4.2.0 is <a href="/downloads.php">out</a>!<br />
After an orderly QA process, PHP 4.2.0 is <a href="/downloads.php">out</a>!<br>
[ <a href="/releases/4_2_0_fr.php">Version Fran&ccedil;aise</a> ]
</p>

View File

@@ -12,19 +12,20 @@ PHP Development Team would like to announce the immediate release of <a href="/d
maintenance release that in addition to over 30 non-critical bug fixes addresses several very
serious security issues.
</p>
<p />
<p>
These include the following:
<p />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - shmop_write() out of bounds memory write access.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - integer overflow/underflow in pack() and unpack() functions.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019">CAN-2004-1019</a> - possible information disclosure, double free and negative reference index array underflow in deserialization code.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1020">CAN-2004-1020</a> - addslashes() not escaping \0 correctly.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1063">CAN-2004-1063</a> - safe_mode execution directory bypass.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1064">CAN-2004-1064</a> - arbitrary file access through path truncation.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1065">CAN-2004-1065</a> - exif_read_data() overflow on long sectionname.<br />
</p>
<p>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - shmop_write() out of bounds memory write access.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - integer overflow/underflow in pack() and unpack() functions.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019">CAN-2004-1019</a> - possible information disclosure, double free and negative reference index array underflow in deserialization code.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1020">CAN-2004-1020</a> - addslashes() not escaping \0 correctly.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1063">CAN-2004-1063</a> - safe_mode execution directory bypass.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1064">CAN-2004-1064</a> - arbitrary file access through path truncation.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1065">CAN-2004-1065</a> - exif_read_data() overflow on long sectionname.<br>
magic_quotes_gpc could lead to one level directory traversal with file uploads.
<p />
All Users of PHP are strongly encouraged to upgrade to this release as soon as possible.<p />
</p>
<p>All Users of PHP are strongly encouraged to upgrade to this release as soon as possible.</p>
<h2>Bugfix release</h2>

View File

@@ -13,19 +13,20 @@ la publication de <a href="/downloads.php">PHP 4.3.10</a>. C'est une version
de maintenance, destin&eacute;e &agrave; corriger une trentaine de bogues
non-critiques et ainsi que plusieurs problèmes de sécurité sérieux.
</p>
<p />
Cela inclut notamment :
<p />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - shmop_write() écrit hors des limites de la mémoire.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - dépassement de capacité avec pack() et unpack().<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019">CAN-2004-1019</a> - publication possible d'informations, dépassement de capacité dans les index négatif lors de délinéarisation de données.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1020">CAN-2004-1020</a> - addslashes() ne protège pas correctement \0.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1063">CAN-2004-1063</a> - contournement de la directive de dossier d'exécution.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1064">CAN-2004-1064</a> - accès arbitraire à un fichier via une troncature.<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1065">CAN-2004-1065</a> - dépassement de capacité avec exif_read_data() sur un long nom de section.<br />
<p>
Cela inclut notamment:
</p>
<p>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - shmop_write() écrit hors des limites de la mémoire.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018">CAN-2004-1018</a> - dépassement de capacité avec pack() et unpack().<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019">CAN-2004-1019</a> - publication possible d'informations, dépassement de capacité dans les index négatif lors de délinéarisation de données.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1020">CAN-2004-1020</a> - addslashes() ne protège pas correctement \0.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1063">CAN-2004-1063</a> - contournement de la directive de dossier d'exécution.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1064">CAN-2004-1064</a> - accès arbitraire à un fichier via une troncature.<br>
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1065">CAN-2004-1065</a> - dépassement de capacité avec exif_read_data() sur un long nom de section.<br>
magic_quotes_gpc peut mener à la lecture d'un dossier via le téléchargement de fichiers.
<p />
Tous les utilisateurs sont encouragés à utiliser cette version.<p />
</p>
<p>Tous les utilisateurs sont encouragés à utiliser cette version.</p>
<h2>Version de correction de bogues</h2>

View File

@@ -14,7 +14,7 @@ security issues inside the exif and fbsql extensions as well as the unserialize(
swf_definepoly() and getimagesize() functions.
</p>
All Users of PHP are strongly encouraged to upgrade to this release.<p />
<p>All Users of PHP are strongly encouraged to upgrade to this release.</p>
<h2>Bugfix release</h2>

View File

@@ -10,7 +10,7 @@ site_header("PHP 4.3.2 Release Announcement");
<p>[ <a href="/releases/4_3_2_fr.php">Version Fran&ccedil;aise</a> ]</p>
<p>
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.2</a> is finally out!<br />
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.2</a> is finally out!<br>
This maintenance release solves a lot of bugs found in earlier PHP versions
and is a <strong>strongly</strong> recommended upgrade for all users of PHP.
</p>

View File

@@ -11,7 +11,7 @@ site_header("Annonce de publication de PHP 4.3.2", array("lang" => "fr"));
<p>
Apr&egrave;s une longue &eacute;tape de tests d'assurance Qualit&eacute;,
<a href="/downloads.php">PHP 4.3.2</a> est finalement disponible!<br />
<a href="/downloads.php">PHP 4.3.2</a> est finalement disponible!<br>
Cette version de maintenance r&eacute;sout un grand nombre de bugs trouv&eacute;s dans
des versions plus anciennes de PHP, et il est <strong>recommand&eacute;</strong>
de faire la mise &agrave; jour pour tous les utilisateurs PHP.

View File

@@ -10,7 +10,7 @@ site_header("PHP 4.3.3 Release Announcement");
<p>[ <a href="/releases/4_3_3_fr.php">Version Fran&ccedil;aise</a> ]</p>
<p>
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.3</a> is finally out!<br />
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.3</a> is finally out!<br>
This maintenance release solves a fair number of bugs found in prior PHP versions and
addresses several security issues. All users are <strong>strongly</strong> advised to
upgrade to 4.3.3 as soon as possible.

View File

@@ -10,7 +10,7 @@ site_header("Annonce de publication de PHP 4.3.3");
<p>[ <a href="/releases/4_3_3.php">English version</a> ]</p>
<p>
Apr&egrave;s avoir suivi un long processus qualit&eacute;, <a href="/downloads.php">PHP 4.3.3</a> est disponible!<br />
Apr&egrave;s avoir suivi un long processus qualit&eacute;, <a href="/downloads.php">PHP 4.3.3</a> est disponible!<br>
Cette version de maintenance r&eacute;sout un bon nombre de bugs d&eacute;couverts
dans des versions ant&eacute;rieures de PHP. Elle corrige aussi plusieurs
probl&egrave;mes de s&eacute;curit&eacute;. Il est <strong>vivement recommand&eacute;</strong> &agrave; tous les

View File

@@ -10,7 +10,7 @@ site_header("PHP 4.3.4 Release Announcement");
<p>[ <a href="/releases/4_3_4_fr.php">Version Fran&ccedil;aise</a> ]</p>
<p>
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.4</a> is finally out!<br />
After a lengthy QA process, <a href="/downloads.php">PHP 4.3.4</a> is finally out!<br>
This is a medium size maintenance release, with a fair number of bug fixes. All users
are encouraged to upgrade to 4.3.4.
</p>

View File

@@ -11,7 +11,7 @@ site_header("Annonce de publication de PHP 4.3.4", array("lang" => "fr"));
<p>
Apr&egrave;s un long processus d'assurance qualit&eacute;,
<a href="/downloads.php">PHP 4.3.4</a> est d&eacute;sormais disponible!<br />
<a href="/downloads.php">PHP 4.3.4</a> est d&eacute;sormais disponible!<br>
C'est une version mineure d'entretien, avec de nombreuses corrections de bogues.
Tous les utilisateurs sont invit&eacute;s &agrave; passer &agrave; cette nouvelle version.
</p>

View File

@@ -7,7 +7,7 @@ site_header("PHP 5.1.0 Release Announcement");
<h1>PHP 5.1.0. Release Announcement</h1>
<p>
The PHP development team is proud to announce the release of PHP <a href="/downloads.php">PHP 5.1.0</a>.<br />
The PHP development team is proud to announce the release of PHP <a href="/downloads.php">PHP 5.1.0</a>.<br>
Some of the key features of <a href="/downloads.php">PHP 5.1.0</a> include:
</p>
<p>

View File

@@ -147,7 +147,7 @@ function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum)
foreach(array_merge($source, $windows) as $src) {
echo " <li>\n";
if (isset($src['filename'])) {
download_link($src["filename"], $src["name"]); echo "<br />\n";
download_link($src["filename"], $src["name"]); echo "<br>\n";
if (isset($src["md5"])) {
echo '<span class="md5sum">md5: ' .$src["md5"]. "</span>\n";
}
@@ -177,7 +177,7 @@ $latest = max(array_keys($OLDRELEASES));
foreach($OLDRELEASES as $major => $a) {
echo '<a name="v' .$major. '"></a>';
if ($major != $latest) {
echo "\n<hr />\n";
echo "\n<hr>\n";
if ($major == 4) {
echo '<p>Support for PHP 4 has been <b style="color: red;">discontinued</b> since 2007-12-31. Please consider upgrading to PHP 5.</p>'."\n";
}

View File

@@ -9,7 +9,7 @@ if(!isset($_COOKIE["MAGIC_COOKIE"])) {
}
$SIDEBAR_DATA = <<< EOT
<br />
<br>
<div id="securitySidebar">
<h3><a href="/security/">Security Center?</a></h3>
<p>In an effort to make security related information more readily available, the PHP Security Response Team created a new Security Center on March 1st, 2007. The Security Center will serve as the central location where interested parties can find information about security threats, fixes and/or workarounds and any other related meterial.</p>
@@ -70,8 +70,8 @@ if(is_resource($fp)) {
?>
<h3>PHP Vulnerability Disclosures</h3>
<p>This page contains information about PHP-related security threats, patches and known workarounds.</p>
<p>If you believe you have discovered a security problem in PHP please inform the<br />PHP Security Response Team in confidence by mailing <a href="mailto:security@php.net">security@php.net</a></p>
<br />
<p>If you believe you have discovered a security problem in PHP please inform the<br>PHP Security Response Team in confidence by mailing <a href="mailto:security@php.net">security@php.net</a></p>
<br>
<p>The following colors are used to highlight the severity of a bug:</p>
<ul class="colors">
<li class="low">low risk is yellow</li>
@@ -106,7 +106,7 @@ if(is_resource($fp)) {
$last_month = $current_month;
$current_month = $record["affects"];
echo "<br /><h1>", date("F Y", strtotime($record["published"])), "</h1>\n";
echo "<br><h1>", date("F Y", strtotime($record["published"])), "</h1>\n";
}
?>
<div class="record <?php echo strtolower($record["severity"]) ?>">

View File

@@ -96,7 +96,7 @@ site_header("A Tourist's Guide", array("current" => "help"));
<p class="content-box">
PECL is a repository for PHP Extensions, providing a directory of all known
extensions and hosting facilities for downloading and development of PHP
extensions. <br />
extensions. <br>
The packaging and distribution system used by PECL is shared with
its sister, PEAR.

View File

@@ -14,18 +14,18 @@ site_header("PHP Software", array("current" => "help"));
<p>
<?php echo make_image("logos/php-icon-white.gif", $alt = "php.net", "left") ?>&nbsp;
<a href="http://php.net/">php.net</a><br />
&nbsp;Main site for the PHP project.<br clear="left" />
<a href="http://php.net/">php.net</a><br>
&nbsp;Main site for the PHP project.<br clear="left">
</p>
<p>
<?php echo make_image("pear-icon.png", $alt = "pear.php.net", "left") ?>&nbsp;
<a href="http://pear.php.net/">pear.php.net</a><br />
&nbsp;The PEAR project where you can find reusable components for PHP .<br clear="left" />
<a href="http://pear.php.net/">pear.php.net</a><br>
&nbsp;The PEAR project where you can find reusable components for PHP .<br clear="left">
</p>
<p>
<?php echo make_image("pecl-icon.png", $alt = "pecl.php.net", "left") ?>&nbsp;
<a href="http://pecl.php.net/">pecl.php.net</a><br />
&nbsp;The PECL project where you can find PHP extensions.<br clear="left" />
<a href="http://pecl.php.net/">pecl.php.net</a><br>
&nbsp;The PECL project where you can find PHP extensions.<br clear="left">
</p>
<?php site_footer();

View File

@@ -59,7 +59,7 @@ if ($process) {
$errors[] = "You must supply a short description of the event.";
}
$_POST['ldesc'] = trim(strip_tags($_POST['ldesc'], '<a><i><b><br /><p>'));
$_POST['ldesc'] = trim(strip_tags($_POST['ldesc'], '<a><i><b><br><p>'));
$_POST['ldesc'] = preg_replace("/(style|on\\w+?)\s*=[^>]*/i", "", $_POST['ldesc']);
if (!$_POST['ldesc']) {
$errors[] = "You must supply a long description of the event.";
@@ -183,9 +183,9 @@ if ($process && count($errors) === 0) {
<th class="subr">Start Date</th>
<td>
<select name="smonth"><option></option><?php display_options($months, $_POST['smonth'])?></select>
<input type="text" name="sday" size="2" maxlength="2" value="<?php echo htmlentities($_POST['sday'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" />
<input type="text" name="syear" size="4" maxlength="4" value="<?php echo $_POST['syear'] ? htmlentities($_POST['syear'], ENT_QUOTES | ENT_IGNORE, 'UTF-8') : date("Y")?>" />
<input type="radio" id="single" name="type" value="single"<?php if ($_POST['type'] == 'single' || !$_POST['type']) echo ' checked="checked"';?> />
<input type="text" name="sday" size="2" maxlength="2" value="<?php echo htmlentities($_POST['sday'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>">
<input type="text" name="syear" size="4" maxlength="4" value="<?php echo $_POST['syear'] ? htmlentities($_POST['syear'], ENT_QUOTES | ENT_IGNORE, 'UTF-8') : date("Y")?>">
<input type="radio" id="single" name="type" value="single"<?php if ($_POST['type'] == 'single' || !$_POST['type']) echo ' checked="checked"';?>>
<label for="single">One day (no end-date required)</label>
</td>
</tr>
@@ -193,9 +193,9 @@ if ($process && count($errors) === 0) {
<th class="subr">End Date</th>
<td>
<select name="emonth"><option></option><?php display_options($months, $_POST['emonth'])?></select>
<input type="text" name="eday" size="2" maxlength="2" value="<?php echo htmlentities($_POST['eday'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" />
<input type="text" name="eyear" size="4" maxlength="4" value="<?php echo $_POST['eyear'] ? htmlentities($_POST['eyear'], ENT_QUOTES | ENT_IGNORE, 'UTF-8') : date("Y")?>" />
<input type="radio" id="multi" name="type" value="multi"<?php if ($_POST['type'] == 'multi') echo ' checked="checked"';?> />
<input type="text" name="eday" size="2" maxlength="2" value="<?php echo htmlentities($_POST['eday'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>">
<input type="text" name="eyear" size="4" maxlength="4" value="<?php echo $_POST['eyear'] ? htmlentities($_POST['eyear'], ENT_QUOTES | ENT_IGNORE, 'UTF-8') : date("Y")?>">
<input type="radio" id="multi" name="type" value="multi"<?php if ($_POST['type'] == 'multi') echo ' checked="checked"';?>>
<label for="multi">Multi-day event</label>
</td>
</tr>
@@ -204,17 +204,17 @@ if ($process && count($errors) === 0) {
<td>
<select name="recur"><option></option><?php display_options($re, $_POST['recur'])?></select>
<select name="recur_day"><option></option><?php display_options($days, $_POST['recur_day'])?></select>
<input type="radio" id="recur" name="type" value="recur"<?php if ($_POST['type'] == 'recur') echo ' checked="checked"';?> />
<input type="radio" id="recur" name="type" value="recur"<?php if ($_POST['type'] == 'recur') echo ' checked="checked"';?>>
<label for="recur">Recurring (every month)</label>
</td>
</tr>
<tr>
<th class="subr">Short Description</th>
<td><input type="text" name="sdesc" class="max" value="<?php echo htmlentities($_POST['sdesc'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" size="32" maxlength="32" /></td>
<td><input type="text" name="sdesc" class="max" value="<?php echo htmlentities($_POST['sdesc'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" size="32" maxlength="32"></td>
</tr>
<tr>
<th class="subr">URL</th>
<td><input type="text" name="url" size="40" maxlength="128" class="max" value="<?php echo htmlentities($_POST['url'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" /></td>
<td><input type="text" name="url" size="40" maxlength="128" class="max" value="<?php echo htmlentities($_POST['url'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>"></td>
</tr>
<tr>
<th class="subr">Country</th>
@@ -239,7 +239,7 @@ if ($process && count($errors) === 0) {
<tr>
<th class="subr">Email</th>
<td>
<input type="text" name="email" size="40" maxlength="128" class="max" value="<?php echo htmlentities($_POST['email'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>" /><br />
<input type="text" name="email" size="40" maxlength="128" class="max" value="<?php echo htmlentities($_POST['email'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')?>"><br>
<small>This email address is only used to contact you about the listing, it will not displayed along with the listing.</small>
</td>
</tr>
@@ -249,9 +249,9 @@ if ($process && count($errors) === 0) {
</tr>
<tr>
<th colspan="2">
<input type="submit" name="action" value="Preview" />
<input type="submit" name="action" value="Preview">
<?php if ($process && count($errors) == 0) {?>
<input type="submit" name="action" value="Submit" />
<input type="submit" name="action" value="Submit">
<?php }?>
</th>
</tr>

View File

@@ -8,8 +8,8 @@ site_header("PHP Usage Stats", array("current" => "community"));
<h1>Usage Stats for January 2013</h1>
<p>
PHP: 244M sites, 2.1M IP addresses<br />
Source: <a href="http://news.netcraft.com/archives/2013/01/31/php-just-grows-grows.html">Netcraft</a><br />
PHP: 244M sites, 2.1M IP addresses<br>
Source: <a href="http://news.netcraft.com/archives/2013/01/31/php-just-grows-grows.html">Netcraft</a><br>
</p>
<p>
@@ -21,7 +21,7 @@ Source: <a href="http://news.netcraft.com/archives/2013/01/31/php-just-grows-gro
<a href="http://w3techs.com/technologies/overview/programming_language/all">server-side programming languages</a>
where you can also see the market share
<a href="http://w3techs.com/technologies/details/pl-php/all/all">by version</a>.
<br />
<br>
See their <a href="http://w3techs.com/faq">FAQ</a> and <a href="http://w3techs.com/technologies">technologies</a>
page for the details of the methodologies used for the surveys.
</p>