Home
last modified time | relevance | path

Searched refs:test (Results 101 – 125 of 4996) sorted by relevance

12345678910>>...200

/PHP-7.3/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 …]
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_log.c102 int token, test; in fpm_log_write() local
119 test = 0; in fpm_log_write()
121 test = 1; in fpm_log_write()
126 if (!test) { in fpm_log_write()
195 if (!test) { in fpm_log_write()
233 if (!test) { in fpm_log_write()
241 if (!test) { in fpm_log_write()
247 if (!test) { in fpm_log_write()
253 if (!test) { in fpm_log_write()
445 if (!test) { in fpm_log_write()
[all …]
/PHP-7.3/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt8 die('skip windows only test');
22 $dirname = __DIR__ . "\\mnt\\test\\directory";
24 chdir(__DIR__ . "\\mnt\\test");
34 require "$fullpath\\mnt\\test\\directory\\b.php";
36 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php";
40 unlink("$fullpath\\mnt\\test\\directory\\b.php");
41 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
44 rmdir(__DIR__ . "\\mnt\\test\\directory");
45 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
46 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-7.3/ext/json/tests/
H A Dbug61978.phpt9 public $test;
12 $this->test = '123';
18 public $test;
20 $this->test = '123';
24 'test' => $this->test,
41 string(24) "{"test":"123","me":null}"
43 string(24) "{"test":"123","me":null}"
/PHP-7.3/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.3/Zend/tests/
H A Dbug73916.phpt8 $test[] =& $a;
9 $test[] =& $b;
10 test($test);
11 function test() {
16 #0 test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
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;
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 Dobjects_024.phpt19 function test() {
23 $a = test()->bar = 1;
24 var_dump($a, count(foo::$bar), test()->whatever);
28 $a = test()->bar = NULL;
29 var_dump($a, count(foo::$bar), test()->whatever);
33 $a = test()->bar = test();
34 var_dump($a, count(foo::$bar), test()->whatever);
H A Dlsb_005.phpt7 public static function test() {
9 TestB::test();
11 TestC::test();
13 TestBB::test();
19 public static function test() {
21 TestC::test();
27 public static function test() {
35 TestA::test();
/PHP-7.3/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.3/ext/standard/tests/class_object/
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.3/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.3/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-7.3/ext/pdo_mysql/
H A Dconfig.m49 if test -z "$PHP_ZLIB_DIR"; then
14 if test "$PHP_PDO_MYSQL" != "no"; then
18 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
28 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
35 if test -r $j; then
42 if test "$PHP_PDO_MYSQL" != "yes" && test "$PHP_PDO_MYSQL" != "mysqlnd"; then
43 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then
46 if test -d "$PHP_PDO_MYSQL" ; then
56 if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then
66 if test "x$SED" = "x"; then
[all …]
/PHP-7.3/ext/standard/tests/general_functions/
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-7.3/ext/standard/tests/array/
H A D002.phpt41 ["test"]=>
68 ["test"]=>
92 ["test"]=>
109 ["test"]=>
162 ["test"]=>
183 ["test"]=>
207 ["test"]=>
238 ["test"]=>
255 ["test"]=>
291 ["test"]=>
[all …]
H A Dbug76713.phpt6 function test($obj) {
14 test($obj);
15 test($obj);
16 test($obj);
31 test($obj);
32 test($obj);
33 test($obj);
/PHP-7.3/ext/standard/tests/strings/
H A Dstrrpos.phpt5 var_dump(strrpos("test test string", "test"));
6 var_dump(strrpos("test string sTring", "string"));
7 var_dump(strrpos("test strip string strand", "str"));
9 var_dump(strrpos("test string", "g"));
11 var_dump(strrpos("tEst", "test"));
12 var_dump(strrpos("teSt", "test"));
H A Drtrim.phpt17 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */
19 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */
61 string(10) "rtrim test"
62 string(13) "rtrim test "
63 string(18) "rtrim test "
64 string(18) "rtrim test "
65 string(10) "rtrim test"
66 string(11) "rtrim test "
67 string(10) "rtrim test"
68 string(10) "rtrim test"
[all …]
/PHP-7.3/tests/classes/
H A Dprivate_redeclare.phpt9 function test() {
15 $t->test();
21 function test() {
22 echo "test\n";
24 parent::test();
30 $t->test();
34 test
40 #0 %s(%d): derived->test()
/PHP-7.3/ext/simplexml/tests/
H A D031.phpt9 xmlns:s="urn::test" xmlns:t="urn::test-t">
10 <child1>test</child1>
11 <child1>test 2</child1>
19 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v');
22 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v');
29 $d->addChild('m:test', 'myval', 'urn::test');
33 $sxe->addChild('m:test1', 'myval', 'urn::test');
35 /* New namespace test */
52 <root xmlns:s="urn::test" xmlns:t="urn::test-t" xmlns:v="urn::test-v" s:att1="b" att1="a" v:att11="…
53 <child1>test</child1>
[all …]
H A D000.phpt10 function test($what)
20 test('sxe');
21 test('sxe->elem1');
22 test('sxe->elem1[0]');
27 test('sxe->elem1[1]');
28 test('sxe->elem1[2]');
29 test('sxe->elem11');
32 test('sxe->elem22');
104 ["test"]=>
139 ["test"]=>
[all …]
/PHP-7.3/ext/pdo_dblib/
H A Dconfig.m46 if test "$PHP_PDO_DBLIB" != "no"; then
8 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
12 if test "$PHP_PDO_DBLIB" = "yes"; then
15 if test -f $i/include/sybdb.h; then
19 elif test -f $i/include/freetds/sybdb.h; then
26 if test -z "$PDO_FREETDS_INSTALLATION_DIR"; then
30 elif test "$PHP_PDO_DBLIB" != "no"; then
32 if test -f $PHP_PDO_DBLIB/include/sybdb.h; then
43 if test "x$PHP_LIBDIR" = "x" ; then
47 …if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INS…
[all …]
/PHP-7.3/ext/phar/tests/files/
H A Dinclude_path.phar.inc2 // test advanced example
7 $phar2['test/file1.php'] = 'test/file1.php
9 $phar['hello/test.php'] = '<?php
14 include 'phar://' . __FILE__ . '/hello/test.php';
15 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test');
16 include 'phar://' . __FILE__ . '/hello/test.php';

Completed in 33 milliseconds

12345678910>>...200