Home
last modified time | relevance | path

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

123

/PHP-7.1/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-7.1/Zend/
H A Dzend_ast.c662 while (indent > 0) { in zend_ast_export_indent()
664 indent--; in zend_ast_export_indent()
848 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
894 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
906 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
983 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1445 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1451 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1467 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1475 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
[all …]
H A Dzend.c172 for (i = 0; i < indent; i++) { in print_hash()
176 indent += PRINT_ZVAL_INDENT; in print_hash()
178 for (i = 0; i < indent; i++) { in print_hash()
205 zend_print_zval_r_to_buf(buf, tmp, indent+PRINT_ZVAL_INDENT); in print_hash()
208 indent -= PRINT_ZVAL_INDENT; in print_hash()
209 for (i = 0; i < indent; i++) { in print_hash()
325 print_hash(buf, Z_ARRVAL_P(expr), indent, 0); in zend_print_zval_r_to_buf()
349 print_hash(buf, properties, indent, 1); in zend_print_zval_r_to_buf()
362 zend_print_zval_r_to_buf(buf, Z_REFVAL_P(expr), indent); in zend_print_zval_r_to_buf()
378 zend_print_zval_r_to_buf(&buf, expr, indent); in zend_print_zval_r_to_str()
[all …]
H A Dzend.h233 ZEND_API size_t zend_print_zval(zval *expr, int indent);
234 ZEND_API void zend_print_zval_r(zval *expr, int indent);
235 ZEND_API zend_string *zend_print_zval_r_to_str(zval *expr, int indent);
/PHP-7.1/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-7.1/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-7.1/ext/tidy/tests/
H A D030.phpt13 'indent' => true, // AutoBool
14 'indent-attributes' => true, // Boolean
15 'indent-spaces' => 3); // Integer
19 var_dump($c['indent']);
20 var_dump($c['indent-attributes']);
21 var_dump($c['indent-spaces']);
H A D027.phpt15 'indent' => false,
/PHP-7.1/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-7.1/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"/>
/PHP-7.1/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
12 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
18 * Pass different data types to $indent argument to see how mb_encode_mimeheader() behaves
51 // 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-7.1/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-7.1/ext/reflection/
H A Dphp_reflection.c638 string_printf(str, "%s}\n", indent); in _class_string()
650 indent, type, name); in _const_string()
796 string_printf(str, "%s ", indent); in _function_parameter_string()
801 string_printf(str, "%s}\n", indent); in _function_parameter_string()
829 string_printf(str, "%s}\n", indent); in _function_closure_string()
849 string_write(str, indent, strlen(indent)); in _function_string()
953 string_printf(str, "%s}\n", indent); in _function_string()
1002 char *indent = va_arg(args, char *); in _extension_ini_string() local
1039 char *indent = va_arg(args, char *); in _extension_class_string() local
1059 char *indent = va_arg(args, char *); in _extension_const_string() local
[all …]
/PHP-7.1/ext/xsl/tests/53965/
H A Dcollection.xsl6 <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
/PHP-7.1/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 61 milliseconds

123