Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 172) sorted by relevance

1234567

/PHP-5.3/ext/standard/tests/array/
H A Dbug34066_1.phpt246 print "gen_xml(prefix=$prefix)\n";
264 print "gen_xml(prefix=$prefix) end\n";
269 gen_xml(prefix=/Docs/)
272 gen_xml(prefix=/Docs/)
275 gen_xml(prefix=/Docs/)
278 gen_xml(prefix=/Docs/)
281 gen_xml(prefix=/Docs/)
284 gen_xml(prefix=/Docs/)
287 gen_xml(prefix=/Docs/)
290 gen_xml(prefix=/Docs/)
[all …]
H A Dbug34066.phpt246 print "gen_xml(prefix=$prefix)\n";
262 print "$prefix$key\n";
264 print "gen_xml(prefix=$prefix) end\n";
269 gen_xml(prefix=/Docs/)
270 gen_xml(prefix=/Docs/@)
273 gen_xml(prefix=/Docs/@)
276 gen_xml(prefix=/Docs/@)
279 gen_xml(prefix=/Docs/@)
282 gen_xml(prefix=/Docs/) end
283 gen_xml(prefix=/Docs/)
[all …]
H A Dextract_variation7.phpt6 /* EXTR_PREFIX_ALL called twice with same prefix string */
7 echo "\n*** Testing for EXTR_PREFIX_ALL called twice with same prefix string ***\n";
19 *** Testing for EXTR_PREFIX_ALL called twice with same prefix string ***
/PHP-5.3/ext/standard/tests/file/
H A Dsymlink_to_symlink.phpt11 $prefix = __FILE__;
13 touch($prefix . "_file");
16 symlink(basename($prefix . "_file"), $prefix . "_link1");
19 symlink(basename($prefix . "_link1"), $prefix . "_link2");
23 symlink(basename($prefix . "_nonexistant"), $prefix . "_link3");
26 symlink($prefix . "_file", $prefix . "_link4");
29 symlink($prefix . "_link4", $prefix . "_link5");
37 unlink($prefix . "_link5");
38 unlink($prefix . "_link4");
39 unlink($prefix . "_link3");
[all …]
H A Dtempnam_variation5-win32.phpt12 /* Prototype: string tempnam ( string $dir, string $prefix );
16 /* Passing an existing file as $prefix for tempnam() fn */
20 echo "*** Test tempnam() function: by passing an existing filename as prefix ***\n";
46 *** Test tempnam() function: by passing an existing filename as prefix ***
H A Dtempnam_variation5.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
14 /* Passing an existing file as $prefix for tempnam() fn */
18 echo "*** Test tempnam() function: by passing an existing filename as prefix ***\n";
44 *** Test tempnam() function: by passing an existing filename as prefix ***
/PHP-5.3/ext/dba/
H A Dinstall_cdb.sh20 prefix=$1
22 if test -z "$prefix"; then
23 prefix=/usr/local
26 echo "Using prefix $prefix"
28 if mkdir -p "$prefix/include" "$prefix/lib"; then
45 ar r "$prefix/lib/libcdb.a" *
46 ranlib "$prefix/lib/libcdb.a"
51 cp cdb.h uint32.h "$prefix/include"
/PHP-5.3/ext/standard/tests/general_functions/
H A Duniqid_basic.phpt5 /* Prototype : string uniqid ([ string $prefix= "" [, bool $more_entropy= false ]] )
11 echo "\nuniqid() without a prefix\n";
17 echo "uniqid() with a prefix\n";
19 // Use a fixed prefix so we can ensure length of o/p id is fixed
20 $prefix = array (
29 for ($i = 0; $i < count($prefix); $i++) {
30 var_dump(uniqid($prefix[$i]));
31 var_dump(uniqid($prefix[$i], true));
32 var_dump(uniqid($prefix[$i], false));
41 uniqid() without a prefix
[all …]
H A Dbug29038.phpt6 $c = extract(array("" => 1),EXTR_PREFIX_SAME,"prefix");
13 $c = extract(array("a" => 1),EXTR_PREFIX_SAME,"prefix");
20 $c = extract(array("a" => 1),EXTR_PREFIX_ALL,"prefix");
26 $c = extract(array("" => 1),EXTR_PREFIX_ALL,"prefix");
32 $c = extract(array("111" => 1),EXTR_PREFIX_ALL,"prefix");
H A Duniqid_error.phpt5 /* Prototype : string uniqid ([ string $prefix= "" [, bool $more_entropy= false ]] )
12 $prefix = null;
15 var_dump(uniqid($prefix, $more_entropy, $extra_arg));
17 echo "\n-- Testing uniqid() function with invalid values for \$prefix --\n";
39 -- Testing uniqid() function with invalid values for $prefix --
/PHP-5.3/ext/dom/tests/
H A Ddom_create_element.phpt35 print " 4 DOMDocument::createElement('prefix:valid')\n";
38 $dom->createElement('prefix:valid');
83 $dom->createElementNS('', 'prefix:invalid');
110 $dom->createElementNS('-', 'prefix:valid');
141 print "16 DOMElement::__construct('prefix:valid')\n";
143 $element = new DomElement('prefix:valid');
218 $dom->createElementNS('', 'prefix:valid');
302 qualifiedName nor its prefix is "xmlns". */
331 4 DOMDocument::createElement('prefix:valid')
355 16 DOMElement::__construct('prefix:valid')
[all …]
H A Dbug49490.phpt2 Bug #49490 (XPath namespace prefix conflict).
8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
11 $xp->registerNamespace('prefix', 'urn:b');
13 echo($xp->query('//prefix:root', null, false)->length . "\n");
/PHP-5.3/ext/xmlreader/tests/
H A D010.phpt9 <prefix:books xmlns:prefix="uri" isbn="" prefix:isbn="12isbn">book1</prefix:books>';
26 prefix:books 12isbn
/PHP-5.3/ext/standard/
H A Duniqid.c46 char *prefix = ""; in PHP_FUNCTION() local
56 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &prefix, &prefix_len, in PHP_FUNCTION()
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10); in PHP_FUNCTION()
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
/PHP-5.3/Zend/
H A Dzend_vm_gen.php66 $prefix = array( variable
289 global $prefix, $helpers;
303 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
375 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
415 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL",
431 "goto \\1".($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER",
501 out($f," ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_LABEL:\n");
507 out($f,$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."_HANDLER:\n");
535 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
538 out($f, $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].":\n");
[all …]
/PHP-5.3/ext/spl/internal/
H A Drecursivetreeiterator.inc39 private $prefix = array(0=>'', 1=>'| ', 2=>' ', 3=>'|-', 4=>'\-', 5=>'');
55 * Set prefix part as used in getPrefix() and stored in $prefix.
57 * @param $value new prefix string for specified part.
65 $this->prefix[$part] = (string)$value;
75 $tree .= $this->getSubIterator($level)->hasNext() ? $this->prefix[1] : $this->prefix[2];
77 $tree .= $this->getSubIterator($level)->hasNext() ? $this->prefix[3] : $this->prefix[4];
79 return $this->prefix[0] . $tree . $this->prefix[5];
/PHP-5.3/scripts/
H A Dphp-config.in4 prefix="@prefix@"
45 --prefix)
46 echo $prefix;;
73 --prefix [$prefix]
H A Dphpize.m444 prefix=`$PHP_CONFIG --prefix 2>/dev/null`
50 if test -z "$prefix"; then
57 AC_MSG_CHECKING([for PHP prefix])
58 AC_MSG_RESULT([$prefix])
63 AC_MSG_CHECKING([for PHP installed headers prefix])
159 test "$prefix" = "NONE" && prefix="/usr/local"
160 test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
168 PHP_SUBST(prefix)
171 PHP_SUBST(prefix)
/PHP-5.3/ext/dom/
H A Delement.c191 if (prefix != NULL) { in PHP_METHOD()
192 xmlFree(prefix); in PHP_METHOD()
206 xmlFree(prefix); in PHP_METHOD()
291 if (prefix && xmlStrEqual(prefix, (xmlChar *)"xmlns")) { in dom_get_dom1_attribute()
299 xmlFree(prefix); in dom_get_dom1_attribute()
304 xmlFree(prefix); in dom_get_dom1_attribute()
714 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs()
716 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs()
722 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs()
724 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs()
[all …]
/PHP-5.3/sapi/embed/
H A Dconfig.m415 …IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_…
19 …IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0644 $SAPI_STATIC \$(INSTALL_…
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dprintf.c354 prefix = '-'; in vxprintf()
355 }else if( flag_plussign ) prefix = '+'; in vxprintf()
357 else prefix = 0; in vxprintf()
358 }else prefix = 0; in vxprintf()
360 precision = width-(prefix!=0); in vxprintf()
377 if( prefix ) *(--bufpt) = prefix; /* Add sign */ in vxprintf()
380 pre = infop->prefix; in vxprintf()
396 prefix = '-'; in vxprintf()
453 if( prefix ) *(bufpt++) = prefix; /* Sign */ in vxprintf()
469 if( prefix ) *(bufpt++) = prefix; /* Sign */ in vxprintf()
[all …]
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm.c31 .prefix = NULL,
45 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_a… in fpm_init() argument
52 fpm_globals.prefix = prefix; in fpm_init()
/PHP-5.3/ext/xmlwriter/tests/
H A Dxmlwriter_write_attribute_ns_basic_001.phpt11 xmlwriter_write_attribute_ns($xw, 'prefix', 'id', 'http://www.php.net/uri', 'elem1');
25 <root prefix:id="elem1" xmlns:prefix="http://www.php.net/uri">
/PHP-5.3/ext/xml/tests/
H A Dxml_set_start_namespace_decl_handler_basic.phpt36 function Namespace_Start_Handler( $parser, $prefix, $uri ) {
38 echo "...Prefix: ". $prefix . "\n";
42 function Namespace_End_Handler($parser, $prefix) {
44 echo "...Prefix: ". $prefix . "\n\n";
/PHP-5.3/Zend/tests/
H A Dheredoc_013.phpt2 Heredoc with double quotes and wrong prefix
6 $var = prefix<<<"MYLABEL"

Completed in 49 milliseconds

1234567