Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 25 of 53) sorted by relevance

123

/PHP-5.5/ext/tidy/examples/
H A Ddumpit5.php47 function do_leaf($string, $indent) { argument
48 for($i = 0; $i < $indent; $i++) {
54 function dump_tree(tidyNode $node, $indent = 0) { argument
61 do_leaf(" + $nodename (".node_type($node->type).")\n", $indent);
68 do_leaf(" |\n", $indent);
69 do_leaf(" +---- Value: '{$node->value}'\n", $indent);
73 do_leaf(" |\n", $indent);
74 do_leaf(" +---- Attributes\n", $indent);
77 @do_leaf(" +-- $name\n", $indent);
78 do_leaf(" | +-- Value: $value\n", $indent);
[all …]
/PHP-5.5/ext/pcre/tests/
H A Dpreg_replace_callback.phpt5 $input = "plain [indent] deep [indent] [abcd]deeper[/abcd] [/indent] deep [/indent] plain";
10 $regex = '#\[indent]((?:[^[]|\[(?!/?indent])|(?R))+)\[/indent]#';
/PHP-5.5/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt10 global $indent;
16 global $indent;
22 global $indent;
28 global $indent;
34 global $indent;
46 global $indent;
52 global $indent;
58 global $indent;
64 global $indent;
116 $indent = " ";
[all …]
H A DforeachLoopIterator.001.phpt11 global $indent;
12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
17 global $indent;
18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
23 global $indent;
24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
29 global $indent;
35 global $indent;
52 $indent = " ";
59 $indent = " ";
[all …]
H A DforeachLoopIteratorAggregate.003.phpt10 global $indent;
11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
16 global $indent;
17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
22 global $indent;
23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
28 global $indent;
29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
34 global $indent;
35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
/PHP-5.5/ext/tidy/tests/
H A D030.phpt13 'indent' => true, // AutoBool
14 'indent-attributes' => true, // Boolean
15 'indent-spaces' => 3, // Integer
20 var_dump($c['indent']);
21 var_dump($c['indent-attributes']);
22 var_dump($c['indent-spaces']);
H A D027.phpt15 'indent' => false,
/PHP-5.5/ext/xmlreader/examples/
H A Dxmlreader_validatedtd.php2 $indent = 5; /* Number of spaces to indent per level */ variable
10 print str_repeat(" ", $xml->depth * $indent).$xml->name."\n";
13 print str_repeat(" ", $xml->depth * $indent)." Number of Attributes: ".$xml->attributeCount."\n";
H A Dxmlreader_relaxNG.php2 $indent = 5; /* Number of spaces to indent per level */ variable
13 print str_repeat(" ", $reader->depth * $indent).$reader->name."\n";
/PHP-5.5/ext/xsl/tests/
H A Dxslt005.phpt10 $res = $xp->query("/xsl:stylesheet/xsl:output/@indent");
12 print "No or more than one xsl:output/@indent found";
H A Dxsltprocessor_transformToDoc.phpt21 <xsl:output method="html" encoding="utf-8" indent="yes"/>
H A Dxsltprocessor_transformToURI.phpt24 <xsl:output method="html" encoding="utf-8" indent="yes"/>
H A Dxsltprocessor_transformToDoc_nullparam.phpt24 <xsl:output method="html" encoding="utf-8" indent="yes"/>
H A Dxsltprocessor_transformToDoc_wrongparam_001.phpt24 <xsl:output method="html" encoding="utf-8" indent="yes"/>
/PHP-5.5/ext/mbstring/tests/
H A Dmb_encode_mimeheader_variation1.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
26 $indent = 2;
100 var_dump( mb_encode_mimeheader($input, $charset, $transfer_encoding, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation3.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
28 $indent = 2;
102 var_dump( mb_encode_mimeheader($str, $charset, $input, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation5.phpt2 Test mb_encode_mimeheader() function : usage variations - Pass different data types to $indent arg
11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
17 * Pass different data types to $indent argument to see how mb_encode_mimeheader() behaves
50 // unexpected values to be passed to $indent argument
H A Dmb_encode_mimeheader_variation2.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
28 $indent = 2;
102 var_dump( mb_encode_mimeheader($str, $input, $transfer_encoding, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation4.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
29 $indent = 2;
103 var_dump( mb_encode_mimeheader($str, $charset, $transfer_encoding, $input, $indent));
H A Dmb_encode_mimeheader_variation6.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
/PHP-5.5/ext/phar/tests/zip/
H A Dbug48791.phpt14indent="-0.635cm" fo:margin-left="1.27cm"/></style:list-level-properties></text:list-level-style-b…
/PHP-5.5/Zend/
H A Dzend.c142 for (i = 0; i < indent; i++) { in print_hash()
146 indent += PRINT_ZVAL_INDENT; in print_hash()
149 for (i = 0; i < indent; i++) { in print_hash()
187 indent -= PRINT_ZVAL_INDENT; in print_hash()
188 for (i = 0; i < indent; i++) { in print_hash()
310 ZEND_API int zend_print_zval(zval *expr, int indent) /* {{{ */ in zend_print_zval() argument
312 return zend_print_zval_ex(zend_write, expr, indent); in zend_print_zval()
394 zend_print_zval_r_ex(zend_write, expr, indent TSRMLS_CC); in zend_print_zval_r()
408 print_hash(write_func, Z_ARRVAL_P(expr), indent, 0 TSRMLS_CC); in zend_print_zval_r_ex()
438 print_hash(write_func, properties, indent, 1 TSRMLS_CC); in zend_print_zval_r_ex()
[all …]
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c450 string_printf(str, "%s }\n", indent); in _class_string()
648 string_printf(str, "%s}\n", indent); in _class_string()
778 string_printf(str, "%s ", indent); in _function_parameter_string()
783 string_printf(str, "%s}\n", indent); in _function_parameter_string()
817 string_printf(str, "%s}\n", indent); in _function_closure_string()
837 string_write(str, indent, strlen(indent)); in _function_string()
921 string_printf(str, "%s}\n", indent); in _function_string()
969 char *indent = va_arg(args, char *); in _extension_ini_string() local
1005 char *indent = va_arg(args, char *); in _extension_class_string() local
1024 char *indent = va_arg(args, char *); in _extension_const_string() local
[all …]
/PHP-5.5/ext/xsl/tests/53965/
H A Dcollection.xsl6 <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
/PHP-5.5/ext/dom/tests/
H A Dbug28721.phpt12 static $indent = "";
13 echo "\n" . $indent;
16 echo $indent . "parent: ";
22 echo $indent . "previousSibling: ";
28 echo $indent . "nextSibling: ";
39 $old_indent = $indent;
40 $indent .= " ";
42 $indent = $old_indent;

Completed in 68 milliseconds

123