Home
last modified time | relevance | path

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

12345678910>>...178

/PHP-5.6/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-5.6/sapi/phpdbg/tests/commands/
H A D0102_print.test3 # purpose: test print commands
7 #[User Class: test]
9 #L%d-%d test::testMethod() %s
11 # L%d-%d test::testPrivateMethod() %s
13 # L%d-%d test::testProtectedMethod() %s
16 # L%d-%d test::testMethod() %s
20 class test {
26 print class test
27 print method test::testMethod
/PHP-5.6/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-5.6/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-5.6/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-5.6/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-5.6/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-5.6/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 …]
H A Dvar_export_basic5.phpt26 "array(\"test\" => \"is_array\")" => array("test" => "is_array"),
30 "array(\"string\", \"test\")" => array("string", "test"),
31 "array('string', 'test')" => array('string', 'test')
201 'test' => 'is_array',
204 'test' => 'is_array',
253 1 => 'test',
257 1 => 'test',
261 1 => 'test',
268 1 => 'test',
272 1 => 'test',
[all …]
/PHP-5.6/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-5.6/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-5.6/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-5.6/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-5.6/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-5.6/
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.
122 MYMAIL=qa-test@domain.com
131 # Set test environment
139 if test $? -gt 0
[all …]
/PHP-5.6/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-5.6/ext/pdo_pgsql/tests/
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-5.6/ext/standard/tests/array/
H A D002.phpt41 ["test"]=>
68 ["test"]=>
92 ["test"]=>
109 ["test"]=>
160 ["test"]=>
181 ["test"]=>
205 ["test"]=>
236 ["test"]=>
253 ["test"]=>
287 ["test"]=>
[all …]
/PHP-5.6/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-5.6/Zend/tests/
H A Dclosure_016.phpt16 $test = new Foo;
17 var_dump(is_callable($test, true, $name));
19 var_dump(is_callable($test, false, $name));
21 var_dump(is_callable(array($test,"__invoke"), true, $name));
23 var_dump(is_callable(array($test,"__invoke"), false, $name));
25 $test = foo();
26 var_dump(is_callable($test, true, $name));
28 var_dump(is_callable($test, false, $name));
30 var_dump(is_callable(array($test,"__invoke"), true, $name));
32 var_dump(is_callable(array($test,"__invoke"), false, $name));
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-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated.phpt105 prepex(9, $db, 'DELETE FROM test');
111 prepex(12, $db, 'DELETE FROM test');
125 array(':placeholder' => 'test'));
136 prepex(20, $db, 'DELETE FROM test');
167 prepex(34, $db, 'DELETE FROM test');
207 prepex(49, $db, 'DELETE FROM test');
213 prepex(52, $db, 'DELETE FROM test');
241 prepex(61, $db, 'DELETE FROM test');
273 prepex(74, $db, 'DELETE FROM test');
304 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
[all …]

Completed in 47 milliseconds

12345678910>>...178