Searched defs:test (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/phar/tests/files/
H A Dpear2coverage.phar.php44 if (isset($_GET['test'])) {
45 if ($_GET['test'] === 'TOC') {
49 return $this->view->fileCoverage($this->sqlite, $_GET['file'], $_GET['test']);
51 return $this->view->testTOC($this->sqlite, $_GET['test']);
63 function getFileLink($file, $test = null, $line = null)
68 if ($test) {
69 return $this->rooturl . '?file=' . urlencode($file) . '&test=' . $test;
74 function getTOCLink($test = false)
76 if ($test
605 $test = array_flip($xdebugs); variable
887 $test = array_flip($xdebugs); variable
[all...]
/PHP_TRUNK/win32/
H A Dfnmatch.c62 char c, test; local
107 while ((test = *string) != EOS) {
110 if (test == '/' && flags & FNM_PATHNAME)
153 rangematch(const char *pattern, char test, int flags) argument
169 test = tolower((unsigned char)test);
191 if ((unsigned char)c <= (unsigned char)test &&
192 (unsigned char)test <= (unsigned char)c2)
194 } else if (c == test)
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c102 int token, test; local
119 test = 0;
121 test = 1;
126 if (!test) {
178 if (!test) {
182 if (!test) {
186 if (!test) {
195 if (!test) {
204 if (!test) {
210 if (!test) {
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dclient_round2_params.php58 // determine test type
176 $test = new SOAP_Test('echoString(utf-8)', array('inputString' => utf8_encode('ỗÈéóÒ₧⅜ỗỸ'))); variable
177 $test->encoding = 'UTF-8';
178 $soap_tests['base'][] = $test;
179 $test = new SOAP_Test('echoString(utf-8)', array('inputString' => soap_value('inputString',utf8_encode('ỗÈéóÒ₧⅜ỗỸ'),XSD_STRING))); variable
180 $test->encoding = 'UTF-8';
181 $soap_tests['base'][] = $test;
198 // empty array test
203 // null array test
264 $test variable
441 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=next)', NULL); variable
446 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=next)', NULL); variable
453 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=next)', NULL); variable
458 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=next)', NULL); variable
465 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=other)', NULL); variable
470 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=other)', NULL); variable
477 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=other)', NULL); variable
482 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=other)', NULL); variable
490 $test = new SOAP_Test('echoVoid(echoMeStringRequest invalid namespace)', NULL); variable
496 $test = new SOAP_Test('echoVoid(echoMeStringRequest invalid namespace)', NULL); variable
507 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=next)', NULL); variable
514 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=next)', NULL); variable
524 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=next)', NULL); variable
531 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=next)', NULL); variable
541 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=other)', NULL); variable
547 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=other)', NULL); variable
556 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=other)', NULL); variable
562 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=other)', NULL); variable
574 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=next)', NULL); variable
579 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=next)', NULL); variable
586 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=next)', NULL); variable
592 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=next)', NULL); variable
600 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=other)', NULL); variable
605 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=other)', NULL); variable
612 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=other)', NULL); variable
617 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=other)', NULL); variable
[all...]
H A Dclient_round2_interop.php23 require_once 'test.utility.php';
46 var $specificEndpoint = ''; // test only this endpoint
47 var $testMethod = ''; // test only this method
93 function _fetchEndpoints(&$soapclient, $test) {
94 $this->_getEndpoints($test, 1);
97 $endpointArray = $soapclient->__soapCall("GetEndpointInfo",array("groupName"=>$test),array('soapaction'=>"http://soapinterop.org/",'uri'=>"http://soapinterop.org/"));
108 if ($this->localEndpoint[$test]) {
109 array_push($endpointArray, $this->localEndpoint[$test]);
115 $res = $this->dbc->query("update endpoints set status = 0 where class='$test'");
125 $res = $this->dbc->query("insert into endpoints (endpointName,endpointURL,wsdlURL,class) values('{$v->endpointName}','{$v->endpointURL}','{$v->wsdlURL}','$test')");
151 $test = 'base'; variable
[all...]
/PHP_TRUNK/ext/curl/tests/responder/
H A Dget.php2 $test = isset($_GET['test']) ? $_GET['test'] : null; variable
3 switch($test) {
/PHP_TRUNK/sapi/phpdbg/
H A Dtest.php21 function test($x, $y = 0) { function
40 foreach (test(1,2) as $gen)
82 $test = $obj->a; variable
85 $test -= 2;
/PHP_TRUNK/Zend/tests/bug67436/
H A Da.php4 public function test($arg = c::TESTCONSTANT) { function
H A Db.php4 public function test() { function
6 parent::test();
/PHP_TRUNK/ext/phar/
H A Dstream.c635 char *test; local
645 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + str_key->len);
646 if (SUCCESS != php_stream_stat_path(test, &ssbi)) {
647 efree(test);
651 if (SUCCESS != phar_mount_entry(phar, test, test_len, internal_file, internal_file_len TSRMLS_CC)) {
652 efree(test);
655 efree(test);
H A Dutil.c255 char *path, *fname, *arch, *entry, *ret, *test; local
298 test = phar_fix_filepath(estrndup(filename, filename_len), &try_len, 1 TSRMLS_CC);
300 if (*test == '/') {
301 if (zend_hash_str_exists(&(phar->manifest), test + 1, try_len - 1)) {
302 spprintf(&ret, 0, "phar://%s%s", arch, test);
304 efree(test);
308 if (zend_hash_str_exists(&(phar->manifest), test, try_len)) {
309 spprintf(&ret, 0, "phar://%s/%s", arch, test);
311 efree(test);
315 efree(test);
1304 char *test; local
[all...]
H A Dphar_object.c1459 char *test = NULL; local
1470 test = spl_filesystem_object_get_path(intern, NULL TSRMLS_CC);
1471 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
1480 test = expand_filepath(fname, NULL TSRMLS_CC);
1483 if (test) {
1484 fname = test;
3131 int test; local
3133 test = 1;
3134 zend_hash_apply_with_argument(manifest, phar_test_compression, &test TSRMLS_CC);
3135 return test;
[all...]
H A Dphar.c1252 phar_archive_data **test, *unused = NULL; local
1254 test = &unused;
1277 if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, is_data, options, test, &my_error TSRMLS_CC) == SUCCESS) {
1279 *pphar = *test;
1282 if ((*test)->is_data && !(*test)->is_tar && !(*test)->is_zip) {
1289 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)
1575 char *pos, test = '\\0'; local
1845 char test[51]; local
[all...]
/PHP_TRUNK/
H A Dserver-tests.php23 | (based on the PHP 3 test framework by Rasmus Lerdorf) |
46 | The test-suite requires that you have pcre extension |
54 | You are running the test-suite with "safe_mode" ENABLED ! |
56 | Chances are high that no test will work at all, |
68 | The test-suite requires that proc_open() is available. |
74 | The test-suite must be run with PHP 5 or later. |
75 | You can still test older extecutables by setting |
399 # a simple test case
408 * main test harness
422 'n' => array('NO_PHPTEST_SUMMARY' ,'' ,0 ,'do not print test summar
1612 $test = new testHarness(); variable
[all...]
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp161 fprintf(stderr, "test %s\n",filename);
254 printf("No Files to test\n");
282 printf("No Files to test!\r\n");
298 // parse the test file
306 enum state {none, test, skipif, post, get, file, expect} parsestate = none; enumerator in enum:state
317 parsestate = test;
337 case test:
402 // got test file, parse it now
436 printf("No Files to test!\r\n");
475 " -d <directory> php directory (to run php test file
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c254 int test = 0; local
283 test = sxe->iter.name != NULL;
287 test = 0;
303 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
314 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
455 int test = 0; local
499 test = sxe->iter.name != NULL;
504 test = 0;
560 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
572 if ((!test || !xmlStrcm
731 int test = 0; local
860 int test = 0; local
1053 int test; local
[all...]
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php125 * Tests is the console programming API for the test suite
267 $test = sprintf('%s/%s', $path, $file); variable
269 if (preg_match('~\.test$~', $test)) {
270 $tests[] = new Test($this->config, $test);
279 * @param Test the test to log
281 public function logTest($path, Test $test) {
282 @$this->stats[$path][($result=$test->getResult())]++;
286 $test->name,
287 $test
[all...]

Completed in 36 milliseconds