Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 952) sorted by relevance

12345678910>>...39

/PHP-7.4/ext/skeleton/
H A D.gitignore.in29 run-tests.php
30 tests/*/*.diff
31 tests/*/*.out
32 tests/*/*.php
33 tests/*/*.exp
34 tests/*/*.log
35 tests/*/*.sh
/PHP-7.4/ext/standard/tests/math/
H A Dnumber_format_basic.phpt18 echo "\n number_format tests.....default\n";
24 echo "\n number_format tests.....with two dp\n";
30 echo "\n number_format tests.....English format\n";
36 echo "\n number_format tests.....French format\n";
43 number_format tests.....default
57 number_format tests.....with two dp
71 number_format tests.....English format
85 number_format tests.....French format
H A Dnumber_format_multichar.phpt18 echo " number_format tests.....multiple character decimal point\n";
24 echo "\n number_format tests.....multiple character thousand separator\n";
30 echo "\n number_format tests.....multiple character decimal and thousep\n";
37 number_format tests.....multiple character decimal point
51 number_format tests.....multiple character thousand separator
65 number_format tests.....multiple character decimal and thousep
H A Dpow-operator.phpt2 Various pow() tests
9 $tests = <<<TESTS
18 include(__DIR__ . '/../../../../tests/quicktester.inc');
H A Dabs.phpt2 Simple math tests
11 $tests = <<<TESTS
21 include(__DIR__ . '/../../../../tests/quicktester.inc');
H A Dlog_basic.phpt20 echo "\n LOG tests...no base\n";
26 echo "\n LOG tests...base\n";
33 LOG tests...no base
47 LOG tests...base
/PHP-7.4/ext/tokenizer/tests/
H A Dtoken_get_all_heredoc_nowdoc.phpt22 $tests = [];
24 $tests[1] = <<<'OUTER_END'
29 $tests[2] = <<<'OUTER_END'
34 $tests[3] = <<<'OUTER_END'
39 $tests[4] = <<<'OUTER_END'
44 $tests[5] = <<<'OUTER_END'
49 $tests[6] = <<<'OUTER_END'
54 $tests[7] = <<<'OUTER_END'
60 $tests[8] = <<<CODE
67 $tests[9] = <<<'OUTER_END'
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dnumber_format_basic.phpt26 echo "\n-- number_format tests.....default --\n";
32 echo "\n-- number_format tests.....with two dp --\n";
38 echo "\n-- number_format tests.....English format --\n";
44 echo "\n-- number_format tests.....French format --\n";
54 -- number_format tests.....default --
68 -- number_format tests.....with two dp --
82 -- number_format tests.....English format --
96 -- number_format tests.....French format --
H A Dstrnatcmp_basic.phpt21 echo "Less than tests\n";
35 echo "Equal too tests\n";
39 echo "Greater than tests\n";
55 Less than tests
66 Equal too tests
69 Greater than tests
/PHP-7.4/ext/shmop/tests/
H A D002.phpt17 echo PHP_EOL, '## shmop_open function tests ##';
33 echo PHP_EOL, '## shmop_read function tests ##';
47 echo PHP_EOL, '## shmop_write function tests ##';
56 echo PHP_EOL, '## shmop_size function tests ##';
64 echo PHP_EOL, '## shmop_close function tests ##';
69 ## shmop_open function tests ##
85 ## shmop_read function tests ##
95 ## shmop_write function tests ##
102 ## shmop_size function tests ##
106 ## shmop_delete function tests ##
[all …]
/PHP-7.4/ext/imap/tests/
H A DREADME.md1 # The imap extension tests
3 Many of the tests in this directory require a mail server to be running, if
6 To make the tests run parameters in the `skipif.inc` and `imap_include.inc`
9 The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and
10 hMailServer on Windows. The tests are intended to be mailserver agnostic.
12 The tests can be run without modification with a fairly minimal dovecot
13 installation. For information, the dovecot.conf file used in running the tests
/PHP-7.4/ext/standard/tests/file/
H A Drealpath_variation-win32-mb.phpt19 $filename = "$name_prefix/realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられま…
20 mkdir("$name_prefix/realpath_variation_私はガラスを食べられます/home/tests/", 0777, true);
34 …alpath_variation_私はガラスを食べられます/../././realpath_variation_私はガラスを食べられます/home/tests/realpath_variation…
42 "$name_prefix////realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられます.tmp",
43 …"$name_prefix/./realpath_variation_私はガラスを食べられます/home/../home//tests//..//..//..//home//realpath_va…
73 unlink("$name_prefix/home/tests/realpath_variation_私はガラスを食べられます.tmp");
74 rmdir("$name_prefix/home/tests/");
82 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp"
86 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp"
H A Drealpath_variation-win32.phpt19 $filename = "$name_prefix/realpath_variation/home/tests/realpath_variation.tmp";
20 mkdir("$name_prefix/realpath_variation/home/tests/", 0777, true);
34 $obj1 = new object_temp("$name_prefix/realpath_variation/../././realpath_variation/home/tests/realp…
42 "$name_prefix////realpath_variation/home/tests/realpath_variation.tmp",
43 "$name_prefix/./realpath_variation/home/../home//tests//..//..//..//home//realpath_variation.tmp/"
73 unlink("$name_prefix/home/tests/realpath_variation.tmp");
74 rmdir("$name_prefix/home/tests/");
82 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
86 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
H A Dreadlink_realpath_variation2.phpt21 mkdir("$name_prefix/readlink_realpath_variation2/home/tests/link/", 0777, true);
23 $filename = "$name_prefix/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2…
29 …"$name_prefix////readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tm…
30 …"$name_prefix/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realp…
64 unlink("$name_prefix/home/tests/link/readlink_realpath_variation2.tmp");
65 rmdir("$name_prefix/home/tests/link/");
66 rmdir("$name_prefix/home/tests/");
77 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
78 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
87 Warning: unlink(%s/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_r…
[all …]
H A Dreadlink_realpath_variation1.phpt20 $filename = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1…
21 mkdir("$name_prefix/readlink_realpath_variation1/home/tests/link/", 0777, true);
69 unlink("$name_prefix/home/tests/link/readlink_realpath_variation1.tmp");
70 rmdir("$name_prefix/home/tests/link/");
71 rmdir("$name_prefix/home/tests/");
82 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
83 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
85 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
86 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
/PHP-7.4/ext/soap/tests/soap12/
H A DT38_1.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:Unknown>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
26 …http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-tests"><env:Header><ns1:…
H A DT38_2.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">bar</test:echoOk>
26 …http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-tests"><env:Header><ns1:…
/PHP-7.4/ext/snmp/tests/
H A DREADME.md1 # The snmp extension tests
3 To enable these tests, you must have:
18 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
26 make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`"
29 Running `run-tests.php` directly will clear your environment and therefore tests
43 SNMPv3 tests.
45 * Place `ext/snmp/tests/bigtest` near `snmpd.conf`, tune path to it in
/PHP-7.4/tests/
H A Dquicktester.inc3 Helper for simple tests to check return-value. Usage:
5 $tests = <<<TESTS
11 include( 'tests/quicktester.inc' );
19 $tests = explode("\n",$tests);
21 foreach ($tests as $n=>$test)
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt2 openssl_decrypt() tests dependent on openssl_encrypt
7 $data = "openssl_encrypt() and openssl_decrypt() tests";
39 string(45) "openssl_encrypt() and openssl_decrypt() tests"
40 string(45) "openssl_encrypt() and openssl_decrypt() tests"
41 string(45) "openssl_encrypt() and openssl_decrypt() tests"
42 string(45) "openssl_encrypt() and openssl_decrypt() tests"
/PHP-7.4/ext/pdo_oci/tests/
H A Dbug41996.phpt6 require __DIR__.'/../../pdo/tests/pdo_test.inc';
11 require 'ext/pdo/tests/pdo_test.inc';
12 $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
H A Dbug_33707.phpt6 require __DIR__.'/../../pdo/tests/pdo_test.inc';
11 require 'ext/pdo/tests/pdo_test.inc';
12 $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
/PHP-7.4/ext/date/tests/
H A DDateTime_compare_basic1.phpt27 echo "\n-- All the following tests should compare equal --\n";
39 echo "\n-- All the following tests should now compare NOT equal --\n";
44 echo "\n-- All the following tests should again compare equal --\n";
56 -- All the following tests should compare equal --
68 -- All the following tests should now compare NOT equal --
73 -- All the following tests should again compare equal --
/PHP-7.4/tests/strings/
H A D001.phpt71 $tests = $ok = 0;
73 $tests++; if (substr($string, 2, 10) == "ring12345") { $ok++; }
74 $tests++; if (substr($string, 4, 7) == "ng12345") { $ok++; }
75 $tests++; if (substr($string, 4) == "ng12345") { $ok++; }
76 $tests++; if (substr($string, 10, 2) == "5") { $ok++; }
77 $tests++; if (substr($string, 6, 0) == "") { $ok++; }
78 $tests++; if (substr($string, -2, 2) == "45") { $ok++; }
79 $tests++; if (substr($string, 1, -1) == "tring1234") { $ok++; }
80 $tests++; if (substr($string, -1, -2) == "") { $ok++; }
81 $tests++; if (substr($string, -3, -2) == "3") { $ok++; }
[all …]
/PHP-7.4/ext/session/tests/
H A Drfc1867_disabled.phpt22 PHPSESSID=rfc1867-tests
24 PHPSESSID=rfc1867-tests-get
30 rfc1867-tests-post
49 string(%d) "rfc1867-tests"

Completed in 31 milliseconds

12345678910>>...39