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

Update http to https

This commit is contained in:
Peter Kokot
2018-10-26 01:03:37 +02:00
parent 0ff9b622a1
commit f24bc9fccc
24 changed files with 53 additions and 53 deletions

View File

@@ -48,8 +48,8 @@ Pass in type=qa-releases (the only type currently), along with the desired forma
<p>
Example URLs:
<ul>
<li>All information, serialized: <a href="api.php?type=qa-releases&format=serialize">http://qa.php.net/api.php?type=qa-releases&format=serialize</a></li>
<li>Only dev version numbers, json: <a href="api.php?type=qa-releases&format=json&only=dev_versions">http://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions</a></li>
<li>All information, serialized: <a href="api.php?type=qa-releases&format=serialize">https://qa.php.net/api.php?type=qa-releases&format=serialize</a></li>
<li>Only dev version numbers, json: <a href="api.php?type=qa-releases&format=json&only=dev_versions">https://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions</a></li>
</ul>
</p>
<?php

View File

@@ -29,7 +29,7 @@
mail ("qa-reports@lists.php.net", "Test results for $version [$status]", base64_decode($_POST['php_test_data']), "From: noreply@php.net");
}
// Aggregator (http://qa.php.net/reports/)
// Aggregator (https://qa.php.net/reports/)
include 'reports/parserfunc.php';
$array = parse_phpmaketest($version, $status, base64_decode($_POST['php_test_data']));
insertToDb_phpmaketest($array, $QA_RELEASES);

View File

@@ -1,3 +1,3 @@
<?php
header("Location: http://qa.php.net/running-tests.php");
header("Location: https://qa.php.net/running-tests.php");
?>

View File

@@ -11,7 +11,7 @@ common_header();
<p>
Welcome to the HOWTO on managing PHP bugs via <a
href="http://bugs.php.net/">bugs.php.net</a>. PHP is a large project with many
href="https://bugs.php.net/">bugs.php.net</a>. PHP is a large project with many
bugs being submitted daily. Bug topics range from the PHP website itself,
various PHP extensions, PEAR, etc. This document is for all PHP developers
using the bug system. Because there are so many members using the system it's
@@ -36,7 +36,7 @@ so (with 20406 being an example):</p>
<ul>
<li>
<a href="http://bugs.php.net/20406">http://bugs.php.net/20406</a>
<a href="https://bugs.php.net/20406">https://bugs.php.net/20406</a>
</li>
</ul>
@@ -44,7 +44,7 @@ so (with 20406 being an example):</p>
<ul>
<li>
<a href="http://bugs.php.net/bug.php?id=20406">http://bugs.php.net/bug.php?id=20406</a>
<a href="https://bugs.php.net/bug.php?id=20406">https://bugs.php.net/bug.php?id=20406</a>
</li>
</ul>
@@ -53,7 +53,7 @@ will choose the developer option which will then put you here:</p>
<ul>
<li>
<a href="http://bugs.php.net/bug.php?id=20406&amp;edit=1">http://bugs.php.net/bug.php?id=20406&amp;edit=1</a>
<a href="https://bugs.php.net/bug.php?id=20406&amp;edit=1">https://bugs.php.net/bug.php?id=20406&amp;edit=1</a>
</li>
</ul>
@@ -64,7 +64,7 @@ the bug report and change the bug status. Please understand what text and
status will be used and only choose a quickfix option if an appropriate
quickfix exists. Choosing a quickfix that's not 100% correct will confuse
and sometimes irritate the reporter. The following table lists them (see
also <a href="http://bugs.php.net/quick-fix-desc.php">quick-fix-desc.php</a>):</p>
also <a href="https://bugs.php.net/quick-fix-desc.php">quick-fix-desc.php</a>):</p>
<h2>Manual answers</h2>
@@ -190,10 +190,10 @@ So, be sure to leave a comment.</p>
<ul>
<li>
The Jani Javascript bug popup window (right click to bookmark):
<a href='javascript:void(t=prompt("Get BUG report # ..",""));if(t){ void(top.location.href="http://bugs.php.net/bug.php?edit=1&amp;id="+t);}'>here</a>
<a href='javascript:void(t=prompt("Get BUG report # ..",""));if(t){ void(top.location.href="https://bugs.php.net/bug.php?edit=1&amp;id="+t);}'>here</a>
</li>
<li>
Look at the <a href="http://bugs.php.net/stats.php">raw bug stats</a>.
Look at the <a href="https://bugs.php.net/stats.php">raw bug stats</a>.
</li>
<li>
Not leaving a comment means no email will be sent to the mailing list.

View File

@@ -11,7 +11,7 @@ common_header(NULL, $TITLE);
<img src="howto_phpt.png" />
<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> to reproduce the same tests. Use the `<b>rg</b>` command to get the same release if you don't already have it. Download and install PFTT from <a href="http://qa.php.net/pftt.php" target="_blank">http://qa.php.net/pftt.php</a>.</p>
<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> to reproduce the same tests. Use the `<b>rg</b>` command to get the same release if you don't already have it. Download and install PFTT from <a href="https://qa.php.net/pftt.php" target="_blank">https://qa.php.net/pftt.php</a>.</p>
<p><strong>Scenario Set</strong> - Scenarios that are tested (CLI, Apache mod_php ; Opcache, Filesystem, etc...)</p>
@@ -23,7 +23,7 @@ common_header(NULL, $TITLE);
<p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in FAIL). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAIL).</p>
<p><a href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD" target="_blank">Full info on PHPT Test Statuses</a></p>
<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD" target="_blank">Full info on PHPT Test Statuses</a></p>
<p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p>

View File

@@ -21,7 +21,7 @@ common_header(NULL, $TITLE);
<p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in ERROR). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAILURE).</p>
<p><a href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
<p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p>

View File

@@ -57,7 +57,7 @@ $QA_RELEASES = [
'sha256_gz' => '',
'sha256_xz' => '',
'date' => '05 January 2017',
'baseurl' => 'http://downloads.php.net/tyrael/',
'baseurl' => 'https://downloads.php.net/tyrael/',
],
],
@@ -70,7 +70,7 @@ $QA_RELEASES = [
'sha256_gz' => '',
'sha256_xz' => '',
'date' => '07 December 2017',
'baseurl' => 'http://downloads.php.net/ab/',
'baseurl' => 'https://downloads.php.net/ab/',
],
],
@@ -83,7 +83,7 @@ $QA_RELEASES = [
'sha256_gz' => '35fb2ad8279bbb26810d32bc71d78f55482dd6b3e2f401b46c155ee80a235cff',
'sha256_xz' => '994185b8b395a3f0448364999e72a7fe42c14daa978ba6a6a446a8039dad10a8',
'date' => '25 Oct 2018',
'baseurl' => 'http://downloads.php.net/~remi/',
'baseurl' => 'https://downloads.php.net/~remi/',
],
],

View File

@@ -29,8 +29,8 @@ common_header();
<p>
<br>
<strong>Windows users:</strong>
See <a href="http://windows.php.net/qa/">here</a> for the Windows QA builds and
<a href="http://windows.php.net/snaps/">here</a> for the Windows Snapshot builds.
See <a href="https://windows.php.net/qa/">here</a> for the Windows QA builds and
<a href="https://windows.php.net/snaps/">here</a> for the Windows Snapshot builds.
</p>
<h3>How To Help</h3>

View File

@@ -57,9 +57,9 @@ if ($branches!==FALSE) {
?>
<p><strong>PFTT Source Code:</strong> <a href="http://git.php.net/?p=pftt2.git">http://git.php.net/?p=pftt2.git</a></p>
<p><strong>PFTT Source Code:</strong> <a href="https://git.php.net/?p=pftt2.git">https://git.php.net/?p=pftt2.git</a></p>
<p><strong>PFTT Binaries:</strong> <a href="http://windows.php.net/downloads/snaps/ostc/pftt/" target="_blank">http://windows.php.net/downloads/snaps/ostc/pftt/</a></p>
<p><strong>PFTT Binaries:</strong> <a href="https://windows.php.net/downloads/snaps/ostc/pftt/" target="_blank">https://windows.php.net/downloads/snaps/ostc/pftt/</a></p>
<br/>
<br/>

View File

@@ -88,7 +88,7 @@ else
// caused an exception (and hence stopped the rendering) when the user entered
// e.g. [push] or [__proto__]. Adding a prefix to the actual key prevents this
// (since no builtin property starts with "s_"). See
// http://meta.stackoverflow.com/questions/64655/strange-wmd-bug
// https://meta.stackoverflow.com/questions/64655/strange-wmd-bug
// (granted, switching from Array() to Object() alone would have left only __proto__
// to be a problem)
function SaveHash() { }
@@ -331,7 +331,7 @@ else
[ ]{0,3} // attacklab: g_tab_width - 1
( // save in $1
<!
(--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--) // see http://www.w3.org/TR/html-markup/syntax.html#comments and http://meta.stackoverflow.com/q/95256
(--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--) // see https://www.w3.org/TR/html-markup/syntax.html#comments and https://meta.stackoverflow.com/q/95256
>
[ \t]*
(?=\n{2,}) // followed by a blank line
@@ -421,7 +421,7 @@ else
text = _DoImages(text);
text = _DoAnchors(text);
// Make links out of things like `<http://example.com/>`
// Make links out of things like `<https://example.com/>`
// Must come after _DoAnchors(), because you can use < and >
// delimiters in inline links like [this](<url>).
text = _DoAutoLinks(text);
@@ -452,7 +452,7 @@ else
text = text.replace(regex, function (wholeMatch) {
var tag = wholeMatch.replace(/(.)<\/?code>(?=.)/g, "$1`");
tag = escapeCharacters(tag, wholeMatch.charAt(1) == "!" ? "\\`*_/" : "\\`*_"); // also escape slashes in comments to prevent autolinking there -- http://meta.stackoverflow.com/questions/95987
tag = escapeCharacters(tag, wholeMatch.charAt(1) == "!" ? "\\`*_/" : "\\`*_"); // also escape slashes in comments to prevent autolinking there -- https://meta.stackoverflow.com/questions/95987
return tag;
});
@@ -760,7 +760,7 @@ else
//
// attacklab: add sentinel to hack around khtml/safari bug:
// http://bugs.webkit.org/show_bug.cgi?id=11231
// https://bugs.webkit.org/show_bug.cgi?id=11231
text += "~0";
// Re-usable pattern to match any entirel ul or ol list:
@@ -1198,13 +1198,13 @@ else
function _DoAutoLinks(text) {
// note that at this point, all other URL in the text are already hyperlinked as <a href=""></a>
// *except* for the <http://www.foo.com> case
// *except* for the <https://www.foo.com> case
// automatically add < and > around unadorned raw hyperlinks
// must be preceded by space/BOF and followed by non-word/EOF character
text = text.replace(/(^|\s)(https?|ftp)(:\/\/[-A-Z0-9+&@#\/%?=~_|\[\]\(\)!:,\.;]*[-A-Z0-9+&@#\/%=~_|\[\]])($|\W)/gi, "$1<$2$3>$4");
// autolink anything like <http://example.com>
// autolink anything like <https://example.com>
var replacer = function (wholematch, m1) { return "<a href=\"" + m1 + "\">" + pluginHooks.plainLinkText(m1) + "</a>"; }
text = text.replace(/<((https?|ftp):[^'">\s]+)>/gi, replacer);

View File

@@ -1,7 +1,7 @@
<?php
$errors = [];
require('./config.php');
define('USER_AGENT', 'PHP Pull Request Admin (http://qa.php.net/pulls php-qa@lists.php.net)');
define('USER_AGENT', 'PHP Pull Request Admin (https://qa.php.net/pulls php-qa@lists.php.net)');
if ($_SERVER['SERVER_NAME'] === 'schlueters.de') {
define('DEV', true);

View File

@@ -133,8 +133,8 @@ if (!constant('GITHUB_TOKEN')) {
<div id="nextRepoPage"><a href="javascript:void(0);">Next--&gt;&gt;&gt;</a></div>
<div id="mainContent">
<ul id="repolist"></ul>
<p>Even though the PHP project is using <a href="http://git.php.net">git.php.net</a>
as master location for Git repositories we provide official <a href="http://github.com/php">mirrors on GitHub</a>,
<p>Even though the PHP project is using <a href="https://git.php.net">git.php.net</a>
as master location for Git repositories we provide official <a href="https://github.com/php">mirrors on GitHub</a>,
which can be used to create and discuss feature branches. This tool here tries to assist with the handling of GitHub pull requests.
</p>
<p>In general discussions about pull requests should be done in the appropriate places

View File

@@ -53,7 +53,7 @@ When do we have new reports ?
-----------------------------
When you do a 'make test' on your PHP sourcedir, you can send a report when something went wrong.
If you do this, the test program will build a flat file containing all failed tests output/diff
and send it to http://qa.php.net/buildtest-process.php (via POST method).
and send it to https://qa.php.net/buildtest-process.php (via POST method).
Previously, this page only sent the report to a dedicated mailing list (qa-reports at lists.php.net).
We now add a parser that intercept the data and send it to the function located in
reports/parserfunc.php:parse_phpmaketest()

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |

View File

@@ -4,7 +4,7 @@ GROUP BY VERSION,YEAR(DATE),WEEK(DATE)
If we have time : graph to see reports sent by version and by date
use http://svn.php.net/viewvc/web/php/trunk/include/version.inc?view=co
use https://svn.php.net/viewvc/web/php/trunk/include/version.inc?view=co
-----------------------------------------
Improve documentation functions, syntax, etc.

View File

@@ -7,7 +7,7 @@
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_01.txt |
# | https://php.net/license/3_01.txt |
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |
@@ -59,16 +59,16 @@ $database->close();
//URL test
if (substr($version, 0, 3) == '5.2') {
$urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.2;f='.
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.2;f='.
ltrim($testName, '/').'';
} elseif (substr($version, 0, 3) == '5.3') {
$urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.3;f='.
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.3;f='.
ltrim($testName, '/').'';
} elseif (substr($version, 0, 3) == '5.4') {
$urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.4;f='.
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.4;f='.
ltrim($testName, '/').'';
} elseif (substr($version, 0, 3) == '5.5') {
$urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/master;f='.
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/master;f='.
ltrim($testName, '/').'';
} else {
$urlTest = '';
@@ -77,7 +77,7 @@ if (substr($version, 0, 3) == '5.2') {
// BUG url
if (preg_match('@bug([0-9]{1,}).phpt$@', $testName, $preg)) {
$bugId = (int)$preg[1];
$bugUrl = 'http://bugs.php.net/'.$preg[1];
$bugUrl = 'https://bugs.php.net/'.$preg[1];
} else {
$bugId = null;
$bugUrl = '';
@@ -114,7 +114,7 @@ if ($bugId) {
?>
<table style="width:100%; border-width=0">
<tr id="title">
<th class="details" id="number"><a href="http://bugs.php.net/<?php echo $bugId; ?>"><?php echo htmlentities($bugxml->bug_type);?>&nbsp;#<?php echo $bugId; ?></a></th>
<th class="details" id="number"><a href="https://bugs.php.net/<?php echo $bugId; ?>"><?php echo htmlentities($bugxml->bug_type);?>&nbsp;#<?php echo $bugId; ?></a></th>
<td id="summary" colspan="5"><?php echo htmlentities($bugxml->sdesc);?></td>
</tr>
<tr id="submission">
@@ -128,13 +128,13 @@ if ($bugId) {
<th class="details">From:</th>
<td><?php echo htmlentities(strtok($bugxml->email, '@'));?></td>
<th class="details">Assigned:</th>
<td><a href="http://bugs.php.net/search.php?cmd=display&amp;assign=<?php echo htmlentities($bugxml->assign, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->assign); ?></a></td>
<td><a href="https://bugs.php.net/search.php?cmd=display&amp;assign=<?php echo htmlentities($bugxml->assign, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->assign); ?></a></td>
</tr>
<tr id="categorization">
<th class="details">Status:</th>
<td><?php echo htmlentities($bugxml->status);?></td>
<th class="details">Package:</th>
<td><a href="http://bugs.php.net/search.php?cmd=display&amp;package_name[]=<?php echo htmlentities($bugxml->package_name, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->package_name);?></a></td>
<td><a href="https://bugs.php.net/search.php?cmd=display&amp;package_name[]=<?php echo htmlentities($bugxml->package_name, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->package_name);?></a></td>
</tr>
<tr id="situation">
<th class="details">PHP Version:</th>

View File

@@ -86,7 +86,7 @@ ext/myext/tests/myext.diff - diff of .out and .exp (D)
factors applying to the tester's environment, or there is a bug in PHP. If this
is a known bug, we strive to provide bug numbers, in either the test name or the
file name. You can check the status of such a bug, by going to:
http://bugs.php.net/12345 where 12345 is the bug number. For clarity and
https://bugs.php.net/12345 where 12345 is the bug number. For clarity and
automated processing, bug numbers are prefixed by a hash sign '#' in test names
and/or test cases are named bug12345.phpt.</p>

View File

@@ -23,7 +23,7 @@ precision=14
--SKIPIF--
&lt;?php if (!extension_loaded(&quot;filter&quot;)) die(&quot;Skipped: filter extension required.&quot;); ?&gt;
--GET--
a=&lt;b&gt;test&lt;/b&gt;&amp;b=http://example.com
a=&lt;b&gt;test&lt;/b&gt;&amp;b=https://example.com
--POST--
c=&lt;p&gt;string&lt;/p&gt;&amp;d=12345.7
--FILE--
@@ -45,7 +45,7 @@ echo &quot;Done\n&quot;;
?&gt;
--EXPECTF--
string(4) &quot;test&quot;
string(18) &quot;http://example.com&quot;
string(19) &quot;https://example.com&quot;
string(27) &quot;&amp;#60;b&amp;#62;test&amp;#60;/b&amp;#62;&quot;
Notice: Object of class stdClass could not be converted to int in %ssample001.php on line %d

View File

@@ -49,7 +49,7 @@ you have everything you need.</p>
php functions available. You can write a test on a basic language function (a string
function or an array function) , or a function provided by one of PHP's numerous extensions
(a mysql function or a image function or a mcrypt function).</p>
<p>You can find out what functions already have phpt tests by looking in the <a href="http://git.php.net/?p=php-src.git;a=tree;">html
<p>You can find out what functions already have phpt tests by looking in the <a href="https://git.php.net/?p=php-src.git;a=tree;">html
version</a> of the git repository (ext/standard/tests/ is a good place to start looking - though not
<i>all</i> the tests currently written are in there). If you look at the <a href="http://gcov.php.net">gcov pages</a> you
can see which functions have lots of tests and which need more, although these pages only
@@ -220,7 +220,7 @@ of failures on other platforms. If you don't have karma to commit have a look at
clean up any temporary resources (eg files) that you used in the test. There is a special --CLEAN-- section
to help you do this - see <a href="#clean">here</a>.
<p>Another good check is to look at what lines of code in the PHP source your test case covers.
This is easy to do, there are some instructions on the <a href="http://wiki.php.net/doc/articles/writing-tests">PHP Wiki</a>.</p>
This is easy to do, there are some instructions on the <a href="https://wiki.php.net/doc/articles/writing-tests">PHP Wiki</a>.</p>
<h3><a name="whattodo" href="#whattodo" class="anchor">#</a>What should I do with my test case when I've written and tested it?</h3>
<p>The next step is to get someone to review it. If it's short you can paste it into a note and