Home
last modified time | relevance | path

Searched refs:test (Results 76 – 100 of 4730) sorted by relevance

12345678910>>...190

/PHP-7.0/ext/pdo_pgsql/tests/
H A Dcopy_from.phpt137 string(13) "test insert 0"
139 string(13) "test insert 0"
151 string(13) "test insert 1"
153 string(13) "test insert 1"
165 string(13) "test insert 2"
167 string(13) "test insert 2"
181 string(13) "test insert 0"
183 string(13) "test insert 0"
195 string(13) "test insert 1"
197 string(13) "test insert 1"
[all …]
H A Dcopy_to.phpt85 string(19) "0 test insert 0 \N
88 string(19) "1 test insert 1 \N
91 string(19) "2 test insert 2 \N
97 string(21) "0;test insert 0;NULL
100 string(21) "1;test insert 1;NULL
122 0 test insert 0 \N
123 1 test insert 1 \N
124 2 test insert 2 \N
127 0;test insert 0;NULL
128 1;test insert 1;NULL
[all …]
/PHP-7.0/ext/standard/tests/crypt/
H A Dbcrypt_invalid_cost.phpt5 var_dump(crypt("test", "$2a$4$1234567891234567891234567"));
6 var_dump(crypt("test", "$2a$00$1234567891234567891234567"));
7 var_dump(crypt("test", "$2a$01$1234567891234567891234567"));
8 var_dump(crypt("test", "$2a$02$1234567891234567891234567"));
9 var_dump(crypt("test", "$2a$03$1234567891234567891234567"));
10 var_dump(crypt("test", "$2a$32$1234567891234567891234567"));
11 var_dump(crypt("test", "$2a$40$1234567891234567891234567"));
/PHP-7.0/tests/classes/
H A Dbug63462.phpt36 $test = new Test();
38 $test->nonExisting;
39 $test->publicProperty;
40 $test->protectedProperty;
41 $test->privateProperty;
42 isset($test->nonExisting);
43 isset($test->publicProperty);
44 isset($test->protectedProperty);
45 isset($test->privateProperty);
46 $test->nonExisting = 'value';
[all …]
/PHP-7.0/Zend/tests/
H A Dbug63462.phpt36 $test = new Test();
38 $test->nonExisting;
39 $test->publicProperty;
40 $test->protectedProperty;
41 $test->privateProperty;
42 isset($test->nonExisting);
43 isset($test->publicProperty);
44 isset($test->protectedProperty);
45 isset($test->privateProperty);
46 $test->nonExisting = 'value';
[all …]
H A Derror_reporting05.phpt8 class test {
17 $test = new test;
19 $test->abc = 123;
20 echo $test->bcd;
22 @$test->qwe = 123;
23 echo @$test->wer;
/PHP-7.0/ext/phar/tests/cache_list/files/
H A Dwrite3.phar3 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test"));
4 rmdir("phar://" . __FILE__ . "/test");
6 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test"));
9 i������������� ���s:2:"hi";���test.txt������H���zzo��� ���s:2:"hi";���test/�������H�������…
/PHP-7.0/ext/standard/tests/general_functions/
H A Dparse_ini_file.phpt17 test =
22 test==
28 test=test=
34 test= \"new
49 test=hello
56 test=hello
87 test=test2
88 test=test3
89 test=test4
136 ["test"]=>
[all …]
/PHP-7.0/Zend/tests/arg_unpack/
H A Dbasic.phpt6 function test(...$args) {
26 test(...[]);
27 test(...[1, 2, 3]);
28 test(...$array);
29 test(...getArray([1, 2, 3]));
30 test(...arrayGen([]));
31 test(...arrayGen([1, 2, 3]));
33 test(1, ...[2, 3], ...[4, 5]);
34 test(1, ...getArray([2, 3]), ...arrayGen([4, 5]));
/PHP-7.0/ext/mysqli/tests/
H A D001.phpt13 $test = "";
15 /*** test mysqli_connect localhost:port ***/
17 $test .= ($link) ? "1" : "0";
20 /*** test mysqli_real_connect ***/
22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) )
26 /*** test mysqli_real_connect with db ***/
28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
32 /*** test mysqli_real_connect with port ***/
34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
49 /*** test mysqli_real_connect compressed ***/
[all …]
/PHP-7.0/ext/standard/tests/strings/
H A Dltrim.phpt30 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */
32 var_dump ( ltrim(" ltrim test", NULL) ); /* with NULL as second Argument */
67 string(10) "ltrim test"
68 string(13) " ltrim test"
69 string(18) " ltrim test"
70 string(18) " ltrim test"
71 string(10) "ltrim test"
72 string(11) " ltrim test"
73 string(10) "ltrim test"
74 string(10) "ltrim test"
[all …]
H A Dstrtr_basic.phpt15 test strtr
19 var_dump( strtr("test strtr", "t", "T") );
20 var_dump( strtr('test strtr', 't', 'T') );
25 var_dump( strtr("test strtr", "test", "TEST") );
26 var_dump( strtr('test strtr', 'test', 'TEST') );
27 var_dump( strtr($heredoc_str, "test", "TEST") );
30 var_dump( strtr("test strtr", "test", "TESTz") );
31 var_dump( strtr('test strtr', 'testz', 'TEST') );
32 var_dump( strtr($heredoc_str, "test", "TESTz") );
35 var_dump( strtr("test strtr", $trans1_arr) );
[all …]
H A Dbug23894.phpt6 $test = sprintf("%04d", $a);
7 var_dump($test, bin2hex($test));
8 $test = sprintf("% 13u", $a);
9 var_dump($test, bin2hex($test));
/PHP-7.0/ext/dba/
H A Dconfig.m423 if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then
31 if test -z "$THIS_INCLUDE"; then
34 if test -z "$THIS_LIBS"; then
49 if test -n "$2"; then
55 if test -n "$3"; then
58 if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then
263 if test -z "$THIS_LIBS"; then
267 if test "$1" = "4"; then
409 if test "$HAVE_DB3" = "1" || test "$HAVE_DB4" = "1"; then
455 if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then
[all …]
/PHP-7.0/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
28 public static function test() {
30 forward_static_call(array('B', 'test'));
34 A::test();
36 B::test();
38 C::test();
H A Dforward_static_call_001.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
25 forward_static_call(array('self', 'test'));
30 forward_static_call(array('A', 'test'));
38 public static function test()
41 forward_static_call(array('A', 'test'));
45 A::test();
47 B::test();
53 C::test();
/PHP-7.0/ext/filter/tests/
H A Dbug50158.phpt8 $email_address = "test=mail@example.com";
11 $email_address = "test-mail@example.com";
14 $email_address = "test+mail@example.com";
17 $email_address = "test?mail@example.com";
22 %unicode|string%(21) "test=mail@example.com"
23 %unicode|string%(21) "test-mail@example.com"
24 %unicode|string%(21) "test+mail@example.com"
25 %unicode|string%(21) "test?mail@example.com"
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_log.c104 int token, test; in fpm_log_write() local
121 test = 0; in fpm_log_write()
123 test = 1; in fpm_log_write()
128 if (!test) { in fpm_log_write()
197 if (!test) { in fpm_log_write()
235 if (!test) { in fpm_log_write()
243 if (!test) { in fpm_log_write()
249 if (!test) { in fpm_log_write()
255 if (!test) { in fpm_log_write()
447 if (!test) { in fpm_log_write()
[all …]
/PHP-7.0/ext/pdo_mysql/
H A Dconfig.m410 if test -z "$PHP_ZLIB_DIR"; then
15 if test "$PHP_PDO_MYSQL" != "no"; then
19 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
29 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
36 if test -r $j; then
43 if test "$PHP_PDO_MYSQL" != "yes" && test "$PHP_PDO_MYSQL" != "mysqlnd"; then
44 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then
47 if test -d "$PHP_PDO_MYSQL" ; then
57 if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then
67 if test "x$SED" = "x"; then
[all …]
/PHP-7.0/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt10 die('skip windows only test');
24 $dirname = __DIR__ . "\\mnt\\test\\directory";
26 chdir(__DIR__ . "\\mnt\\test");
36 require "$fullpath\\mnt\\test\\directory\\b.php";
38 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php";
42 unlink("$fullpath\\mnt\\test\\directory\\b.php");
43 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
46 rmdir(__DIR__ . "\\mnt\\test\\directory");
47 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
48 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-7.0/ext/gd/tests/
H A Dbug53504.phpt20 // Kerning examples (unfortunately not available in "Tuffy" test font):
48 // "Big" test:
52 foreach ($tests as $testnum => $test) {
53 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
56 $exp = $test['exp'][$i];
65 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'],
66 $test['x'], $test['y'], $black, $font, $test['text']);
70 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n";
79 imageline($g, $test['x'], $test['y'],
80 $test['x'] + $width * cos(deg2rad($test['angle'])),
[all …]
/PHP-7.0/ext/ldap/
H A Dconfig.m46 if test -f $1/include/ldap.h; then
14 elif test -f $1/ldap/public/ldap.h; then
44 if test "$1" = "yes"; then
62 if test "$LDAP_SASL_DIR"; then
93 if test "$PHP_LDAP" != "no"; then
97 if test "$PHP_LDAP" = "yes"; then
105 if test -z "$LDAP_DIR"; then
114 if test `uname` = "Linux"; then
120 if test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
124 …elif test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX…
[all …]
/PHP-7.0/ext/soap/tests/
H A Dsetheaders.phpt7 $client = new SoapClient(NULL, array("location"=>"test://","uri"=>"test://",
9 $client->test();
11 $client->__setSoapHeaders(new SoapHeader("test://","HDR1"));
12 $client->test();
14 $client->test();
17 $client->test();
19 $client->__setSoapHeaders(array(new SoapHeader("test://","HDR1"),new SoapHeader("test://","HDR2")));
20 $client->test();
22 $h = array(new SoapHeader("test://","HDR0"));
23 $client->__soapCall("test", array(), null, $h);
[all …]
/PHP-7.0/sapi/cli/tests/
H A D007.phpt15 $filename = dirname(__FILE__).'/007.test.php';
18 /* some test script */
20 class test { /* {{{ */
21 public $var = "test"; //test var
37 var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n …
46 class test { public $var = "test"; private $pri; function foo() { } } ?>
50 string(43) "<?php class test { function foo() {} } ?>
/PHP-7.0/
H A DREADME.TESTING6 at the end of a test run.
14 The easiest way to test your PHP build is to run "make test" from the
19 type "make test" to execute all or some test scripts saved under
23 make test
69 regarded as a test file.
97 sign '#' in test names and/or test cases are named bug12345.phpt.
105 detailed test information.
123 MYMAIL=qa-test@domain.com
132 # Set test environment
140 if test $? -gt 0
[all …]

Completed in 58 milliseconds

12345678910>>...190