Home
last modified time | relevance | path

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

123

/PHP-7.2/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.2/Zend/
H A Dzend_ast.c658 while (indent > 0) { in zend_ast_export_indent()
660 indent--; in zend_ast_export_indent()
849 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
895 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
907 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
984 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1448 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1454 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1470 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1478 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
[all …]
H A Dzend.c240 for (i = 0; i < indent; i++) { in print_hash()
244 indent += PRINT_ZVAL_INDENT; in print_hash()
246 for (i = 0; i < indent; i++) { in print_hash()
273 zend_print_zval_r_to_buf(buf, tmp, indent+PRINT_ZVAL_INDENT); in print_hash()
276 indent -= PRINT_ZVAL_INDENT; in print_hash()
277 for (i = 0; i < indent; i++) { in print_hash()
393 print_hash(buf, Z_ARRVAL_P(expr), indent, 0); in zend_print_zval_r_to_buf()
417 print_hash(buf, properties, indent, 1); in zend_print_zval_r_to_buf()
430 zend_print_zval_r_to_buf(buf, Z_REFVAL_P(expr), indent); in zend_print_zval_r_to_buf()
446 zend_print_zval_r_to_buf(&buf, expr, indent); in zend_print_zval_r_to_str()
[all …]
H A Dzend.h237 ZEND_API size_t zend_print_zval(zval *expr, int indent);
238 ZEND_API void zend_print_zval_r(zval *expr, int indent);
239 ZEND_API zend_string *zend_print_zval_r_to_str(zval *expr, int indent);
/PHP-7.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/ext/reflection/
H A Dphp_reflection.c546 smart_str_append_printf(str, "%s}\n", indent); in _class_string()
558 indent, type, name); in _const_string()
562 indent, type, name, ZSTR_VAL(value_str)); in _const_string()
579 indent, visibility, type, name); in _class_const_string()
701 smart_str_append_printf(str, "%s ", indent); in _function_parameter_string()
706 smart_str_append_printf(str, "%s}\n", indent); in _function_parameter_string()
754 smart_str_appendl(str, indent, strlen(indent)); in _function_string()
904 char *indent = va_arg(args, char *); in _extension_ini_string() local
941 char *indent = va_arg(args, char *); in _extension_class_string() local
949 _class_string(str, ce, NULL, indent); in _extension_class_string()
[all …]
/PHP-7.2/ext/xsl/tests/53965/
H A Dcollection.xsl6 <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
/PHP-7.2/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 93 milliseconds

123